@crystal-ball/commitizen-base
v2.12.0
Published
🔮 Projects - Commitizen base
Downloads
86
Readme
This package contains an adapter for using Commitizen with 🔮 Projects. Standardized commit messages are constructed using an interactive prompt with options for long descriptions, emojis, breaking change notes and release notes.
Commits generated with this package will automatically follow the ESLint commit fomat.
⚙️ Setup
1. Install
npm i -D @crystal-ball/commitizen-base husky
2. Configure package.json
{
"config": {
"commitizen": {
"path": "@crystal-ball/commitizen-base"
}
},
"husky": {
"hooks": {
"prepare-commit-msg": "exec < /dev/tty && git cz --hook"
}
}
}