Semantic versioning and changelog generation utils
This is a Node.js module available through the github repository.
It can be installed using the
npm
or
yarn
command line tools.
npm install git+https://github.com/cionz0/js-changelog --save-dev
Add the target js-changelog
to the scripts
section of your package.json
file.
{
// ...
"scripts": {
// ...
"js-changelog": "npx @cionzo/js-changelog"
}
}
Remember that, in order to pass arguments to a node-invoked target, you should use --
.
node js-changelog -- --help
In order to correctly use this tool, your changes must be already committed and pushed. Your local and remote repositories are hence assumed to refer to the same commit.
At this point, you can run something like the following command.
node js-changelog -- --minor
npm install
npm test
- argparse: CLI arguments parser. Native port of python's argparse.
- auto-changelog: Command line tool for generating a changelog from git tags and commit history
- prompt-sync: a synchronous prompt for node.js
GPL-3.0