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.
This applies to when
shamefullyFlatten
istrue
.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 innode_modules
and find the ones to remove, because we can't use the package name anymore.