Answers for "upgrade packages with yarn"

8

yarn 2 upgrade all packages

# You've to install the interactive-tools plugin first.
$ 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.
 
 # And if U Want To Use The Old Command (yarn outdated) install this plugin
$ yarn plugin import https://github.com/mskelton/yarn-plugin-outdated/raw/main/bundles/@yarnpkg/plugin-outdated.js
$ yarn outdated
Posted by: Guest on February-13-2021
0

how to upgrade package yarn global

yarn global add <package>@latest
Posted by: Guest on June-18-2020

Code answers related to "upgrade packages with yarn"

Browse Popular Code Answers by Language