You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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"
The text was updated successfully, but these errors were encountered:
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 thechanged
output.We have a monorepo with a structure like this:
We are using
yarn changed
to determine which workspaces should have their tests run. When someone modifiesbuild-utils
, thefrontend-*
workspaces have their tests run because they have a development dependency on it. In this scenario, the fact that the build offrontend-*
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:
--ignore <workspace>
option which means "ignore changes made to these workspaces when computing dependents"--production
flag which means "ignore development dependencies when computing dependents"The text was updated successfully, but these errors were encountered: