Skip to content

RN 0.74 adds deprecated yarn-1.22.22.cjs #385

@hristo87

Description

@hristo87

Bug

In the latest React Native update (version 0.74), the documentation indicates a transition to Yarn 3.x for new projects (as seen in the attached image). However, upon using the helper, a yarn-1.22.22.cjs file is added, and the .yarnrc file points to this file. Given that the documentation explicitly states the deprecation of Yarn 1.x in favor of 3.x, is this inclusion of the yarn-1.22.22.cjs file expected? Additionally, the file was not present initially but was added at a later time. Could you provide clarity on this discrepancy?

React Native versions

0.74

Steps to reproduce

update react native from 0.73.6 to 0.74

Describe what you expected to happen:

  1. This file should not be included!

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions