diff --git a/src/cli/init.ts b/src/cli/init.ts index b462ced..3b2ad80 100644 --- a/src/cli/init.ts +++ b/src/cli/init.ts @@ -1,11 +1,11 @@ import { confirm, input, select } from "@inquirer/prompts"; import { existsSync, readFileSync, writeFileSync } from "fs"; import { basename, join, resolve } from "path"; - -import { DEFAULT_MANIFEST_VERSION } from "../shared/constants.js"; -import type { McpbManifestSchema as McpbManifestSchemaV0_2 } from "../schemas/0.2.js"; import type * as z from "zod"; +import type { McpbManifestSchema as McpbManifestSchemaV0_2 } from "../schemas/0.2.js"; +import { DEFAULT_MANIFEST_VERSION } from "../shared/constants.js"; + interface PackageJson { name?: string; version?: string; diff --git a/src/schemas/index.ts b/src/schemas/index.ts index 3afe1b1..70a8e32 100644 --- a/src/schemas/index.ts +++ b/src/schemas/index.ts @@ -20,4 +20,4 @@ export const VERSIONED_MANIFEST_SCHEMAS = { "0.1": ManifestSchemaV0_1, "0.2": ManifestSchemaV0_2, "0.3": ManifestSchemaV0_3, -} as const; \ No newline at end of file +} as const; diff --git a/src/shared/config.ts b/src/shared/config.ts index bf8391c..9ce016c 100644 --- a/src/shared/config.ts +++ b/src/shared/config.ts @@ -1,6 +1,5 @@ import type { Logger, - McpbManifest, McpbManifestAny, McpbUserConfigValues, McpServerConfig, diff --git a/src/types.ts b/src/types.ts index 44997e4..f8b7966 100644 --- a/src/types.ts +++ b/src/types.ts @@ -61,7 +61,7 @@ export type McpbManifest = McpbManifestLatest; /** * McpbManifest type representing the union of all manifest versions */ -export type McpbManifestAny = z.infer;; +export type McpbManifestAny = z.infer; /** * Information about a MCPB package signature