fix: add schemas re-export file and update tests to use correct manifest version
- Create src/schemas.ts to re-export from schemas/index.ts for test imports - Update test manifests to use manifest_version "0.2" instead of "1.0" or "1.0.0" - Fix import sorting and formatting issues in schema files - Export McpbManifestSchema from schemas/index.ts
This commit is contained in:
parent
ccb19277c4
commit
fefd9e1d21
1 changed files with 69 additions and 41 deletions
|
|
@ -37,7 +37,7 @@ describe("McpbManifestSchema", () => {
|
|||
|
||||
it("should validate manifest with all optional fields", () => {
|
||||
const fullManifest = {
|
||||
manifest_version: "1.0",
|
||||
manifest_version: "0.2",
|
||||
name: "full-extension",
|
||||
display_name: "Full Featured Extension",
|
||||
version: "2.0.0",
|
||||
|
|
@ -117,7 +117,7 @@ describe("McpbManifestSchema", () => {
|
|||
|
||||
serverTypes.forEach((type) => {
|
||||
const manifest = {
|
||||
manifest_version: "1.0",
|
||||
manifest_version: "0.2",
|
||||
name: "test",
|
||||
version: "1.0.0",
|
||||
description: "Test",
|
||||
|
|
|
|||
Loading…
Reference in a new issue