actions-marketplace-validations/package-json-validator
A Github Action for validating package.json conventions
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| rules | A line-separated list of rules to validate. | yes | — |
| allowed-ranges | Can be used with the ranges rule. This is a line-separated list of package version range specifiers allowed in your package.json. Omitting this input means only exact versions are allowed. | no | — |
| allowed-tags | Can be used with the tags rule. Line-separated list of package version tags allowed in your package.json. Omitting this input means no version tags are allowed. | no | — |
| dependency-types | Line-separated list of dependency types to validate within your package.json. | no | dependencies |
| ignore-packages | Line-separated list of dependencies to skip validation for. | no | — |
| ignore-resolutions | Line-separated list of dependencies to skip validation for resolutions field. | no | — |
| ignore-resolutions-until | Date string to skip validation for resolutions field for a specific amount of time. | no | — |
| package-json-location | The location of the package.json to validate | no | — |
Outputs
no outputs