Skip to content

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

chore: upgrade turborepo to 2.5.8 (#9337)

Nimar1d3ad1671042
diff --git a/package.json b/package.json
index 15b8bc1fe7..548b661297 100644
--- a/package.json
+++ b/package.json
@@ -40,7 +40,7 @@
"husky": "^9.1.7",
"prettier": "^3.6.2",
"release-it": "^19.0.4",
- "turbo": "^2.5.6"
+ "turbo": "^2.5.8"
},
"release-it": {
"git": {
diff --git a/packages/config-eslint/library.js b/packages/config-eslint/library.js
index 72dc89d60d..25564f9b03 100644
--- a/packages/config-eslint/library.js
+++ b/packages/config-eslint/library.js
@@ -2,10 +2,15 @@ const { resolve } = require("node:path");
const project = resolve(process.cwd(), "tsconfig.json");
+// Handle eslint-config-turbo's default export
+const turboConfig = require("eslint-config-turbo");
+const turboConfigToUse = turboConfig.default || turboConfig;
+
/** @type {import("eslint").Linter.Config} */
module.exports = {
- extends: ["eslint:recommended", "prettier", "eslint-config-turbo"],
- plugins: ["only-warn"],
+ // extends: ["eslint:recommended", "prettier"require().default],
+ extends: ["eslint:recommended", "prettier"],
+ plugins: ["only-warn", "turbo"],
globals: {
React: true,
JSX: true,
@@ -30,6 +35,7 @@ module.exports = {
rules: {
"no-redeclare": "off",
"import/order": "off",
+ ...(turboConfigToUse.rules || {}),
},
overrides: [
{
@@ -51,5 +57,6 @@ module.exports = {
],
},
},
+ ...(turboConfigToUse.overrides || []),
],
};
diff --git a/packages/config-eslint/next.js b/packages/config-eslint/next.js
index d3f04138be..3379c473b4 100644
--- a/packages/config-eslint/next.js
+++ b/packages/config-eslint/next.js
@@ -2,6 +2,9 @@ const { resolve } = require("node:path");
const project = resolve(process.cwd(), "tsconfig.json");
+const turboConfig = require("eslint-config-turbo");
+const turboConfigToUse = turboConfig.default || turboConfig;
+
/*
* This is a custom ESLint configuration for use with
* Next.js apps.
@@ -16,7 +19,6 @@ module.exports = {
extends: [
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/strict-type-checked",
- "eslint-config-turbo",
],
rules: {
"@typescript-eslint/no-non-null-assertion": "off",
@@ -47,6 +49,7 @@ module.exports = {
ignorePatterns: ["node_modules/", "dist/"],
// add rules configurations here
rules: {
+ ...(turboConfigToUse.rules || {}),
"@typescript-eslint/consistent-type-imports": [
"warn",
{
diff --git a/packages/config-eslint/package.json b/packages/config-eslint/package.json
index 41efe44c82..7034282617 100644
--- a/packages/config-eslint/package.json
+++ b/packages/config-eslint/package.json
@@ -13,7 +13,7 @@
"@vercel/style-guide": "^6.0.0",
"eslint-config-next": "^14.2.15",
"eslint-config-prettier": "^9.1.0",
- "eslint-config-turbo": "^2.5.6",
+ "eslint-config-turbo": "^2.5.8",
"eslint-plugin-only-warn": "^1.1.0",
"typescript": "^5.7.2"
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index a3bc1d2b24..069b23cfc8 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -39,8 +39,8 @@ importers:
specifier: ^19.0.4
version: 19.0.4(@types/[email protected])
turbo:
- specifier: ^2.5.6
- version: 2.5.6
+ specifier: ^2.5.8
+ version: 2.5.8
ee:
dependencies:
@@ -58,7 +58,7 @@ importers:
next-auth:
specifier: ^4.24.11
zod:
specifier: ^3.25.62
version: 3.25.62
@@ -118,8 +118,8 @@ importers:
specifier: ^9.1.0
version: 9.1.0([email protected])
eslint-config-turbo:
- specifier: ^2.5.6
+ specifier: ^2.5.8
eslint-plugin-only-warn:
specifier: ^1.1.0
version: 1.1.0
@@ -238,7 +238,7 @@ importers:
version: 4.1.1
next-auth:
specifier: ^4.24.11
nodemailer:
specifier: ^6.9.15
version: 6.9.15
@@ -632,7 +632,7 @@ importers:
next-auth:
specifier: ^4.24.11
next-query-params:
specifier: ^5.1.0
@@ -6474,8 +6474,8 @@ packages:
resolution: {integrity: sha512-QGUGitqsc8ARjLdgAfxETDhRbJ0REsP6O3I96TAth/mVjh2cYzN2u+3AzPP3aVSm2FehEItaJw1xd+IGBXWeSw==}
- resolution: {integrity: sha512-eA7Ys/DGw+pnkWWSE/id29f2IcPHVoE8wxtvE5JdvD2V28VTDPy1yEeo11Guz0sJ4ZeGRcm3uaTcAqK1LXaphA==}
+ resolution: {integrity: sha512-ywt6i8FzvdgrrrGbr1jZVObnVv6adj+0if2/omv9cmR2oiZs30zL4DIyaptKcbOrBdOIc74QTMoJvSE2QHh5UQ==}
resolution: {integrity: sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==}
@@ -7407,8 +7407,8 @@ packages:
resolution: {integrity: sha512-uwwdN0TUHs8u6iRgN8vKeWZMRll4gBkz+QMqdS7DDe49uiK68/UX92lFb61oiFPrpYZNeZIqa4bA7O6Aiasnzg==}
- resolution: {integrity: sha512-ITxuoPfJu3lsNWUi2lBM2PaBPYgH3uqmxut5vmBxgYvyI4AlJ6P3Cai1O76mOrkJCBzq0IxWg/NtqOrpu/0gKA==}
+ resolution: {integrity: sha512-qKm55ic6nbEmagFlTFczML33rF90aU+WtrJ9MdTCThrcvDNdUHN4p6QfVN78U06ZmguqXIyMPyYhw2TrbDUwPQ==}
resolution: {integrity: sha512-+cYTcFB1QqD4j4LegwLfpCNxifb6dDFUAwk6RsLusCwIaZI6or2f+q8rs5tTB2YC53HhOlIbEaqHMAAC8IOIwA==}
@@ -7592,8 +7592,8 @@ packages:
eslint-plugin-n: '^15.0.0 || ^16.0.0 '
eslint-plugin-promise: ^6.0.0
- resolution: {integrity: sha512-1EV/UqdKE75st9q6y0MCxz7qp2v7RyGvbQsMLSuCz+VH8ScnSfmhd8FcAbqx3BshCy5IluujzMB6T5iCgL3/sA==}
+ resolution: {integrity: sha512-wzxmN7dJNFGDwOvR/4j8U2iaIH/ruYez8qg/sCKrezJ3+ljbFMvJLmgKKt/1mDuyU9wj5aZqO6VijP3QH169FA==}
peerDependencies:
eslint: '>6.6.0'
turbo: '>2.0.0'
@@ -7786,8 +7786,8 @@ packages:
resolution: {integrity: sha512-xRmVi7Zx44lOBuYqG8vzTXuL6IdGOeF9nHX17bjJ8+VE6fsxpdGem0/SBTmAwgYMKYB1WBkqRJVQ+n8GK041pA==}
- resolution: {integrity: sha512-KUDE23aP2JV8zbfZ4TeM1HpAXzMM/AYG/bJam7P4AalUxas8Pd/lS/6R3p4uX91qJcH1LwL4h0ED48nDe8KorQ==}
+ resolution: {integrity: sha512-bVjx4vTH0oTKIyQ7EGFAXnuhZMrKIfu17qlex/dps7eScPnGQLJ3r1/nFq80l8xA+8oYjsSirSQ2tXOKbz3kEw==}
peerDependencies:
eslint: '>6.6.0'
turbo: '>2.0.0'
@@ -12143,38 +12143,38 @@ packages:
resolution: {integrity: sha512-2fuHn/UR+8Z9HK49r97+p2Ru1b5Eewg2QqPrU14BVCQ9QoyU3+vLLZk2WEiyZ9sgJh6W8G1cZr9I2NBLywAHrA==}
- resolution: {integrity: sha512-3C1xEdo4aFwMJAPvtlPqz1Sw/+cddWIOmsalHFMrsqqydcptwBfu26WW2cDm3u93bUzMbBJ8k3zNKFqxJ9ei2A==}
+ resolution: {integrity: sha512-Dh5bCACiHO8rUXZLpKw+m3FiHtAp2CkanSyJre+SInEvEr5kIxjGvCK/8MFX8SFRjQuhjtvpIvYYZJB4AGCxNQ==}
cpu: [x64]
os: [darwin]
- resolution: {integrity: sha512-LyiG+rD7JhMfYwLqB6k3LZQtYn8CQQUePbpA8mF/hMLPAekXdJo1g0bUPw8RZLwQXUIU/3BU7tXENvhSGz5DPA==}
+ resolution: {integrity: sha512-f1H/tQC9px7+hmXn6Kx/w8Jd/FneIUnvLlcI/7RGHunxfOkKJKvsoiNzySkoHQ8uq1pJnhJ0xNGTlYM48ZaJOQ==}
cpu: [arm64]
os: [darwin]
- resolution: {integrity: sha512-GOcUTT0xiT/pSnHL4YD6Yr3HreUhU8pUcGqcI2ksIF9b2/r/kRHwGFcsHgpG3+vtZF/kwsP0MV8FTlTObxsYIA==}
+ resolution: {integrity: sha512-hMyvc7w7yadBlZBGl/bnR6O+dJTx3XkTeyTTH4zEjERO6ChEs0SrN8jTFj1lueNXKIHh1SnALmy6VctKMGnWfw==}
cpu: [x64]
os: [linux]
- resolution: {integrity: sha512-10Tm15bruJEA3m0V7iZcnQBpObGBcOgUcO+sY7/2vk1bweW34LMhkWi8svjV9iDF68+KJDThnYDlYE/bc7/zzQ==}
+ resolution: {integrity: sha512-LQELGa7bAqV2f+3rTMRPnj5G/OHAe2U+0N9BwsZvfMvHSUbsQ3bBMWdSQaYNicok7wOZcHjz2TkESn1hYK6xIQ==}
cpu: [arm64]
os: [linux]
- resolution: {integrity: sha512-FyRsVpgaj76It0ludwZsNN40ytHN+17E4PFJyeliBEbxrGTc5BexlXVpufB7XlAaoaZVxbS6KT8RofLfDRyEPg==}
+ resolution: {integrity: sha512-3YdcaW34TrN1AWwqgYL9gUqmZsMT4T7g8Y5Azz+uwwEJW+4sgcJkIi9pYFyU4ZBSjBvkfuPZkGgfStir5BBDJQ==}
cpu: [x64]
os: [win32]
- resolution: {integrity: sha512-j/tWu8cMeQ7HPpKri6jvKtyXg9K1gRyhdK4tKrrchH8GNHscPX/F71zax58yYtLRWTiK04zNzPcUJuoS0+v/+Q==}
+ resolution: {integrity: sha512-eFC5XzLmgXJfnAK3UMTmVECCwuBcORrWdewoiXBnUm934DY6QN8YowC/srhNnROMpaKaqNeRpoB5FxCww3eteQ==}
cpu: [arm64]
os: [win32]
- resolution: {integrity: sha512-gxToHmi9oTBNB05UjUsrWf0OyN5ZXtD0apOarC1KIx232Vp3WimRNy3810QzeNSgyD5rsaIDXlxlbnOzlouo+w==}
+ resolution: {integrity: sha512-5c9Fdsr9qfpT3hA0EyYSFRZj1dVVsb6KIWubA9JBYZ/9ZEAijgUEae0BBR/Xl/wekt4w65/lYLTFaP3JmwSO8w==}
hasBin: true
@@ -15888,7 +15888,7 @@ snapshots:
dependencies:
dependencies:
@@ -20122,8 +20122,8 @@ snapshots:
dependencies:
baseline-browser-mapping: 2.8.9
- caniuse-lite: 1.0.30001746
- electron-to-chromium: 1.5.227
+ caniuse-lite: 1.0.30001745
+ electron-to-chromium: 1.5.223
node-releases: 2.0.21
update-browserslist-db: 1.1.3([email protected])
@@ -20229,7 +20229,7 @@ snapshots:
@@ -21198,7 +21198,7 @@ snapshots:
@@ -21533,11 +21533,11 @@ snapshots:
eslint-plugin-n: 16.6.2([email protected])
eslint-plugin-promise: 6.4.0([email protected])
dependencies:
eslint: 8.57.0
- eslint-plugin-turbo: 2.5.6([email protected])([email protected])
- turbo: 2.5.6
+ eslint-plugin-turbo: 2.5.8([email protected])([email protected])
+ turbo: 2.5.8
dependencies:
@@ -21868,11 +21868,11 @@ snapshots:
'@microsoft/tsdoc': 0.14.2
'@microsoft/tsdoc-config': 0.16.2
dependencies:
dotenv: 16.0.3
eslint: 8.57.0
- turbo: 2.5.6
+ turbo: 2.5.8
dependencies:
@@ -24776,7 +24776,7 @@ snapshots:
dependencies:
type-fest: 2.19.0
dependencies:
'@babel/runtime': 7.26.0
'@panva/hkdf': 1.1.1
@@ -27128,32 +27128,32 @@ snapshots:
dependencies:
fast-fifo: 1.3.2
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
optionalDependencies:
- turbo-darwin-64: 2.5.6
- turbo-darwin-arm64: 2.5.6
- turbo-linux-64: 2.5.6
- turbo-linux-arm64: 2.5.6
- turbo-windows-64: 2.5.6
- turbo-windows-arm64: 2.5.6
+ turbo-darwin-64: 2.5.8
+ turbo-darwin-arm64: 2.5.8
+ turbo-linux-64: 2.5.8
+ turbo-linux-arm64: 2.5.8
+ turbo-windows-64: 2.5.8
+ turbo-windows-arm64: 2.5.8
dependencies:
diff --git a/web/Dockerfile b/web/Dockerfile
index 94ff6759e4..2ef7f6c508 100644
--- a/web/Dockerfile
+++ b/web/Dockerfile
@@ -5,7 +5,7 @@ FROM --platform=${TARGETPLATFORM:-linux/amd64} node:24-alpine AS alpine
RUN apk update && apk upgrade --no-cache libcrypto3 libssl3 libc6-compat busybox ssl_client
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine AS base
-RUN npm install turbo@^2.5.6 --global
+RUN npm install turbo@^2.5.8 --global
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable
diff --git a/worker/Dockerfile b/worker/Dockerfile
index 7237e41ce0..e2bca54bb6 100644
--- a/worker/Dockerfile
+++ b/worker/Dockerfile
@@ -5,7 +5,7 @@ FROM --platform=${TARGETPLATFORM:-linux/amd64} node:24-alpine AS alpine
RUN apk update && apk upgrade --no-cache libcrypto3 libssl3 libc6-compat busybox ssl_client
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine AS base
-RUN npm install turbo@^2.5.6 --global
+RUN npm install turbo@^2.5.8 --global
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable