@motor-hero/ui-kit 0.7.0 → 0.8.0
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 +17 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -75,15 +75,23 @@ Detalhes (peerDeps do React, unlink etc.) em [CONTRIBUTING.md](./CONTRIBUTING.md
|
|
|
75
75
|
|
|
76
76
|
## Versionamento e Releases
|
|
77
77
|
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
O publish no npm é disparado por **tags**. Você trabalha normalmente na `main` e, quando quiser
|
|
79
|
+
lançar uma versão, basta um comando:
|
|
80
80
|
|
|
81
|
-
|
|
81
|
+
```bash
|
|
82
|
+
npm version minor # bump no package.json + commit + cria a tag v0.7.0
|
|
83
|
+
git push --follow-tags # a tag dispara o publish no npm + GitHub Release
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
Use [Conventional Commits](https://www.conventionalcommits.org) (`feat:`, `fix:`, `docs:`,
|
|
87
|
+
`chore:`…) — o changelog da GitHub Release é gerado a partir deles, agrupado por categoria.
|
|
88
|
+
Escolha o bump conforme o que mudou:
|
|
89
|
+
|
|
90
|
+
| Comando | Bump | A partir de `0.6.0` → |
|
|
82
91
|
|---|---|---|
|
|
83
|
-
| `
|
|
84
|
-
| `
|
|
85
|
-
| `
|
|
92
|
+
| `npm version patch` | patch | `0.6.1` |
|
|
93
|
+
| `npm version minor` | minor | `0.7.0` |
|
|
94
|
+
| `npm version major` | major | `1.0.0` |
|
|
86
95
|
|
|
87
|
-
Ao
|
|
88
|
-
|
|
89
|
-
automaticamente. Guia completo em [CONTRIBUTING.md](./CONTRIBUTING.md).
|
|
96
|
+
Ao receber a tag `v*`, o workflow `release.yml` faz `build` → `npm publish --provenance` → cria a
|
|
97
|
+
GitHub Release com as notas. Guia completo em [CONTRIBUTING.md](./CONTRIBUTING.md).
|
package/package.json
CHANGED