Skip to content

Migrate to Yarn v2 to resolve duplicate dependency issues #3164

Closed
@jawnsy

Description

@jawnsy

In #3161, @scinos suggested we use yarn-deduplicate to fix duplicate dependencies in our lockfile (link to comment). The yarn-deduplicate project README says:

This package only works with Yarn v1. Yarn v2 supports package deduplication natively!

So it seems like we could consider migrating to v2 as an alternative way to avoid this problem. The yarn documentation mentions that it's intended to be installed on a per-project basis (rather than globally) so we should be able to progressively upgrade our projects. There is also a migration guide that provides step-by-step instructions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew user visible feature

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions