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

Support yarn workspace focusing #1084

Closed

Conversation

tekihei2317
Copy link

@tekihei2317 tekihei2317 commented Apr 17, 2023

Support workspace focusing for #919.

Workspace focusing reduces installation time and slug size when using nodeLinker: node_modules. I was able to reduce the slug size of my work project from 400MB to < 100MB!

You can specify workspace name to focus to YARN2_WORKSPACE_FOCUS variable.

This pull request may fix #834, because focused install doesn't cause an error even if there are no other workspaces.

@tekihei2317 tekihei2317 requested a review from a team as a code owner April 17, 2023 07:33
@tekihei2317 tekihei2317 marked this pull request as draft April 17, 2023 07:47
@tekihei2317 tekihei2317 changed the title Support workspace focusing Support yarn workspace focusing Apr 21, 2023
@tekihei2317 tekihei2317 marked this pull request as ready for review April 21, 2023 14:23
@tekihei2317
Copy link
Author

@joshwlewis @colincasey
Could you please review this Pull Request when you have time? If there is anything to fix or anything to do, I will do it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow Opting Out of Immutable Flags for Yarn 2
1 participant