40 lines
1.1 KiB
JSON
40 lines
1.1 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "build-manifest.schema.json",
|
|
"type": "object",
|
|
"required": [
|
|
"schemaVersion",
|
|
"buildId",
|
|
"commitSha",
|
|
"generatedAt",
|
|
"buildContext",
|
|
"outputs"
|
|
],
|
|
"properties": {
|
|
"schemaVersion": { "const": 1 },
|
|
"buildId": { "type": "string", "minLength": 1 },
|
|
"commitSha": { "type": "string", "minLength": 1 },
|
|
"generatedAt": { "type": "string", "format": "date-time" },
|
|
"buildContext": {
|
|
"type": "object",
|
|
"required": ["nodeVersion", "packageManagerVersion", "runnerImage"],
|
|
"properties": {
|
|
"nodeVersion": { "type": "string" },
|
|
"packageManagerVersion": { "type": "string" },
|
|
"runnerImage": { "type": "string" }
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"outputs": {
|
|
"type": "object",
|
|
"required": ["directory", "viteManifest"],
|
|
"properties": {
|
|
"directory": { "type": "string" },
|
|
"viteManifest": { "type": "string" }
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|