yarn: revert from v3 to v1
Jan 4, 2023
I have a repo using legacy yarn, migrating it to the modern one needs going back and forth between v1 and v3.
Prerequisites
- yarn 1 installed.
- modern yarn installed using
corepack
. (see modern yarn installation)
Disabling the modern yarn
corepack disable yarn
If you want to bring it back, simply run.
corepack enable yarn
🏷️#yarn