Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can i use customize parserOpts and writerOpts in conventionalChangelogCore #362

Open
fortress-fight opened this issue May 17, 2019 · 3 comments

Comments

@fortress-fight
Copy link

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

@jheaff1
Copy link

jheaff1 commented Jul 28, 2020

Any update on this? I too would like to customise the parserOpts

@gauravmalik1011
Copy link

gauravmalik1011 commented Nov 23, 2021

Any update on this ?? need customise options for writerOpts

@mholttech
Copy link

For anyone that has found this and is wanting, check out https://github.com/absolute-version/commit-and-tag-version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants