Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

chore(deps): Upgrade to typescript 6.0.3 and use pnpm catalog (#14805)

Ben Bachem87fb8ab78508
diff --git a/ee/package.json b/ee/package.json
index f8d8e9374b..6b29022f3d 100644
--- a/ee/package.json
+++ b/ee/package.json
@@ -35,6 +35,6 @@
"@types/node": "^24.3.0",
"@typescript/native-preview": "7.0.0-dev.20260122.3",
"eslint": "^9.39.2",
- "typescript": "^5.7.2"
+ "typescript": "catalog:"
}
}
diff --git a/packages/eslint-plugin/package.json b/packages/eslint-plugin/package.json
index 5a67d6e914..a54d6d397c 100644
--- a/packages/eslint-plugin/package.json
+++ b/packages/eslint-plugin/package.json
@@ -15,7 +15,7 @@
"@typescript-eslint/parser": "^8.59.0",
"@typescript-eslint/rule-tester": "^8.59.0",
"@typescript-eslint/utils": "^8.59.0",
- "typescript": "^5.9.2",
+ "typescript": "catalog:",
"vitest": "^4.1.8"
}
}
diff --git a/packages/shared/package.json b/packages/shared/package.json
index 0126258c3b..0a49c3c3fa 100644
--- a/packages/shared/package.json
+++ b/packages/shared/package.json
@@ -86,12 +86,12 @@
"ch:drop": "bash clickhouse/scripts/drop.sh",
"ch:dev-tables": "bash clickhouse/scripts/dev-tables.sh",
"ch:reset": "pnpm run ch:down && pnpm run ch:up && pnpm run ch:seed && pnpm run ch:dev-tables",
- "ch:seed": "dotenv -e ../../.env -- ts-node -r dotenv/config --compiler-options '{\"module\":\"CommonJS\"}' scripts/seeder/seed-clickhouse.ts",
+ "ch:seed": "dotenv -e ../../.env -- tsx scripts/seeder/seed-clickhouse.ts",
"load:setup": "dotenv -e ../../.env -- tsx scripts/seeder/load-seed-clickhouse.ts",
"seed:scenario": "dotenv -e ../../.env -- tsx scripts/seeder/cli.ts"
},
"prisma": {
- "seed": "ts-node -r dotenv/config --compiler-options {\"module\":\"CommonJS\"} scripts/seeder/seed-postgres.ts"
+ "seed": "dotenv -e ../../.env -- tsx scripts/seeder/seed-postgres.ts"
},
"dependencies": {
"@ai-sdk/amazon-bedrock": "^5.0.8",
@@ -169,9 +169,9 @@
"eslint": "^9.39.2",
"prettier": "^3.8.3",
"prisma": "^6.19.3",
- "ts-node": "^10.9.2",
"tsc-watch": "^6.2.0",
- "typescript": "^5.7.2",
+ "tsx": "^4.20.5",
+ "typescript": "catalog:",
"vitest": "^4.1.8"
},
"peerDependencies": {
diff --git a/packages/shared/scripts/seeder/utils/framework-traces/README.md b/packages/shared/scripts/seeder/utils/framework-traces/README.md
index f59b14f6fc..f99d785718 100644
--- a/packages/shared/scripts/seeder/utils/framework-traces/README.md
+++ b/packages/shared/scripts/seeder/utils/framework-traces/README.md
@@ -7,7 +7,7 @@ Most of them stem from here: https://langfuse.com/integrations/frameworks/agno-a
1. Generate a trace
2. Download the trace from the UI using the download button. This **excludes** the `input`/`output`/`metadata` fields of the observations
3. In the trace, click `Log View (Beta)` and switch to `JSON` format. Click the copy all button and save this to a file in this folder.
-4. Run the script `npx ts-node merge-observations.ts trace-file.json observations.json trace-merged.json`
+4. Run the script `npx tsx merge-observations.ts trace-file.json observations.json trace-merged.json`
5. Leave the `merged` file in this folder. Name it with the date of the trace as displayed in the UI.
6. ???
7. Profit
diff --git a/packages/shared/scripts/seeder/utils/framework-traces/merge-observations.ts b/packages/shared/scripts/seeder/utils/framework-traces/merge-observations.ts
index 5bd376b105..c6904c7e79 100644
--- a/packages/shared/scripts/seeder/utils/framework-traces/merge-observations.ts
+++ b/packages/shared/scripts/seeder/utils/framework-traces/merge-observations.ts
@@ -4,10 +4,10 @@ import { readFileSync, writeFileSync } from "fs";
* Merges detailed observation data (input/output/metadata) into the base trace file.
* how to use? SEE README.md
*
- * Usage: ts-node merge-observations.ts <base-file> <detailed-obs-file> <output-file>
+ * Usage: tsx merge-observations.ts <base-file> <detailed-obs-file> <output-file>
*
* Example:
- * ts-node merge-observations.ts pydantic-base.json pydantic-details.json pydantic-ai.json
+ * tsx merge-observations.ts pydantic-base.json pydantic-details.json pydantic-ai.json
*
*/
@@ -15,7 +15,7 @@ const [baseFile, detailedFile, outputFile] = process.argv.slice(2);
if (!baseFile || !detailedFile || !outputFile) {
console.error(
- "Usage: ts-node merge-observations.ts <base-file> <detailed-obs-file> <output-file>",
+ "Usage: tsx merge-observations.ts <base-file> <detailed-obs-file> <output-file>",
);
process.exit(1);
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 69efe2be5f..b2894a6b78 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -27,6 +27,9 @@ catalogs:
'@aws-sdk/s3-request-presigner':
specifier: 3.1056.0
version: 3.1056.0
+ typescript:
+ specifier: ^6.0.3
+ version: 6.0.3
overrides:
esbuild: 0.28.1
@@ -112,8 +115,8 @@ importers:
specifier: ^9.39.2
version: 9.39.4([email protected])
typescript:
- specifier: ^5.7.2
- version: 5.9.2
+ specifier: 'catalog:'
+ version: 6.0.3
packages/config-eslint:
dependencies:
@@ -160,19 +163,19 @@ importers:
version: 24.3.0
'@typescript-eslint/parser':
specifier: ^8.59.0
'@typescript-eslint/rule-tester':
specifier: ^8.59.0
'@typescript-eslint/utils':
specifier: ^8.59.0
typescript:
- specifier: ^5.9.2
- version: 5.9.2
+ specifier: 'catalog:'
+ version: 6.0.3
vitest:
specifier: ^4.1.8
packages/shared:
dependencies:
@@ -259,7 +262,7 @@ importers:
version: 2.8.0(@opentelemetry/[email protected])
'@prisma/client':
specifier: ^6.19.3
'@react-email/components':
specifier: ^0.5.1
@@ -398,19 +401,19 @@ importers:
version: 3.8.3
prisma:
specifier: ^6.19.3
- ts-node:
- specifier: ^10.9.2
- version: 10.9.2(@types/[email protected])([email protected])
tsc-watch:
specifier: ^6.2.0
- version: 6.2.0([email protected])
+ version: 6.2.0([email protected])
+ tsx:
+ specifier: ^4.20.5
+ version: 4.20.5
typescript:
- specifier: ^5.7.2
- version: 5.9.2
+ specifier: 'catalog:'
+ version: 6.0.3
vitest:
specifier: ^4.1.8
web:
dependencies:
@@ -443,7 +446,7 @@ importers:
version: 3.1056.0
'@baselime/trpc-opentelemetry-middleware':
specifier: ^0.1.2
- version: 0.1.2(@opentelemetry/[email protected])(@trpc/[email protected]([email protected]))
+ version: 0.1.2(@opentelemetry/[email protected])(@trpc/[email protected]([email protected]))
'@codemirror/lang-javascript':
specifier: ^6.2.5
version: 6.2.5
@@ -512,7 +515,7 @@ importers:
version: 1.29.0(@cfworker/[email protected])([email protected])
'@next-auth/prisma-adapter':
specifier: ^1.0.7
'@opentelemetry/api':
specifier: ^1.9.1
version: 1.9.1
@@ -635,7 +638,7 @@ importers:
'@t3-oss/env-nextjs':
specifier: ^0.11.1
'@tailwindcss/container-queries':
specifier: ^0.1.1
version: 0.1.1([email protected])
@@ -653,16 +656,16 @@ importers:
version: 5.10.3
'@trpc/client':
specifier: ^11.13.4
'@trpc/next':
specifier: ^11.13.4
'@trpc/react-query':
specifier: ^11.13.4
'@trpc/server':
specifier: ^11.13.4
- version: 11.13.4([email protected])
+ version: 11.13.4([email protected])
'@uiw/codemirror-themes':
specifier: ^4.23.7
version: 4.23.7(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])
@@ -779,7 +782,7 @@ importers:
version: 2.4.1([email protected])
prisma:
specifier: ^6.19.3
protobufjs:
specifier: 7.6.3
version: 7.6.3
@@ -888,7 +891,7 @@ importers:
'@storybook/nextjs-vite':
specifier: 10.3.6
'@tailwindcss/forms':
specifier: ^0.5.11
version: 0.5.11([email protected])
@@ -945,7 +948,7 @@ importers:
'@vitest/browser-playwright':
specifier: 4.1.8
dotenv:
specifier: ^16.6.1
version: 16.6.1
@@ -960,13 +963,13 @@ importers:
version: 9.39.4([email protected])
eslint-config-next:
specifier: 16.2.9
eslint-plugin-storybook:
specifier: 10.3.6
eslint-plugin-tailwindcss:
specifier: 4.0.2
jsdom:
specifier: ^26.1.0
version: 26.1.0
@@ -989,17 +992,17 @@ importers:
specifier: ^4.2.2
version: 4.2.2
typescript:
- specifier: ^5.7.2
- version: 5.9.2
+ specifier: 'catalog:'
+ version: 6.0.3
vite:
specifier: ^7.3.5
vite-tsconfig-paths:
specifier: ^6.1.1
vitest:
specifier: ^4.1.8
wait-for-expect:
specifier: ^3.0.2
version: 3.0.2
@@ -1162,25 +1165,22 @@ importers:
version: 10.6.2
msw:
specifier: ^2.6.5
- version: 2.6.5(@types/[email protected])([email protected])
+ version: 2.6.5(@types/[email protected])([email protected])
prettier:
specifier: ^3.8.3
version: 3.8.3
- ts-node:
- specifier: ^10.9.2
- version: 10.9.2(@types/[email protected])([email protected])
tsc-watch:
specifier: ^6.2.0
- version: 6.2.0([email protected])
+ version: 6.2.0([email protected])
tsx:
specifier: ^4.20.5
version: 4.20.5
typescript:
- specifier: ^5.7.2
- version: 5.9.2
+ specifier: 'catalog:'
+ version: 6.0.3
vitest:
specifier: ^4.1.8
wait-for-expect:
specifier: ^3.0.2
version: 3.0.2
@@ -1957,10 +1957,6 @@ packages:
engines: {node: '>=18'}
deprecated: Use @copilotkit/shared instead.
- '@cspotcode/[email protected]':
- resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==}
- engines: {node: '>=12'}
-
'@csstools/[email protected]':
resolution: {integrity: sha512-S11EXWJyy0Mz5SYvRmY8nJYTFFd1LCNV+7cXyAgQtOOuzb4EsgfqDufL+9esx72/eLhsRdGZwaldu/h+E4t4BA==}
engines: {node: '>=18'}
@@ -2798,9 +2794,6 @@ packages:
'@jridgewell/[email protected]':
resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==}
- '@jridgewell/[email protected]':
- resolution: {integrity: sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==}
-
'@js-sdsl/[email protected]':
resolution: {integrity: sha512-iUKgm52T8HOE/makSxjqoWhe95ZJA1/G1sYsGev2JDKUSS14KAgg1LHb+Ba+IPow0xflbnSkOsZcO08C7w1gYw==}
@@ -5635,18 +5628,6 @@ packages:
peerDependencies:
typescript: '>=5.7.2'
- '@tsconfig/[email protected]':
- resolution: {integrity: sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==}
-
- '@tsconfig/[email protected]':
- resolution: {integrity: sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==}
-
- '@tsconfig/[email protected]':
- resolution: {integrity: sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==}
-
- '@tsconfig/[email protected]':
- resolution: {integrity: sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==}
-
resolution: {integrity: sha512-9f27peFu16ur8c0v9nUFUEyBnbKuuFsUTjHFWfmwGfzySBXbHwzU44QhZon6Mznz0cHsIr3984NQj/bVrnGSRw==}
cpu: [x64]
@@ -6442,10 +6423,6 @@ packages:
peerDependencies:
acorn: ^6.0.0 || ^7.0.0 || ^8.0.0
- resolution: {integrity: sha512-cjkyv4OtNCIeqhHrfS81QWXoCBPExR/J62oyEqepVw8WaQeSqpW2uhuLPh1m9eWhDuOo/jUXVTlifvesOWp/4A==}
- engines: {node: '>=0.4.0'}
-
resolution: {integrity: sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw==}
engines: {node: '>=0.4.0'}
@@ -6527,9 +6504,6 @@ packages:
resolution: {integrity: sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==}
engines: {node: '>=12'}
- resolution: {integrity: sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==}
-
resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==}
@@ -7031,9 +7005,6 @@ packages:
resolution: {integrity: sha512-AzlgcsCbUMymkADOJtQm3wO9S3ltPfYOFD5033keQn9NJzIbtnZj+UdBJe7DYml/8TdbtHJW3j58SOnKhWY/5g==}
- resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==}
-
resolution: {integrity: sha512-VQ2MBenTq1fWZUH9DJNGti7kKv6EeAuYr3cLwxUWhIu1baTaXh4Ib5W2CqHVqib4/MqbYGJqiL3Zb8GJZr3l4g==}
@@ -7413,10 +7384,6 @@ packages:
resolution: {integrity: sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==}
- resolution: {integrity: sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==}
- engines: {node: '>=0.3.1'}
-
resolution: {integrity: sha512-DPi0FmjiSU5EvQV0++GFDOJ9ASQUVFh5kD+OzOnYdi7n3Wpm9hWWGfB/O2blfHcMVTL5WkQXSnRiK9makhrcnw==}
engines: {node: '>=0.3.1'}
@@ -9181,9 +9148,6 @@ packages:
resolution: {integrity: sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==}
engines: {node: '>=10'}
- resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==}
-
resolution: {integrity: sha512-CkYQrPYZfWnu/DAmVCpTSX/xHpKZ80eKh2lAkyA6AJTef6bW+6JpbQZN5rofum7da+SyN1bi5ctTm+lTfcCW3g==}
@@ -11229,20 +11193,6 @@ packages:
resolution: {integrity: sha512-q5W7tVM71e2xjHZTlgfTDoPF/SmqKG5hddq9SzR49CH2hayqRKJtQ4mtRlSxKaJlR/+9rEM+mnBHf7I2/BQcpQ==}
engines: {node: '>=6.10'}
- resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==}
- hasBin: true
- peerDependencies:
- '@swc/core': '>=1.2.50'
- '@swc/wasm': '>=1.2.50'
- '@types/node': '*'
- typescript: '>=2.7'
- peerDependenciesMeta:
- '@swc/core':
- optional: true
- '@swc/wasm':
- optional: true
-
resolution: {integrity: sha512-2LBhf9kjKXnz7KQ/puLHlozMzzUNHAdYBNMkg3eksQJ9GBAgMg8czznM83T5PmsoUvDnXzfIeQn2lNcIYDr8LA==}
engines: {node: '>=12.12.0'}
@@ -11346,6 +11296,11 @@ packages:
engines: {node: '>=14.17'}
hasBin: true
+ resolution: {integrity: sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==}
+ engines: {node: '>=14.17'}
+ hasBin: true
+
resolution: {integrity: sha512-JFNbkD1Svwe0KvGi8GOeLcP4kAWQ609twvCdcHxq1oSL8svv39ZuSvajcD8B+5D0eL4+s1Is2D/O6KN3qcTeRA==}
@@ -11516,9 +11471,6 @@ packages:
deprecated: uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028).
hasBin: true
- resolution: {integrity: sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==}
-
resolution: {integrity: sha512-TQ5pAGhd5whStmqWvYF4OjQROlmv9SMFVt37qoCBdqRffuuklWYQlCNnEs2ZaIBD1kZRNnikiZOS1eqgkar0iw==}
engines: {node: '>= 0.10'}
@@ -11838,10 +11790,6 @@ packages:
resolution: {integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==}
engines: {node: '>=12'}
- resolution: {integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==}
- engines: {node: '>=6'}
-
resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==}
engines: {node: '>=10'}
@@ -13069,10 +13017,10 @@ snapshots:
'@babel/helper-string-parser': 7.29.7
'@babel/helper-validator-identifier': 7.29.7
dependencies:
'@opentelemetry/api': 1.9.1
- '@trpc/server': 11.13.4([email protected])
+ '@trpc/server': 11.13.4([email protected])
flat: 6.0.1
'@bcoe/[email protected]': {}
@@ -13276,10 +13224,6 @@ snapshots:
partial-json: 0.1.7
uuid: 11.1.1
- '@cspotcode/[email protected]':
- dependencies:
- '@jridgewell/trace-mapping': 0.3.9
-
'@csstools/[email protected]': {}
'@csstools/[email protected](@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])':
@@ -14006,13 +13950,13 @@ snapshots:
'@jedmao/[email protected]': {}
dependencies:
glob: 10.5.0
- react-docgen-typescript: 2.4.0([email protected])
+ react-docgen-typescript: 2.4.0([email protected])
optionalDependencies:
- typescript: 5.9.2
+ typescript: 6.0.3
'@jridgewell/[email protected]':
dependencies:
@@ -14038,11 +13982,6 @@ snapshots:
'@jridgewell/resolve-uri': 3.1.2
'@jridgewell/sourcemap-codec': 1.5.5
- '@jridgewell/[email protected]':
- dependencies:
- '@jridgewell/resolve-uri': 3.1.2
- '@jridgewell/sourcemap-codec': 1.5.5
-
'@js-sdsl/[email protected]': {}
@@ -14432,9 +14371,9 @@ snapshots:
'@tybys/wasm-util': 0.10.3
optional: true
dependencies:
next-auth: 4.24.14(patch_hash=298683aaa31566643f1899990a065b342ad777d8613f50a25ddc44dd46fb5b4d)([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))([email protected])
'@next/[email protected]': {}
@@ -15123,10 +15062,10 @@ snapshots:
'@posthog/[email protected]': {}
optionalDependencies:
- typescript: 5.9.2
+ typescript: 6.0.3
dependencies:
@@ -16607,10 +16546,10 @@ snapshots:
optionalDependencies:
'@vitest/runner': 4.1.8
transitivePeerDependencies:
- react
- react-dom
@@ -16643,20 +16582,20 @@ snapshots:
react: 19.2.4
react-dom: 19.2.4([email protected])
dependencies:
react: 19.2.4
react-dom: 19.2.4([email protected])
styled-jsx: 5.1.6(@babel/[email protected])([email protected])
optionalDependencies:
- typescript: 5.9.2
+ typescript: 6.0.3
transitivePeerDependencies:
- '@babel/core'
- babel-plugin-macros
@@ -16671,12 +16610,12 @@ snapshots:
react-dom: 19.2.4([email protected])
dependencies:
'@rollup/pluginutils': 5.3.0([email protected])
empathic: 2.0.0
magic-string: 0.30.21
react: 19.2.4
@@ -16693,17 +16632,17 @@ snapshots:
- typescript
- webpack
dependencies:
'@storybook/global': 5.0.0
react: 19.2.4
react-docgen: 8.0.3
- react-docgen-typescript: 2.4.0([email protected])
+ react-docgen-typescript: 2.4.0([email protected])
react-dom: 19.2.4([email protected])
optionalDependencies:
- typescript: 5.9.2
+ typescript: 6.0.3
transitivePeerDependencies:
- supports-color
@@ -16711,18 +16650,18 @@ snapshots:
dependencies:
tslib: 2.8.1
dependencies:
zod: 4.3.6
optionalDependencies:
- typescript: 5.9.2
+ typescript: 6.0.3
dependencies:
- '@t3-oss/env-core': 0.11.1([email protected])([email protected])
+ '@t3-oss/env-core': 0.11.1([email protected])([email protected])
zod: 4.3.6
optionalDependencies:
- typescript: 5.9.2
+ typescript: 6.0.3
'@tabby_ai/[email protected]': {}
@@ -16877,42 +16816,34 @@ snapshots:
'@tootallnate/[email protected]': {}
dependencies:
- '@trpc/server': 11.13.4([email protected])
- typescript: 5.9.2
+ '@trpc/server': 11.13.4([email protected])
+ typescript: 6.0.3
dependencies:
- '@trpc/client': 11.13.4(@trpc/[email protected]([email protected]))([email protected])
- '@trpc/server': 11.13.4([email protected])
+ '@trpc/client': 11.13.4(@trpc/[email protected]([email protected]))([email protected])
+ '@trpc/server': 11.13.4([email protected])
react: 19.2.4
react-dom: 19.2.4([email protected])
- typescript: 5.9.2
+ typescript: 6.0.3
optionalDependencies:
'@tanstack/react-query': 5.85.1([email protected])
dependencies:
'@tanstack/react-query': 5.85.1([email protected])
- '@trpc/client': 11.13.4(@trpc/[email protected]([email protected]))([email protected])
- '@trpc/server': 11.13.4([email protected])
+ '@trpc/client': 11.13.4(@trpc/[email protected]([email protected]))([email protected])
+ '@trpc/server': 11.13.4([email protected])
react: 19.2.4
- typescript: 5.9.2
+ typescript: 6.0.3
dependencies:
- typescript: 5.9.2
-
- '@tsconfig/[email protected]': {}
-
- '@tsconfig/[email protected]': {}
-
- '@tsconfig/[email protected]': {}
-
- '@tsconfig/[email protected]': {}
+ typescript: 6.0.3
optional: true
@@ -17284,6 +17215,22 @@ snapshots:
transitivePeerDependencies:
- supports-color
+ dependencies:
+ '@eslint-community/regexpp': 4.12.2
+ '@typescript-eslint/parser': 8.58.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/scope-manager': 8.58.0
+ '@typescript-eslint/type-utils': 8.58.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/utils': 8.58.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/visitor-keys': 8.58.0
+ eslint: 9.39.4([email protected])
+ ignore: 7.0.5
+ natural-compare: 1.4.0
+ ts-api-utils: 2.5.0([email protected])
+ typescript: 6.0.3
+ transitivePeerDependencies:
+ - supports-color
+
dependencies:
'@typescript-eslint/scope-manager': 8.58.0
@@ -17296,15 +17243,27 @@ snapshots:
transitivePeerDependencies:
- supports-color
+ dependencies:
+ '@typescript-eslint/scope-manager': 8.58.0
+ '@typescript-eslint/types': 8.58.0
+ '@typescript-eslint/typescript-estree': 8.58.0([email protected])
+ '@typescript-eslint/visitor-keys': 8.58.0
+ debug: 4.4.3
+ eslint: 9.39.4([email protected])
+ typescript: 6.0.3
+ transitivePeerDependencies:
+ - supports-color
+
dependencies:
'@typescript-eslint/scope-manager': 8.59.0
'@typescript-eslint/types': 8.59.0
- '@typescript-eslint/typescript-estree': 8.59.0([email protected])
+ '@typescript-eslint/typescript-estree': 8.59.0([email protected])
'@typescript-eslint/visitor-keys': 8.59.0
debug: 4.4.3
eslint: 9.39.4([email protected])
- typescript: 5.9.2
+ typescript: 6.0.3
transitivePeerDependencies:
- supports-color
@@ -17317,20 +17276,29 @@ snapshots:
transitivePeerDependencies:
- supports-color
- '@typescript-eslint/[email protected]([email protected])':
+ '@typescript-eslint/[email protected]([email protected])':
dependencies:
- '@typescript-eslint/tsconfig-utils': 8.59.0([email protected])
+ '@typescript-eslint/tsconfig-utils': 8.59.0([email protected])
'@typescript-eslint/types': 8.59.0
debug: 4.4.3
- typescript: 5.9.2
+ typescript: 6.0.3
transitivePeerDependencies:
- supports-color
+ '@typescript-eslint/[email protected]([email protected])':
dependencies:
- '@typescript-eslint/parser': 8.59.0([email protected]([email protected]))([email protected])
- '@typescript-eslint/typescript-estree': 8.59.0([email protected])
- '@typescript-eslint/utils': 8.59.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/tsconfig-utils': 8.59.0([email protected])
+ '@typescript-eslint/types': 8.59.0
+ debug: 4.4.3
+ typescript: 6.0.3
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@typescript-eslint/parser': 8.59.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/typescript-estree': 8.59.0([email protected])
+ '@typescript-eslint/utils': 8.59.0([email protected]([email protected]))([email protected])
ajv: 6.15.0
eslint: 9.39.4([email protected])
json-stable-stringify-without-jsonify: 1.0.1
@@ -17354,10 +17322,18 @@ snapshots:
dependencies:
typescript: 5.9.2
+ '@typescript-eslint/[email protected]([email protected])':
+ dependencies:
+ typescript: 6.0.3
+
'@typescript-eslint/[email protected]([email protected])':
dependencies:
typescript: 5.9.2
+ '@typescript-eslint/[email protected]([email protected])':
+ dependencies:
+ typescript: 6.0.3
+
dependencies:
'@typescript-eslint/types': 8.58.0
@@ -17370,6 +17346,18 @@ snapshots:
transitivePeerDependencies:
- supports-color
+ dependencies:
+ '@typescript-eslint/types': 8.58.0
+ '@typescript-eslint/typescript-estree': 8.58.0([email protected])
+ '@typescript-eslint/utils': 8.58.0([email protected]([email protected]))([email protected])
+ debug: 4.4.3
+ eslint: 9.39.4([email protected])
+ ts-api-utils: 2.5.0([email protected])
+ typescript: 6.0.3
+ transitivePeerDependencies:
+ - supports-color
+
'@typescript-eslint/[email protected]': {}
'@typescript-eslint/[email protected]': {}
@@ -17389,18 +17377,33 @@ snapshots:
transitivePeerDependencies:
- supports-color
- '@typescript-eslint/[email protected]([email protected])':
+ '@typescript-eslint/[email protected]([email protected])':
dependencies:
- '@typescript-eslint/project-service': 8.59.0([email protected])
- '@typescript-eslint/tsconfig-utils': 8.59.0([email protected])
+ '@typescript-eslint/project-service': 8.58.0([email protected])
+ '@typescript-eslint/tsconfig-utils': 8.58.0([email protected])
+ '@typescript-eslint/types': 8.58.0
+ '@typescript-eslint/visitor-keys': 8.58.0
+ debug: 4.4.3
+ minimatch: 10.2.5
+ semver: 7.8.4
+ tinyglobby: 0.2.17
+ ts-api-utils: 2.5.0([email protected])
+ typescript: 6.0.3
+ transitivePeerDependencies:
+ - supports-color
+
+ '@typescript-eslint/[email protected]([email protected])':
+ dependencies:
+ '@typescript-eslint/project-service': 8.59.0([email protected])
+ '@typescript-eslint/tsconfig-utils': 8.59.0([email protected])
'@typescript-eslint/types': 8.59.0
'@typescript-eslint/visitor-keys': 8.59.0
debug: 4.4.3
minimatch: 10.2.5
semver: 7.8.4
tinyglobby: 0.2.17
- ts-api-utils: 2.5.0([email protected])
- typescript: 5.9.2
+ ts-api-utils: 2.5.0([email protected])
+ typescript: 6.0.3
transitivePeerDependencies:
- supports-color
@@ -17415,14 +17418,25 @@ snapshots:
transitivePeerDependencies:
- supports-color
+ dependencies:
+ '@eslint-community/eslint-utils': 4.9.1([email protected]([email protected]))
+ '@typescript-eslint/scope-manager': 8.58.0
+ '@typescript-eslint/types': 8.58.0
+ '@typescript-eslint/typescript-estree': 8.58.0([email protected])
+ eslint: 9.39.4([email protected])
+ typescript: 6.0.3
+ transitivePeerDependencies:
+ - supports-color
+
dependencies:
'@eslint-community/eslint-utils': 4.9.1([email protected]([email protected]))
'@typescript-eslint/scope-manager': 8.59.0
'@typescript-eslint/types': 8.59.0
- '@typescript-eslint/typescript-estree': 8.59.0([email protected])
+ '@typescript-eslint/typescript-estree': 8.59.0([email protected])
eslint: 9.39.4([email protected])
- typescript: 5.9.2
+ typescript: 6.0.3
transitivePeerDependencies:
- supports-color
@@ -17590,29 +17604,29 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
playwright: 1.57.0
tinyrainbow: 3.1.0
transitivePeerDependencies:
- bufferutil
- msw
- utf-8-validate
- vite
dependencies:
'@blazediff/core': 1.9.1
'@vitest/utils': 4.1.8
magic-string: 0.30.21
pngjs: 7.0.0
sirv: 3.0.2
tinyrainbow: 3.1.0
ws: 8.21.0
transitivePeerDependencies:
- bufferutil
@@ -17632,9 +17646,9 @@ snapshots:
obug: 2.1.1
std-env: 4.0.0
tinyrainbow: 3.1.0
optionalDependencies:
'@vitest/[email protected]':
dependencies:
@@ -17653,13 +17667,13 @@ snapshots:
chai: 6.2.2
tinyrainbow: 3.1.0
dependencies:
'@vitest/spy': 4.1.8
estree-walker: 3.0.3
magic-string: 0.30.21
optionalDependencies:
'@vitest/[email protected]':
@@ -17841,8 +17855,6 @@ snapshots:
dependencies:
acorn: 8.16.0
-
@@ -17913,8 +17925,6 @@ snapshots:
-
dependencies:
sprintf-js: 1.0.3
@@ -18474,8 +18484,6 @@ snapshots:
dependencies:
layout-base: 2.0.1
-
@@ -18853,8 +18861,6 @@ snapshots:
dependencies:
dequal: 2.0.3
-
@@ -19154,7 +19160,7 @@ snapshots:
- eslint-plugin-import-x
- supports-color
dependencies:
'@next/eslint-plugin-next': 16.2.9
eslint: 9.39.4([email protected])
@@ -19165,9 +19171,9 @@ snapshots:
eslint-plugin-react: 7.37.5([email protected]([email protected]))
eslint-plugin-react-hooks: 7.0.1([email protected]([email protected]))
globals: 16.4.0
optionalDependencies:
- typescript: 5.9.2
+ typescript: 6.0.3
transitivePeerDependencies:
- '@typescript-eslint/parser'
- eslint-import-resolver-webpack
@@ -19328,25 +19334,25 @@ snapshots:
string.prototype.matchall: 4.0.12
string.prototype.repeat: 1.0.0
dependencies:
- '@typescript-eslint/utils': 8.59.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/utils': 8.59.0([email protected]([email protected]))([email protected])
eslint: 9.39.4([email protected])
transitivePeerDependencies:
- supports-color
- typescript
dependencies:
- '@typescript-eslint/utils': 8.59.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/utils': 8.59.0([email protected]([email protected]))([email protected])
postcss: 8.5.13
postcss-nested: 7.0.2([email protected])
synckit: 0.11.13
tailwind-api-utils: 1.0.3([email protected])
tailwindcss: 4.2.2
optionalDependencies:
- typescript: 5.9.2
+ typescript: 6.0.3
transitivePeerDependencies:
- eslint
- supports-color
@@ -20952,8 +20958,6 @@ snapshots:
dependencies:
semver: 7.8.4
-
@@ -21433,7 +21437,7 @@ snapshots:
optionalDependencies:
msgpackr-extract: 3.0.3
dependencies:
'@bundled-es-modules/cookie': 2.0.1
'@bundled-es-modules/statuses': 1.0.1
@@ -21454,7 +21458,7 @@ snapshots:
type-fest: 4.27.0
yargs: 17.7.2
optionalDependencies:
- typescript: 5.9.2
+ typescript: 6.0.3
transitivePeerDependencies:
- '@types/node'
@@ -22219,12 +22223,12 @@ snapshots:
clsx: 2.1.1
react: 19.2.4
dependencies:
'@prisma/config': 6.19.3([email protected])
'@prisma/engines': 6.19.3
optionalDependencies:
- typescript: 5.9.2
+ typescript: 6.0.3
transitivePeerDependencies:
- magicast
@@ -22351,9 +22355,9 @@ snapshots:
date-fns-jalali: 4.1.0-0
react: 19.2.4
dependencies:
- typescript: 5.9.2
+ typescript: 6.0.3
dependencies:
@@ -23467,37 +23471,23 @@ snapshots:
dependencies:
typescript: 5.9.2
-
dependencies:
- '@cspotcode/source-map-support': 0.8.1
- '@tsconfig/node10': 1.0.9
- '@tsconfig/node12': 1.0.11
- '@tsconfig/node14': 1.0.3
- '@tsconfig/node16': 1.0.4
- '@types/node': 24.3.0
- acorn: 8.16.0
- acorn-walk: 8.3.2
- arg: 4.1.3
- create-require: 1.1.1
- diff: 4.0.2
- make-error: 1.3.6
- typescript: 5.9.2
- v8-compile-cache-lib: 3.0.1
- yn: 3.1.1
+ typescript: 6.0.3
+
dependencies:
cross-spawn: 7.0.6
node-cleanup: 2.1.2
ps-tree: 1.2.0
string-argv: 0.3.2
- typescript: 5.9.2
+ typescript: 6.0.3
optionalDependencies:
- typescript: 5.9.2
+ typescript: 6.0.3
dependencies:
@@ -23610,8 +23600,21 @@ snapshots:
transitivePeerDependencies:
- supports-color
+ dependencies:
+ '@typescript-eslint/parser': 8.58.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/typescript-estree': 8.58.0([email protected])
+ '@typescript-eslint/utils': 8.58.0([email protected]([email protected]))([email protected])
+ eslint: 9.39.4([email protected])
+ typescript: 6.0.3
+ transitivePeerDependencies:
+ - supports-color
+
+
@@ -23775,8 +23778,6 @@ snapshots:
-
@@ -23828,7 +23829,7 @@ snapshots:
d3-time: 3.1.0
d3-timer: 3.0.1
dependencies:
'@next/env': 16.0.0
image-size: 2.0.2
@@ -23838,27 +23839,27 @@ snapshots:
ts-dedent: 2.2.0
transitivePeerDependencies:
- supports-color
- typescript
dependencies:
debug: 4.4.3
globrex: 0.1.2
- tsconfck: 3.1.6([email protected])
+ tsconfck: 3.1.6([email protected])
optionalDependencies:
transitivePeerDependencies:
- supports-color
- typescript
dependencies:
debug: 4.4.3
globrex: 0.1.2
- tsconfck: 3.1.6([email protected])
+ tsconfck: 3.1.6([email protected])
transitivePeerDependencies:
- supports-color
@@ -23881,10 +23882,10 @@ snapshots:
tsx: 4.20.5
yaml: 2.9.0
dependencies:
'@vitest/expect': 4.1.8
'@vitest/pretty-format': 4.1.8
'@vitest/runner': 4.1.8
'@vitest/snapshot': 4.1.8
@@ -23906,7 +23907,7 @@ snapshots:
optionalDependencies:
'@opentelemetry/api': 1.9.1
'@types/node': 24.3.0
'@vitest/coverage-v8': 4.1.8(@vitest/[email protected])([email protected])
jsdom: 26.1.0
transitivePeerDependencies:
@@ -24135,8 +24136,6 @@ snapshots:
y18n: 5.0.8
yargs-parser: 21.1.1
-
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index ad2b7c2d58..a5c806a2aa 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -12,6 +12,7 @@ catalog:
"@aws-sdk/credential-providers": 3.1056.0
"@aws-sdk/lib-storage": 3.1056.0
"@aws-sdk/s3-request-presigner": 3.1056.0
+ typescript: ^6.0.3
# 5 day delay for new dep upgrades to reduce supply chain attack risk
minimumReleaseAge: 7200
# the exclusions are temporary so that we can set the 5 day limit without downgrading packages.
diff --git a/web/package.json b/web/package.json
index 2c8c4c5d64..bd264cf5bf 100644
--- a/web/package.json
+++ b/web/package.json
@@ -222,7 +222,7 @@
"raw-loader": "^4.0.2",
"storybook": "10.3.6",
"tailwindcss": "^4.2.2",
- "typescript": "^5.7.2",
+ "typescript": "catalog:",
"vite": "^7.3.5",
"vite-tsconfig-paths": "^6.1.1",
"vitest": "^4.1.8",
diff --git a/worker/package.json b/worker/package.json
index ef4ae12f98..a5546a6ce0 100644
--- a/worker/package.json
+++ b/worker/package.json
@@ -84,10 +84,9 @@
"google-auth-library": "^10.6.2",
"msw": "^2.6.5",
"prettier": "^3.8.3",
- "ts-node": "^10.9.2",
"tsc-watch": "^6.2.0",
"tsx": "^4.20.5",
- "typescript": "^5.7.2",
+ "typescript": "catalog:",
"vitest": "^4.1.8",
"wait-for-expect": "^3.0.2"
}
diff --git a/worker/src/backgroundMigrations/README.md b/worker/src/backgroundMigrations/README.md
index 33bfa3f3ca..327217b341 100644
--- a/worker/src/backgroundMigrations/README.md
+++ b/worker/src/backgroundMigrations/README.md
@@ -9,10 +9,10 @@ A good threshold is something that takes more than 5 minutes to run or is not an
You can execute a background migration locally using
```bash
$ cd worker
-$ dotenv -e ../.env -- npx ts-node src/backgroundMigrations/<script-name>.ts
+$ dotenv -e ../.env -- npx tsx src/backgroundMigrations/<script-name>.ts
# Example
-$ dotenv -e ../.env -- npx ts-node src/backgroundMigrations/addGenerationsCostBackfill.ts
+$ dotenv -e ../.env -- npx tsx src/backgroundMigrations/addGenerationsCostBackfill.ts
```
## Requirements
diff --git a/worker/src/scripts/convertDefaultModelPricesToTiers.ts b/worker/src/scripts/convertDefaultModelPricesToTiers.ts
index 52358dfe3b..76eacbc816 100644
--- a/worker/src/scripts/convertDefaultModelPricesToTiers.ts
+++ b/worker/src/scripts/convertDefaultModelPricesToTiers.ts
@@ -1,4 +1,4 @@
-#!/usr/bin/env ts-node
+#!/usr/bin/env -S tsx
/**
* Utility script to convert old default-model-prices.json format to new tiered pricing format.
*
@@ -26,7 +26,7 @@
* }
*
* USAGE:
- * pnpm --filter=worker exec ts-node src/scripts/convertDefaultModelPricesToTiers.ts
+ * pnpm --filter=worker exec tsx src/scripts/convertDefaultModelPricesToTiers.ts
*/
import * as fs from "fs";
diff --git a/worker/src/scripts/verifyClickhouseRecords/README.md b/worker/src/scripts/verifyClickhouseRecords/README.md
index eca51ad697..3b08b732a2 100644
--- a/worker/src/scripts/verifyClickhouseRecords/README.md
+++ b/worker/src/scripts/verifyClickhouseRecords/README.md
@@ -22,7 +22,7 @@ export CLICKHOUSE_PASSWORD=
cd worker/src/scripts/verifyClickhouseRecords
-npx ts-node index.ts
+npx tsx index.ts
```
The script writes the objects and deltas into the `output` folder within the current working directory.
@@ -33,4 +33,4 @@ Use it to validate whether Clickhouse and Postgres produce equal results.
### Numeric values
Postgres seems to retain a higher precision for floating point numeric numbers.
-In the object comparisons this frequently leads to false positives in the 10^-8 range.
\ No newline at end of file
+In the object comparisons this frequently leads to false positives in the 10^-8 range.
diff --git a/worker/tsconfig.json b/worker/tsconfig.json
index dac8a0642c..f88eabc0db 100644
--- a/worker/tsconfig.json
+++ b/worker/tsconfig.json
@@ -7,11 +7,11 @@
"declaration": false,
"declarationMap": false,
"outDir": "./dist",
+ "rootDir": "./src",
"target": "es2024",
"types": ["node"],
- "downlevelIteration": true,
"resolveJsonModule": true
},
- "include": ["."],
+ "include": ["src"],
"exclude": ["node_modules", "dist", "src/**/*.test.ts", "vitest.config.ts"]
}