build(changelog): generate the changelog from the commit history
Releases are expected to ship notes built from the Conventional Commits, and a hand-written file drifts from the history within a few merges. The generator reads the log directly, so it adds no dependency, and `npm run changelog:check` gives CI a way to fail when the file was not regenerated. A commit that only rewrites the changelog is left out of it, otherwise the check could never be green once that file is committed.
This commit is contained in:
3 files changed
+264
No files matched your search
@@ -13,6 +13,8 @@
|
||||
"dev": "node --watch src/index.js",
|
||||
"deploy:commands": "node scripts/deploy-commands.js",
|
||||
"db:init": "node scripts/init-database.js",
|
||||
"changelog": "node scripts/generate-changelog.js",
|
||||
"changelog:check": "node scripts/generate-changelog.js --check",
|
||||
"lint": "eslint .",
|
||||
"lint:fix": "eslint . --fix",
|
||||
"format": "prettier --write .",
|
||||
|
||||
Reference in new issue
Block a user