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
As discussed in #1001, having not just the raw package files but also its dependencies in the store would make installations super fast.
However, some packages rely on their location, so it might be a big breaking change to move packages out of project/node_modules to the global store. To make the migration less painful, I suggest moving only packages with no dependencies to the store. We already have a config for that called independent-leaves. This change would not require changes in the shrinkwrap.yaml format.
So in pnpm@2 we would turn on independent-leaves by default. It will make installations approximately 8% faster. In pnpm@3 we would do #1001 and move all packages with their dependencies to the global store. It will require breaking changes in the shrinkwrap.yaml format
This should work only with packages that don't have to be built
The text was updated successfully, but these errors were encountered:
As discussed in #1001, having not just the raw package files but also its dependencies in the store would make installations super fast.
However, some packages rely on their location, so it might be a big breaking change to move packages out of
project/node_modules
to the global store. To make the migration less painful, I suggest moving only packages with no dependencies to the store. We already have a config for that calledindependent-leaves
. This change would not require changes in theshrinkwrap.yaml
format.So in
pnpm@2
we would turn onindependent-leaves
by default. It will make installations approximately 8% faster. Inpnpm@3
we would do #1001 and move all packages with their dependencies to the global store. It will require breaking changes in theshrinkwrap.yaml
formatThis should work only with packages that don't have to be built
The text was updated successfully, but these errors were encountered: