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

support custom function in conventional changelog spec #1263

Open
jedwards1211 opened this issue May 4, 2024 · 0 comments
Open

support custom function in conventional changelog spec #1263

jedwards1211 opened this issue May 4, 2024 · 0 comments

Comments

@jedwards1211
Copy link

jedwards1211 commented May 4, 2024

Yet another example of static config formats giving us hell.

I want the following rule for changelogs for my monorepo subpackages (this appears to be the convention this monorepo follows itself?)

  • commits that include the package name in the scope should be included
    (this includes comma-separated scope lists like fix(package-a,package-b): blahblah)
  • commits that have no scope should be included

If I could just pass a custom function that takes the commit and returns the changelog section and whether it's hidden, then implementing this logic would be easy.

Thanks to the static config, this is currently impossible.

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

1 participant