Skip to content

Commit

Permalink
everything but lc
Browse files Browse the repository at this point in the history
  • Loading branch information
bracesproul committed May 1, 2024
1 parent 2e928a3 commit 75f9c5f
Show file tree
Hide file tree
Showing 25 changed files with 88 additions and 38 deletions.
4 changes: 2 additions & 2 deletions langchain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -1199,8 +1199,8 @@
"scripts": {
"build": "yarn run build:deps && yarn clean && yarn build:esm && yarn build:cjs && yarn build:scripts",
"build:deps": "yarn run turbo:command build --filter=@langchain/openai --filter=@langchain/community --filter=@langchain/textsplitters --concurrency=1",
"build:esm": "NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist/ && rimraf dist/tests dist/**/tests",
"build:cjs": "NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist-cjs/ -p tsconfig.cjs.json && yarn move-cjs-to-dist && rimraf dist-cjs",
"build:esm": "NODE_OPTIONS=--max-old-space-size=4096 rm -f src/package.json && tsc --outDir dist/ && rimraf dist/tests dist/**/tests",
"build:cjs": "NODE_OPTIONS=--max-old-space-size=4096 echo '{}' > src/package.json && tsc --outDir dist-cjs/ -p tsconfig.cjs.json && yarn move-cjs-to-dist && rimraf dist-cjs src/package.json",
"build:watch": "yarn create-entrypoints && tsc --outDir dist/ --watch",
"build:scripts": "yarn create-entrypoints && yarn check-tree-shaking",
"lint:eslint": "NODE_OPTIONS=--max-old-space-size=4096 eslint --cache --ext .ts,.js src/",
Expand Down
1 change: 1 addition & 0 deletions langchain/src/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
1 change: 1 addition & 0 deletions libs/langchain-cloudflare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
"jest-environment-node": "^29.6.4",
"prettier": "^2.8.3",
"release-it": "^15.10.1",
"rimraf": "^5.0.1",
"rollup": "^4.5.2",
"ts-jest": "^29.1.0",
"typescript": "^5.4.5"
Expand Down
1 change: 1 addition & 0 deletions libs/langchain-cohere/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"jest-environment-node": "^29.6.4",
"prettier": "^2.8.3",
"release-it": "^15.10.1",
"rimraf": "^5.0.1",
"rollup": "^4.5.2",
"ts-jest": "^29.1.0",
"typescript": "^5.4.5"
Expand Down
1 change: 1 addition & 0 deletions libs/langchain-community/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@
"redis": "^4.6.6",
"release-it": "^15.10.1",
"replicate": "^0.18.0",
"rimraf": "^5.0.1",
"rollup": "^3.19.1",
"ts-jest": "^29.1.0",
"typeorm": "^0.3.12",
Expand Down
1 change: 1 addition & 0 deletions libs/langchain-exa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
"jest-environment-node": "^29.6.4",
"prettier": "^2.8.3",
"release-it": "^15.10.1",
"rimraf": "^5.0.1",
"rollup": "^4.5.2",
"ts-jest": "^29.1.0",
"typescript": "^5.4.5"
Expand Down
3 changes: 2 additions & 1 deletion libs/langchain-exa/src/retrievers.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import Exa, {
import {
ContentsOptions,
RegularSearchOptions,
SearchResponse,
SearchResult,
} from "exa-js";
import * as Exa from "exa-js";

import { BaseRetriever, BaseRetrieverInput } from "@langchain/core/retrievers";
import { Document } from "@langchain/core/documents";
Expand Down
4 changes: 2 additions & 2 deletions libs/langchain-exa/src/tools.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { CallbackManagerForToolRun } from "@langchain/core/callbacks/manager";
import { Tool, type ToolParams } from "@langchain/core/tools";
import Exa, { ContentsOptions, RegularSearchOptions } from "exa-js";

import { ContentsOptions, RegularSearchOptions } from "exa-js";
import * as Exa from "exa-js";
/**
* Options for the ExaSearchResults tool.
*/
Expand Down
1 change: 1 addition & 0 deletions libs/langchain-google-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
"jest-environment-node": "^29.6.4",
"prettier": "^2.8.3",
"release-it": "^15.10.1",
"rimraf": "^5.0.1",
"rollup": "^4.5.2",
"ts-jest": "^29.1.0",
"typescript": "^5.4.5",
Expand Down
1 change: 1 addition & 0 deletions libs/langchain-google-gauth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
"jest-environment-node": "^29.6.4",
"prettier": "^2.8.3",
"release-it": "^15.10.1",
"rimraf": "^5.0.1",
"rollup": "^4.5.2",
"ts-jest": "^29.1.0",
"typescript": "^5.4.5",
Expand Down
1 change: 1 addition & 0 deletions libs/langchain-google-genai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
"jest-environment-node": "^29.6.4",
"prettier": "^2.8.3",
"release-it": "^15.10.1",
"rimraf": "^5.0.1",
"rollup": "^4.5.2",
"ts-jest": "^29.1.0",
"typescript": "^5.4.5"
Expand Down
9 changes: 5 additions & 4 deletions libs/langchain-google-vertexai-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"homepage": "https://github.com/langchain-ai/langchainjs/tree/main/libs/langchain-google-vertexai-web/",
"scripts": {
"build": "yarn run build:deps && yarn clean && yarn build:esm && yarn build:cjs && yarn build:scripts",
"build:deps": "yarn run turbo:command build --filter=@langchain/google-gauth",
"build:esm": "NODE_OPTIONS=--max-old-space-size=4096 rm -f src/package.json && tsc --outDir dist/ && rm -rf dist/tests dist/**/tests",
"build:cjs": "NODE_OPTIONS=--max-old-space-size=4096 echo '{}' > src/package.json && tsc --outDir dist-cjs/ -p tsconfig.cjs.json && yarn move-cjs-to-dist && rimraf dist-cjs src/package.json",
"build:deps": "yarn run turbo:command build --filter=@langchain/google-webauth",
"build:esm": "NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist/ && rm -rf dist/tests dist/**/tests",
"build:cjs": "NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist-cjs/ -p tsconfig.cjs.json && yarn move-cjs-to-dist && rimraf dist-cjs",
"build:watch": "yarn create-entrypoints && tsc --outDir dist/ --watch",
"build:scripts": "yarn create-entrypoints && yarn check-tree-shaking",
"lint:eslint": "NODE_OPTIONS=--max-old-space-size=4096 eslint --cache --ext .ts,.js src/",
Expand Down Expand Up @@ -62,9 +62,10 @@
"jest-environment-node": "^29.6.4",
"prettier": "^2.8.3",
"release-it": "^15.10.1",
"rimraf": "^5.0.1",
"rollup": "^4.5.2",
"ts-jest": "^29.1.0",
"typescript": "^5.4.5",
"typescript": "<5.2.0",
"zod": "^3.22.4"
},
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions libs/langchain-google-vertexai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
"jest-environment-node": "^29.6.4",
"prettier": "^2.8.3",
"release-it": "^15.10.1",
"rimraf": "^5.0.1",
"rollup": "^4.5.2",
"ts-jest": "^29.1.0",
"typescript": "^5.4.5"
Expand Down
7 changes: 4 additions & 3 deletions libs/langchain-google-webauth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"scripts": {
"build": "yarn run build:deps && yarn clean && yarn build:esm && yarn build:cjs && yarn build:scripts",
"build:deps": "yarn run turbo:command build --filter=@langchain/google-common",
"build:esm": "NODE_OPTIONS=--max-old-space-size=4096 rm -f src/package.json && tsc --outDir dist/ && rm -rf dist/tests dist/**/tests",
"build:cjs": "NODE_OPTIONS=--max-old-space-size=4096 echo '{}' > src/package.json && tsc --outDir dist-cjs/ -p tsconfig.cjs.json && yarn move-cjs-to-dist && rimraf dist-cjs src/package.json",
"build:esm": "NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist/ && rm -rf dist/tests dist/**/tests",
"build:cjs": "NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist-cjs/ -p tsconfig.cjs.json && yarn move-cjs-to-dist && rimraf dist-cjs",
"build:watch": "yarn create-entrypoints && tsc --outDir dist/ --watch",
"build:scripts": "yarn create-entrypoints && yarn check-tree-shaking",
"lint:eslint": "NODE_OPTIONS=--max-old-space-size=4096 eslint --cache --ext .ts,.js src/",
Expand Down Expand Up @@ -63,9 +63,10 @@
"jest-environment-node": "^29.6.4",
"prettier": "^2.8.3",
"release-it": "^15.10.1",
"rimraf": "^5.0.1",
"rollup": "^4.5.2",
"ts-jest": "^29.1.0",
"typescript": "^5.4.5"
"typescript": "<5.2.0"
},
"publishConfig": {
"access": "public"
Expand Down
1 change: 1 addition & 0 deletions libs/langchain-groq/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
"langchain": "workspace:^",
"prettier": "^2.8.3",
"release-it": "^15.10.1",
"rimraf": "^5.0.1",
"rollup": "^4.5.2",
"ts-jest": "^29.1.0",
"typescript": "^5.4.5"
Expand Down
1 change: 1 addition & 0 deletions libs/langchain-mistralai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
"langchain": "workspace:^",
"prettier": "^2.8.3",
"release-it": "^15.10.1",
"rimraf": "^5.0.1",
"rollup": "^4.5.2",
"ts-jest": "^29.1.0",
"typescript": "^5.4.5"
Expand Down
1 change: 1 addition & 0 deletions libs/langchain-mongodb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
"jest-environment-node": "^29.6.4",
"prettier": "^2.8.3",
"release-it": "^15.10.1",
"rimraf": "^5.0.1",
"rollup": "^4.5.2",
"ts-jest": "^29.1.0",
"typescript": "^5.4.5",
Expand Down
9 changes: 5 additions & 4 deletions libs/langchain-nomic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"scripts": {
"build": "yarn build:deps && yarn clean && yarn build:esm && yarn build:cjs && yarn build:scripts",
"build:deps": "yarn run turbo:command build --filter=@langchain/core",
"build:esm": "NODE_OPTIONS=--max-old-space-size=4096 rm -f src/package.json && tsc --outDir dist/ && rm -rf dist/tests dist/**/tests",
"build:cjs": "NODE_OPTIONS=--max-old-space-size=4096 echo '{}' > src/package.json && tsc --outDir dist-cjs/ -p tsconfig.cjs.json && yarn move-cjs-to-dist && rimraf dist-cjs src/package.json",
"build:esm": "NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist/ && rm -rf dist/tests dist/**/tests",
"build:cjs": "NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist-cjs/ -p tsconfig.cjs.json && yarn move-cjs-to-dist && rimraf dist-cjs",
"build:watch": "yarn create-entrypoints && tsc --outDir dist/ --watch",
"build:scripts": "yarn create-entrypoints && yarn check-tree-shaking",
"lint:eslint": "NODE_OPTIONS=--max-old-space-size=4096 eslint --cache --ext .ts,.js src/",
Expand All @@ -40,7 +40,7 @@
"license": "MIT",
"dependencies": {
"@langchain/core": "~0.1",
"@nomic-ai/atlas": "^0.8.0"
"@nomic-ai/atlas": "^0.9.5"
},
"devDependencies": {
"@jest/globals": "^29.5.0",
Expand All @@ -64,9 +64,10 @@
"jest-environment-node": "^29.6.4",
"prettier": "^2.8.3",
"release-it": "^15.10.1",
"rimraf": "^5.0.1",
"rollup": "^4.5.2",
"ts-jest": "^29.1.0",
"typescript": "^5.4.5"
"typescript": "<5.2.0"
},
"publishConfig": {
"access": "public"
Expand Down
1 change: 1 addition & 0 deletions libs/langchain-pinecone/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
"jest-environment-node": "^29.6.4",
"prettier": "^2.8.3",
"release-it": "^15.10.1",
"rimraf": "^5.0.1",
"rollup": "^4.5.2",
"ts-jest": "^29.1.0",
"typescript": "^5.4.5"
Expand Down
1 change: 1 addition & 0 deletions libs/langchain-redis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
"jest-environment-node": "^29.6.4",
"prettier": "^2.8.3",
"release-it": "^15.10.1",
"rimraf": "^5.0.1",
"rollup": "^4.5.2",
"ts-jest": "^29.1.0",
"typescript": "^5.4.5",
Expand Down
7 changes: 4 additions & 3 deletions libs/langchain-textsplitters/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"homepage": "https://github.com/langchain-ai/langchainjs/tree/main/libs/langchain-INTEGRATION_NAME/",
"scripts": {
"build": "yarn clean && yarn build:esm && yarn build:cjs && yarn build:scripts",
"build:esm": "NODE_OPTIONS=--max-old-space-size=4096 rm -f src/package.json && tsc --outDir dist/ && rm -rf dist/tests dist/**/tests",
"build:cjs": "NODE_OPTIONS=--max-old-space-size=4096 echo '{}' > src/package.json && tsc --outDir dist-cjs/ -p tsconfig.cjs.json && yarn move-cjs-to-dist && rimraf dist-cjs src/package.json",
"build:esm": "NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist/ && rm -rf dist/tests dist/**/tests",
"build:cjs": "NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist-cjs/ -p tsconfig.cjs.json && yarn move-cjs-to-dist && rimraf dist-cjs",
"build:watch": "yarn create-entrypoints && tsc --outDir dist/ --watch",
"build:scripts": "yarn create-entrypoints && yarn check-tree-shaking",
"lint:eslint": "NODE_OPTIONS=--max-old-space-size=4096 eslint --cache --ext .ts,.js src/",
Expand Down Expand Up @@ -61,9 +61,10 @@
"jest-environment-node": "^29.6.4",
"prettier": "^2.8.3",
"release-it": "^15.10.1",
"rimraf": "^5.0.1",
"rollup": "^4.5.2",
"ts-jest": "^29.1.0",
"typescript": "^5.4.5"
"typescript": "<5.2.0"
},
"publishConfig": {
"access": "public"
Expand Down
1 change: 1 addition & 0 deletions libs/langchain-weaviate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
"jest-environment-node": "^29.6.4",
"prettier": "^2.8.3",
"release-it": "^15.10.1",
"rimraf": "^5.0.1",
"rollup": "^4.5.2",
"ts-jest": "^29.1.0",
"typescript": "^5.4.5"
Expand Down
1 change: 1 addition & 0 deletions libs/langchain-yandex/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
"jest": "^29.5.0",
"jest-environment-node": "^29.6.4",
"prettier": "^2.8.3",
"rimraf": "^5.0.1",
"rollup": "^4.5.2",
"ts-jest": "^29.1.0",
"typescript": "^5.4.5"
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
"dotenv": "^16.0.3",
"lint-staged": "^13.1.1",
"prettier": "^2.8.3",
"rimraf": "^5.0.1",
"semver": "^7.5.4",
"typescript": "^5.4.5"
},
Expand Down
Loading

0 comments on commit 75f9c5f

Please sign in to comment.