Upgrading NPM packages - Paprikas/rails_cheat_sheet GitHub Wiki
- Use
yarn upgrade-interactive
to upgrade interactively. Use--latest
flag to ignore specific ranges in package file. https://classic.yarnpkg.com/lang/en/docs/cli/upgrade-interactive/ - Use
npm outdated
to bump major versions - Run
yarn
to install new versions
More info https://www.carlrippon.com/upgrading-npm-dependencies/