Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up[WIP] Misc: Use yarn workspaces to reduce disk usage #1177
Conversation
|
I see you have nested lockfiles, that doesn't work with workspaces, you need to remove the inner Note that if you really want to save disk space you should use PnP https://yarnpkg.com/features/pnp |
Hello!
@vasilev-alex Ask a great question:
If we install
typescriptlocally for each package inside our monorepo, how much disk space we need?32 * 50mb (typescript = 1.6 gb
In this PR I am going to check the ability to use
workspacesfrom yarn. It's not working now, but we will see when Yarn release a bug fix for it.Current usage:
vs
Awaiting: yarnpkg/yarn#7807