-
Notifications
You must be signed in to change notification settings - Fork 3k
npm init brings in flattened dependencies in v3 #8716
Comments
Yup, it should totally do the right thing here. To do this it needs to use |
I heard it always does the "right thing". |
Aaand, this lives off in |
So yeah, this landed in 2.14.0 and 3.3.0! |
I usually do
npm init
right before I publish, so I've already got a ton of files innode_modules/
with the new flatter behavior in v3. When it comes time tonpm init
, npm thinks all of those flattened dependencies belong in my package.json as top-level dependencies.The text was updated successfully, but these errors were encountered: