
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
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 1,311,527 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
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.