Security News
cURL Project and Go Security Teams Reject CVSS as Broken
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
@cenk1cenk2/cz-cc
Advanced tools
This is a direct fork of cz-conventional-changelog, while it swaps inquirer
for enquirer
for speed and adds autocomplete to commit types as well as reducing overall questions and making many optional.
# yarn
yarn global add commitizen
# npm
npm install -g commitizen
--force
flag to swap this adapter with the older one.
commitizen
.# yarn
commitizen init @cenk1cenk2/cz-cc --yarn --dev
# npm
commitizen init @cenk1cenk2/cz-cc --dev
{
"simple-git-hooks": {
"prepare-commit-msg": "[ -t 1 ] && exec < /dev/tty && git cz --hook || true"
}
}
Install the adapter by utilizing global commitizen installation.
Configuration settings are down below.
Like commitizen, you specify the configuration of cz-conventional-changelog through the package.json's config.commitizen
key.
{
// ... default values
"config": {
"commitizen": {
"path": "./node_modules/@cenk1cenk2/cz-cc",
"maxHeaderWidth": 100,
"maxLineWidth": 100,
"defaultType": "",
"defaultScope": "",
"defaultSubject": "",
"defaultBody": "",
"defaultIssues": "",
"types": {
...
"feat": {
"description": "A new feature",
"title": "Features"
},
...
}
}
}
// ...
}
The following environment varibles can be used to override any default configuration or package.json based configuration.
If using the commitlint js library, the "maxHeaderWidth" configuration property will default to the configuration of the "header-max-length" rule instead of the hard coded value of 100. This can be overwritten by setting the 'maxHeaderWidth' configuration in package.json or the CZ_MAX_HEADER_WIDTH environment variable.
FAQs
Commitizen adapter following the conventional-changelog format.
The npm package @cenk1cenk2/cz-cc receives a total of 292 weekly downloads. As such, @cenk1cenk2/cz-cc popularity was classified as not popular.
We found that @cenk1cenk2/cz-cc 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
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.