docs: move PR title format to contribution guide (#12114)

* docs: move PR title format to contribution guide

* docs: fix path

* docs: fix path

* docs: update type
This commit is contained in:
neverland
2023-07-23 19:10:04 +08:00
committed by GitHub
parent 95572cd3e4
commit 722c974ac4
4 changed files with 69 additions and 69 deletions
@@ -15,7 +15,7 @@
### 本地开发
在进行本地开发前,请先确保你的开发环境中安装了 [Node.js >= 14.19.0](https://nodejs.org)。
在进行本地开发前,请先确保你的开发环境中安装了 [Node.js >= 18](https://nodejs.org)。
按照下面的步骤操作,即可在本地开发 Vant 组件。
@@ -120,6 +120,37 @@ src
4. Pull Request 会在 Review 通过后被合并到主仓库。
5. 等待 Vant 发布新版本,一般是每周一次。
### Pull Request 标题格式
Pull Request 的标题应该遵循以下格式:
```bash
type(ComponentName?)commit message
```
示例:
- docs: fix typo in quickstart
- build: optimize build speed
- fix(Button): incorrect style
- feat(Button): add color prop
可选的类型:
- fix
- feat
- docs
- perf
- test
- types
- style
- build
- chore
- release
- refactor
- breaking change
- revert:
### 同步最新代码
提 Pull Request 前,请依照下面的流程同步主仓库的最新代码: