@arnat/cz
v1.1.0
Published
Commitizen adapter with emojis
Downloads
5
Readme
Arnat CZ Adapter for Commitizen
:sparkles: A adapter with strong standards Tech industries.
? Selecciona el tipo de cambio que estas enviando: (Use arrow keys)
❯ ✨ Feat: A new feature
🐛 Fix: A bugfix
📚 Docs: Documentation updates
🎨 Style: No side effects on code
🔨 Refactor: Code change
🚀 Perf: Improve performance
🚨 Test: Add or update unit tests
👷 Chore: Build changes on tools
Instalation
yarn global add @arnat/cz
# or
npm install --global @arnat/cz
establecer como adaptador predeterminado globalmente
echo '{ "path": "arnat-cz" }' > ~/.czrc
Development
run npm run reload
and invoke it with git cz
Uninstall it after testing: npm uninstall -g @arnat/cz
Use
Run git cz
instead git commit
View Commitizen for more information.
Configuration
Configs are applied in the following order:
package.json
.cz.json
.czrc
// in package.json
"config": {
"commitizen": {
// ...
"arnat-cz": {
// Overwrite types prompted to the command line.
"types": {
"Fix": {
"emoji": "🐝", // overwrite "Fix" emoji to a bee
"name": "Bug", // overwrite "Fix" name to "Bug"
"description": "Dirty bug" // overwrite description of "Fix"
},
// add a new type "Chore"
"Chore": {
"emoji": "❓",
"description": "Other changes that don't modify src or test files"
}
},
// Overwrite the output commit subject in the specified format.
// Below is the default format,
// [emoji] will be replace with the chose type's emoji,
// [name] will be replace with the chose type's name,
// [subject] will be replace with the subject you entered.
// One example output of the format can be: `✨ Feat: initial commit`
"format": "[emoji] [name]: [subject]"
}
}
}
// in .cz.json or .czrc
{
"arnat-cz": {
//...
}
}
Author
Arnat Technologies [email protected]