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

fix: properly detect and install yarn@>1 and pnpm@<7 #190

Merged
merged 2 commits into from
Nov 27, 2023

Conversation

auvred
Copy link
Contributor

@auvred auvred commented Nov 27, 2023

Description

Yarn may have 3.x.x or 4.x.x in packageManager field, but actually it's a 2.x.x version from npm (under the berry tag)

sorry for big diff, eslint forced me to add curly braces to all branches

Linked Issues

Fixes #189

Additional context

@antfu antfu merged commit 2fbcea6 into antfu-collective:main Nov 27, 2023
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.

Global installation of detected yarn@>1 and pnpm@<7 is broken
2 participants