@versatiles/release-tool
v2.7.4
Published
VersaTiles release and documentation tools
Downloads
537
Readme
VersaTiles Release Tools
Tools used for:
- creating a graph of the source code as mermaid:
vrt deps-graph - upgrading all package dependencies:
vrt deps-upgrade - creating Markdown documentation of executables:
vrt doc-command - inserting Markdown into documents:
vrt doc-insert - updating "Table of Content" in Markdown files:
vrt doc-toc - releasing the project as npm package:
vrt release-npm
Installation
npm i -D @versatiles/release-toolconfigure scripts
You need to configure the scripts in the package.json:
{
"scripts": {
"check": "npm run lint && npm run build && npm run test",
"prepack": "npm run build && npm run doc",
"release": "vrt release-npm",
...
},
...
}scripts.checkis required by the release command. Here you can lint, build and test your code.scripts.prepackis recommended to ensure that all files are up-to-date before releasing. Here you can build code and documentation.scripts.releaseis recommended to make it easy to release a new version.
Command vrt
4-->5 6-->4 7-->4 7-->8 8-->4 9-->A B-->4 C-->5 C-->A D-->E D-->5 D-->F D-->4 D-->G D-->8 E-->F F-->8 H-->2 H-->6 H-->7 H-->9 H-->B H-->C H-->D H-->4
class 0,1,3 subgraphs; classDef subgraphs fill-opacity:0.1, fill:#888, color:#888, stroke:#888;
