Skip to content

Commit f2e3bfc

Browse files
committed
feat(*): commitizen 规范集成
使用git cz代替git commit -m ....
1 parent f73c128 commit f2e3bfc

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,10 @@
4242
"vite": "^4.3.9",
4343
"vitest": "^0.32.0",
4444
"vue-tsc": "^1.6.5"
45+
},
46+
"config": {
47+
"commitizen": {
48+
"path": "cz-conventional-changelog"
49+
}
4550
}
4651
}

README.md renamed to readme.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@
22

33
This template should help get you started developing with Vue 3 in Vite.
44

5-
## Customize configuration
5+
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
6+
7+
## 配置
68

79
See [Vite Configuration Reference](https://vitejs.dev/config/).
810

9-
## Project Setup
11+
## 开始
1012

1113
```sh
1214
pnpm install

0 commit comments

Comments
 (0)