@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.
Files changed (2) hide show
  1. package/README.md +17 -9
  2. 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
- As versões e o publish no npm são **automatizados** você não edita a versão à mão nem cria tags.
79
- A versão é derivada das mensagens de commit ([Conventional Commits](https://www.conventionalcommits.org)):
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
- | Commit | Bump | A partir de `0.5.1` → |
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
- | `fix:` | patch | `0.5.2` |
84
- | `feat:` | minor | `0.6.0` |
85
- | `feat!:` / `BREAKING CHANGE:` | minor (permanece em `0.x`) | `0.6.0` |
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 fazer merge na `main`, o **release-please** abre um PR de release com a versão e o `CHANGELOG`
88
- prontos; ao **fazer merge desse PR**, a tag, a GitHub Release e o `npm publish` acontecem
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@motor-hero/ui-kit",
3
- "version": "0.7.0",
3
+ "version": "0.8.0",
4
4
  "description": "Componentes React reutilizáveis para o ecossistema MotorHero — shadcn/ui + Tailwind CSS v4",
5
5
  "author": "MotorHero",
6
6
  "license": "UNLICENSED",