Skip to content

Add packageManager field to package.json for Yarn version specification#4375

Merged
Abbondanzo merged 1 commit intofacebook:mainfrom
clicktodev:specify-package-manager-for-corepack
Dec 3, 2024
Merged

Add packageManager field to package.json for Yarn version specification#4375
Abbondanzo merged 1 commit intofacebook:mainfrom
clicktodev:specify-package-manager-for-corepack

Conversation

@clicktodev
Copy link
Contributor

@clicktodev clicktodev commented Nov 29, 2024

Include the packageManager field in package.json to specify the version of Yarn used for the project.
Corepack will use the specified version to ensure consistency across environments.
https://nodejs.org/api/corepack.html

closes #4378

@netlify
Copy link

netlify bot commented Nov 29, 2024

Deploy Preview for react-native ready!

Name Link
🔨 Latest commit f609533
🔍 Latest deploy log https://app.netlify.com/sites/react-native/deploys/6749480e626b3e0008aa399c
😎 Deploy Preview https://deploy-preview-4375--react-native.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Abbondanzo Abbondanzo merged commit 839225f into facebook:main Dec 3, 2024
@clicktodev clicktodev deleted the specify-package-manager-for-corepack branch December 3, 2024 08:13
@Simek
Copy link
Collaborator

Simek commented Dec 3, 2024

Thanks @hichemfantar! 👍 We also should be able to migrate to Yarn Berry release, will follow up on that soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

packageManager missing warning by corepack

4 participants