Use yarn up to Update Dependencies In A Yarn Workspace
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 package.
In this lesson, we go over
yarn up -i to upgrade a package with an old version.