ysc
) can upgrade your older .yarn
scripts to the latest syntax. ysc
) is in heavy development, and is likely to have its own complete section here, in the documentation, before long. Until then, find further initial documentation via its GitHub project.ysc
on your command-line/terminal with the upgrade
parameter and a path to a yarn file:
.yarn
files as you want:ysc
will replace the existing .yarn
files you've passed in, as part of the upgrade. If you don't want it to do this, either make sure you have a backup, or pass in the --output-directory
option, after the upgrade
parameter. For example: