pnpm / supi

Fast, disk space efficient installation engine. Used by pnpm
MIT License
24 stars 5 forks source link

Flatten dependencies using their alias #44

Closed etamponi closed 6 years ago

etamponi commented 6 years ago

This applies to when shamefullyFlatten is true.

We flatten dependencies using their real name, not their alias. It would be better if we flatten by alias.

Two problems:

1) How do we get the alias of non-root dependencies in linkPackages? 2) When uninstalling, we have to go through all the links in node_modules and find the ones to remove, because we can't use the package name anymore.

etamponi commented 6 years ago

This has been fixed a while ago