A command to generate CHANGELOG.md from commit history.
npm install --save-dev @nlib/changelog
Add the npm-version scripts to your package.json.
{
"scripts": {
"version": "npx @nlib/changelog --output CHANGELOG.md && git add CHANGELOG.md"
}
}