fix: remove cyclic workspace dependency between test-helpers and client/server (#1444)

This commit is contained in:
Felix Weinberger 2026-02-02 17:30:09 +00:00 • committed by GitHub
commit 64f27820fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 1 additions and 11 deletions

6
pnpm-lock.yaml generated
View file

@ -847,18 +847,12 @@ importers:
test/helpers:
devDependencies:
'@modelcontextprotocol/client':
specifier: workspace:^
version: link:../../packages/client
'@modelcontextprotocol/core':
specifier: workspace:^
version: link:../../packages/core
'@modelcontextprotocol/eslint-config':
specifier: workspace:^
version: link:../../common/eslint-config
'@modelcontextprotocol/server':
specifier: workspace:^
version: link:../../packages/server
'@modelcontextprotocol/tsconfig':
specifier: workspace:^
version: link:../../common/tsconfig

View file

@ -31,8 +31,6 @@
},
"devDependencies": {
"@modelcontextprotocol/core": "workspace:^",
"@modelcontextprotocol/client": "workspace:^",
"@modelcontextprotocol/server": "workspace:^",
"zod": "catalog:runtimeShared",
"vitest": "catalog:devTools",
"@modelcontextprotocol/tsconfig": "workspace:^",

View file

@ -1,13 +1,11 @@
{
"extends": "@modelcontextprotocol/tsconfig",
"include": ["./", "../integration/test/helpers/mcp.ts"],
"include": ["./"],
"exclude": ["node_modules", "dist"],
"compilerOptions": {
"paths": {
"*": ["./*"],
"@modelcontextprotocol/core": ["./node_modules/@modelcontextprotocol/core/src/index.ts"],
"@modelcontextprotocol/client": ["./node_modules/@modelcontextprotocol/client/src/index.ts"],
"@modelcontextprotocol/server": ["./node_modules/@modelcontextprotocol/server/src/index.ts"],
"@modelcontextprotocol/vitest-config": ["./node_modules/@modelcontextprotocol/vitest-config/tsconfig.json"]
}
}