fix: update schema to reflect manifest_version
This commit is contained in:
parent
cc7b6cde44
commit
76949836e0
1 changed files with 72 additions and 56 deletions
|
|
@ -1,11 +1,11 @@
|
|||
import { DxtManifestSchema, DxtSignatureInfoSchema } from "../dist/schemas.js";
|
||||
import { McpbManifestSchema, McpbSignatureInfoSchema } from "../dist/schemas.js";
|
||||
import * as z from "zod/v4";
|
||||
import fs from "node:fs/promises";
|
||||
import path from "node:path";
|
||||
|
||||
const schemasToWrite = {
|
||||
"dxt-manifest": DxtManifestSchema,
|
||||
"dxt-signature-info": DxtSignatureInfoSchema,
|
||||
"mcpb-manifest": McpbManifestSchema,
|
||||
"mcpb-signature-info": McpbSignatureInfoSchema,
|
||||
};
|
||||
|
||||
await fs.mkdir(path.join(import.meta.dirname, "../dist"), { recursive: true });
|
||||
|
|
|
|||
Loading…
Reference in a new issue