Skip to content

[Feature]: Yarn 3 support #4250

@yungblud

Description

@yungblud

Description

I think latest react-native is supporting yarn v3.6.4.
As you can see bottom links.

Why it is needed ?

Get in sync with latest react native yarn version.

Possible implementation

It's possible but we have to create yarn.lock files in examples projects such as "examples/bare" after we set yarn version as 3.6.4 in the root project's package.json. But yarn.lock is gitignored.

Please have a look and test it.
#4249

$ cd examples/bare
$ yarn install (without yarn.lock is existing)

스크린샷 2024-10-22 오후 4 37 19

But if we have yarn.lock file inside of "examples/bare", yarn install is working.
$ cd examples/bare
$ touch yarn.lock
$ yarn install

I don't know how to solve it right now without yarn workspaces. Maybe need some ideas.

Code sample

No code sample needed for this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions