From 8018a9a2e097c8c8ae0625e6ad47a0c8082d258c Mon Sep 17 00:00:00 2001 From: Joan Xie Date: Mon, 3 Nov 2025 15:54:54 -0800 Subject: [PATCH] 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. --- scripts/build-mcpb-schema.js | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/scripts/build-mcpb-schema.js b/scripts/build-mcpb-schema.js index a62fcdb..dce003b 100644 --- a/scripts/build-mcpb-schema.js +++ b/scripts/build-mcpb-schema.js @@ -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