Skip to content

Update to use Yarn v3 #828

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Update to use Yarn v3 #828

wants to merge 1 commit into from

Conversation

chriskrycho
Copy link
Contributor

While this project may ultimately switch back to using npm, or may opt to use pnpm instead, Yarn 3 is a significant win for as long as this app is using Yarn:

  1. Yarn v3 is maintained; Yarn v1 is not. This is the most important reason to make this switch.

  2. Yarn v2+ handles peer dependencies much more rigorously than Yarn v1 (or npm), albeit not quite as well as pnpm. As part of the ecosystem's move to using properly Node-resolvable packages, we are increasingly making use of peer dependencies, so this is important future-readiness.

@chriskrycho chriskrycho added the dependencies Pull requests that update a dependency file label Nov 19, 2022
While this project may ultimately switch back to using npm, or may opt
to use pnpm instead, Yarn 3 is a significant win for as long as this
app *is* using Yarn:

1. Yarn v3 is maintained; Yarn v1 is *not*. This is the most important
   reason to make this switch.

2. Yarn v2+ handles peer dependencies much more rigorously than Yarn v1
   (or npm), albeit not quite as well as pnpm. As part of the
   ecosystem's move to using properly Node-resolvable packages, we are
   increasingly making use of peer dependencies, so this is important
   future-readiness.
@jenweber
Copy link
Contributor

We chatted about this very briefly at the learning team meeting! We need a little time to let everyone read and think about this. We will check in again next week!

@chriskrycho
Copy link
Contributor Author

Superseded by #835.

@chriskrycho chriskrycho deleted the yarn-3 branch November 29, 2022 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants