Yarn upgrade interactive

☕️ 1 min read

When using Yarn package manager a common thing to do is usually upgrade packages.

An easy way to do that is with yarn upgrade-interactive.

Go to your project and run the following code the see what packages has upgrade available:

$ yarn upgrade-interactive --latest

It will show three options of upgrade:

  • <red>: Major Update backward-incompatible updates
  • <yellow>: Minor Update backward-compatible features
  • <green>: Patch Update backward-compatible bug fixes

You just need to use arrows and space to select what packages do you want to upgrade.

References