Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@endemolshinegroup/cz-jira-smart-commit

A Commitizen adapter for JIRA smart commits

commitizen, commitizen-adapter, jira, typescript

readme

@endemolshinegroup/cz-jira-smart-commit

MIT Licensed NPM Version Build Status Greenkeeper Status

Code Issues Codebase Maintainability Test Coverage Jest

Commitizen Semantic Release Prettier

A Commitizen adapter for JIRA smart commits.

Installation

yarn add -D @endemolshinegroup/cz-jira-smart-commit

Add the following to your .czrc:

{
  "path": "@endemolshinegroup/cz-jira-smart-commit"
}

Usage

asciicast

Configuration

The adapter can be customised by specifying additional options in .czrc:

{
  "path": "@endemolshinegroup/cz-jira-smart-commit",
  "@endemolshinegroup/cz-jira-smart-commit": {
    "pullRequestsOnly": true,
    "scopes": {
      "api": "For API commits",
      "site": "For frontend commits",
      "docs": "For documentation commits"
    }
  }
}

changelog

1.3.1 (2018-11-03)

Bug Fixes

  • validation: only check if first word of subject is lowercase (0a194f8)

1.3.0 (2018-11-02)

Features

  • validation: improve commit header validation (4423059), closes #3

1.2.0 (2018-10-15)

Bug Fixes

  • validation: use subject length of 72 correctly (c9f4af3)

Features

  • prompts: allow commits unrelated to JIRA issues (5152d9e)

1.1.0 (2018-10-11)

Features

  • options: support options set in .czrc (a94ff90)

1.0.0 (2018-10-10)

Bug Fixes

  • increase subject length to 72 characters (0826f13)
  • regenerate GitHub token (5d76853)