From e7689554aec2a038d5b80c54d4b6b603075856ac Mon Sep 17 00:00:00 2001 From: Bob Evans Date: Tue, 28 May 2024 16:57:47 -0400 Subject: [PATCH] test: Updated langchain versioned tests to separate the vectorstore and other tests. This is to avoid peer resolution of `@langchain/community` package that is being used to test the elasticsearch vectorstore (#2216) --- test/versioned/langchain/package.json | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/test/versioned/langchain/package.json b/test/versioned/langchain/package.json index 320a04762b..e86a87e55c 100644 --- a/test/versioned/langchain/package.json +++ b/test/versioned/langchain/package.json @@ -13,9 +13,23 @@ }, "dependencies": { "@langchain/core": ">=0.1.17", - "@langchain/openai": "latest", - "@langchain/community": "latest", - "@elastic/elasticsearch": "latest" + "@langchain/openai": "0.0.34" + }, + "files": [ + "tools.tap.js", + "runnables.tap.js", + "runnables-streaming.tap.js" + ] + }, + { + "engines": { + "node": ">=18" + }, + "dependencies": { + "@langchain/core": ">=0.1.17", + "@langchain/openai": "0.0.34", + "@langchain/community": "0.2.2", + "@elastic/elasticsearch": "8.13.1" }, "files": [ "tools.tap.js",