Making @modelcontextprotocol/sdk external

This commit is contained in:
Glen Maddern 2025-05-07 19:57:46 +10:00
commit c8d9cf02c3
2 changed files with 7 additions and 3 deletions

View file

@ -24,8 +24,10 @@
"build": "tsup", "build": "tsup",
"check": "prettier --check . && tsc" "check": "prettier --check . && tsc"
}, },
"dependencies": {
"@modelcontextprotocol/sdk": "^1.11.0"
},
"devDependencies": { "devDependencies": {
"@modelcontextprotocol/sdk": "^1.11.0",
"@types/react": "^19.0.12", "@types/react": "^19.0.12",
"prettier": "^3.5.3", "prettier": "^3.5.3",
"react": "^19.0.0", "react": "^19.0.0",
@ -45,7 +47,8 @@
"clean": true, "clean": true,
"outDir": "dist", "outDir": "dist",
"external": [ "external": [
"react" "react",
"@modelcontextprotocol/sdk"
] ]
} }
} }

3
pnpm-lock.yaml generated
View file

@ -7,10 +7,11 @@ settings:
importers: importers:
.: .:
devDependencies: dependencies:
'@modelcontextprotocol/sdk': '@modelcontextprotocol/sdk':
specifier: ^1.11.0 specifier: ^1.11.0
version: 1.11.0 version: 1.11.0
devDependencies:
'@types/react': '@types/react':
specifier: ^19.0.12 specifier: ^19.0.12
version: 19.0.12 version: 19.0.12