@vmo11/cz-jira-smart-commit

3.0.3 • Public • Published

cz-jira-smart-commit

A commitizen adapter for Jira smart commits.

Screenshot

Usage

Global Installation

For a quick global installation of the plugin, simply run the install.sh script present in this repo:

chmod +x install.sh

./install.sh

Add this adapter

Use commitizen to init

yarn add -D commitizen
./node_modules/.bin/commitizen init @vmo11/cz-jira-smart-commit --yarn --dev --exact

Or manual install this adapter

npm install cz-jira-smart-commit

Reference it in your .cz.json of your project

{
  "path": "node_modules/cz-jira-smart-commit/"
}

Update package.json file

{
    ...
    "scripts": {
        ...
        "commit": "git cz"
    }
}

Day to day work

Instead of git commit -m 'Your message', you type: yarn commit with this adapter and it prompts you for:

  • Jira Issue Key(s)
  • commit message
  • Workflow command
  • Time Spent
  • Comment

And generates your commit based on that.

Dependents (0)

Package Sidebar

Install

npm i @vmo11/cz-jira-smart-commit

Weekly Downloads

0

Version

3.0.3

License

MIT

Unpacked Size

769 kB

Total Files

9

Last publish

Collaborators

  • huyhavmodev