Set up a fully automated versioning and release pipeline using conventional commits, commitlint, husky git hooks, and semantic-release. Version bumps, changelogs, and GitHub releases are derived automatically from commit messages.
Core principle: Commits drive releases — enforce commit format at author time, automate everything else.
| @commitlint/cli | Validates commit messages against rules | | @commitlint/config-conventional | Preset rules for conventional commit format | | semantic-release | Automates version bumps, changelogs, and releases | | @semantic-release/changelog | Generates/updates CHANGELOG.md | | @semantic-release/git | Commits release artifacts back to repo |
Da utilizzare durante l'impostazione del controllo delle versioni automatico, quando viene richiesto di "impostare il rilascio semantico", "aggiungi commit convenzionali", "configura il controllo delle versioni automatizzato", "imposta commitlint", "aggiungi husky hook", "imposta la generazione del registro delle modifiche" o quando inizializzi un nuovo progetto che necessita di un flusso di lavoro di commit e rilascio. Fonte: antjanus/skillbox.