メインコンテンツまでスキップ
バージョン: 11.x

pnpm outdated

古くなったパッケージを確認します。引数(パターンも可) を指定することで、確認するパッケージを一部だけに制限することができます。

例:

pnpm outdated
pnpm outdated "*gulp-*" @babel/core

Options​

--recursive, -r​

サブディレクトリの全てのパッケージを対象に実行します。ワークスペース内で実行した場合は、ワークスペース内の全てのパッケージを対象に実行します。

--filter <package_selector>​

Read more about filtering.

--global, -g​

古くなったグローバルパッケージを一覧表示します。

--long​

詳細を印刷表示します。

--format <format>​

  • Default: table
  • Type: table, list, json

Prints the outdated dependencies in the given format.

--compatible​

Prints only versions that satisfy specifications in package.json.

--dev, -D​

Checks only devDependencies.

--prod, -P​

Checks only dependencies and optionalDependencies.

--no-optional​

Doesn't check 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.