Skip to content

Commit

Permalink
Fix issue with Tag schema change function
Browse files Browse the repository at this point in the history
  • Loading branch information
misode committed Sep 30, 2024
1 parent ba29ff9 commit 7e7f43f
Show file tree
Hide file tree
Showing 21 changed files with 30 additions and 30 deletions.
2 changes: 1 addition & 1 deletion java/1.18.2/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mcschema/java-1.18.2",
"version": "0.1.25",
"version": "0.1.26",
"description": "Schemas for Java Edition 1.18.2",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion java/1.18.2/src/schemas/Common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ export function initCommonSchemas(schemas: SchemaRegistry, collections: Collecti
if (typeof v === 'string' && !v.startsWith('#')) {
return [v]
}
return []
return [""]
}
},
], { choiceContext: 'tag' })
Expand Down
2 changes: 1 addition & 1 deletion java/1.19.3/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mcschema/java-1.19.3",
"version": "0.0.16",
"version": "0.0.17",
"description": "Schemas for Java Edition 1.19.3",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion java/1.19.3/src/schemas/Common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ export function initCommonSchemas(schemas: SchemaRegistry, collections: Collecti
if (typeof v === 'string' && !v.startsWith('#')) {
return [v]
}
return []
return [""]
}
},
], { choiceContext: 'tag' })
Expand Down
2 changes: 1 addition & 1 deletion java/1.19.4/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mcschema/java-1.19.4",
"version": "0.1.20",
"version": "0.1.21",
"description": "Schemas for Java Edition 1.19.4",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion java/1.19.4/src/schemas/Common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ export function initCommonSchemas(schemas: SchemaRegistry, collections: Collecti
if (typeof v === 'string' && !v.startsWith('#')) {
return [v]
}
return []
return [""]
}
},
], { choiceContext: 'tag' })
Expand Down
2 changes: 1 addition & 1 deletion java/1.19/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mcschema/java-1.19",
"version": "0.1.53",
"version": "0.1.54",
"description": "Schemas for Java Edition 1.19",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion java/1.19/src/schemas/Common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ export function initCommonSchemas(schemas: SchemaRegistry, collections: Collecti
if (typeof v === 'string' && !v.startsWith('#')) {
return [v]
}
return []
return [""]
}
},
], { choiceContext: 'tag' })
Expand Down
2 changes: 1 addition & 1 deletion java/1.20.2/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mcschema/java-1.20.2",
"version": "0.0.14",
"version": "0.0.15",
"description": "Schemas for Java Edition 1.20.2",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion java/1.20.2/src/schemas/Common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ export function initCommonSchemas(schemas: SchemaRegistry, collections: Collecti
if (typeof v === 'string' && !v.startsWith('#')) {
return [v]
}
return []
return [""]
}
},
], { choiceContext: 'tag' })
Expand Down
2 changes: 1 addition & 1 deletion java/1.20.3/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mcschema/java-1.20.3",
"version": "0.0.15",
"version": "0.0.16",
"description": "Schemas for Java Edition 1.20.3",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion java/1.20.3/src/schemas/Common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ export function initCommonSchemas(schemas: SchemaRegistry, collections: Collecti
if (typeof v === 'string' && !v.startsWith('#')) {
return [v]
}
return []
return [""]
}
},
], { choiceContext: 'tag' })
Expand Down
2 changes: 1 addition & 1 deletion java/1.20.5/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mcschema/java-1.20.5",
"version": "0.0.40",
"version": "0.0.41",
"description": "Schemas for Java Edition 1.20.5",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion java/1.20.5/src/schemas/Common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ export function initCommonSchemas(schemas: SchemaRegistry, collections: Collecti
if (typeof v === 'string' && !v.startsWith('#')) {
return [v]
}
return []
return [""]
}
},
], { choiceContext: 'tag' })
Expand Down
2 changes: 1 addition & 1 deletion java/1.20/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mcschema/java-1.20",
"version": "0.0.23",
"version": "0.0.24",
"description": "Schemas for Java Edition 1.20",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion java/1.20/src/schemas/Common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ export function initCommonSchemas(schemas: SchemaRegistry, collections: Collecti
if (typeof v === 'string' && !v.startsWith('#')) {
return [v]
}
return []
return [""]
}
},
], { choiceContext: 'tag' })
Expand Down
2 changes: 1 addition & 1 deletion java/1.21.2/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mcschema/java-1.21.2",
"version": "0.0.10",
"version": "0.0.12",
"description": "Schemas for Java Edition 1.21.2",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion java/1.21.2/src/schemas/Common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ export function initCommonSchemas(schemas: SchemaRegistry, collections: Collecti
if (typeof v === 'string' && !v.startsWith('#')) {
return [v]
}
return []
return [""]
}
},
], { choiceContext: 'tag' })
Expand Down
2 changes: 1 addition & 1 deletion java/1.21/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mcschema/java-1.21",
"version": "0.0.25",
"version": "0.0.26",
"description": "Schemas for Java Edition 1.21",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion java/1.21/src/schemas/Common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ export function initCommonSchemas(schemas: SchemaRegistry, collections: Collecti
if (typeof v === 'string' && !v.startsWith('#')) {
return [v]
}
return []
return [""]
}
},
], { choiceContext: 'tag' })
Expand Down
20 changes: 10 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7e7f43f

Please sign in to comment.