Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tweak documentation/comments/organization to mention npm workspaces #530

Merged
merged 1 commit into from Dec 25, 2022

Conversation

bmish
Copy link
Sponsor Contributor

@bmish bmish commented Dec 15, 2022

  • Link to both npm Workspaces and Yarn Workspaces.
  • Mention that nohoist is supported by Yarn, but not supported by npm.
  • Move workspaces type from YarnConfiguration to PackageJsonStandard since it's supported by both npm and yarn now. There should be no behavior change from the resulting PackageJson type. The YarnConfiguration type has a potentially breaking change but I'm not sure that's considered a public type?

Fixes #510 (although nothing was actually broken to my knowledge, the resulting PackageJson type is the same).

Follow-up to the original change to add workspaces in #77.

@sindresorhus sindresorhus merged commit 7db4e17 into sindresorhus:main Dec 25, 2022
@klh
Copy link

klh commented Jun 13, 2023

you should update this to explain that npms nohoist === npm i --install-strategy=nested

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Standard npm package.json workspaces field is missing from PackageJson type
3 participants