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

Feature Request (changed): Ignore changes to certain workspaces when computing dependency tree #6

Open
mhassan1 opened this issue Feb 22, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@mhassan1
Copy link

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 --production flag which means "ignore development dependencies when computing dependents"
@tommy351 tommy351 added the enhancement New feature or request label Mar 5, 2021
@tommy351 tommy351 self-assigned this Mar 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants