Skip to content

Commit 6750a2e

Browse files
fix: allow pnpm catalogs to be null (SchemaStore#4815)
Co-authored-by: danielbayley <[email protected]>
1 parent 0759073 commit 6750a2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/schemas/json/pnpm-workspace.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,12 @@
7676
"$comment": "https://pnpm.io/catalogs",
7777
"$ref": "#/definitions/dependency",
7878
"description": "Define dependency version ranges as reusable constants,\nfor later reference in package.json files.\nThis (singular) field creates a catalog named default.\n",
79-
"type": "object",
79+
"type": ["object", "null"],
8080
"minProperties": 1
8181
},
8282
"catalogs": {
8383
"description": "Define arbitrarily named catalogs",
84-
"type": "object",
84+
"type": ["object", "null"],
8585
"minProperties": 1,
8686
"additionalProperties": {
8787
"$ref": "#/definitions/catalog"

0 commit comments

Comments
 (0)