chore: bump to 1.0.1 - fix npm reference for ext-apps dependency in examples + update zod to 4.x (#368)

* fix(examples): use npm reference for ext-apps dependency

Replace local path '../..' with '^1.0.0' npm reference in all example
packages. The local path was accidentally published to npm, causing
npm install to hang when installing server-* packages.

Bump versions to 1.0.1 for all public packages to fix the published
versions.

Fixes npm install hanging issue in dependent projects like
example-remote-server.

Note: npm workspaces automatically resolves the dependency to the
local package during development, so no overrides are needed.

* fix: update zod to 4.x in transcript-server and fix update-lock:docker script

- Update transcript-server to use zod ^4.1.13 for compatibility
- Fix update-lock:docker script to properly clean workspace node_modules
- Regenerate package-lock.json with clean npmjs.org URLs
This commit is contained in:
Olivier Chafik 2026-01-26 21:55:15 +00:00 • committed by GitHub
commit ae9b96e1fd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
27 changed files with 358 additions and 240 deletions

View file

@ -1,7 +1,7 @@
{ {
"homepage": "https://github.com/modelcontextprotocol/ext-apps/tree/main/examples/basic-host", "homepage": "https://github.com/modelcontextprotocol/ext-apps/tree/main/examples/basic-host",
"name": "@modelcontextprotocol/ext-apps-basic-host", "name": "@modelcontextprotocol/ext-apps-basic-host",
"version": "1.0.0", "version": "1.0.1",
"type": "module", "type": "module",
"scripts": { "scripts": {
"build": "tsc --noEmit && concurrently \"cross-env INPUT=index.html vite build\" \"cross-env INPUT=sandbox.html vite build\"", "build": "tsc --noEmit && concurrently \"cross-env INPUT=index.html vite build\" \"cross-env INPUT=sandbox.html vite build\"",
@ -11,7 +11,7 @@
"dev": "cross-env NODE_ENV=development concurrently \"npm run watch\" \"npm run serve\"" "dev": "cross-env NODE_ENV=development concurrently \"npm run watch\" \"npm run serve\""
}, },
"dependencies": { "dependencies": {
"@modelcontextprotocol/ext-apps": "../..", "@modelcontextprotocol/ext-apps": "^1.0.0",
"@modelcontextprotocol/sdk": "^1.24.0", "@modelcontextprotocol/sdk": "^1.24.0",
"react": "^19.2.0", "react": "^19.2.0",
"react-dom": "^19.2.0", "react-dom": "^19.2.0",

View file

@ -1,6 +1,6 @@
{ {
"name": "@modelcontextprotocol/server-basic-preact", "name": "@modelcontextprotocol/server-basic-preact",
"version": "1.0.0", "version": "1.0.1",
"type": "module", "type": "module",
"description": "Basic MCP App Server example using Preact", "description": "Basic MCP App Server example using Preact",
"repository": { "repository": {
@ -22,7 +22,7 @@
"prepublishOnly": "npm run build" "prepublishOnly": "npm run build"
}, },
"dependencies": { "dependencies": {
"@modelcontextprotocol/ext-apps": "../..", "@modelcontextprotocol/ext-apps": "^1.0.0",
"@modelcontextprotocol/sdk": "^1.24.0", "@modelcontextprotocol/sdk": "^1.24.0",
"cors": "^2.8.5", "cors": "^2.8.5",
"express": "^5.1.0", "express": "^5.1.0",

View file

@ -1,6 +1,6 @@
{ {
"name": "@modelcontextprotocol/server-basic-react", "name": "@modelcontextprotocol/server-basic-react",
"version": "1.0.0", "version": "1.0.1",
"type": "module", "type": "module",
"description": "Basic MCP App Server example using React", "description": "Basic MCP App Server example using React",
"repository": { "repository": {
@ -32,7 +32,7 @@
"prepublishOnly": "npm run build" "prepublishOnly": "npm run build"
}, },
"dependencies": { "dependencies": {
"@modelcontextprotocol/ext-apps": "../..", "@modelcontextprotocol/ext-apps": "^1.0.0",
"@modelcontextprotocol/sdk": "^1.24.0", "@modelcontextprotocol/sdk": "^1.24.0",
"cors": "^2.8.5", "cors": "^2.8.5",
"express": "^5.1.0", "express": "^5.1.0",

View file

@ -1,6 +1,6 @@
{ {
"name": "@modelcontextprotocol/server-basic-solid", "name": "@modelcontextprotocol/server-basic-solid",
"version": "1.0.0", "version": "1.0.1",
"type": "module", "type": "module",
"description": "Basic MCP App Server example using Solid", "description": "Basic MCP App Server example using Solid",
"repository": { "repository": {
@ -22,7 +22,7 @@
"prepublishOnly": "npm run build" "prepublishOnly": "npm run build"
}, },
"dependencies": { "dependencies": {
"@modelcontextprotocol/ext-apps": "../..", "@modelcontextprotocol/ext-apps": "^1.0.0",
"@modelcontextprotocol/sdk": "^1.24.0", "@modelcontextprotocol/sdk": "^1.24.0",
"cors": "^2.8.5", "cors": "^2.8.5",
"express": "^5.1.0", "express": "^5.1.0",

View file

@ -1,6 +1,6 @@
{ {
"name": "@modelcontextprotocol/server-basic-svelte", "name": "@modelcontextprotocol/server-basic-svelte",
"version": "1.0.0", "version": "1.0.1",
"type": "module", "type": "module",
"description": "Basic MCP App Server example using Svelte", "description": "Basic MCP App Server example using Svelte",
"repository": { "repository": {
@ -22,7 +22,7 @@
"prepublishOnly": "npm run build" "prepublishOnly": "npm run build"
}, },
"dependencies": { "dependencies": {
"@modelcontextprotocol/ext-apps": "../..", "@modelcontextprotocol/ext-apps": "^1.0.0",
"@modelcontextprotocol/sdk": "^1.24.0", "@modelcontextprotocol/sdk": "^1.24.0",
"cors": "^2.8.5", "cors": "^2.8.5",
"express": "^5.1.0", "express": "^5.1.0",

View file

@ -1,6 +1,6 @@
{ {
"name": "@modelcontextprotocol/server-basic-vanillajs", "name": "@modelcontextprotocol/server-basic-vanillajs",
"version": "1.0.0", "version": "1.0.1",
"type": "module", "type": "module",
"description": "Basic MCP App Server example using vanilla JavaScript", "description": "Basic MCP App Server example using vanilla JavaScript",
"repository": { "repository": {
@ -22,7 +22,7 @@
"prepublishOnly": "npm run build" "prepublishOnly": "npm run build"
}, },
"dependencies": { "dependencies": {
"@modelcontextprotocol/ext-apps": "../..", "@modelcontextprotocol/ext-apps": "^1.0.0",
"@modelcontextprotocol/sdk": "^1.24.0", "@modelcontextprotocol/sdk": "^1.24.0",
"cors": "^2.8.5", "cors": "^2.8.5",
"express": "^5.1.0", "express": "^5.1.0",

View file

@ -1,6 +1,6 @@
{ {
"name": "@modelcontextprotocol/server-basic-vue", "name": "@modelcontextprotocol/server-basic-vue",
"version": "1.0.0", "version": "1.0.1",
"type": "module", "type": "module",
"description": "Basic MCP App Server example using Vue", "description": "Basic MCP App Server example using Vue",
"repository": { "repository": {
@ -22,7 +22,7 @@
"prepublishOnly": "npm run build" "prepublishOnly": "npm run build"
}, },
"dependencies": { "dependencies": {
"@modelcontextprotocol/ext-apps": "../..", "@modelcontextprotocol/ext-apps": "^1.0.0",
"@modelcontextprotocol/sdk": "^1.24.0", "@modelcontextprotocol/sdk": "^1.24.0",
"cors": "^2.8.5", "cors": "^2.8.5",
"express": "^5.1.0", "express": "^5.1.0",

View file

@ -1,6 +1,6 @@
{ {
"name": "@modelcontextprotocol/server-budget-allocator", "name": "@modelcontextprotocol/server-budget-allocator",
"version": "1.0.0", "version": "1.0.1",
"type": "module", "type": "module",
"description": "Budget allocator MCP App Server with interactive visualization", "description": "Budget allocator MCP App Server with interactive visualization",
"repository": { "repository": {
@ -26,7 +26,7 @@
"serve": "bun --watch main.ts" "serve": "bun --watch main.ts"
}, },
"dependencies": { "dependencies": {
"@modelcontextprotocol/ext-apps": "../..", "@modelcontextprotocol/ext-apps": "^1.0.0",
"@modelcontextprotocol/sdk": "^1.24.0", "@modelcontextprotocol/sdk": "^1.24.0",
"chart.js": "^4.4.0", "chart.js": "^4.4.0",
"cors": "^2.8.5", "cors": "^2.8.5",

View file

@ -1,6 +1,6 @@
{ {
"name": "@modelcontextprotocol/server-cohort-heatmap", "name": "@modelcontextprotocol/server-cohort-heatmap",
"version": "1.0.0", "version": "1.0.1",
"type": "module", "type": "module",
"description": "Cohort heatmap MCP App Server for retention analysis", "description": "Cohort heatmap MCP App Server for retention analysis",
"repository": { "repository": {
@ -26,7 +26,7 @@
"serve": "bun --watch main.ts" "serve": "bun --watch main.ts"
}, },
"dependencies": { "dependencies": {
"@modelcontextprotocol/ext-apps": "../..", "@modelcontextprotocol/ext-apps": "^1.0.0",
"@modelcontextprotocol/sdk": "^1.24.0", "@modelcontextprotocol/sdk": "^1.24.0",
"cors": "^2.8.5", "cors": "^2.8.5",
"express": "^5.1.0", "express": "^5.1.0",

View file

@ -1,6 +1,6 @@
{ {
"name": "@modelcontextprotocol/server-customer-segmentation", "name": "@modelcontextprotocol/server-customer-segmentation",
"version": "1.0.0", "version": "1.0.1",
"type": "module", "type": "module",
"description": "Customer segmentation MCP App Server with filtering", "description": "Customer segmentation MCP App Server with filtering",
"repository": { "repository": {
@ -26,7 +26,7 @@
"serve": "bun --watch main.ts" "serve": "bun --watch main.ts"
}, },
"dependencies": { "dependencies": {
"@modelcontextprotocol/ext-apps": "../..", "@modelcontextprotocol/ext-apps": "^1.0.0",
"@modelcontextprotocol/sdk": "^1.24.0", "@modelcontextprotocol/sdk": "^1.24.0",
"chart.js": "^4.4.0", "chart.js": "^4.4.0",
"cors": "^2.8.5", "cors": "^2.8.5",

View file

@ -1,6 +1,6 @@
{ {
"name": "@modelcontextprotocol/server-debug", "name": "@modelcontextprotocol/server-debug",
"version": "1.0.0", "version": "1.0.1",
"type": "module", "type": "module",
"description": "Debug MCP App Server for testing all SDK capabilities", "description": "Debug MCP App Server for testing all SDK capabilities",
"repository": { "repository": {
@ -23,7 +23,7 @@
"prepublishOnly": "npm run build" "prepublishOnly": "npm run build"
}, },
"dependencies": { "dependencies": {
"@modelcontextprotocol/ext-apps": "../..", "@modelcontextprotocol/ext-apps": "^1.0.0",
"@modelcontextprotocol/sdk": "^1.24.0", "@modelcontextprotocol/sdk": "^1.24.0",
"zod": "^4.1.13" "zod": "^4.1.13"
}, },

View file

@ -15,7 +15,7 @@
"serve": "bun --watch main.ts" "serve": "bun --watch main.ts"
}, },
"dependencies": { "dependencies": {
"@modelcontextprotocol/ext-apps": "../..", "@modelcontextprotocol/ext-apps": "^1.0.0",
"@modelcontextprotocol/sdk": "^1.24.0", "@modelcontextprotocol/sdk": "^1.24.0",
"cors": "^2.8.5", "cors": "^2.8.5",
"express": "^5.1.0", "express": "^5.1.0",

View file

@ -1,6 +1,6 @@
{ {
"name": "@modelcontextprotocol/server-map", "name": "@modelcontextprotocol/server-map",
"version": "1.0.0", "version": "1.0.1",
"type": "module", "type": "module",
"description": "MCP App Server example with CesiumJS 3D globe and geocoding", "description": "MCP App Server example with CesiumJS 3D globe and geocoding",
"repository": { "repository": {
@ -26,7 +26,7 @@
"serve": "bun --watch main.ts" "serve": "bun --watch main.ts"
}, },
"dependencies": { "dependencies": {
"@modelcontextprotocol/ext-apps": "../..", "@modelcontextprotocol/ext-apps": "^1.0.0",
"@modelcontextprotocol/sdk": "^1.24.0", "@modelcontextprotocol/sdk": "^1.24.0",
"cors": "^2.8.5", "cors": "^2.8.5",
"express": "^5.1.0", "express": "^5.1.0",

View file

@ -1,6 +1,6 @@
{ {
"name": "@modelcontextprotocol/server-pdf", "name": "@modelcontextprotocol/server-pdf",
"version": "1.0.0", "version": "1.0.1",
"type": "module", "type": "module",
"description": "MCP server for loading and extracting text from PDF files with chunked pagination and interactive viewer", "description": "MCP server for loading and extracting text from PDF files with chunked pagination and interactive viewer",
"repository": { "repository": {
@ -22,7 +22,7 @@
"prepublishOnly": "npm run build" "prepublishOnly": "npm run build"
}, },
"dependencies": { "dependencies": {
"@modelcontextprotocol/ext-apps": "../..", "@modelcontextprotocol/ext-apps": "^1.0.0",
"@modelcontextprotocol/sdk": "^1.24.0", "@modelcontextprotocol/sdk": "^1.24.0",
"cors": "^2.8.5", "cors": "^2.8.5",
"express": "^5.1.0", "express": "^5.1.0",

View file

@ -8,6 +8,6 @@
"build": "echo 'No build step needed for Python server'" "build": "echo 'No build step needed for Python server'"
}, },
"dependencies": { "dependencies": {
"@modelcontextprotocol/ext-apps": "../.." "@modelcontextprotocol/ext-apps": "^1.0.0"
} }
} }

View file

@ -15,7 +15,7 @@
"start": "concurrently 'cross-env NODE_ENV=development INPUT=mcp-app.html vite build --watch' 'tsx watch main.ts'" "start": "concurrently 'cross-env NODE_ENV=development INPUT=mcp-app.html vite build --watch' 'tsx watch main.ts'"
}, },
"dependencies": { "dependencies": {
"@modelcontextprotocol/ext-apps": "../..", "@modelcontextprotocol/ext-apps": "^1.0.0",
"@modelcontextprotocol/sdk": "^1.24.0", "@modelcontextprotocol/sdk": "^1.24.0",
"cors": "^2.8.5", "cors": "^2.8.5",
"express": "^5.1.0" "express": "^5.1.0"

View file

@ -15,6 +15,6 @@
"build": "echo 'No build step needed for Python server'" "build": "echo 'No build step needed for Python server'"
}, },
"dependencies": { "dependencies": {
"@modelcontextprotocol/ext-apps": "../.." "@modelcontextprotocol/ext-apps": "^1.0.0"
} }
} }

View file

@ -1,6 +1,6 @@
{ {
"name": "@modelcontextprotocol/server-scenario-modeler", "name": "@modelcontextprotocol/server-scenario-modeler",
"version": "1.0.0", "version": "1.0.1",
"type": "module", "type": "module",
"description": "Financial scenario modeling MCP App Server", "description": "Financial scenario modeling MCP App Server",
"repository": { "repository": {
@ -26,7 +26,7 @@
"serve": "bun --watch main.ts" "serve": "bun --watch main.ts"
}, },
"dependencies": { "dependencies": {
"@modelcontextprotocol/ext-apps": "../..", "@modelcontextprotocol/ext-apps": "^1.0.0",
"@modelcontextprotocol/sdk": "^1.24.0", "@modelcontextprotocol/sdk": "^1.24.0",
"chart.js": "^4.4.0", "chart.js": "^4.4.0",
"cors": "^2.8.5", "cors": "^2.8.5",

View file

@ -1,6 +1,6 @@
{ {
"name": "@modelcontextprotocol/server-shadertoy", "name": "@modelcontextprotocol/server-shadertoy",
"version": "1.0.0", "version": "1.0.1",
"type": "module", "type": "module",
"description": "MCP App Server example for rendering ShaderToy-compatible GLSL shaders", "description": "MCP App Server example for rendering ShaderToy-compatible GLSL shaders",
"repository": { "repository": {
@ -24,7 +24,7 @@
"prepublishOnly": "npm run build" "prepublishOnly": "npm run build"
}, },
"dependencies": { "dependencies": {
"@modelcontextprotocol/ext-apps": "../..", "@modelcontextprotocol/ext-apps": "^1.0.0",
"@modelcontextprotocol/sdk": "^1.24.0", "@modelcontextprotocol/sdk": "^1.24.0",
"cors": "^2.8.5", "cors": "^2.8.5",
"express": "^5.1.0", "express": "^5.1.0",

View file

@ -1,6 +1,6 @@
{ {
"name": "@modelcontextprotocol/server-sheet-music", "name": "@modelcontextprotocol/server-sheet-music",
"version": "1.0.0", "version": "1.0.1",
"type": "module", "type": "module",
"description": "MCP App Server for rendering and playing sheet music from ABC notation", "description": "MCP App Server for rendering and playing sheet music from ABC notation",
"repository": { "repository": {
@ -22,7 +22,7 @@
"prepublishOnly": "npm run build" "prepublishOnly": "npm run build"
}, },
"dependencies": { "dependencies": {
"@modelcontextprotocol/ext-apps": "../..", "@modelcontextprotocol/ext-apps": "^1.0.0",
"@modelcontextprotocol/sdk": "^1.24.0", "@modelcontextprotocol/sdk": "^1.24.0",
"abcjs": "^6.4.4", "abcjs": "^6.4.4",
"cors": "^2.8.5", "cors": "^2.8.5",

Some files were not shown because too many files have changed in this diff Show more