Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

Commit

Permalink
@phenomic/plugin-transform-asciidoc: stop converting tags case au…
Browse files Browse the repository at this point in the history
…tomatically
  • Loading branch information
MoOx committed Jan 18, 2019
1 parent 6bd1588 commit ce0d3f9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 13 deletions.
2 changes: 0 additions & 2 deletions packages/plugin-transform-asciidoc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
"@phenomic/helpers-transform": "^1.0.0-beta.8",
"asciidoctor.js": "^1.5.6-preview.3",
"debug": "^2.6.0",
"lodash.deburr": "^4.1.0",
"lodash.kebabcase": "^4.1.1",
"rehype-autolink-headings": "^2.0.0",
"rehype-highlight": "^2.0.1",
"rehype-parse": "^4.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-transform-asciidoc/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ const transformAsciidoc: PhenomicPluginModule<options> = (
title: doc.getAttribute("doctitle") || file.name,
layout: doc.getAttribute("layout"),
showdate: doc.getAttribute("nodate", true),
tags: tags ? tags.split(",").map(tag => kebabCase(deburr(tag))) : [],
tags: tags ? tags.split(",") : [],
};
envAttributes.map(key => delete partial[key]);

Expand Down
10 changes: 0 additions & 10 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8124,11 +8124,6 @@ lodash.debounce@^4.0.8:
resolved "https://registry.yarnpkg.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af"
integrity sha1-gteb/zCmfEAF/9XiUVMArZyk168=

lodash.deburr@^4.1.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/lodash.deburr/-/lodash.deburr-4.1.0.tgz#ddb1bbb3ef07458c0177ba07de14422cb033ff9b"
integrity sha1-3bG7s+8HRYwBd7oH3hRCLLAz/5s=

lodash.flatten@^4.4.0:
version "4.4.0"
resolved "https://registry.yarnpkg.com/lodash.flatten/-/lodash.flatten-4.4.0.tgz#f31c22225a9632d2bbf8e4addbef240aa765a61f"
Expand All @@ -8144,11 +8139,6 @@ lodash.isarray@^3.0.0:
resolved "https://registry.yarnpkg.com/lodash.isarray/-/lodash.isarray-3.0.4.tgz#79e4eb88c36a8122af86f844aa9bcd851b5fbb55"
integrity sha1-eeTriMNqgSKvhvhEqpvNhRtfu1U=

lodash.kebabcase@^4.1.1:
version "4.1.1"
resolved "https://registry.yarnpkg.com/lodash.kebabcase/-/lodash.kebabcase-4.1.1.tgz#8489b1cb0d29ff88195cceca448ff6d6cc295c36"
integrity sha1-hImxyw0p/4gZXM7KRI/21swpXDY=

lodash.keys@^3.0.0:
version "3.1.2"
resolved "https://registry.yarnpkg.com/lodash.keys/-/lodash.keys-3.1.2.tgz#4dbc0472b156be50a0b286855d1bd0b0c656098a"
Expand Down

0 comments on commit ce0d3f9

Please sign in to comment.