diff --git a/package.json b/package.json index 4485da06..839e4f7b 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,8 @@ "build:minor": "npm version minor", "build:major": "npm version major", "versioning": "git commit -a -m versioning", - "version": "node tools/versioning.node.mjs && conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md", + "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md", + "version": "node tools/versioning.node.mjs && npm run changelog", "postversion": "npm run versioning && npm run gitsync", "gitsync": "npm run gitsync:gh && npm run gitsync:cn && npm run gitsync:bb", "gitpush:gh": "git push --follow-tag --repo git@github.com:snomiao/CapsLockX.git", @@ -41,4 +42,4 @@ "@commitlint/config-conventional": "^12.0.1", "conventional-changelog-cli": "^2.1.1" } -} +} \ No newline at end of file