Skip to content

Commit de26a7d

Browse files
bteadanielbayley
andauthored
Limit pnpm-workspace.yaml field value types (SchemaStore#4829)
Co-authored-by: danielbayley <[email protected]>
1 parent d900935 commit de26a7d

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/schemas/json/pnpm-workspace.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,11 +180,17 @@
180180
},
181181
"allowedDeprecatedVersions": {
182182
"description": "A list of deprecated versions that the warnings are suppressed.",
183-
"type": "object"
183+
"type": "object",
184+
"additionalProperties": {
185+
"type": "string"
186+
}
184187
},
185188
"patchedDependencies": {
186189
"description": "A list of dependencies that are patched.",
187-
"type": "object"
190+
"type": "object",
191+
"additionalProperties": {
192+
"type": "string"
193+
}
188194
},
189195
"allowUnusedPatches": {
190196
"description": "When true, installation won't fail if some of the patches from the \"patchedDependencies\" field were not applied. (Previously named \"allowNonAppliedPatches\")",

0 commit comments

Comments
 (0)