invertase / melos

🌋 A tool for managing Dart projects with multiple packages. With IntelliJ and Vscode IDE support. Supports automated versioning, changelogs & publishing via Conventional Commits.
https://melos.invertase.dev/~melos-latest
Apache License 2.0
1.07k stars 193 forks source link

request: Allow to remove scope or part of the scope in the changelog #716

Closed MiniSuperDev closed 3 weeks ago

MiniSuperDev commented 1 month ago

Is there an existing feature request for this?

Command

No response

Description

In my team with use scopes for each app or package like:

feat(package_name_N): foo
feat(app_name_N): foo

It generates:

4.17.3
FEAT(app_name_N): foo
FEAT(app_name_N): foo

We should be able to decide which scopes not to show in the changelog or maybe even use a regex or similar

For cases like:

feat(package_name_N): foo
4.17.3
FEAT: foo
feat(package_name_N/android,web): foo
4.17.3
FEAT(android,web): foo

For example here: https://github.com/firebase/flutterfire/blob/35ad8d41237af2190c9a6ef2ebdfff08b4e813cf/packages/cloud_firestore/cloud_firestore/CHANGELOG.md?plain=1#L5-L8

4.17.3
FIX(firestore,ios): fix query stream handler options. (https://github.com/firebase/flutterfire/issues/12739). ([953bf929](https://github.com/firebase/flutterfire/commit/953bf929bf19e7bbb3564c69901f5a4fca5fc981))
FIX(web): fix test for Web on WASM (https://github.com/firebase/flutterfire/issues/12697). ([e343df58](https://github.com/firebase/flutterfire/commit/e343df585280e0ff088eb21a7a7accb727b150ed))

Thanks

Reasoning

In description.

Additional context and comments

melos: 6.0.0

timcreatedit commented 1 month ago

It seems like this flag covers at least part of your usecase: https://melos.invertase.dev/configuration/overview#includescopes

spydon commented 3 weeks ago

I don't think we want to support partial scopes, that seems like a very small use-case so I'll close this since there already is a feature for disabling the scopes in the changelog all-together.