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:
BlackAngelTV committed 2026-09-15 16:14:28 +02:00
1 parent 2df33c205c
commit 478ae41d86
3 files changed
+264

No files matched your search

+2
View File
@@ -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 .",