pnpm outdated
古くなったパッケージを確認します。引数(パターンも可) を指定することで、確認するパッケージを一部だけに制限することができます。
例:
pnpm outdated
pnpm outdated "*gulp-*" @babel/core
Options#
--recursive, -r#
サブディレクトリの全てのパッケージを対象に実行します。ワークスペース内で実行した場合は、ワークスペース内の全てのパッケージを対象に実行します。
--filter <package_selector>#
詳細についてはフィルタリングに関するドキュメントを参照してください。
--global, -g#
古くなったグローバルパッケージを一覧表示します。
--long#
詳細を印刷表示します。
--format <format>#
- デフォルト: table
- タイプ: table, list, json
Prints the outdated dependencies in the given format.
--compatible#
package.jsonの仕様を満たすバージョンのみを出力します。
--dev, -D#
devDependencies に含まれるパッケージのみを確認します。
--prod, -P#
dependencies と optionalDependencies に含まれるパッケージだけを確認します。
--no-optional#
optionalDependencies に含まれるパッケージを確認しないようにします。
--sort-by#
Specifies the order in which the output results are sorted. Currently only the value name is accepted.
--include-github-actions#
Added in: v11.16.0
Also check the GitHub Actions referenced by the repository's workflow files for updates. You can enable this by default by setting update.githubActions to true in pnpm-workspace.yaml. See Updating GitHub Actions.