Features
- outdated: (#2256)
pnpm outdated --compatible
: prints only versions that satisfy specs in package.jsonpnpm outdated --dev
: checks only "devDependencies"pnpm outdated --production
: checks only "dependencies" and "optionalDependencies"pnpm outdated --no-optional
: doesn't check "optionalDependencies"
- filtering: (#2254)
-
pnpm <cmd> --filter {dir}
: filtering by directory. Works with...
. So...{dir}
selects all packages from dir and all its dependents. -
pnpm <cmd> --filter {dir}[<since>]
: filtering by directory and by changed since.For instance:
pnpm test --filter {components}[origin/master]
Also works with
...
to include dependents/dependencies.pnpm test --filter ...{components}[origin/master] pnpm test --filter {components}[origin/master]... pnpm test --filter ...{components}[origin/master]...
-
pnpm <cmd> --filter <pkg name>{dir}[origin/master]
: filtering by directory, by changed since and by package name pattern.For instance:
pnpm test --filter @babel/*{components}[origin/master]
-