1.1.0 • Published 4 years ago

@hnp/cz v1.1.0

Weekly downloads
14
License
MIT
Repository
github
Last release
4 years ago

@hnp/cz

hero

version licence

Commitizen Adaptor, fully compatible with angular style.


Table of contents

TLDR

Instead of git commit use git cz with @hnp/cz as the adaptor

Installation

npm install @hnp/cz --save-dev

Usage

If you havent already, install the Commitizen Cli tools:

npm install commitizen -g

Initialize your project to use the adapter by typing:

commitizen init @hnp/cz

The command will initialize the adapter and add the following to your package.json

{
    "config": {
        "commitizen": {
            "path": "@hnp/cz"
        }
    }
}

Now, can use git cz instead of git commit.

Pro TIP: set as default adapter for your projects

npm install --global @hnp/cz && echo '{ "path": "@hnp/cz" }' > ~/.czrc

Customization

You can customize the scopes on a project basis by adding a configuration section in your package.json:

{
    "config": {
        "scopes": ["home", "accounts", "ci"]
    }
}

Changelog

Find the CHANGELOG here, generated using Conventional Commits.

License

MIT © Jorge Proaño

1.1.0

4 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago