Skip to content

Replace Yarn v1 #11089

Closed
Closed

Description

@timfish

Problem Statement

Yarn v1 hasn't been supported for a long time and no longer gets bug fixes. At this point it's passed its best and struggles to resolve dependencies where newer options do not!

Solution Brainstorm

Maybe use Yarn v4?

The main blocker seems to be that Yarn v4 is only distributed via corepack and Volta isn't compatible as it doesn't expose the corepack binary.

Activity

  1. changed the title [-]Stop using Yarn v1[/-] [+]Replace Yarn v1[/+] on Mar 13, 2024
  2. csvan commented on Mar 16, 2024

    @csvan

    If it is any help, we replaced Yarn1 with regular npm 10 and the transition was near seamless.

  3. moved this to Waiting for: Product Owner in GitHub Issues with 👀 2on Mar 16, 2024
  4. timfish commented on Mar 16, 2024

    @timfish
    CollaboratorAuthor

    With all packages cached locally, lock file created and after deleting node_modules on an Mac M1 Pro:

    Yarn v1

    First install - 61 seconds
    Second install - 15 seconds

    Yarn v4

    First install - 51 seconds
    Second install - 5 seconds

    npm v10

    First install - 75 seconds
    Second install - 20 seconds

    pnpm v8

    First install - Fails while running post install scripts at 80 seconds

  5. moved this from Waiting for: Product Owner to No status in GitHub Issues with 👀 2on Mar 16, 2024
  6. mydea commented on Oct 23, 2026

    @mydea
    Member

    The repo has migrated from Yarn v1 to pnpm (see pnpm-lock.yaml and the pnpm workspace setup), so closing this.

  7. AbhiPrasad commented on Oct 23, 2026

    @AbhiPrasad
    Contributor

    end of an era!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions