From 412b124b96269dbeb6db79003e0dc235a0bd6d0f Mon Sep 17 00:00:00 2001 From: Joan Xie Date: Wed, 24 Sep 2025 14:22:47 -0700 Subject: [PATCH] refactor: update all references to use schemas/latest instead of schemas/0.2 - Update src/index.ts, types.ts, browser.ts, cli.ts, and node.ts - All package entrypoints now use latest.ts for easier version management --- src/browser.ts | 2 +- src/cli.ts | 2 +- src/index.ts | 2 +- src/node.ts | 2 +- src/types.ts | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/browser.ts b/src/browser.ts index ea4aaef..d3f0598 100644 --- a/src/browser.ts +++ b/src/browser.ts @@ -1,5 +1,5 @@ // Browser-compatible exports -export * from "./schemas/0.2.js"; +export * from "./schemas/latest.js"; export * from "./shared/config.js"; export * from "./shared/constants.js"; export * from "./types.js"; diff --git a/src/cli.ts b/src/cli.ts index 4b5a9f0..5dc861c 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -3,7 +3,7 @@ export * from "./cli/init.js"; export * from "./cli/pack.js"; // Include all shared exports -export * from "./schemas/0.2.js"; +export * from "./schemas/latest.js"; export * from "./shared/config.js"; export * from "./shared/constants.js"; export * from "./types.js"; diff --git a/src/index.ts b/src/index.ts index 327a96c..62ada47 100644 --- a/src/index.ts +++ b/src/index.ts @@ -5,7 +5,7 @@ export * from "./cli/unpack.js"; export * from "./node/files.js"; export * from "./node/sign.js"; export * from "./node/validate.js"; -export * from "./schemas/0.2.js"; +export * from "./schemas/latest.js"; export * from "./shared/config.js"; export * from "./shared/constants.js"; export * from "./types.js"; diff --git a/src/node.ts b/src/node.ts index 62f4774..12a7edb 100644 --- a/src/node.ts +++ b/src/node.ts @@ -4,7 +4,7 @@ export * from "./node/sign.js"; export * from "./node/validate.js"; // Include all shared exports -export * from "./schemas/0.2.js"; +export * from "./schemas/latest.js"; export * from "./shared/config.js"; export * from "./shared/constants.js"; export * from "./types.js"; diff --git a/src/types.ts b/src/types.ts index 7a82867..0b6b2a3 100644 --- a/src/types.ts +++ b/src/types.ts @@ -14,7 +14,7 @@ import type { McpbUserConfigurationOptionSchema, McpbUserConfigValuesSchema, McpServerConfigSchema, -} from "./schemas/0.2.js"; +} from "./schemas/latest.js"; export type McpServerConfig = z.infer;