standard-version
standard-version copied to clipboard
Can i use customize parserOpts and writerOpts in conventionalChangelogCore
I want use conventionalChangelog deal my commit message like 🚀 feat(*): something change
.
Can i set customize parserOpts ?
example:
module.exports = {
"types": [
{"type":"🚀 feat","section":"🚀 feat"},
{"type":"fix","section":"Bug Fixes"},
{"type":"test","section":"Tests", "hidden": true},
{"type":"build","section":"Build System", "hidden": true},
{"type":"ci","hidden":true}
],
"parserOpts": {
headerPattern: "/^(.*\s{2}\w+)\((.+)\).*:\s*(.*)\s*$/",
headerCorrespondence: [
`type`,
`scope`,
`subject`
]
}
}
Thanks
Any update on this? I too would like to customise the parserOpts
Any update on this ?? need customise options for writerOpts
For anyone that has found this and is wanting, check out https://github.com/absolute-version/commit-and-tag-version