Skip to content

Commit ae9b96e

Browse files
authored
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
1 parent 01fa628 commit ae9b96e

27 files changed

Lines changed: 358 additions & 240 deletions

File tree

examples/basic-host/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"homepage": "https://github.com/modelcontextprotocol/ext-apps/tree/main/examples/basic-host",
33
"name": "@modelcontextprotocol/ext-apps-basic-host",
4-
"version": "1.0.0",
4+
"version": "1.0.1",
55
"type": "module",
66
"scripts": {
77
"build": "tsc --noEmit && concurrently \"cross-env INPUT=index.html vite build\" \"cross-env INPUT=sandbox.html vite build\"",
@@ -11,7 +11,7 @@
1111
"dev": "cross-env NODE_ENV=development concurrently \"npm run watch\" \"npm run serve\""
1212
},
1313
"dependencies": {
14-
"@modelcontextprotocol/ext-apps": "../..",
14+
"@modelcontextprotocol/ext-apps": "^1.0.0",
1515
"@modelcontextprotocol/sdk": "^1.24.0",
1616
"react": "^19.2.0",
1717
"react-dom": "^19.2.0",

examples/basic-server-preact/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@modelcontextprotocol/server-basic-preact",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"type": "module",
55
"description": "Basic MCP App Server example using Preact",
66
"repository": {
@@ -22,7 +22,7 @@
2222
"prepublishOnly": "npm run build"
2323
},
2424
"dependencies": {
25-
"@modelcontextprotocol/ext-apps": "../..",
25+
"@modelcontextprotocol/ext-apps": "^1.0.0",
2626
"@modelcontextprotocol/sdk": "^1.24.0",
2727
"cors": "^2.8.5",
2828
"express": "^5.1.0",

examples/basic-server-react/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@modelcontextprotocol/server-basic-react",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"type": "module",
55
"description": "Basic MCP App Server example using React",
66
"repository": {
@@ -32,7 +32,7 @@
3232
"prepublishOnly": "npm run build"
3333
},
3434
"dependencies": {
35-
"@modelcontextprotocol/ext-apps": "../..",
35+
"@modelcontextprotocol/ext-apps": "^1.0.0",
3636
"@modelcontextprotocol/sdk": "^1.24.0",
3737
"cors": "^2.8.5",
3838
"express": "^5.1.0",

examples/basic-server-solid/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@modelcontextprotocol/server-basic-solid",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"type": "module",
55
"description": "Basic MCP App Server example using Solid",
66
"repository": {
@@ -22,7 +22,7 @@
2222
"prepublishOnly": "npm run build"
2323
},
2424
"dependencies": {
25-
"@modelcontextprotocol/ext-apps": "../..",
25+
"@modelcontextprotocol/ext-apps": "^1.0.0",
2626
"@modelcontextprotocol/sdk": "^1.24.0",
2727
"cors": "^2.8.5",
2828
"express": "^5.1.0",

examples/basic-server-svelte/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@modelcontextprotocol/server-basic-svelte",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"type": "module",
55
"description": "Basic MCP App Server example using Svelte",
66
"repository": {
@@ -22,7 +22,7 @@
2222
"prepublishOnly": "npm run build"
2323
},
2424
"dependencies": {
25-
"@modelcontextprotocol/ext-apps": "../..",
25+
"@modelcontextprotocol/ext-apps": "^1.0.0",
2626
"@modelcontextprotocol/sdk": "^1.24.0",
2727
"cors": "^2.8.5",
2828
"express": "^5.1.0",

examples/basic-server-vanillajs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@modelcontextprotocol/server-basic-vanillajs",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"type": "module",
55
"description": "Basic MCP App Server example using vanilla JavaScript",
66
"repository": {
@@ -22,7 +22,7 @@
2222
"prepublishOnly": "npm run build"
2323
},
2424
"dependencies": {
25-
"@modelcontextprotocol/ext-apps": "../..",
25+
"@modelcontextprotocol/ext-apps": "^1.0.0",
2626
"@modelcontextprotocol/sdk": "^1.24.0",
2727
"cors": "^2.8.5",
2828
"express": "^5.1.0",

examples/basic-server-vue/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@modelcontextprotocol/server-basic-vue",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"type": "module",
55
"description": "Basic MCP App Server example using Vue",
66
"repository": {
@@ -22,7 +22,7 @@
2222
"prepublishOnly": "npm run build"
2323
},
2424
"dependencies": {
25-
"@modelcontextprotocol/ext-apps": "../..",
25+
"@modelcontextprotocol/ext-apps": "^1.0.0",
2626
"@modelcontextprotocol/sdk": "^1.24.0",
2727
"cors": "^2.8.5",
2828
"express": "^5.1.0",

examples/budget-allocator-server/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@modelcontextprotocol/server-budget-allocator",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"type": "module",
55
"description": "Budget allocator MCP App Server with interactive visualization",
66
"repository": {
@@ -26,7 +26,7 @@
2626
"serve": "bun --watch main.ts"
2727
},
2828
"dependencies": {
29-
"@modelcontextprotocol/ext-apps": "../..",
29+
"@modelcontextprotocol/ext-apps": "^1.0.0",
3030
"@modelcontextprotocol/sdk": "^1.24.0",
3131
"chart.js": "^4.4.0",
3232
"cors": "^2.8.5",

examples/cohort-heatmap-server/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@modelcontextprotocol/server-cohort-heatmap",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"type": "module",
55
"description": "Cohort heatmap MCP App Server for retention analysis",
66
"repository": {
@@ -26,7 +26,7 @@
2626
"serve": "bun --watch main.ts"
2727
},
2828
"dependencies": {
29-
"@modelcontextprotocol/ext-apps": "../..",
29+
"@modelcontextprotocol/ext-apps": "^1.0.0",
3030
"@modelcontextprotocol/sdk": "^1.24.0",
3131
"cors": "^2.8.5",
3232
"express": "^5.1.0",

examples/customer-segmentation-server/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@modelcontextprotocol/server-customer-segmentation",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"type": "module",
55
"description": "Customer segmentation MCP App Server with filtering",
66
"repository": {
@@ -26,7 +26,7 @@
2626
"serve": "bun --watch main.ts"
2727
},
2828
"dependencies": {
29-
"@modelcontextprotocol/ext-apps": "../..",
29+
"@modelcontextprotocol/ext-apps": "^1.0.0",
3030
"@modelcontextprotocol/sdk": "^1.24.0",
3131
"chart.js": "^4.4.0",
3232
"cors": "^2.8.5",

0 commit comments

Comments
 (0)