Re:pnpm: Fast, disk space efficient package manager for Java...
by koolba on Tuesday April 05, 2022 @11:52AM
(#30920548)
Does this use symlinks to a single copy of each dependency?
[ Parent
| on HN ]
Re:pnpm: Fast, disk space efficient package manager for Java...
by zkochan on Tuesday April 05, 2022 @02:44PM
(#30923148)
Not symlinks. Hard links. Or copy-on-write on systems that support them.
Re:pnpm: Fast, disk space efficient package manager for Java...
by jessaustin on Tuesday April 05, 2022 @03:15PM
(#30923583)
[EDIT: (thanks ttybird2! b^)] We might need to change the following diagram?
It appears to show several symlinks? Thanks for pnpm!
Re:pnpm: Fast, disk space efficient package manager for Java...
by ttybird2 on Tuesday April 05, 2022 @03:50PM
(#30924058)
You are actually replying to the pnpm maintainer :p
Re:pnpm: Fast, disk space efficient package manager for Java...
by jessaustin on Tuesday April 05, 2022 @12:14PM
(#30920887)
A single copy of each required version of each dependency.
Re:pnpm: Fast, disk space efficient package manager for Java...
by koolba on Tuesday April 05, 2022 @12:46PM
(#30921356)
So is that a yes? Or does it still pull a copy for each projects local node_modules?
Re:pnpm: Fast, disk space efficient package manager for Java...
by jessaustin on Tuesday April 05, 2022 @03:35PM
(#30923846)
As 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.