cz-commit-emoji

1.0.3 • Public • Published

cz-commit-emoji

Commitizen adapter formatting commit messages using emojis.

cz-commit-emoji allows you to easily use emojis in your commits using [commitizen].

? Select the type of change you are committing: (Use arrow keys)
❯ feature   🌟  A new feature
  fix       🐞  A bug fix
  docs      📚  Documentation change
  refactor  🎨  A code refactoring change
  chore     🔩  A chore change

Install

yarn add commitizen cz-commit-emoji --dev

Usage

In package.json

{
  ...
  "config": {
    "commitizen": {
      "path": "cz-commit-emoji"
    }
  }
}

or with a config file named .czrc.js

echo '{ "path": "cz-commit-emoji" }' > ./.czrc
$ git cz

Types

An [Inquirer.js] choices array:

{
  "config": {
    "cz-commit-emoji": {
      "types": [
        {
          "emoji": "🌟",
          "code": ":star2:",
          "description": "A new feature",
          "name": "feature"
        }
      ]
    }
  }
}

The value property must be the emoji itself.

Scopes

An [Inquirer.js] choices array:

{
  "config": {
    "cz-commit-emoji": {
      "scopes": ["home", "accounts", "ci"]
    }
  }
}

Examples

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i cz-commit-emoji

Weekly Downloads

3

Version

1.0.3

License

MIT

Unpacked Size

18.9 kB

Total Files

11

Last publish

Collaborators

  • barryyan