Skip to content

Remove the feature flag to fully enable Yarn3#1305

Merged
charlespierce merged 1 commit intovolta-cli:mainfrom
mikrostew:yarn3-ga
Sep 16, 2022
Merged

Remove the feature flag to fully enable Yarn3#1305
charlespierce merged 1 commit intovolta-cli:mainfrom
mikrostew:yarn3-ga

Conversation

@mikrostew
Copy link
Copy Markdown
Contributor

This removes the VOLTA_FEATURE_YARN_3 feature flag, so that Yarn3 is fully supported.

Yarn3 Support (view)

I slightly modified some of the logic, because we are checking the @yarnpkg/cli-dist registry first for Yarn3, before the yarn registry for Yarn1, so that errors with Yarn3 don't impact Yarn1.

Copy link
Copy Markdown
Contributor

@charlespierce charlespierce left a comment

Choose a reason for hiding this comment

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

LGTM!

@charlespierce charlespierce merged commit 084978e into volta-cli:main Sep 16, 2022
@mikrostew mikrostew deleted the yarn3-ga branch October 5, 2022 14:26
@peterjuras
Copy link
Copy Markdown

Just as a feedback: I instantly had to pin yarn to v1 in all my scripts that use volta, tried yarn v3 (since it was now installed by default with volta install yarn) and it broke in the very first repository.

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.

3 participants