0.1.1 • Published 4 years ago
@akryum/gen-changelog v0.1.1
gen-changelog
Opinionated CLI command to update CHANGELOG.md.
yarn add -WD @akryum/gen-changelogAssumed:
- Git repository
- Monorepo
- Lerna setup
- Tags with
vX.Y.Zformat - All tags are fetched locally
CHANGELOG.mdexists (init it withyarn conventional-changelog -p angular -o CHANGELOG.md -r 0)- You run
lerna publishbefore using it
What it does:
- Update the root
package.jsonversion - Update the
CHANGELOG.mdfile with the latest changes - Push the changelog change with
chore: changelogcommit message
Usage:
{
"scripts": {
"release": "yarn run build && yarn run test && lerna publish && changelog generate"
}
}