Skip to content

Commit f299c3e

Browse files
committed
Add auto-changelog to generate CHANGELOG.md on version bump
1 parent 27fa701 commit f299c3e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
"build:all": "concurrently npm:build:vue2 npm:build:vue3 && concurrently npm:build:dts:vue2 npm:build:dts:vue3",
4747
"preversion": "npm run test",
4848
"postversion": "npm run build:all",
49+
"version": "auto-changelog -p -o CHANGELOG.md --hide-credit --release-summary --hide-empty-releases --sort-commits date-desc && git add CHANGELOG.md",
4950
"prepare": "husky install"
5051
},
5152
"keywords": [
@@ -77,6 +78,7 @@
7778
"@types/node": "^20.2.1",
7879
"@typescript-eslint/eslint-plugin": "^5.59.6",
7980
"@typescript-eslint/parser": "^5.59.6",
81+
"auto-changelog": "^2.4.0",
8082
"concurrently": "^8.0.1",
8183
"dts-bundle-generator": "^8.0.1",
8284
"eslint": "^8.40.0",

0 commit comments

Comments
 (0)