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 @@ Below are the guidelines for submitting feedback or code to Vant. Please take a
### Local development
Before developing locally, please make sure that [Node.js >= 14.19.0](https://nodejs.org) is installed in your development environment.
Before developing locally, please make sure that [Node.js >= 18](https://nodejs.org) is installed in your development environment.
Follow the steps below to develop Vant components locally.
@@ -119,6 +119,37 @@ When submitting a Pull Request, please note:
4. The pull request is merged into the main repository after the review is approved.
5. Wait for Vant to release a new version, usually once a week.
### Pull Request Title Format
The title of the Pull Request should be in the following format:
```bash
type(ComponentName?)commit message
```
Example
- docs: fix typo in quickstart
- build: optimize build speed
- fix(Button): incorrect style
- feat(Button): add color prop
Allowed Types:
- fix
- feat
- docs
- perf
- test
- types
- style
- build
- chore
- release
- refactor
- breaking change
- revert:
### Synchronize the latest code
Before submitting a Pull Request, please synchronize the latest code of the main repository according to the following process: