@govbr-ds/commitlint-config 3.2.0 → 3.3.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ Compartilhar os padrões de commit entre os projetos do [GovBR-DS](https://gitla
|
|
|
9
9
|
1. Instale as seguintes dependências
|
|
10
10
|
|
|
11
11
|
```bash
|
|
12
|
-
|
|
12
|
+
npm install --save-dev @govbr-ds/commitlint-config husky @commitlint/cz-commitlint@17.8.1
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Como configurar
|
|
@@ -38,7 +38,7 @@ Compartilhar os padrões de commit entre os projetos do [GovBR-DS](https://gitla
|
|
|
38
38
|
1. Conforme a documentação do [Husky](https://github.com/typicode/husky) inclua o hook `commit-msg` com o código abaixo:
|
|
39
39
|
|
|
40
40
|
```bash
|
|
41
|
-
|
|
41
|
+
npx --no -- commitlint --edit $1
|
|
42
42
|
```
|
|
43
43
|
|
|
44
44
|
E configure o `package.json` com o seguinte script:
|