Change JSON schemas to HTTPS URL
This commit is contained in:
parent
6f3d5bf54c
commit
ce7867ec60
2 changed files with 4 additions and 3 deletions
|
@ -11,12 +11,14 @@ export const exportJsonSchemasCommand = new Command("export-json-schemas")
|
|||
await fs.writeJson(path + "/manifest.schema.json", {
|
||||
title: "Horizr pack manifest",
|
||||
$id: "https://horizr.moritzruth.de/schemas/pack/manifest.schema.json",
|
||||
...zodToJsonSchema(packManifestFileSchema)
|
||||
...zodToJsonSchema(packManifestFileSchema),
|
||||
$schema: "https://json-schema.org/draft-07/schema" // HTTPS
|
||||
}, { spaces: 2 })
|
||||
|
||||
await fs.writeJson(path + "/meta-file.schema.json", {
|
||||
title: "Horizr pack meta-file",
|
||||
$id: "https://horizr.moritzruth.de/schemas/pack/meta-file.schema.json",
|
||||
...zodToJsonSchema(metaFileContentSchema)
|
||||
...zodToJsonSchema(metaFileContentSchema),
|
||||
$schema: "https://json-schema.org/draft-07/schema" // HTTPS
|
||||
}, { spaces: 2 })
|
||||
})
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
"formatVersion": 1,
|
||||
"displayName": "Better Leaves",
|
||||
"enabled": true,
|
||||
"side": "client-server",
|
||||
"version": {
|
||||
"name": "7.0.0",
|
||||
"fileName": "Better-Leaves.zip",
|
||||
|
|
Loading…
Add table
Reference in a new issue