Many of my projects use Conventional Commits for the release process. Because setting it up is repetitive, I automated the steps.
In the past, I would:
- create commitlint
- checks if my commit messages meet the conventional commits format (this information is key when generating a release)
- set up husky
- lints the commit message via a Git hook
- add Release Please
- bumps the version and generates the CHANGELOG
Now I run the CLI and it does all the work for me.
Run with npx:
Or run globally:
npm install --global conventional-release-setup && conventional-release-setup
You can find
See the GitHub repository.