refactor: rename CURRENT_MANIFEST_VERSION to LATEST_MANIFEST_VERSION

- Rename CURRENT_MANIFEST_VERSION to LATEST_MANIFEST_VERSION
- Rename CURRENT_MANIFEST_SCHEMA to LATEST_MANIFEST_SCHEMA
- Rename CURRENT_MANIFEST_SCHEMA_LOOSE to LATEST_MANIFEST_SCHEMA_LOOSE
- Update all references throughout codebase and tests
This commit is contained in:
Joan Xie 2025-09-24 14:26:55 -07:00
commit 4c100e26da
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 "../shared/constants.js";
import { LATEST_MANIFEST_VERSION } from "../shared/constants.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: LATEST_MANIFEST_VERSION,
name,
...(displayName && displayName !== name
? { display_name: displayName }