这是indexloc提供的服务,不要输入任何密码
Skip to content

Only check for yarn berry if it is installed #976

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

Merged
merged 1 commit into from
Mar 30, 2022
Merged

Conversation

jaredpalmer
Copy link
Contributor

@jaredpalmer jaredpalmer commented Mar 30, 2022

Fix #962

In a follow up, we ideally should not need to make an exec call to start yarn which is written in node.js just to determine it's version. All we need to know is if it is greater than 2. We Also don't need to be parsing full semver. As soon as we know the first character is a >= 2 we know it is berry

@vercel
Copy link

vercel bot commented Mar 30, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/vercel/turbo-site/5HC43As63eJY1Ly4AVsqme87ND5m
✅ Preview: https://turbo-site-git-jp-fixyarn-berry-check.vercel.sh

@kodiakhq kodiakhq bot merged commit a734e62 into main Mar 30, 2022
@gaspar09 gaspar09 deleted the jp/fix/yarn-berry-check branch March 30, 2022 16:28
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.

Turbo cannot detect PNPM as package manager unless Yarn is installed
2 participants