项目作者: Landish

项目描述 :
🔬😜 Commitizen adapter for gitmoji.
高级语言: JavaScript
项目地址: git://github.com/Landish/cz-gitmoji.git
创建时间: 2017-07-26T18:13:06Z
项目社区:https://github.com/Landish/cz-gitmoji

开源协议:MIT License

下载


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.

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

Install

  1. $ npm install --global cz-gitmoji

Set Globally

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

This will set as default adapter for all your projects.

Usage

  1. $ git cz

Customize

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

  1. {
  2. "config": {
  3. "cz-gitmoji": {}
  4. }
  5. }

For example:

  1. {
  2. "config": {
  3. "cz-gitmoji": {
  4. "types": [
  5. {
  6. "name": "bad \t💩 bad code",
  7. "value": ":hankey:"
  8. }
  9. ]
  10. }
  11. }
  12. }

Inspired by

Licence

The MIT License