Repository created to study the pattern of commits using Commitlint, Commitizen, Husky and automatic changelog generation.
For the use of this repository we will take into account that you already have npm in your environment.
- If you are starting a new repository in your environment, you must run the
git init
command before going to the second topic next step.
To install commitilint just follow the step by step on the official link.
3.1 - Run: npm install commitizen -g
3.2 - Run: commitizen init cz-conventional-changelog --save-dev --save-exact
- After doing this, to make new commits just type in your terminal the command
cz
orgit cz
and you will have a new experience when making commits. Just follow the step by step in the terminal.
I generated the changelog file through an extension for vscode, in this link you will find the editors that have this extension available to use.