Show the app version at the top of the page (Ver YYMMDDX)
Adds src/version.js, bump-version.js and a pre-commit hook that bumps the version in commits that change the app. Closes #15 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -7,7 +7,9 @@
|
||||
"scripts": {
|
||||
"build": "node build.js",
|
||||
"test": "node --test",
|
||||
"seal": "node build.js --data data/seed.json"
|
||||
"seal": "node build.js --data data/seed.json",
|
||||
"bump": "node bump-version.js",
|
||||
"hooks": "git config core.hooksPath .githooks"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20"
|
||||
|
||||
Reference in New Issue
Block a user