Skip to content

Options

The Angular preset is almost entirely fixed — its commit types, sections, breaking-change handling, and links can’t be reconfigured. The only option is ignoreCommits. Pass it inline via loadPreset alongside the preset name:

import { ConventionalChangelog } from 'conventional-changelog'
const generator = new ConventionalChangelog()
.readPackage()
.loadPreset({
name: 'angular',
ignoreCommits: /^chore: release/
})

Or import the preset factory and hand its result to .config():

import createPreset from 'conventional-changelog-angular'
generator.config(createPreset({ ignoreCommits: /^chore: release/ }))
OptionTypeDefaultDescription
ignoreCommitsRegExpSkip commits whose message matches this pattern.

Commits whose message matches the pattern are dropped before parsing — handy for excluding automated release commits from the changelog:

createPreset({
ignoreCommits: /^chore\(release\):/
})