UNPKG

conventional-changelog-aaron-preset

Version:
11 lines (10 loc) 366 B
export function createParserOpts() { return { headerPattern: /^(\w+)(?:\((.*)\))?: ?(.*)$/, headerCorrespondence: ['type', 'scope', 'message'], noteKeywords: ['BREAKING CHANGE', 'Dependencies Changes'], notesPattern: function (noteKeywordsSelection) { return new RegExp('^[\\s|*]*(' + noteKeywordsSelection + ')[:\\s]*(.*)', 'i') } } }