Skip to content

Latest commit

 

History

History
125 lines (108 loc) · 4.45 KB

README.md

File metadata and controls

125 lines (108 loc) · 4.45 KB

cz-gitmoji

NPM Downloads Package Version PRs welcome styled with prettier License - MIT

Commitizen adapter for gitmoji.

cz-gitmoji allows you to easily use gitmojis in your commits using commitizen.

? Select the type of change you're committing:
  🎨  - :art: - Improving structure / format of the code.
  ⚡️  - :zap: - Improving performance.
  🔥  - :fire: - Removing code or files.
❯ 🐛  - :bug: - Fixing a bug.
  🚑  - :ambulance: - Critical hotfix.
  ✨  - :sparkles: - Introducing new features.
  📝  - :memo: - Writing docs.
  🚀  - :rocket: - Deploying stuff.
  💄  - :lipstick: - Updating the UI and style files.
  🎉  - :tada: - Initial commit.
  ✅  - :white_check_mark: - Adding tests.
  🔒  - :lock: - Fixing security issues.
  🍎  - :apple: - Fixing something on macOS.
  🐧  - :penguin: - Fixing something on Linux.
  🏁  - :checkered_flag: - Fixing something on Windows.
  🤖  - :robot: - Fixing something on Android.
  🍏  - :green_apple: - Fixing something on iOS.
  🔖  - :bookmark: - Releasing / Version tags.
  🚨  - :rotating_light: - Removing linter warnings.
  🚧  - :construction: - Work in progress.
  💚  - :green_heart: - Fixing CI Build.  
  ⬇️  - :arrow_down: - Downgrading dependencies.
  ⬆️  - :arrow_up: - Upgrading dependencies.
  👷  - :construction_worker: - Adding CI build system.
  📈  - :chart_with_upwards_trend: - Adding analytics or tracking code.
  🔨  - :hammer: - Refactoring code.
  ➖  - :heavy_minus_sign: - Removing a dependency.
  🐳  - :whale: - Work about Docker.    
  ➕  - :heavy_plus_sign: - Adding a dependency.
  🔧  - :wrench: - Changing configuration files.
  🌐  - :globe_with_meridians: - Internationalization and localization.
  ✏️  - :pencil2: - Fixing typos.
  💩  - :hankey: - Writing bad code that needs to be improved.
  ⏪  - :rewind: - Reverting changes.
  🔀  - :twisted_rightwards_arrows: - Merging branches.
  📦  - :package: - Updating compiled files or packages.
  👽  - :alien: - Updating code due to external API changes.
  🚚  - :truck: - Moving or renaming files.
  📄  - :page_facing_up: - Adding or updating license.
  💥  - :boom: - Introducing breaking changes.
  🍱  - :bento: - Adding or updating assets.
  👌  - :ok_hand: - Updating code due to code review changes.
  ♿️  - :wheelchair: - Improving accessibility.
  💡  - :bulb: - Documenting source code.
  🍻  - :beers: - Writing code drunkenly.
  💬  - :speech_balloon: - Updating text and literals.
  🗃  - :card_file_box: - Performing database related changes.
  🔊  - :loud_sound: - Adding logs.
  🔇  - :mute: - Removing logs.      

Install

$ npm install --global cz-gitmoji

Set Globally

echo '{ "path": "cz-gitmoji" }' > ~/.czrc

This will set as default adapter for all your projects.

Usage

$ git cz

Customize

You can customize types for per project by adding a configuration section in your package.json:

{
  "config": {
    "cz-gitmoji": {}
  }
}

For example:

{
  "config": {
    "cz-gitmoji": {
      "types": [
        {
          "name": "bad \t💩 bad code",
          "value": ":hankey:"
        }
      ]
    }
  }
}

Inspired by

Licence

The MIT License