Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cz-customizable

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cz-customizable

Commitizen customizable adapter following the conventional-changelog format.

  • 2.7.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
86K
decreased by-16.68%
Maintainers
1
Weekly downloads
 
Created
Source

cz-customizable

This is a customizable Commitizen plugin. You can specify the commit types, scopes and override scopes for specific types.

Commitizen friendly Build Status semantic-release codecov.io npm monthly downloads

Steps:

  • install commitizen in case you don't have it: npm install -g commitizen

  • install the cz-customizable: npm install cz-customizable --save-dev

  • configure commitizen to use cz-customizable as plugin. Add those lines to your package.json:

    ...
    "config": {
      "commitizen": {
        "path": "node_modules/cz-customizable"
      }
    }
    
  • you should commit your .cz-config.js file to your git. Run cp ./node_modules/cz-customizable/cz-config-EXAMPLE.js ./.cz-config.js in a project root directory to get a template.

  • if you don't provide a config file, this adapter will use the contents of the default file node_modules/cz-customizable/cz-config-EXAMPLE.js

From now on, instead of git commit you type git cz and let the tool do the work for you.

Hopefully this will help you to have consistent commit messages and have a fully automated deployemnt without any human intervention.

It prompts for conventional changelog standard.

GOTCHAS

  • backticks If you wish to have backticks in your content, for example "feat: `string`", the commit preview will be "feat: \\string\\\\". Don't worry because on your git log will be "feat: `string`" as desired.

  • multiline contents on the body of the message Body is the only place where you can use a pipe to break lines. E.g.: you type this: my items are:| - item01| - item 02, which will become:

my items are: - item01 - item 02

CONTRIBUTING

Please refer to the Contributor Guidelines and Conduct of Code from AngularJs project.

Leonardo Correa

FAQs

Package last updated on 23 Jan 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc