Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/liorocks/cz-gitmoji

šŸ”¬šŸ˜œ Commitizen adapter for gitmoji.
https://github.com/liorocks/cz-gitmoji

commit commitizen commitizen-adapter emoji emojis git gitmoji gitmoji-cli

Last synced: 3 months ago
JSON representation

šŸ”¬šŸ˜œ Commitizen adapter for gitmoji.

Awesome Lists containing this project

README

        

cz-gitmoji


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

> [Commitizen](https://github.com/commitizen/cz-cli) adapter for [gitmoji](https://gitmoji.carloscuesta.me/).

**cz-gitmoji** allows you to easily use gitmojis in your commits using [commitizen](https://github.com/commitizen/cz-cli).

```sh
? 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

```bash
$ npm install --global cz-gitmoji
```

## Set Globally

```bash
echo '{ "path": "cz-gitmoji" }' > ~/.czrc
```
This will set as default adapter for all your projects.

## Usage

```sh
$ git cz
```

## Customize

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

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

For example:
```json
{
"config": {
"cz-gitmoji": {
"types": [
{
"name": "bad \tšŸ’© bad code",
"value": ":hankey:"
}
]
}
}
}
```

### Inspired by
- [gitmoji](https://gitmoji.carloscuesta.me/)
- [gitmoji-cli](https://github.com/carloscuesta/gitmoji-cli)
- [commitizen](https://github.com/commitizen/cz-cli)
- [cz-conventional-changelog](https://github.com/commitizen/cz-conventional-changelog)
- [cz-emoji](https://github.com/ngryman/cz-emoji)
- [emoji-cz](https://github.com/kevin940726/emoji-cz)

## Licence

[The MIT License](https://github.com/Landish/cz-gitmoji/blob/master/LICENSE)