From 5aa7f93a7937ba604c3a57365d71b17cf3605612 Mon Sep 17 00:00:00 2001 From: ochafik Date: Sun, 23 Nov 2025 02:38:55 +0000 Subject: [PATCH] reference parent package in simple server --- examples/simple-server/package-lock.json | 223 +++-------------------- examples/simple-server/package.json | 2 +- 2 files changed, 24 insertions(+), 201 deletions(-) diff --git a/examples/simple-server/package-lock.json b/examples/simple-server/package-lock.json index 59fc9bb..0ee7c42 100644 --- a/examples/simple-server/package-lock.json +++ b/examples/simple-server/package-lock.json @@ -8,7 +8,7 @@ "name": "simple-server", "version": "1.0.0", "dependencies": { - "@modelcontextprotocol/ext-apps": "git+https://github.com/modelcontextprotocol/ext-apps.git", + "@modelcontextprotocol/ext-apps": "../..", "@modelcontextprotocol/sdk": "^1.20.1", "react": "^19.2.0", "react-dom": "^19.2.0", @@ -27,6 +27,26 @@ "vite-plugin-singlefile": "^2.3.0" } }, + "../..": { + "name": "@modelcontextprotocol/ext-apps", + "version": "1.0.0", + "dependencies": { + "@modelcontextprotocol/sdk": "^1.22.0", + "bun": "^1.3.2", + "react": "^19.2.0", + "react-dom": "^19.2.0", + "typescript": "5.7.2", + "zod": "^3.25" + }, + "devDependencies": { + "@types/react": "^19.2.2", + "@types/react-dom": "^19.2.2", + "concurrently": "^9.2.1", + "cors": "^2.8.5", + "express": "^5.1.0", + "prettier": "^3.6.2" + } + }, "node_modules/@babel/code-frame": { "version": "7.27.1", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.27.1.tgz", @@ -802,29 +822,8 @@ } }, "node_modules/@modelcontextprotocol/ext-apps": { - "version": "1.0.0", - "resolved": "git+ssh://git@github.com/modelcontextprotocol/ext-apps.git#a728372f298d0c60205713c53176d2b685645adc", - "dependencies": { - "@modelcontextprotocol/sdk": "^1.20.1", - "bun": "^1.3.2", - "react": "^19.2.0", - "react-dom": "^19.2.0", - "typescript": "5.7.2", - "zod": "^3.25" - } - }, - "node_modules/@modelcontextprotocol/ext-apps/node_modules/typescript": { - "version": "5.7.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.2.tgz", - "integrity": "sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==", - "license": "Apache-2.0", - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=14.17" - } + "resolved": "../..", + "link": true }, "node_modules/@modelcontextprotocol/sdk": { "version": "1.22.0", @@ -858,149 +857,6 @@ } } }, - "node_modules/@oven/bun-darwin-aarch64": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/@oven/bun-darwin-aarch64/-/bun-darwin-aarch64-1.3.3.tgz", - "integrity": "sha512-eJopQrUk0WR7jViYDC29+Rp50xGvs4GtWOXBeqCoFMzutkkO3CZvHehA4JqnjfWMTSS8toqvRhCSOpOz62Wf9w==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ] - }, - "node_modules/@oven/bun-darwin-x64": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/@oven/bun-darwin-x64/-/bun-darwin-x64-1.3.3.tgz", - "integrity": "sha512-xGDePueVFrNgkS+iN0QdEFeRrx2MQ5hQ9ipRFu7N73rgoSSJsFlOKKt2uGZzunczedViIfjYl0ii0K4E9aZ0Ow==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ] - }, - "node_modules/@oven/bun-darwin-x64-baseline": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/@oven/bun-darwin-x64-baseline/-/bun-darwin-x64-baseline-1.3.3.tgz", - "integrity": "sha512-1ij4wQ9ECLFf1XFry+IFUN+28if40ozDqq6+QtuyOhIwraKzXOlAUbILhRMGvM3ED3yBex2mTwlKpA4Vja/V2g==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ] - }, - "node_modules/@oven/bun-linux-aarch64": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/@oven/bun-linux-aarch64/-/bun-linux-aarch64-1.3.3.tgz", - "integrity": "sha512-DabZ3Mt1XcJneWdEEug8l7bCPVvDBRBpjUIpNnRnMFWFnzr8KBEpMcaWTwYOghjXyJdhB4MPKb19MwqyQ+FHAw==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@oven/bun-linux-aarch64-musl": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/@oven/bun-linux-aarch64-musl/-/bun-linux-aarch64-musl-1.3.3.tgz", - "integrity": "sha512-XWQ3tV/gtZj0wn2AdSUq/tEOKWT4OY+Uww70EbODgrrq00jxuTfq5nnYP6rkLD0M/T5BHJdQRSfQYdIni9vldw==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@oven/bun-linux-x64": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/@oven/bun-linux-x64/-/bun-linux-x64-1.3.3.tgz", - "integrity": "sha512-7eIARtKZKZDtah1aCpQUj/1/zT/zHRR063J6oAxZP9AuA547j5B9OM2D/vi/F4En7Gjk9FPjgPGTSYeqpQDzJw==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@oven/bun-linux-x64-baseline": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/@oven/bun-linux-x64-baseline/-/bun-linux-x64-baseline-1.3.3.tgz", - "integrity": "sha512-IU8pxhIf845psOv55LqJyL+tSUc6HHMfs6FGhuJcAnyi92j+B1HjOhnFQh9MW4vjoo7do5F8AerXlvk59RGH2w==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@oven/bun-linux-x64-musl": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/@oven/bun-linux-x64-musl/-/bun-linux-x64-musl-1.3.3.tgz", - "integrity": "sha512-xNSDRPn1yyObKteS8fyQogwsS4eCECswHHgaKM+/d4wy/omZQrXn8ZyGm/ZF9B73UfQytUfbhE7nEnrFq03f0w==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@oven/bun-linux-x64-musl-baseline": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/@oven/bun-linux-x64-musl-baseline/-/bun-linux-x64-musl-baseline-1.3.3.tgz", - "integrity": "sha512-JoRTPdAXRkNYouUlJqEncMWUKn/3DiWP03A7weBbtbsKr787gcdNna2YeyQKCb1lIXE4v1k18RM3gaOpQobGIQ==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@oven/bun-windows-x64": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/@oven/bun-windows-x64/-/bun-windows-x64-1.3.3.tgz", - "integrity": "sha512-kWqa1LKvDdAIzyfHxo3zGz3HFWbFHDlrNK77hKjUN42ycikvZJ+SHSX76+1OW4G8wmLETX4Jj+4BM1y01DQRIQ==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "win32" - ] - }, - "node_modules/@oven/bun-windows-x64-baseline": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/@oven/bun-windows-x64-baseline/-/bun-windows-x64-baseline-1.3.3.tgz", - "integrity": "sha512-u5eZHKq6TPJSE282KyBOicGQ2trkFml0RoUfqkPOJVo7TXGrsGYYzdsugZRnVQY/WEmnxGtBy4T3PAaPqgQViA==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "win32" - ] - }, "node_modules/@rolldown/pluginutils": { "version": "1.0.0-beta.27", "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-beta.27.tgz", @@ -1649,39 +1505,6 @@ "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" } }, - "node_modules/bun": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/bun/-/bun-1.3.3.tgz", - "integrity": "sha512-2hJ4ocTZ634/Ptph4lysvO+LbbRZq8fzRvMwX0/CqaLBxrF2UB5D1LdMB8qGcdtCer4/VR9Bx5ORub0yn+yzmw==", - "cpu": [ - "arm64", - "x64" - ], - "hasInstallScript": true, - "license": "MIT", - "os": [ - "darwin", - "linux", - "win32" - ], - "bin": { - "bun": "bin/bun.exe", - "bunx": "bin/bunx.exe" - }, - "optionalDependencies": { - "@oven/bun-darwin-aarch64": "1.3.3", - "@oven/bun-darwin-x64": "1.3.3", - "@oven/bun-darwin-x64-baseline": "1.3.3", - "@oven/bun-linux-aarch64": "1.3.3", - "@oven/bun-linux-aarch64-musl": "1.3.3", - "@oven/bun-linux-x64": "1.3.3", - "@oven/bun-linux-x64-baseline": "1.3.3", - "@oven/bun-linux-x64-musl": "1.3.3", - "@oven/bun-linux-x64-musl-baseline": "1.3.3", - "@oven/bun-windows-x64": "1.3.3", - "@oven/bun-windows-x64-baseline": "1.3.3" - } - }, "node_modules/bytes": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", diff --git a/examples/simple-server/package.json b/examples/simple-server/package.json index 8c7d51b..e23bcc4 100644 --- a/examples/simple-server/package.json +++ b/examples/simple-server/package.json @@ -11,7 +11,7 @@ "start": "npm run build && npm run server" }, "dependencies": { - "@modelcontextprotocol/ext-apps": "git+https://github.com/modelcontextprotocol/ext-apps.git", + "@modelcontextprotocol/ext-apps": "../..", "@modelcontextprotocol/sdk": "^1.20.1", "react": "^19.2.0", "react-dom": "^19.2.0",