4 ms·
Does this use symlinks to a single copy of each dependency?
by koolba 5y ago
Does this use symlinks to a single copy of each dependency?
- jessaustin 5y agoA single copy of each required version of each dependency.
- koolba 5y agoSo is that a yes? Or does it still pull a copy for each projects local node_modules?
- jessaustin 5y agoAs you can see at the URL in sibling, pnpm maintains a private area where everything is stored. Everything in a local (or "global", really) node_modules tree is a link to the private store.
- zkochan 5y agoNot symlinks. Hard links. Or copy-on-write on systems that support them.
- jessaustin 5y ago[EDIT: (thanks ttybird2! b^)] We might need to change the following diagram? https://pnpm.io/motivation https://pnpm.io/motivation It appears to show several symlinks? Thanks for pnpm!
- ttybird2 5y agoYou are actually replying to the pnpm maintainer :p