Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

all[major]: Bump to typescript 5.4.5 #6010

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/api_refs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@
"prettier": "^2.8.3",
"tailwindcss": "^3.3.0",
"typedoc": "^0.26.0",
"typescript": "~5.1.6"
"typescript": "^5.4.5"
}
}
2 changes: 1 addition & 1 deletion environment_tests/test-exports-bun/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
"devDependencies": {
"@tsconfig/recommended": "^1.0.2",
"@types/node": "^18.15.11",
"typescript": "^5.0.0"
"typescript": "^5.4.5"
}
}
2 changes: 1 addition & 1 deletion environment_tests/test-exports-cf/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"langchain": "workspace:*",
"wrangler": "3.7.0",
"vitest": "0.34.3",
"typescript": "^5.0.3"
"typescript": "^5.4.5"
},
"private": true,
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion environment_tests/test-exports-cjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"d3-dsv": "2",
"hnswlib-node": "^3.0.0",
"langchain": "workspace:*",
"typescript": "^5.0.0"
"typescript": "^5.4.5"
},
"devDependencies": {
"@types/node": "^18.15.11",
Expand Down
2 changes: 1 addition & 1 deletion environment_tests/test-exports-esbuild/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"esbuild": "^0.17.18",
"hnswlib-node": "^3.0.0",
"langchain": "workspace:*",
"typescript": "^5.0.0"
"typescript": "^5.4.5"
},
"devDependencies": {
"@types/node": "^18.15.11",
Expand Down
2 changes: 1 addition & 1 deletion environment_tests/test-exports-esm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"d3-dsv": "2",
"hnswlib-node": "^3.0.0",
"langchain": "workspace:*",
"typescript": "^5.0.0"
"typescript": "^5.4.5"
},
"devDependencies": {
"@types/node": "^18.15.11",
Expand Down
2 changes: 1 addition & 1 deletion environment_tests/test-exports-vercel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"next": "13.4.9",
"react": "18.2.0",
"react-dom": "18.2.0",
"typescript": "^5.0.0"
"typescript": "^5.4.5"
},
"resolutions": {
"@langchain/core": "~0.2.0"
Expand Down
2 changes: 1 addition & 1 deletion environment_tests/test-exports-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@langchain/core": "workspace:*",
"@langchain/openai": "workspace:*",
"langchain": "workspace:*",
"typescript": "^5.0.0",
"typescript": "^5.4.5",
"vite": "^4.2.0"
},
"resolutions": {
Expand Down
2 changes: 1 addition & 1 deletion examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,6 @@
"eslint-plugin-unused-imports": "^3.0.0",
"prettier": "^2.8.3",
"tsx": "^3.12.3",
"typescript": "~5.1.6"
"typescript": "^5.4.5"
}
}
2 changes: 1 addition & 1 deletion langchain-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"prettier": "^2.8.3",
"release-it": "^15.10.1",
"rimraf": "^5.0.1",
"typescript": "~5.1.6",
"typescript": "^5.4.5",
"web-streams-polyfill": "^3.3.3"
},
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions langchain-core/src/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@
"chai": "^4.3.6",
"json-schema-test-suite": "git+https://github.com/json-schema-org/JSON-Schema-Test-Suite#76b529f",
"mocha": "^10.0.0",
"typescript": "^4.8.4"
"typescript": "^5.4.5"
}
}
1 change: 0 additions & 1 deletion langchain-core/tsconfig.cjs.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"module": "commonjs",
"declaration": false
},
"exclude": [
Expand Down
2 changes: 1 addition & 1 deletion langchain-core/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"ES2022.Object",
"DOM"
],
"module": "ES2020",
"module": "NodeNext",
"moduleResolution": "nodenext",
"esModuleInterop": true,
"declaration": true,
Expand Down
2 changes: 1 addition & 1 deletion langchain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@
"srt-parser-2": "^1.2.3",
"ts-jest": "^29.1.0",
"typeorm": "^0.3.20",
"typescript": "~5.1.6",
"typescript": "^5.4.5",
"weaviate-ts-client": "^2.0.0",
"web-auth-library": "^1.0.3",
"wikipedia": "^2.1.2",
Expand Down
1 change: 0 additions & 1 deletion langchain/tsconfig.cjs.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"module": "commonjs",
"declaration": false
},
"exclude": [
Expand Down
4 changes: 2 additions & 2 deletions langchain/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"ES2022.Object",
"DOM"
],
"module": "ES2020",
"module": "NodeNext",
"moduleResolution": "nodenext",
"esModuleInterop": true,
"declaration": true,
Expand All @@ -30,4 +30,4 @@
"dist",
"docs"
]
}
}
2 changes: 1 addition & 1 deletion libs/create-langchain-integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"picocolors": "^1.0.0",
"prettier": "^2.8.3",
"prompts": "^2.4.2",
"typescript": "~5.1.6",
"typescript": "^5.4.5",
"update-check": "^1.5.4",
"validate-npm-package-name": "^5.0.0"
}
Expand Down
2 changes: 1 addition & 1 deletion libs/create-langchain-integration/template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"prettier": "^2.8.3",
"rollup": "^4.5.2",
"ts-jest": "^29.1.0",
"typescript": "<5.2.0"
"typescript": "^5.4.5"
},
"publishConfig": {
"access": "public"
Expand Down
10 changes: 7 additions & 3 deletions libs/create-langchain-integration/template/tsconfig.cjs.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"module": "commonjs",
"declaration": false
},
"exclude": ["node_modules", "dist", "docs", "**/tests"]
}
"exclude": [
"node_modules",
"dist",
"docs",
"**/tests"
]
}
20 changes: 15 additions & 5 deletions libs/create-langchain-integration/template/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@
"outDir": "../dist",
"rootDir": "./src",
"target": "ES2021",
"lib": ["ES2021", "ES2022.Object", "DOM"],
"module": "ES2020",
"lib": [
"ES2021",
"ES2022.Object",
"DOM"
],
"module": "NodeNext",
"moduleResolution": "nodenext",
"esModuleInterop": true,
"declaration": true,
Expand All @@ -18,6 +22,12 @@
"allowJs": true,
"strict": true
},
"include": ["src/**/*"],
"exclude": ["node_modules", "dist", "docs"]
}
"include": [
"src/**/*"
],
"exclude": [
"node_modules",
"dist",
"docs"
]
}
16 changes: 12 additions & 4 deletions libs/create-langchain-integration/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@
"outDir": "./dist",
"rootDir": "./",
"target": "ES2021",
"lib": ["ES2021", "ES2022.Object", "DOM"],
"module": "ES2020",
"lib": [
"ES2021",
"ES2022.Object",
"DOM"
],
"module": "NodeNext",
"moduleResolution": "nodenext",
"esModuleInterop": true,
"declaration": true,
Expand All @@ -19,5 +23,9 @@
"strict": true,
"resolveJsonModule": true
},
"exclude": ["node_modules", "dist", "template"]
}
"exclude": [
"node_modules",
"dist",
"template"
]
}
2 changes: 1 addition & 1 deletion libs/langchain-anthropic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"release-it": "^15.10.1",
"rimraf": "^5.0.1",
"ts-jest": "^29.1.0",
"typescript": "~5.1.6"
"typescript": "^5.4.5"
},
"publishConfig": {
"access": "public"
Expand Down
1 change: 0 additions & 1 deletion libs/langchain-anthropic/tsconfig.cjs.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"module": "commonjs",
"declaration": false
},
"exclude": [
Expand Down
4 changes: 2 additions & 2 deletions libs/langchain-anthropic/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"ES2022.Object",
"DOM"
],
"module": "ES2020",
"module": "NodeNext",
"moduleResolution": "nodenext",
"esModuleInterop": true,
"declaration": true,
Expand All @@ -30,4 +30,4 @@
"dist",
"docs"
]
}
}
2 changes: 1 addition & 1 deletion libs/langchain-aws/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"release-it": "^15.10.1",
"rollup": "^4.5.2",
"ts-jest": "^29.1.0",
"typescript": "<5.2.0",
"typescript": "^5.4.5",
"zod": "^3.22.4"
},
"publishConfig": {
Expand Down
10 changes: 7 additions & 3 deletions libs/langchain-aws/tsconfig.cjs.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"module": "commonjs",
"declaration": false
},
"exclude": ["node_modules", "dist", "docs", "**/tests"]
}
"exclude": [
"node_modules",
"dist",
"docs",
"**/tests"
]
}
20 changes: 15 additions & 5 deletions libs/langchain-aws/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@
"outDir": "../dist",
"rootDir": "./src",
"target": "ES2021",
"lib": ["ES2021", "ES2022.Object", "DOM"],
"module": "ES2020",
"lib": [
"ES2021",
"ES2022.Object",
"DOM"
],
"module": "NodeNext",
"moduleResolution": "nodenext",
"esModuleInterop": true,
"declaration": true,
Expand All @@ -18,6 +22,12 @@
"allowJs": true,
"strict": true
},
"include": ["src/**/*"],
"exclude": ["node_modules", "dist", "docs"]
}
"include": [
"src/**/*"
],
"exclude": [
"node_modules",
"dist",
"docs"
]
}
2 changes: 1 addition & 1 deletion libs/langchain-azure-dynamic-sessions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"release-it": "^15.10.1",
"rollup": "^4.5.2",
"ts-jest": "^29.1.0",
"typescript": "<5.2.0"
"typescript": "^5.4.5"
},
"publishConfig": {
"access": "public"
Expand Down
10 changes: 7 additions & 3 deletions libs/langchain-azure-dynamic-sessions/tsconfig.cjs.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"module": "commonjs",
"declaration": false
},
"exclude": ["node_modules", "dist", "docs", "**/tests"]
}
"exclude": [
"node_modules",
"dist",
"docs",
"**/tests"
]
}
20 changes: 15 additions & 5 deletions libs/langchain-azure-dynamic-sessions/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@
"outDir": "../dist",
"rootDir": "./src",
"target": "ES2021",
"lib": ["ES2021", "ES2022.Object", "DOM"],
"module": "ES2020",
"lib": [
"ES2021",
"ES2022.Object",
"DOM"
],
"module": "NodeNext",
"moduleResolution": "nodenext",
"esModuleInterop": true,
"declaration": true,
Expand All @@ -18,6 +22,12 @@
"allowJs": true,
"strict": true
},
"include": ["src/**/*"],
"exclude": ["node_modules", "dist", "docs"]
}
"include": [
"src/**/*"
],
"exclude": [
"node_modules",
"dist",
"docs"
]
}
Loading
Loading