* docs: move website documentation into the pnpm repository * docs: keep v11 and v12 documentation beside their implementations * docs(pnpr): keep registry documentation beside its implementation * ci: classify product documentation as documentation changes * test: cover product documentation in Rust CI exclusions * ci: isolate documentation publishing and support manual sync * test: make dependency status fixture timestamps deterministic
66 lines
1.5 KiB
Markdown
66 lines
1.5 KiB
Markdown
---
|
|
id: outdated
|
|
title: pnpm outdated
|
|
---
|
|
|
|
Checks for outdated packages. The check can be limited to a subset of the
|
|
installed packages by providing arguments (patterns are supported).
|
|
|
|
Examples:
|
|
```sh
|
|
pnpm outdated
|
|
pnpm outdated "*gulp-*" @babel/core
|
|
```
|
|
|
|
## Options
|
|
|
|
### --recursive, -r
|
|
|
|
Check for outdated dependencies in every package found in subdirectories, or in
|
|
every workspace package when executed inside a workspace.
|
|
|
|
### --filter <package_selector\>
|
|
|
|
[Read more about filtering.](../filtering.md)
|
|
|
|
### --global, -g
|
|
|
|
List outdated global packages.
|
|
|
|
### --long
|
|
|
|
Print details.
|
|
|
|
### --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`](../settings/dependency-resolution.md#updategithubactions) to `true` in `pnpm-workspace.yaml`. See [Updating GitHub Actions](./update.md#updating-github-actions).
|