Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
conventional-commit-types
Advanced tools
The conventional-commit-types npm package provides a standardized set of commit types for use in conventional commits. This helps in maintaining a consistent commit history, which is useful for automated versioning and changelog generation.
List Commit Types
This feature allows you to list all the conventional commit types available in the package. The code sample demonstrates how to import the package and log the available commit types.
const commitTypes = require('conventional-commit-types');
console.log(commitTypes.types);
Get Commit Type Description
This feature allows you to get the description of a specific commit type. The code sample shows how to retrieve the description for the 'feat' commit type.
const commitTypes = require('conventional-commit-types');
console.log(commitTypes.types['feat'].description);
Commitizen is a tool that helps you write conventional commits by providing an interactive prompt. It ensures that your commit messages are formatted correctly according to the conventional commit guidelines. Unlike conventional-commit-types, which provides a list of commit types, Commitizen focuses on the commit message creation process.
cz-conventional-changelog is an adapter for Commitizen that specifically enforces conventional commit messages. It provides a guided prompt to help you write commit messages that follow the conventional commit format. This package is more focused on the user interaction aspect compared to conventional-commit-types, which is more about providing a list of commit types.
standard-version is a tool that automates versioning and changelog generation based on conventional commit messages. It reads your commit history and updates your package version and changelog accordingly. While conventional-commit-types provides the types of commits you can use, standard-version leverages those commit messages to automate versioning and changelog updates.
List of conventional commit types.
Exports an object with a types
key whose value is an object whose keys are type names and whose values are objects with key-value pairs such as description
as string, optional title
as string, etc. See index.json. Any alternatives should follow the same spec.
Used by commitizen/cz-conventional-changelog for commitizen/cz-cli.
Can be used with kentcdodds/validate-commit-msg.
Commit types originally from:
Created for AndersDJohnson/conventional-commit-types-cli.
FAQs
List of conventional commit types.
The npm package conventional-commit-types receives a total of 721,821 weekly downloads. As such, conventional-commit-types popularity was classified as popular.
We found that conventional-commit-types demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.