Skip to content

Commit

Permalink
fix: make dependency peer and optional
Browse files Browse the repository at this point in the history
Signed-off-by: Tomas Pilar <[email protected]>
  • Loading branch information
pilartomas committed Jan 6, 2025
1 parent 3c2b225 commit 22250f3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@
"@ai-zen/node-fetch-event-source": "^2.1.4",
"@connectrpc/connect": "^1.6.1",
"@connectrpc/connect-node": "^1.6.1",
"@modelcontextprotocol/sdk": "^1.0.4",
"@opentelemetry/api": "^1.9.0",
"@streamparser/json": "^0.0.21",
"ajv": "^8.17.1",
Expand Down Expand Up @@ -210,6 +209,7 @@
"@ibm-generative-ai/node-sdk": "~3.2.4",
"@langchain/community": ">=0.2.28",
"@langchain/core": ">=0.2.27",
"@modelcontextprotocol/sdk": "^1.0.4",
"@zilliz/milvus2-sdk-node": "^2.4.9",
"google-auth-library": "*",
"groq-sdk": "^0.7.0",
Expand Down Expand Up @@ -247,6 +247,9 @@
"@langchain/core": {
"optional": true
},
"@modelcontextprotocol/sdk": {
"optional": true
},
"@zilliz/milvus2-sdk-node": {
"optional": true
},
Expand Down Expand Up @@ -286,6 +289,7 @@
"@ibm-generative-ai/node-sdk": "~3.2.4",
"@langchain/community": "~0.3.17",
"@langchain/core": "~0.3.22",
"@modelcontextprotocol/sdk": "^1.0.4",
"@opentelemetry/instrumentation": "^0.56.0",
"@opentelemetry/resources": "^1.29.0",
"@opentelemetry/sdk-node": "^0.56.0",
Expand Down
9 changes: 6 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2174,13 +2174,13 @@ __metadata:
linkType: hard

"@modelcontextprotocol/sdk@npm:^1.0.4":
version: 1.0.4
resolution: "@modelcontextprotocol/sdk@npm:1.0.4"
version: 1.1.0
resolution: "@modelcontextprotocol/sdk@npm:1.1.0"
dependencies:
content-type: "npm:^1.0.5"
raw-body: "npm:^3.0.0"
zod: "npm:^3.23.8"
checksum: 10c0/d050cea68c0a925a6b29c12fdb7f12075e1631bd3db12e761241980494f68419962b78e13a27aa44a1befbbeaa72406cc8bb947afe2a70df489fa4f5b9ff5b42
checksum: 10c0/1f80a2139a09cb0e7c6af75d7fe57373a554a9d30be54ee093d49dce5ea1266cc0b624a687017b99248c851f125845387897811360abed22d0d57998935ce04a
languageName: node
linkType: hard

Expand Down Expand Up @@ -4931,6 +4931,7 @@ __metadata:
"@ibm-generative-ai/node-sdk": ~3.2.4
"@langchain/community": ">=0.2.28"
"@langchain/core": ">=0.2.27"
"@modelcontextprotocol/sdk": ^1.0.4
"@zilliz/milvus2-sdk-node": ^2.4.9
google-auth-library: "*"
groq-sdk: ^0.7.0
Expand Down Expand Up @@ -4958,6 +4959,8 @@ __metadata:
optional: true
"@langchain/core":
optional: true
"@modelcontextprotocol/sdk":
optional: true
"@zilliz/milvus2-sdk-node":
optional: true
google-auth-library:
Expand Down

0 comments on commit 22250f3

Please sign in to comment.