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

Monorepo Support: Filtering by Conventional Commit Scope #285

Open
Cpcrook opened this issue Nov 10, 2021 · 1 comment
Open

Monorepo Support: Filtering by Conventional Commit Scope #285

Cpcrook opened this issue Nov 10, 2021 · 1 comment

Comments

@Cpcrook
Copy link

Cpcrook commented Nov 10, 2021

Given I am creating a release for a project within a monorepo
When I generate a changelog
Then I expect to be able to optionally specify a scope
And I expect only commits to that scope be included in my generated change log
And for that changelog to be written to a particular output path


This is primarily to have this tool be more useful in a monorepo where there are multiple libraries being independently versioned with nbgv (separate version.json files in different subfolders).

I'll elaborate on this a bit more (with respect to expected project structure that is driving this request). It may also be something I plan on contributing myself (life-willing).

@ap0llo
Copy link
Owner

ap0llo commented Nov 10, 2021

There is support for filtering the change log entries (see https://github.com/ap0llo/changelog/blob/master/docs/configuration/settings/filter.md) which may work for your use case.

You'd have to use multiple configuration files and configure the filters accordingly - in the config you could also set different output paths for the various components.

Would the filtering support cover your use case or do you have something else/additional in mind?

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

No branches or pull requests

2 participants