Skip to content

Specify package manager version for project - #47091

Closed
huntie wants to merge 1 commit into
react:mainfrom
huntie:export-D64536673
Closed

Specify package manager version for project#47091
huntie wants to merge 1 commit into
react:mainfrom
huntie:export-D64536673

Conversation

@huntie

Copy link
Copy Markdown
Collaborator

Summary:
Prompted by #47083, this change adds a "packageManager" field to the root package.json specifying yarn@1.22.22. This will configure a compatible, predictable version of Yarn for users using Corepack via the Yarn Modern install process.

See https://yarnpkg.com/getting-started/install and https://nodejs.org/api/corepack.html.

Tested on a fresh system (GitHub Codespaces).

Changelog: [Internal]

Differential Revision: D64536673

Summary:
Prompted by #47083, this change adds a `"packageManager"` field to the root `package.json` specifying `yarn@1.22.22`. This will configure a compatible, predictable version of Yarn for users using [Corepack](https://nodejs.org/api/corepack.html) via the Yarn Modern install process.
See https://yarnpkg.com/getting-started/install and https://nodejs.org/api/corepack.html.
Tested on a fresh system (GitHub Codespaces).
Changelog: [Internal]
Differential Revision: D64536673
@facebook-github-botfacebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 17, 2024
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D64536673

@react-native-bot

Copy link
Copy Markdown
Collaborator
Warnings
⚠️🔒 package.json - Changes were made to package.json. This will require a manual import by a Facebook employee.

Generated by 🚫 dangerJS against b8f6c50

@huntiehuntie mentioned this pull request Oct 17, 2024
@facebook-github-botfacebook-github-bot added the Merged This PR has been merged. label Oct 17, 2024
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request has been merged in 52ea8b0.

@react-native-bot

Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @huntie in 52ea8b0

When will my fix make it into a release? | How to file a pick request?

@huntie
huntie deleted the export-D64536673 branch January 30, 2025 09:43
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA SignedThis label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.fb-exportedMergedThis PR has been merged.p: FacebookPartner: FacebookPartner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@huntie@facebook-github-bot@react-native-bot