Defines standard commit types and breaking change patterns for automated changelog generation. Use this to enforce consistent commit message conventions across your project.
// Source: https://github.com/conventional-changelog/conventional-changelog | License: ISC
// Provided via justclaw.it.com; keep this notice with the code.
export const BREAKING_HEADER_PATTERN = /^(\w*)(?:\((.*)\))?!: (.*)$/
export const DEFAULT_COMMIT_TYPES = Object.freeze([
{
type: 'feat',
section: 'Features',
effect: 'bump'
},
{
type: 'feature',
section: 'Features',
effect: 'bump'
},
{
type: 'fix',
section: 'Bug Fixes',
effect: 'bump'
},
{
type: 'perf',
section: 'Performance Improvements',
effect: 'bump'
},
{
type: 'revert',
section: 'Reverts',
effect: 'bump'
},
{
type: 'docs',
section: 'Documentation',
effect: 'hidden'
},
{
type: 'style',
section: 'Styles',
effect: 'hidden'
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key