Moved changelog generation to package script

This commit is contained in:
Nicolai Ort 2023-02-02 12:58:06 +01:00
parent 4cdba8bc77
commit a7297ff933
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F
1 changed files with 3 additions and 1 deletions

View File

@ -60,6 +60,7 @@
"@types/jsonwebtoken": "8.5.0",
"@types/node": "14.14.22",
"@types/uuid": "8.3.0",
"auto-changelog": "^2.4.0",
"cp-cli": "2.0.0",
"jest": "26.6.3",
"nodemon": "2.0.7",
@ -83,6 +84,7 @@
"seed": "ts-node ./node_modules/typeorm/cli.js schema:sync && ts-node ./node_modules/typeorm-seeding/dist/cli.js seed",
"openapi:export": "ts-node scripts/openapi_export.ts",
"licenses:export": "license-exporter --markdown",
"changelog:export": "auto-changelog --commit-limit false -p -u --hide-credit",
"release": "release-it --only-version"
},
"release-it": {
@ -100,7 +102,7 @@
"publish": false
},
"hooks": {
"after:bump": "auto-changelog --commit-limit false -p -u --hide-credit && npm run licenses:export && git add CHANGELOG.md && git add licenses.md"
"after:bump": "npm run changelog:export && npm run licenses:export && git add CHANGELOG.md && git add licenses.md"
}
},
"nodemonConfig": {