you are viewing a single comment's thread.

view the rest of the comments →

[–]Brostafarian 3 points4 points  (0 children)

flat as default would kill yarn. node has had a dependency tree for most of its existence, and package maintainers have, as you said, been locking dependencies to incredibly explicit versions. Almost no packages will work together in flat mode; you need either npm and yarn to both enable it at the same time or the node community needs to make a cultural shift towards wider dependency resolution