Skip to content

Commit c254f3b

Browse files
authored
Add minimumReleaseAge and minimumReleaseAgeExclude to pnpm-workspace.json (SchemaStore#4983)
Co-authored-by: btea <[email protected]>
1 parent e68d1e1 commit c254f3b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/schemas/json/pnpm-workspace.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -775,6 +775,18 @@
775775
"saveExact": {
776776
"description": "Saved dependencies will be configured with an exact version rather than using pnpm's default semver range operator.",
777777
"type": "boolean"
778+
},
779+
"minimumReleaseAge": {
780+
"description": "It specifies the number of minutes that must pass after a version is published before pnpm will install it. For example, setting `minimumReleaseAge: 1440` ensures that only packages released at least one day ago can be installed.",
781+
"type": "number"
782+
},
783+
"minimumReleaseAgeExclude": {
784+
"description": "If you set `minimumReleaseAge` but need to disable this restriction for certain dependencies, you can list them under the `minimumReleaseAgeExclude` setting.",
785+
"type": "array",
786+
"uniqueItems": true,
787+
"items": {
788+
"type": "string"
789+
}
778790
}
779791
},
780792
"additionalProperties": false

0 commit comments

Comments
 (0)