turbo icon indicating copy to clipboard operation
turbo copied to clipboard

`@turbo/codemod` does not handle Yarn 4 installations

Open anthonyshew opened this issue 1 year ago • 0 comments

Verify canary release

  • [X] I verified that the issue exists in the latest Turborepo canary release.

Link to code that reproduces this issue

N/A

What package manager are you using / does the bug impact?

Yarn v2/v3/v4 (node_modules linker only)

What operating system are you using?

Mac

Which canary version will you have in your reproduction?

N/A

Describe the Bug

@turbo/codemod uses the set of flags for installing turbo in a Yarn 1 project rather than using Yarn 4.

Original report is here, but making sure we capture it in a separate issue.

Expected Behavior

The last migration step would be to install turbo in Yarn 2+ projects.

To Reproduce

Run @turbo/codemod in a Yarn 2+ project.

Additional context

No response

anthonyshew avatar Jun 21 '24 15:06 anthonyshew