dgeni-packages
Advanced tools
Comparing version 0.27.3 to 0.27.4
# Changelog | ||
# 0.27.4 1 July 2019 | ||
# Features | ||
feat(post-process-html): add new post-process-package 9798f22 & aac5e8e8 | ||
# Changelog | ||
# 0.27.3 2 April 2019 | ||
@@ -4,0 +12,0 @@ |
{ | ||
"name": "dgeni-packages", | ||
"version": "0.27.3", | ||
"version": "0.27.4", | ||
"description": "A collection of dgeni packages for generating documentation from source code", | ||
@@ -10,3 +10,3 @@ "scripts": { | ||
"changelog": "changez -o changes.md", | ||
"build": "tsc -p typescript", | ||
"build": "tsc -p typescript && tsc -p post-process-html", | ||
"prepublish": "git clean -xdf typescript && yarn build", | ||
@@ -57,2 +57,3 @@ "watch": "tsc -p typescript -w" | ||
"nunjucks": "^3.1.6", | ||
"rehype": "^8.0.0", | ||
"semver": "^5.2.0", | ||
@@ -119,4 +120,5 @@ "shelljs": "^0.7.0", | ||
"David Herges <dherges@users.noreply.github.com>", | ||
"Greg Magolan <gmagolan@gmail.com>" | ||
"Greg Magolan <gmagolan@gmail.com>", | ||
"Livio Brunner <livio.brunner.lb1@gmail.com>" | ||
] | ||
} |
@@ -367,2 +367,16 @@ # Dgeni Packages | ||
## `post-process-html` Package | ||
This package provides a HTML post process manager powered by [`rehype`](https://github.com/rehypejs/rehype). It uses the rehype processing engine to manipulate the `renderedContent` HTML via rehype "plugins" that work with HTML ASTs (HASTs). | ||
Read more https://github.com/wooorm/rehype | ||
### Processors | ||
* `post-process-html` - Use the rehype processing engine to manipulate the | ||
`renderedContent` HTML via rehype "plugins" that work with HTML ASTs (HASTs). | ||
Each plugin is a factory function that will be called with the "rehype" engine as `this`. | ||
The factory should return a `transform` function that takes a HAST and returns a `boolean` or`undefined`. | ||
The HAST can be mutated by the "transform" function. | ||
If `false` is returned then the processing stops with that plugin. | ||
## `typescript` Package | ||
@@ -369,0 +383,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1053582
638
16764
416
24
+ Addedrehype@^8.0.0
+ Added@types/node@22.7.4(transitive)
+ Added@types/unist@2.0.113.0.3(transitive)
+ Added@types/vfile@3.0.2(transitive)
+ Added@types/vfile-message@2.0.0(transitive)
+ Addedbail@1.0.5(transitive)
+ Addedccount@1.1.0(transitive)
+ Addedcharacter-entities-html4@1.1.4(transitive)
+ Addedcharacter-entities-legacy@1.1.4(transitive)
+ Addedcomma-separated-tokens@1.0.8(transitive)
+ Addedextend@3.0.2(transitive)
+ Addedhast-util-from-parse5@5.0.3(transitive)
+ Addedhast-util-is-element@1.1.0(transitive)
+ Addedhast-util-parse-selector@2.2.5(transitive)
+ Addedhast-util-to-html@6.1.0(transitive)
+ Addedhast-util-whitespace@1.0.4(transitive)
+ Addedhastscript@5.1.2(transitive)
+ Addedhtml-void-elements@1.0.5(transitive)
+ Addedis-alphabetical@1.0.4(transitive)
+ Addedis-alphanumerical@1.0.4(transitive)
+ Addedis-buffer@2.0.5(transitive)
+ Addedis-decimal@1.0.4(transitive)
+ Addedis-hexadecimal@1.0.4(transitive)
+ Addedis-plain-obj@1.1.0(transitive)
+ Addedparse5@5.1.1(transitive)
+ Addedproperty-information@5.6.0(transitive)
+ Addedrehype@8.0.0(transitive)
+ Addedrehype-parse@6.0.2(transitive)
+ Addedrehype-stringify@6.0.1(transitive)
+ Addedreplace-ext@1.0.0(transitive)
+ Addedspace-separated-tokens@1.1.5(transitive)
+ Addedstringify-entities@2.0.0(transitive)
+ Addedtrough@1.0.5(transitive)
+ Addedundici-types@6.19.8(transitive)
+ Addedunified@7.1.0(transitive)
+ Addedunist-util-is@3.0.0(transitive)
+ Addedunist-util-stringify-position@1.1.24.0.0(transitive)
+ Addedvfile@3.0.1(transitive)
+ Addedvfile-message@1.1.14.0.2(transitive)
+ Addedweb-namespaces@1.1.4(transitive)
+ Addedx-is-string@0.1.0(transitive)
+ Addedxtend@4.0.2(transitive)