Skip to content

Commit ac86660

Browse files
authored
Add allowUnusedPatches and update ignorePatchFailures (SchemaStore#4663)
Co-authored-by: btea <[email protected]>
1 parent 53e029b commit ac86660

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/schemas/json/pnpm-workspace.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,12 +173,16 @@
173173
"description": "A list of dependencies that are patched.",
174174
"type": "object"
175175
},
176+
"allowUnusedPatches": {
177+
"description": "When true, installation won't fail if some of the patches from the \"patchedDependencies\" field were not applied. (Previously named \"allowNonAppliedPatches\")",
178+
"type": "boolean"
179+
},
176180
"allowNonAppliedPatches": {
177181
"description": "When true, installation won't fail if some of the patches from the \"patchedDependencies\" field were not applied.",
178182
"type": "boolean"
179183
},
180184
"ignorePatchFailures": {
181-
"description": "When true, installation won't fail if some of the patches from the \"patchedDependencies\" field were not applied. (Previously named \"allowNonAppliedPatches\")",
185+
"description": "Default is undefined. Errors out when a patch with an exact version or version range fails. Ignores failures from name-only patches. When true, prints a warning instead of failing when any patch cannot be applied. When false, errors out for any patch failure.",
182186
"type": "boolean"
183187
},
184188
"updateConfig": {

0 commit comments

Comments
 (0)