Having yarn outdated
is quite informative but I'd like to avoid running over package by package doing yarn upgrade
.
From yarn's documentation, just yarn upgrade
without arguments is said to upgrade all dependencies but there's no change in my project's package.json
and yarn outdated
shows the same packages versions than before.
Is there some command or argument that just bumps all my dependencies?
If not, is the practice discouraged in some way?
To install dependencies, you have to run yarn install in the root of your directory to install all the dependencies for a project. The dependencies will be retrieved from the package. json file you pushed to version control, and will be stored in the yarn. lock file.
Upgrade all packages to latest version
yarn upgrade --latest
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With