Skip to content
This repository was archived by the owner on Jan 3, 2025. It is now read-only.

Commit 7ab3c40

Browse files
committed
chore: 使用commitizen包提交更改
1 parent 3ad2538 commit 7ab3c40

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

package.json

+8-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"scripts": {
1111
"make-link": "node --no-warnings ./scripts/make_dev_link.js",
1212
"dev": "vite build --watch",
13-
"build": "vite build"
13+
"build": "vite build",
14+
"commit":"git add . && git cz"
1415
},
1516
"devDependencies": {
1617
"@sveltejs/vite-plugin-svelte": "^2.0.3",
@@ -37,7 +38,13 @@
3738
"@vitejs/plugin-vue": "^5.0.2",
3839
"@vue/tsconfig": "^0.5.1",
3940
"axios": "^1.6.3",
41+
"cz-conventional-changelog": "^3.3.0",
4042
"element-plus": "^2.4.4",
4143
"vue": "^3.4.3"
44+
},
45+
"config": {
46+
"commitizen": {
47+
"path": "cz-conventional-changelog"
48+
}
4249
}
4350
}

0 commit comments

Comments
 (0)