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
This commit is contained in:
Joan Xie 2025-09-24 14:22:47 -07:00
commit 412b124b96
No known key found for this signature in database
5 changed files with 5 additions and 5 deletions

View file

@ -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";

View file

@ -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";

View file

@ -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";

View file

@ -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";

View file

@ -14,7 +14,7 @@ import type {
McpbUserConfigurationOptionSchema,
McpbUserConfigValuesSchema,
McpServerConfigSchema,
} from "./schemas/0.2.js";
} from "./schemas/latest.js";
export type McpServerConfig = z.infer<typeof McpServerConfigSchema>;