LoginSignup
31
27

More than 5 years have passed since last update.

プロジェクトのnpmパッケージを全てアップデートしたい時の手順

Last updated at Posted at 2018-09-04

package.jsonでnpmパッケージを管理しているプロジェクトで、一括アップデートかけたい場合の手順

npm-check-updateインストール

npm install -g npm-check-updates

更新対象のパッケージ確認

ncu

package.jsonをアップデート

ncu -u

パッケージをアップデート

npm update

参考

yarnだと

yarn upgrade-interactive

で出来るすごい便利

31
27
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
31
27