Yarn 2 is workspace aware. When you need to upgrade a package in one workspace, yarn will ask you if you want to resolve the version of the package to a version you use in a different packag
We use
yarn up -i
to upgrade a package with an old version.
[Yarn] Use yarn up to Update Dependencies In A Yarn Workspace
原文:https://www.cnblogs.com/Answer1215/p/12237049.html