From 02ca5dff3349f2f59cf2fb975af97c355bd4e46c Mon Sep 17 00:00:00 2001 From: Vincent Voyer Date: Mon, 20 Jan 2025 14:41:12 +0100 Subject: [PATCH] upgrade turborepo (#824) * upgrade turborepo * update * update * update * update * update * try * try 2 --- package.json | 2 +- packages/blob/src/bytes.ts | 2 +- pnpm-lock.yaml | 94 +++++++++++------------ tooling/eslint-config-custom/package.json | 2 +- turbo.json | 3 +- 5 files changed, 52 insertions(+), 51 deletions(-) diff --git a/package.json b/package.json index 2660e5d5c..a3d1fe29e 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "prettier": "3.4.2", "publint": "0.3.2", "ts-jest": "29.2.5", - "turbo": "1.12.4", + "turbo": "2.3.3", "typescript": "5.7.3" }, "packageManager": "pnpm@9.15.4", diff --git a/packages/blob/src/bytes.ts b/packages/blob/src/bytes.ts index 6d2e66f58..a1d895fd8 100644 --- a/packages/blob/src/bytes.ts +++ b/packages/blob/src/bytes.ts @@ -10,7 +10,7 @@ type ByteUnit = 'b' | 'kb' | 'mb' | 'gb' | 'tb' | 'pb'; type ByteUnitMap = { - readonly [K in ByteUnit]: number; + readonly [_K in ByteUnit]: number; }; // eslint-disable-next-line prefer-named-capture-group -- fine diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2dfbe7340..ff3683107 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -39,8 +39,8 @@ importers: specifier: 29.2.5 version: 29.2.5(@babel/core@7.26.0)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.0))(jest@29.7.0(@types/node@22.10.7)(ts-node@10.9.2(@types/node@22.10.7)(typescript@5.7.3)))(typescript@5.7.3) turbo: - specifier: 1.12.4 - version: 1.12.4 + specifier: 2.3.3 + version: 2.3.3 typescript: specifier: 5.7.3 version: 5.7.3 @@ -371,7 +371,7 @@ importers: version: 2.1.3 next: specifier: ^15.1.5 - version: 15.1.5(@babel/core@7.26.0)(@opentelemetry/api@1.7.0)(@playwright/test@1.49.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + version: 15.1.5(@babel/core@7.23.9)(@opentelemetry/api@1.7.0)(@playwright/test@1.49.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) postcss: specifier: ^8.5.1 version: 8.5.1 @@ -416,8 +416,8 @@ importers: specifier: 8.56.0 version: 8.56.0 eslint-config-turbo: - specifier: 1.11.2 - version: 1.11.2(eslint@8.56.0) + specifier: ^2.3.3 + version: 2.3.3(eslint@8.56.0) typescript: specifier: 5.7.3 version: 5.7.3 @@ -2560,8 +2560,8 @@ packages: peerDependencies: eslint: '>=7.0.0' - eslint-config-turbo@1.11.2: - resolution: {integrity: sha512-vqbyCH6kCHFoIAWUmGL61c0BfUQNz0XAl2RzAnEkSQ+PLXvEvuV2HsvL51UOzyyElfJlzZuh9T4BvUqb5KR9Eg==} + eslint-config-turbo@2.3.3: + resolution: {integrity: sha512-cM9wSBYowQIrjx2MPCzFE6jTnG4vpTPJKZ/O+Ps3CqrmGK/wtNOsY6WHGMwLtKY/nNbgRahAJH6jGVF6k2coOg==} peerDependencies: eslint: '>6.6.0' @@ -2729,8 +2729,8 @@ packages: eslint-plugin-tsdoc@0.2.17: resolution: {integrity: sha512-xRmVi7Zx44lOBuYqG8vzTXuL6IdGOeF9nHX17bjJ8+VE6fsxpdGem0/SBTmAwgYMKYB1WBkqRJVQ+n8GK041pA==} - eslint-plugin-turbo@1.11.2: - resolution: {integrity: sha512-U6DX+WvgGFiwEAqtOjm4Ejd9O4jsw8jlFNkQi0ywxbMnbiTie+exF4Z0F/B1ajtjjeZkBkgRnlU+UkoraBN+bw==} + eslint-plugin-turbo@2.3.3: + resolution: {integrity: sha512-j8UEA0Z+NNCsjZep9G5u5soDQHcXq/x4amrwulk6eHF1U91H2qAjp5I4jQcvJewmccCJbVp734PkHHTRnosjpg==} peerDependencies: eslint: '>6.6.0' @@ -5055,38 +5055,38 @@ packages: peerDependencies: typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta' - turbo-darwin-64@1.12.4: - resolution: {integrity: sha512-dBwFxhp9isTa9RS/fz2gDVk5wWhKQsPQMozYhjM7TT4jTrnYn0ZJMzr7V3B/M/T8QF65TbniW7w1gtgxQgX5Zg==} + turbo-darwin-64@2.3.3: + resolution: {integrity: sha512-bxX82xe6du/3rPmm4aCC5RdEilIN99VUld4HkFQuw+mvFg6darNBuQxyWSHZTtc25XgYjQrjsV05888w1grpaA==} cpu: [x64] os: [darwin] - turbo-darwin-arm64@1.12.4: - resolution: {integrity: sha512-1Uo5iI6xsJ1j9ObsqxYRsa3W26mEbUe6fnj4rQYV6kDaqYD54oAMJ6hM53q9rB8JvFxwdrUXGp3PwTw9A0qqkA==} + turbo-darwin-arm64@2.3.3: + resolution: {integrity: sha512-DYbQwa3NsAuWkCUYVzfOUBbSUBVQzH5HWUFy2Kgi3fGjIWVZOFk86ss+xsWu//rlEAfYwEmopigsPYSmW4X15A==} cpu: [arm64] os: [darwin] - turbo-linux-64@1.12.4: - resolution: {integrity: sha512-ONg2aSqKP7LAQOg7ysmU5WpEQp4DGNxSlAiR7um+LKtbmC/UxogbR5+T+Uuq6zGuQ5kJyKjWJ4NhtvUswOqBsA==} + turbo-linux-64@2.3.3: + resolution: {integrity: sha512-eHj9OIB0dFaP6BxB88jSuaCLsOQSYWBgmhy2ErCu6D2GG6xW3b6e2UWHl/1Ho9FsTg4uVgo4DB9wGsKa5erjUA==} cpu: [x64] os: [linux] - turbo-linux-arm64@1.12.4: - resolution: {integrity: sha512-9FPufkwdgfIKg/9jj87Cdtftw8o36y27/S2vLN7FTR2pp9c0MQiTBOLVYadUr1FlShupddmaMbTkXEhyt9SdrA==} + turbo-linux-arm64@2.3.3: + resolution: {integrity: sha512-NmDE/NjZoDj1UWBhMtOPmqFLEBKhzGS61KObfrDEbXvU3lekwHeoPvAMfcovzswzch+kN2DrtbNIlz+/rp8OCg==} cpu: [arm64] os: [linux] - turbo-windows-64@1.12.4: - resolution: {integrity: sha512-2mOtxHW5Vjh/5rDVu/aFwsMzI+chs8XcEuJHlY1sYOpEymYTz+u6AXbnzRvwZFMrLKr7J7fQOGl+v96sLKbNdA==} + turbo-windows-64@2.3.3: + resolution: {integrity: sha512-O2+BS4QqjK3dOERscXqv7N2GXNcqHr9hXumkMxDj/oGx9oCatIwnnwx34UmzodloSnJpgSqjl8iRWiY65SmYoQ==} cpu: [x64] os: [win32] - turbo-windows-arm64@1.12.4: - resolution: {integrity: sha512-nOY5wae9qnxPOpT1fRuYO0ks6dTwpKMPV6++VkDkamFDLFHUDVM/9kmD2UTeh1yyrKnrZksbb9zmShhmfj1wog==} + turbo-windows-arm64@2.3.3: + resolution: {integrity: sha512-dW4ZK1r6XLPNYLIKjC4o87HxYidtRRcBeo/hZ9Wng2XM/MqqYkAyzJXJGgRMsc0MMEN9z4+ZIfnSNBrA0b08ag==} cpu: [arm64] os: [win32] - turbo@1.12.4: - resolution: {integrity: sha512-yUJ7elEUSToiGwFZogXpYKJpQ0BvaMbkEuQECIWtkBLcmWzlMOt6bActsIm29oN83mRU0WbzGt4e8H1KHWedhg==} + turbo@2.3.3: + resolution: {integrity: sha512-DUHWQAcC8BTiUZDRzAYGvpSpGLiaOQPfYXlCieQbwUvmml/LRGIe3raKdrOPOoiX0DYlzxs2nH6BoWJoZrj8hA==} hasBin: true type-check@0.3.2: @@ -6765,10 +6765,10 @@ snapshots: dependencies: '@types/yargs-parser': 21.0.0 - '@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.56.0)(typescript@5.7.3))(eslint@8.56.0)(typescript@5.7.3)': + '@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@8.20.0(eslint@8.56.0)(typescript@5.7.3))(eslint@8.56.0)(typescript@5.7.3)': dependencies: '@eslint-community/regexpp': 4.10.0 - '@typescript-eslint/parser': 6.21.0(eslint@8.56.0)(typescript@5.7.3) + '@typescript-eslint/parser': 8.20.0(eslint@8.56.0)(typescript@5.7.3) '@typescript-eslint/scope-manager': 6.21.0 '@typescript-eslint/type-utils': 6.21.0(eslint@8.56.0)(typescript@5.7.3) '@typescript-eslint/utils': 6.21.0(eslint@8.56.0)(typescript@5.7.3) @@ -6980,7 +6980,7 @@ snapshots: '@babel/core': 7.23.9 '@babel/eslint-parser': 7.23.10(@babel/core@7.23.9)(eslint@8.56.0) '@rushstack/eslint-patch': 1.7.2 - '@typescript-eslint/eslint-plugin': 6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.56.0)(typescript@5.7.3))(eslint@8.56.0)(typescript@5.7.3) + '@typescript-eslint/eslint-plugin': 6.21.0(@typescript-eslint/parser@8.20.0(eslint@8.56.0)(typescript@5.7.3))(eslint@8.56.0)(typescript@5.7.3) '@typescript-eslint/parser': 6.21.0(eslint@8.56.0)(typescript@5.7.3) eslint-config-prettier: 9.1.0(eslint@8.56.0) eslint-import-resolver-alias: 1.1.2(eslint-plugin-import@2.29.1) @@ -8076,10 +8076,10 @@ snapshots: dependencies: eslint: 8.56.0 - eslint-config-turbo@1.11.2(eslint@8.56.0): + eslint-config-turbo@2.3.3(eslint@8.56.0): dependencies: eslint: 8.56.0 - eslint-plugin-turbo: 1.11.2(eslint@8.56.0) + eslint-plugin-turbo: 2.3.3(eslint@8.56.0) eslint-import-resolver-alias@1.1.2(eslint-plugin-import@2.29.1): dependencies: @@ -8215,7 +8215,7 @@ snapshots: '@typescript-eslint/utils': 5.62.0(eslint@8.56.0)(typescript@5.7.3) eslint: 8.56.0 optionalDependencies: - '@typescript-eslint/eslint-plugin': 6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.56.0)(typescript@5.7.3))(eslint@8.56.0)(typescript@5.7.3) + '@typescript-eslint/eslint-plugin': 6.21.0(@typescript-eslint/parser@8.20.0(eslint@8.56.0)(typescript@5.7.3))(eslint@8.56.0)(typescript@5.7.3) jest: 29.7.0(@types/node@22.10.7)(ts-node@10.9.2(@types/node@22.10.7)(typescript@5.7.3)) transitivePeerDependencies: - supports-color @@ -8329,7 +8329,7 @@ snapshots: '@microsoft/tsdoc': 0.14.2 '@microsoft/tsdoc-config': 0.16.2 - eslint-plugin-turbo@1.11.2(eslint@8.56.0): + eslint-plugin-turbo@2.3.3(eslint@8.56.0): dependencies: dotenv: 16.0.3 eslint: 8.56.0 @@ -9855,7 +9855,7 @@ snapshots: natural-compare@1.4.0: {} - next@15.1.5(@babel/core@7.26.0)(@opentelemetry/api@1.7.0)(@playwright/test@1.49.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0): + next@15.1.5(@babel/core@7.23.9)(@opentelemetry/api@1.7.0)(@playwright/test@1.49.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0): dependencies: '@next/env': 15.1.5 '@swc/counter': 0.1.3 @@ -9865,7 +9865,7 @@ snapshots: postcss: 8.4.31 react: 19.0.0 react-dom: 19.0.0(react@19.0.0) - styled-jsx: 5.1.6(@babel/core@7.26.0)(react@19.0.0) + styled-jsx: 5.1.6(@babel/core@7.23.9)(react@19.0.0) optionalDependencies: '@next/swc-darwin-arm64': 15.1.5 '@next/swc-darwin-x64': 15.1.5 @@ -10830,12 +10830,12 @@ snapshots: strip-json-comments@3.1.1: {} - styled-jsx@5.1.6(@babel/core@7.26.0)(react@19.0.0): + styled-jsx@5.1.6(@babel/core@7.23.9)(react@19.0.0): dependencies: client-only: 0.0.1 react: 19.0.0 optionalDependencies: - '@babel/core': 7.26.0 + '@babel/core': 7.23.9 sucrase@3.35.0: dependencies: @@ -11073,32 +11073,32 @@ snapshots: tslib: 1.14.1 typescript: 5.7.3 - turbo-darwin-64@1.12.4: + turbo-darwin-64@2.3.3: optional: true - turbo-darwin-arm64@1.12.4: + turbo-darwin-arm64@2.3.3: optional: true - turbo-linux-64@1.12.4: + turbo-linux-64@2.3.3: optional: true - turbo-linux-arm64@1.12.4: + turbo-linux-arm64@2.3.3: optional: true - turbo-windows-64@1.12.4: + turbo-windows-64@2.3.3: optional: true - turbo-windows-arm64@1.12.4: + turbo-windows-arm64@2.3.3: optional: true - turbo@1.12.4: + turbo@2.3.3: optionalDependencies: - turbo-darwin-64: 1.12.4 - turbo-darwin-arm64: 1.12.4 - turbo-linux-64: 1.12.4 - turbo-linux-arm64: 1.12.4 - turbo-windows-64: 1.12.4 - turbo-windows-arm64: 1.12.4 + turbo-darwin-64: 2.3.3 + turbo-darwin-arm64: 2.3.3 + turbo-linux-64: 2.3.3 + turbo-linux-arm64: 2.3.3 + turbo-windows-64: 2.3.3 + turbo-windows-arm64: 2.3.3 type-check@0.3.2: dependencies: diff --git a/tooling/eslint-config-custom/package.json b/tooling/eslint-config-custom/package.json index f7106f94a..65ad07596 100644 --- a/tooling/eslint-config-custom/package.json +++ b/tooling/eslint-config-custom/package.json @@ -7,7 +7,7 @@ "dependencies": { "@vercel/style-guide": "5.2.0", "eslint": "8.56.0", - "eslint-config-turbo": "1.11.2", + "eslint-config-turbo": "^2.3.3", "typescript": "5.7.3" }, "publishConfig": { diff --git a/turbo.json b/turbo.json index 9facff28a..519a7774a 100644 --- a/turbo.json +++ b/turbo.json @@ -1,6 +1,7 @@ { "$schema": "https://turbo.build/schema.json", - "pipeline": { + "envMode": "loose", + "tasks": { "build": { "dependsOn": ["^build"], "outputs": [".next/**", "!.next/cache/**", "dist/**"]