chore(projects): 添加conventional-changelog

This commit is contained in:
‘chen.home’ 2022-08-05 00:05:45 +08:00
parent 8842a87c24
commit 68dae64b9a

View File

@ -9,7 +9,8 @@
"prettier": "prettier --write \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts,.json --fix",
"prepare": "husky install",
"commit": "cz"
"commit": "cz",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md"
},
"config": {
"commitizen": {
@ -32,6 +33,7 @@
"@vue/eslint-config-prettier": "^7.0.0",
"@vue/eslint-config-typescript": "^11.0.0",
"commitizen": "^4.2.5",
"cz-conventional-changelog": "^3.3.0",
"cz-customizable": "^6.9.1",
"eslint": "^8.21.0",
"eslint-config-prettier": "^8.5.0",