
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
cz-customizable
Advanced tools
Commitizen customizable adapter following the conventional-changelog format.
The customizable Commitizen plugin to help achieve consistent commit messages like the AngularJS team.
Suitable for large teams working with multiple projects with their own commit scopes. When you specify the scopes in your .cz-config.js
, cz-customizable
allows you to select the pre-defined scopes. No more spelling mistakes embarrassing you when generating the changelog file.
install commitizen in case you don't have it: npm install -g commitizen
. Make sure you have version 2.8.1
+.
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"
}
}
cz-customizable
:package.json
(recommended):
...
"config": {
"commitizen": {
"path": "node_modules/cz-customizable"
},
"cz-customizable": {
"config": "config/path/to/my/config.js"
}
}
Note: option one allows you to have your config away from root directory. It also gives you a change to define any name to your cz-config.js
.
cp ./node_modules/cz-customizable/cz-config-EXAMPLE.js ./.cz-config.js
in a project root directory to get a template.
Note: if you chose option 2, config file has to be called .cz-config.js
.Notes:
.cz-config.js
file to your git.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.
Here are the options you can set in your .cz-config.js
:
fix
: scopeOverrides: {
fix: [
{name: 'merge'},
{name: 'style'},
{name: 'e2eTest'},
{name: 'unitTest'}
]
}
custom
to scope selection so you can still typea scope if you need.breaking change
prompted. Eg.: ['feat', 'fix']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
Please refer to:
Leonardo Correa
FAQs
Commitizen customizable adapter following the conventional-changelog format.
The npm package cz-customizable receives a total of 47,808 weekly downloads. As such, cz-customizable popularity was classified as popular.
We found that cz-customizable demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.