mirror of
https://github.com/angular/angular-cli.git
synced 2025-06-01 10:46:14 +08:00
This also requires us to move patches from `patch:` protocol to `patch-package` temporarily. This is because we need to temporarily use pnpm and yarn berry in hybrid, and both don't have any overlap in how patching works; and pnpm would fail if it sees the `patch` protocol.
Yarn Vendoring
We utilize Yarn's yarn-path
configuration in a shared .yarnrc
file to enforce
everyone using the same version of Yarn. Yarn checks the .yarnrc
file to
determine if yarn should delegate the command to a vendored version at the
provided path.
How to update
To update to the latest version of Yarn as our vendored version:
- Run this command
yarn policies set-version latest
- Remove the previous version