#author("2021-03-04T12:20:08+09:00","default:ryuichi","ryuichi")
#author("2021-03-04T12:21:45+09:00","default:ryuichi","ryuichi")
* 古くなったパッケージがないか確認 - npm outdated [#sac59937]

** 基本 [#t2e07905]

 npm outdated
 npm outdated           # ローカルのパッケージすべて
 npm outdated --global  # グローバルのパッケージすべて
 npm outdated lodash    # 指定したパッケージ(lodash)

** Current != Wantedなパッケージだけ [#x0937bfd]

*** Bash [#ue963084]

#pr(bash){{
npm outdated | awk '$2 != $3'
}}

*** PowerShell [#w64a5b8f]

#pr(powershell){{
npm outdated | ConvertFrom-String -PropertyNames (1..5) | ? { $_.2 -ne $_.3 } | ft
}}

** 参考 [#d8bef1c4]
https://docs.npmjs.com/cli/v7/commands/npm-outdated


トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS