fix: rename CURRENT_MANIFEST_VERSION to MANIFEST_VERSION and set correct versions

This commit is contained in:
Joan Xie 2025-09-24 13:45:19 -07:00
commit 3d9c966951
No known key found for this signature in database

View file

@ -2,7 +2,7 @@ import { confirm, input, select } from "@inquirer/prompts";
import { existsSync, readFileSync, writeFileSync } from "fs";
import { basename, join, resolve } from "path";
import { CURRENT_MANIFEST_VERSION } from "../schemas/0.2.js";
import { MANIFEST_VERSION } from "../schemas/0.2.js";
import type { McpbManifest } from "../types.js";
interface PackageJson {
@ -774,7 +774,7 @@ export function buildManifest(
const { keywords, license, repository } = optionalFields;
return {
manifest_version: CURRENT_MANIFEST_VERSION,
manifest_version: MANIFEST_VERSION,
name,
...(displayName && displayName !== name
? { display_name: displayName }