1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 01:22:08 +02:00
tldr/pages/common/pnpm-outdated.md
Mouaz Aldakkak cca1c921b4
pnpm-{audit, outdated}: add page (#12437)
* feat: add pnpm audit commands and fix tldr-lint errors

* feat: add pnpm outdated commands and fix tldr-lint errors

* feat(pnpm-audit): add severity level of vulnerabilities option

* fix: improve general description based on tldr style-guide

* fix(pnpm-audit): improve general writing

* fix: resolve code review suggestion

* fix: apply code review suggestion of @kbdharun
2024-03-03 15:15:44 +05:30

37 lines
836 B
Markdown

# pnpm outdated
> Check for outdated packages.
> The check can be limited to a subset of the installed packages by providing arguments (patterns are supported).
> More information: <https://pnpm.io/cli/outdated>.
- Check for outdated packages:
`pnpm outdated`
- Check for outdated dependencies found in every workspace package:
`pnpm outdated -r`
- Filter outdated packages using a package selector:
`pnpm outdated --filter {{package_selector}}`
- List outdated packages [g]lobally:
`pnpm outdated --global`
- Print details of outdated packages:
`pnpm outdated --long`
- Print outdated dependencies in a specific format:
`pnpm outdated --format {{format}}`
- Print only versions that satisfy specifications in `package.json`:
`pnpm outdated --compatible`
- Check only outdated [D]ev dependencies:
`pnpm outdated --dev`