yarn.build icon indicating copy to clipboard operation
yarn.build copied to clipboard

Focus mode like `yarn workspaces focus`

Open leshkovichpvl opened this issue 4 years ago • 1 comments

I have a problem.

I have a lot of workspaces in my monorep. But server releases require a different set of workspaces. It would be nice to be able to run yarn build for a different set of workspaces, as it works for yarn workspaces focus.

Any ideas?

leshkovichpvl avatar Apr 08 '22 16:04 leshkovichpvl

Can you expand a bit more on the specific behaviour you're after?

If you run yarn build outside of a workspace it will build everything.

If you run yarn build inside a workspace it will build just that workspace and anything it depends on.

ojkelly avatar Apr 12 '22 01:04 ojkelly