Command-line usage
Once this module is installed, putting changelog-mastery
into package.json, for example "scripts": { "version": "changelog-mastery" }
. When running npm version <version>
, this will create or append a new version of CHANGELOG.md according to your Git log and automatically commit the change into Git repository.
Running changelog-mastery --dry-run
will print out the new CHANGELOG.md to your terminal but will not overwrite the actual file.
Sample of CHANGELOG.md
## 0.0.2 - 2019-12-05- Fix typos. ## 0.0.1 - 2019-12-01- Release publicly.