Skip to docs content

scpm peers check

  • Usage: scpm peers check [--json]

Check for unmet and missing peer-dependency issues by reading the lockfile.

Exits with status 1 if any issue is reported.

Flags

--json

Emit a JSON report instead of the human-readable tree

Examples:

$ scpm peers check All peer dependencies are satisfied.

With issues

$ scpm peers check 1 unmet, 1 missing peer dependencies:

├─┬ @emotion/react@11.11.4 │ └── ✕ unmet peer react@>=16.8: found 17.0.2 └─┬ react-dom@18.2.0 └── ✕ missing peer react@^18.0.0

Machine-readable

$ scpm peers check --json