how to update all libraries in yarn code example
Example 1: yarn 2 upgrade all packages
$ yarn plugin import interactive-tools
$ yarn upgrade-interactive
Press <up>/<down> to select packages. Press <enter> to install.
Press <left>/<right> to select versions. Press <ctrl+c> to abort.
$ yarn plugin import https://github.com/mskelton/yarn-plugin-outdated/raw/main/bundles/@yarnpkg/plugin-outdated.js
$ yarn outdated
Example 2: yarn update all packages
yarn upgrade --latest
yarn upgrade left-pad --latest
yarn upgrade left-pad grunt --latest --tilde