@medijobs/conventional-commit
Never miss a conventional commit with commitizen running on npx.
📦 Install
This package is binary and doesn't require installation however you can add it to your repository as a devDependency
:
npm install --save-dev @medijobs/conventional-commit
🚀 Usage
All you have to do is run the script next to your package.json
:
npx @medijobs/conventional-commit
# or
npx conventional-commit
🔧 Configuration
The most common use case for this package is to run it instead of the git commit
command inside your npm
scripts:
{
"scripts": {
"push": "npx @medijobs/conventional-commit"
}
}
or
{
"scripts": {
"push": "npx conventional-commit"
}
}
If you want to ensure local-only usage:
{
"scripts": {
"push": "conventional-commit"
}
}
🤝 Contributing
If you decide to fix a bug, make sure to use the conventional commit available at:
npm run push