Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
commitizen-cli
Advanced tools
Command-line interface tool that helps enforce standardized commit message formats in Git repositories.
Command-line interface tool that helps enforce standardized commit message formats in Git repositories.
To install commitizen-cli, use:
npm install -g commitizen-cli
or if you don't like to install it globaly, use:
npx commitizen-cli
Navigate to your Git repository.
Run the following command:
commitizen-cli
If you have previously installed a version that is older than 3.0.0, it's important to follow these steps to ensure a smooth update process. The new version introduces significant changes that might conflict with remnants of the old installation.
It's recommended to use the clean command to remove any residual configurations that might still be present. Run the following command:
commitizen-cli clean
The update command allows you to synchronize your local package with the latest changes from the package's repository. To update your package, run:
commitizen-cli update
This command will fetch the latest updates and apply them to your local package installation. Staying up to date ensures that you have access to new features, bug fixes, and enhancements provided by the package maintainers.
The config command is used to configure various settings for your package. It supports both get and set modes.
Get Mode
To retrieve configuration values, use the get mode:
commitizen-cli config get <key>
This command will display the current value associated with the specified configuration key.
Set Mode
To update configuration values, use the set mode:
commitizen-cli config set <key>=<value>
The clean command allows you to reset the configuration settings. This command will clear all configurations inside the configuration file generated by the package. To reset the configuration, execute:
commitizen-cli clean
Please be cautious when using this command, as it will reset all configuration settings. This action is irreversible.
List of type available:
Pattern is defined like this: <type>
(<ticket>
): <commit>
<type>
: Type of commit (feature, bugfix, documentation, ...)<ticket>
: Reference of ticket (if ticket is defined)<commit>
: Commit messageExample: design(XXX-000): implement responsive design
But <ticket>
is an optional pattern, you can set it to false on prompt and the default pattern is like this: <type>
: <commit>
Example: feature: implement new chat system on the frontend
And <emoji>
is an optional pattern too, if you like to make your commit cool you can check the use emoji prompt and define custom pattern with <emoji>
,
like this:
<ticket>
reference: <emoji>
<type>
(<ticket>
): <commit>
: 📝 documention(XXX-000): creating new docs on the package<emoji>
<type>
: <commit>
: 📝 documention: creating new docs on the packageGet or Set configuration directly to save specific config, use:
commitizen-cli config get PATTERN
commitizen-cli config set PATTERN='specific pattern'
To update to the latest version, use:
commitizen-cli update
Follow the prompts to generate a standardized commit message.
The CLI will execute the Git command to commit your changes with the generated message.
Commitizen CLI is an MIT-licensed open source project. It can grow thanks to the sponsors and support.
Commitizen CLI is MIT licensed.
FAQs
Command-line interface tool that helps enforce standardized commit message formats in Git repositories.
The npm package commitizen-cli receives a total of 27 weekly downloads. As such, commitizen-cli popularity was classified as not popular.
We found that commitizen-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.