Closed
Description
The current situation of non-deterministic folder structure in NPM v3 isn't satisfying. Depending on the installation order, deep nested directory structures may still occur.
I suggest to append the version to the package name, then all packages may be installed into the same directory:
$ tree -d node_modules/
node_modules/
|-- mod-a@1.0.0
|-- mod-b@1.0.0
|-- mod-b@2.0.0
|-- mod-c@1.0.0
from
$ npm install
|-- mod-a@1.0.0
| |-- mod-b@1.0.0
|-- mod-c@1.0.0
| |-- mod-b@2.0.0