Update versions, add tsconfig

This commit is contained in:
jacoblee93
2024-09-03 10:00:11 -07:00
parent 774b544e9f
commit 31ff80bd9a
3 changed files with 49 additions and 5 deletions
+5 -1
View File
@@ -4,7 +4,11 @@
"dependencies": {
"@langchain/community": "^0.2.31",
"@langchain/core": "^0.2.31",
"@langchain/langgraph": "0.2.0",
"@langchain/langgraph": "^0.2.1",
"@langchain/openai": "^0.2.8"
},
"devDependencies": {
"@tsconfig/recommended": "^1.0.7",
"typescript": "^5.5.4"
}
}
+30
View File
@@ -0,0 +1,30 @@
{
"extends": "@tsconfig/recommended",
"compilerOptions": {
"outDir": "dist",
"lib": [
"ES2021",
"ES2022.Object",
"DOM"
],
"target": "ES2021",
"module": "nodenext",
"sourceMap": true,
"allowSyntheticDefaultImports": true,
"baseUrl": "./src",
"declaration": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"noUnusedParameters": true,
"useDefineForClassFields": true,
"strictPropertyInitialization": false
},
"exclude": [
"node_modules/",
"dist/",
"tests/"
],
"include": [
"./src"
]
}
+14 -4
View File
@@ -43,10 +43,10 @@
dependencies:
uuid "^10.0.0"
"@langchain/langgraph@0.2.0":
version "0.2.0"
resolved "https://registry.yarnpkg.com/@langchain/langgraph/-/langgraph-0.2.0.tgz#d41008e93033c4d0c0f5bd962703cae69181b28a"
integrity sha512-JuxOB7wRum8RtglkkQypPvfQDXzWOigNZ0yHobXLb8AJSZ+kmjcviOZZb4X3EiKEg5APCIVn1c0Gjm8bwRZIjA==
"@langchain/langgraph@^0.2.1":
version "0.2.1"
resolved "https://registry.yarnpkg.com/@langchain/langgraph/-/langgraph-0.2.1.tgz#2031c0a8a96cf0dbb711375d77098233f9f114b3"
integrity sha512-pn/V98XUuDivQYTI3bPF8MVpEBxaA2xr9pqSuTCtEtuBgqqqqCuzPyFWX9cRqfA+Yxf/DT4BAlnvQrZr03vAbA==
dependencies:
"@langchain/langgraph-checkpoint" "~0.0.4"
double-ended-queue "^2.1.0-0"
@@ -72,6 +72,11 @@
"@langchain/core" ">0.2.0 <0.3.0"
js-tiktoken "^1.0.12"
"@tsconfig/recommended@^1.0.7":
version "1.0.7"
resolved "https://registry.yarnpkg.com/@tsconfig/recommended/-/recommended-1.0.7.tgz#fdd95fc2c8d643c8b4a8ca45fd68eea248512407"
integrity sha512-xiNMgCuoy4mCL4JTywk9XFs5xpRUcKxtWEcMR6FNMtsgewYTIgIR+nvlP4A4iRCAzRsHMnPhvTRrzp4AGcRTEA==
"@types/node-fetch@^2.6.4":
version "2.6.11"
resolved "https://registry.yarnpkg.com/@types/node-fetch/-/node-fetch-2.6.11.tgz#9b39b78665dae0e82a08f02f4967d62c66f95d24"
@@ -382,6 +387,11 @@ tr46@~0.0.3:
resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a"
integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==
typescript@^5.5.4:
version "5.5.4"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.5.4.tgz#d9852d6c82bad2d2eda4fd74a5762a8f5909e9ba"
integrity sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==
undici-types@~5.26.4:
version "5.26.5"
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617"