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

feat: Save .npmrc files setting workspace-root in workspaces #306

Closed
wants to merge 1 commit into from

Conversation

isaacs
Copy link
Contributor

@isaacs isaacs commented Jul 31, 2021

Related-to: npm/cli#3596

References

Comment on lines +533 to +534
if (node.isWorkspace && this[_saveWorkspaceRoot])
await this[_writeWorkspaceRootConfig](node)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this shouldn't be written if the workspace root already exists in the npmrc file - only if it's missing (either the file, or that config value)

@fritzy
Copy link
Contributor

fritzy commented Jan 18, 2022

@isaacs closing this in order to archive the repo, as we're pulling arborist in as workspace. We're looking at this or something similar.

@fritzy fritzy closed this Jan 18, 2022
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.

3 participants