cz-jira-emoji
Commitizen adapter formatting commit messages using emojis.
cz-jira-emoji allows you to easily use emojis in your commits using commitizen.
? Select the type of change you are committing: ❯ feature 🚀 A new feature fix 🐞 A bug fix docs 📚 Documentation change refactor 🎨 A code refactoring change chore 🔩 A chore change
Install
npm install --global cz-jira-emoji # set as default adapter for your projects echo '{ "path": "cz-jira-emoji" }' > ~/.czrc
Usage
$ git cz
Customize
By default cz-jira-emoji
comes preconfigured with the Gitmoji types.
But you can customize things on a project basis by adding a configuration section in your package.json
:
Types
An Inquirer.js choices array:
The value property
must be the emoji itself.
Config
For anything other than types cz-jira-emoji uses .workflowrc config files.
You should have one of these in the global scope at ~/.workflowrc.
This should contain your Jira login and gitlab token:
You should also have a .workflowrc config file in the root of your repository which shoud look like this:
License
MIT © Mark Lyck