Skip to content

Landish/cz-gitmoji

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

21 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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