Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

fix(shrinkwrap): always set name on the root node, closes npm/cli#2264 #310

Closed
wants to merge 1 commit into from

Conversation

nlf
Copy link
Contributor

@nlf nlf commented Aug 12, 2021

this is maybe less than ideal because it means everyone who has their project in a directory with the same name as the project is going to see this field being added. it's a one time change though, which feels a lot more acceptable than the current behavior of adding and removing the name field based on the directory name since that can create a lot of churn in a team for no good reason

References

Closes npm/cli#2264

@isaacs isaacs closed this in 32cdebb Aug 12, 2021
wraithgar added a commit to npm/cli that referenced this pull request Aug 12, 2021
Name is always now set on the root node

See: npm/arborist#310
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

package-lock file changing based on local repository name
1 participant