Remove latest schema reference from build script
The build script was still importing from the deleted schemas/latest.js file. Updated to import McpbSignatureInfoSchema from 0.3.js and removed the mcpb-manifest-latest entry from versionedManifestSchemas.
This commit is contained in:
parent
3fffc30560
commit
8018a9a2e0
1 changed files with 4 additions and 6 deletions
|
|
@ -1,10 +1,9 @@
|
|||
import {
|
||||
McpbManifestSchema as McpbManifestSchemaLatest,
|
||||
McpbSignatureInfoSchema,
|
||||
} from "../dist/schemas/latest.js";
|
||||
import { McpbManifestSchema as McpbManifestSchema_v0_1 } from "../dist/schemas/0.1.js";
|
||||
import { McpbManifestSchema as McpbManifestSchema_v0_2 } from "../dist/schemas/0.2.js";
|
||||
import { McpbManifestSchema as McpbManifestSchema_v0_3 } from "../dist/schemas/0.3.js";
|
||||
import {
|
||||
McpbManifestSchema as McpbManifestSchema_v0_3,
|
||||
McpbSignatureInfoSchema,
|
||||
} from "../dist/schemas/0.3.js";
|
||||
import { zodToJsonSchema } from "zod-to-json-schema";
|
||||
import fs from "node:fs/promises";
|
||||
import path from "node:path";
|
||||
|
|
@ -17,7 +16,6 @@ const versionedManifestSchemas = {
|
|||
"mcpb-manifest-v0.1": McpbManifestSchema_v0_1,
|
||||
"mcpb-manifest-v0.2": McpbManifestSchema_v0_2,
|
||||
"mcpb-manifest-v0.3": McpbManifestSchema_v0_3,
|
||||
"mcpb-manifest-latest": McpbManifestSchemaLatest,
|
||||
};
|
||||
|
||||
// Other schemas
|
||||
|
|
|
|||
Loading…
Reference in a new issue