postman-cs/Postman Node Runtime Policy
Enforce Node.js 22+ declarations and dependency engine compatibility across repositories.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| minimum-node-version | Minimum allowed Node.js version or major. | no | 22 |
| preferred-node-version | Preferred Node.js major used for safe first-party fixes. | no | 24 |
| dependency-policy | Dependency engine policy. floor fails packages whose engine range permits lower Node versions; compatible only fails packages that cannot run on Node 22+. | no | floor |
| scan-dependencies | Whether to scan lockfile dependency engines. | no | true |
| allow-floating | Whether floating Node declarations such as node, latest, or lts/* are allowed. | no | false |
| allow-missing | Whether package.json files may omit engines.node. | no | false |
| fix-mode | Safe fix mode. none reports only; write updates first-party Node declarations in the workspace. | no | none |
| ignore-paths | Comma- or newline-separated paths to ignore in addition to .git, node_modules, dist, coverage, .next, and .turbo. | no | "" |
Outputs
| name | description |
|---|---|
| status | passed or failed. |
| checked-count | Number of files scanned. |
| violation-count | Number of remaining policy violations. |
| fixed-count | Number of files changed by fix-mode=write. |
| changed-files-json | JSON array of files changed by fix-mode=write. |
| summary-json | Machine-readable summary of the policy result and violations. |