npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@rtvision/cz-conventional-changelog-for-jira

v0.0.2

Published

Commitizen adapter following the conventional-changelog format and also asking for JIRA issue.

Readme

@rtvision/cz-conventional-changelog-for-jira

Part of the commitizen/cz-cli family. Prompts for the conventional changelog format and also prompts for a mandatory JIRA issue.

This package is based on digitalroute/cz-conventional-changelog-for-jira. Original authorship and upstream credit belong to DigitalRoute.

Features

  • Works with semantic-release
  • Works with Jira smart commits
  • Detects the Jira issue from the current branch name
  • Ships as pure ESM with TypeScript declarations

Quickstart

Installation

pnpm add -D commitizen @rtvision/cz-conventional-changelog-for-jira

Then add the adapter to package.json:

{
  "scripts": {
    "commit": "git-cz"
  },
  "config": {
    "commitizen": {
      "path": "@rtvision/cz-conventional-changelog-for-jira"
    }
  }
}

Usage

Gif of terminal when using cz-conventional-changelog-for-jira

Development

This repo uses pnpm, tsdown, oxlint, oxfmt, TypeScript, tsgo, and Vitest.

pnpm install
pnpm run build
pnpm run check
pnpm test

Configuration

Like commitizen, you can specify configuration for this adapter through config.commitizen in package.json or via environment variables.

| Environment variable | package.json | Default | Description | | --------------------- | ----------------- | ------------------- | ------------------------------------------------------------------------------------------------------ | | CZ_JIRA_MODE | jiraMode | true | Ask for a Jira issue in the header. If false, ask for issue references later for GitHub-style flows. | | CZ_MAX_HEADER_WIDTH | maxHeaderWidth | 72 | Maximum commit header length. | | CZ_MIN_HEADER_WIDTH | minHeaderWidth | 2 | Minimum commit subject length. | | CZ_MAX_LINE_WIDTH | maxLineWidth | 100 | Maximum wrapped body line width. | | CZ_SKIP_SCOPE | skipScope | true | Skip scope input. | | CZ_SKIP_TYPE | skipType | false | Skip type input. | | CZ_SKIP_DESCRIPTION | skipDescription | false | Skip body input. | | CZ_SKIP_BREAKING | skipBreaking | false | Skip breaking-change questions. | | | scopes | undefined | List of predefined scopes. When present, scope becomes a selectable list. | | CZ_TYPE | defaultType | undefined | Default type. | | CZ_SCOPE | defaultScope | undefined | Default scope. | | CZ_CUSTOM_SCOPE | customScope | false | Allow custom scope in addition to predefined scopes. | | CZ_SUBJECT | defaultSubject | undefined | Default subject. | | CZ_BODY | defaultBody | undefined | Default body. | | CZ_ISSUES | defaultIssues | undefined | Default issue references. | | CZ_JIRA_OPTIONAL | jiraOptional | false | Allow the Jira field to be blank. | | CZ_JIRA_PREFIX | jiraPrefix | "DAZ" | Default Jira ticket prefix shown in the prompt. | | CZ_JIRA_LOCATION | jiraLocation | "pre-description" | Jira ID position. Options: pre-type, pre-description, post-description, post-body. | | CZ_JIRA_PREPEND | jiraPrepend | "" | Prefix decorator for the Jira ID, for example [ | | CZ_JIRA_APPEND | jiraAppend | "" | Suffix decorator for the Jira ID, for example ] | | CZ_EXCLAMATION_MARK | exclamationMark | false | Add ! after the scope for breaking changes, for example type(scope)!: |

Jira Location Options

pre-type

JIRA-1234 type(scope): commit subject

pre-description

type(scope): JIRA-1234 commit subject

post-description

type(scope): commit subject JIRA-1234

post-body

type(scope): commit subject

JIRA-1234
type(scope): commit subject

this is a commit body

JIRA-1234

Dynamic Configuration

If you want your own profile, use the configurable entrypoint.

commitizen.config.mjs

import configurable from '@rtvision/cz-conventional-changelog-for-jira/configurable';
import defaultTypes from '@rtvision/cz-conventional-changelog-for-jira/types';

export default configurable({
  types: {
    ...defaultTypes,
    perf: {
      description: 'Improvements that will make your code perform better',
      title: 'Performance',
    },
  },
  skipScope: false,
  scopes: ['myScope1', 'myScope2'],
  customScope: true,
});

package.json

{
  "config": {
    "commitizen": {
      "path": "./commitizen.config.mjs"
    }
  }
}

This example:

  • adds a perf commit type
  • enables scopes
  • limits predefined scopes to myScope1 and myScope2
  • allows entering a custom scope

Supported configurable options:

| Key | Default | Description | | ----------------- | ------------------- | ------------------------------------------------- | | jiraMode | true | Ask for a Jira issue in the header. | | maxHeaderWidth | 72 | Maximum commit header length. | | minHeaderWidth | 2 | Minimum subject length. | | maxLineWidth | 100 | Maximum wrapped line width. | | skipScope | true | Skip scope input. | | skipType | false | Skip type input. | | skipDescription | false | Skip body input. | | skipBreaking | false | Skip breaking-change questions. | | defaultType | undefined | Default type. | | defaultScope | undefined | Default scope. | | defaultSubject | undefined | Default subject. | | defaultBody | undefined | Default body. | | defaultIssues | undefined | Default issue references. | | jiraPrefix | 'DAZ' | Default Jira prefix shown in the prompt. | | types | ./types.js | Supported commit types. | | scopes | undefined | List of predefined scopes. | | customScope | false | Allow a custom scope alongside predefined scopes. | | jiraOptional | false | Allow an empty Jira field. | | jiraLocation | 'pre-description' | Jira ID position. | | jiraPrepend | '' | Prefix decorator for the Jira ID. | | jiraAppend | '' | Suffix decorator for the Jira ID. | | exclamationMark | false | Add ! after scope for breaking changes. |

Commitlint

If you use the commitlint JS library, maxHeaderWidth defaults to the header-max-length rule unless you override it through package.json or CZ_MAX_HEADER_WIDTH.