-
Notifications
You must be signed in to change notification settings - Fork 16
Feature Request (changed): Ignore changes to certain workspaces when computing dependency tree #6
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Thanks for the awesome plugins!
This is a feature request for the changed plugin for ignoring certain workspaces so that changes to any of those workspaces doesn't trigger any dependent workspaces to be included in the changed output.
We have a monorepo with a structure like this:
packages
- build-utils
- frontend-1 (has devDependency on build-utils)
- frontend-2 (has devDependency on build-utils)We are using yarn changed to determine which workspaces should have their tests run. When someone modifies build-utils, the frontend-* workspaces have their tests run because they have a development dependency on it. In this scenario, the fact that the build of frontend-* workspaces passed is good enough for us; we don't need to run tests.
It would be useful to be able to exclude certain workspaces from the dependency tree computation, in any of these ways:
- Allow a
--ignore <workspace>option which means "ignore changes made to these workspaces when computing dependents" - Allow a
--productionflag which means "ignore development dependencies when computing dependents"
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request