From d7f76fc02d428c5c476af5cbd124e62664b632a0 Mon Sep 17 00:00:00 2001 From: Joan Xie Date: Sat, 1 Nov 2025 20:41:34 -0700 Subject: [PATCH] Fix linting issues MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove unused McpbManifest import from config.ts - Auto-fix formatting and import sorting 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- src/cli/init.ts | 6 +++--- src/schemas/index.ts | 2 +- src/shared/config.ts | 1 - src/types.ts | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-) 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