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

Migrate to Yarn 2 #522

Merged
merged 7 commits into from Sep 8, 2021
Merged

Migrate to Yarn 2 #522

merged 7 commits into from Sep 8, 2021

Conversation

alexlafroscia
Copy link
Contributor

No description provided.

@@ -6,7 +6,6 @@
"author": "Alex LaFroscia <alafroscia@movableink.com>",
"repository": "https://github.com/movableink/lint-config",
"license": "MIT",
"private": false,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yarn removed these when upgrading to version 3. Not sure why, but it probably doesn't hurt, either...

@@ -44,6 +44,7 @@
"fixtures"
]
},
"packageManager": "yarn@3.0.2",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

FYI: this is part of the new corepack feature coming to Node

https://nodejs.org/api/corepack.html

My understanding is that Node will ship "shims" for yarn and pnpm that delegate to a local install, so you don't need a global yarn executable to be installed manually that then defers to a local install; you'll have one already, much like how npm is just there every time you install Node.

@alexlafroscia alexlafroscia merged commit bdef3dd into main Sep 8, 2021
@alexlafroscia alexlafroscia deleted the yarn-2 branch September 8, 2021 15:10
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.

None yet

2 participants