1.3.3 ā€¢ Published 6 years ago

cz-jira-emoji v1.3.3

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

cz-jira-emoji

Commitizen adapter formatting commit messages using emojis.

cz-jira-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

npm install --global cz-jira-emoji

# set as default adapter for your projects
echo '{ "path": "cz-jira-emoji" }' > ~/.czrc

Usage

$ git cz

Customize

By default cz-jira-emoji comes preconfigured with the Gitmoji types.

But you can customize things on a project basis by adding a configuration section in your package.json:

{
  "config": {
    "cz-jira-emoji": {}
  }
}

Types

An Inquirer.js choices array:

{
  "config": {
    "cz-jira-emoji": {
      "types": [
        {
          "emoji": "šŸš€",
          "code": ":rocket:",
          "description": "A new feature",
          "name": "feature"
        }
      ]
    }
  }
}

The value property must be the emoji itself.

Config

For anything other than types cz-jira-emoji uses .workflowrc config files.

You should have one of these in the global scope at ~/.workflowrc.

This should contain your Jira login and gitlab token:

{
  "jira": {
    "basic_auth": {
      "base64": "DKFg7ewy578ejshdFG985==",
      "username": "jiraUserName"
    }
  },
  "gitlab": {
    "token": "UCaokvssu7PNny-g-PsS"
  }
}

You should also have a .workflowrc config file in the root of your repository which shoud look like this:

{
  "jira": {
    "host": "jira.customJiraURL.com"
  },
  "gitlab": {
    "url": "https://git.custom.gitlaburl.plc",
    "projectNamespace": "namespace",
    "projectName": "projectName",
    "mainBranch": "master"
  },
  "reviewTransitionValue": "131",
  "default-jira-name": "OREO",
  "scopes": ["UI", "api-client", "types"],
  "versioning": ["patch", "minor", "major"]
}

License

MIT Ā© Mark Lyck

1.3.3

6 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.17

6 years ago

1.2.16

6 years ago

1.2.15

6 years ago

1.2.14

6 years ago

1.2.13

6 years ago

1.2.12

6 years ago

1.2.11

6 years ago

1.2.10

6 years ago

1.2.9

6 years ago

1.2.8

6 years ago

1.2.7

6 years ago

1.2.6

6 years ago

1.2.5

6 years ago

1.2.4

6 years ago

1.2.3

6 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.29

6 years ago

1.1.27

6 years ago

1.1.26

6 years ago

1.1.25

6 years ago

1.1.24

6 years ago

1.1.23

6 years ago

1.1.22

6 years ago

1.1.21

6 years ago

1.1.20

6 years ago

1.1.19

6 years ago

1.1.18

6 years ago

1.1.28

6 years ago

1.1.17

6 years ago

1.1.16

6 years ago

1.1.15

6 years ago

1.1.14

6 years ago

1.1.13

6 years ago

1.1.12

6 years ago

1.1.11

6 years ago

1.1.10

6 years ago

1.1.9

6 years ago

1.1.8

6 years ago

1.1.7

6 years ago

1.1.6

6 years ago

1.1.5

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago