diff --git a/package.json b/package.json index 3e89f58775..cef2abd11e 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,7 @@ "eslint-plugin-react-refresh": "^0.4.8", "eslint-plugin-storybook": "0.9.0--canary.156.ed236ca.0", "eslint-plugin-tailwindcss": "^3.17.4", - "eslint-plugin-turbo": "^1.13.4", + "eslint-plugin-turbo": "^2.0.12", "eslint-plugin-vitest": "^0.5.4", "jsdom": "^24.0.0", "playwright": "^1.44.0", @@ -82,7 +82,7 @@ "tailwindcss": "^3.4.3", "tailwindcss-animate": "^1.0.7", "tsc-watch": "^6.2.0", - "turbo": "^1.13.3", + "turbo": "^2.0.12", "typescript": "5.5.3", "typescript-eslint": "^7.16.0", "vite": "^5.2.11", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 55e48e564d..2956ba5b32 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -115,8 +115,8 @@ importers: specifier: ^3.17.4 version: 3.17.4(tailwindcss@3.4.4(ts-node@10.9.2(@swc/core@1.6.13(@swc/helpers@0.5.11))(@types/node@20.14.10)(typescript@5.5.3))) eslint-plugin-turbo: - specifier: ^1.13.4 - version: 1.13.4(eslint@9.6.0) + specifier: ^2.0.12 + version: 2.0.12(eslint@9.6.0) eslint-plugin-vitest: specifier: ^0.5.4 version: 0.5.4(eslint@9.6.0)(typescript@5.5.3)(vitest@1.6.0(@types/node@20.14.10)(@vitest/browser@1.6.0)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(terser@5.31.1)) @@ -142,8 +142,8 @@ importers: specifier: ^6.2.0 version: 6.2.0(typescript@5.5.3) turbo: - specifier: ^1.13.3 - version: 1.13.4 + specifier: ^2.0.12 + version: 2.0.12 typescript: specifier: 5.5.3 version: 5.5.3 @@ -6700,8 +6700,8 @@ packages: peerDependencies: tailwindcss: ^3.4.0 - eslint-plugin-turbo@1.13.4: - resolution: {integrity: sha512-82GfMzrewI/DJB92Bbch239GWbGx4j1zvjk1lqb06lxIlMPnVwUHVwPbAnLfyLG3JuhLv9whxGkO/q1CL18JTg==} + eslint-plugin-turbo@2.0.12: + resolution: {integrity: sha512-vXWKer7F0RPTcVy1B+hFTEK4mlEOpouB8MCAFD3WW4C6t98wvuDCsIPjxIldpxg7CnwmRxALpNWgNVkU2LVVEQ==} peerDependencies: eslint: '>6.6.0' @@ -9689,38 +9689,38 @@ packages: tty-browserify@0.0.1: resolution: {integrity: sha512-C3TaO7K81YvjCgQH9Q1S3R3P3BtN3RIM8n+OvX4il1K1zgE8ZhI0op7kClgkxtutIE8hQrcrHBXvIheqKUUCxw==} - turbo-darwin-64@1.13.4: - resolution: {integrity: sha512-A0eKd73R7CGnRinTiS7txkMElg+R5rKFp9HV7baDiEL4xTG1FIg/56Vm7A5RVgg8UNgG2qNnrfatJtb+dRmNdw==} + turbo-darwin-64@2.0.12: + resolution: {integrity: sha512-NAgfgbXxX/JScWQmmQnGbPuFZq7LIswHfcMk5JwyBXQM/xmklNOxxac7MnGGIOf19Z2f6S3qHy17VIj0SeGfnA==} cpu: [x64] os: [darwin] - turbo-darwin-arm64@1.13.4: - resolution: {integrity: sha512-eG769Q0NF6/Vyjsr3mKCnkG/eW6dKMBZk6dxWOdrHfrg6QgfkBUk0WUUujzdtVPiUIvsh4l46vQrNVd9EOtbyA==} + turbo-darwin-arm64@2.0.12: + resolution: {integrity: sha512-cP02uer5KSJ+fXL+OfRRk5hnVjV0c60hxDgNcJxrZpfhun7HHoKDDR7w2xhQntiA45aC6ZZEXRqMKpj6GAmKbg==} cpu: [arm64] os: [darwin] - turbo-linux-64@1.13.4: - resolution: {integrity: sha512-Bq0JphDeNw3XEi+Xb/e4xoKhs1DHN7OoLVUbTIQz+gazYjigVZvtwCvgrZI7eW9Xo1eOXM2zw2u1DGLLUfmGkQ==} + turbo-linux-64@2.0.12: + resolution: {integrity: sha512-+mQgGfg1eq5qF+wenK/FKJaNMNAo5DQLC4htQy+8osW+fx6U+8+6UlPQPaycAWDEqwOI7NwuqkeHfkEQLQUTyQ==} cpu: [x64] os: [linux] - turbo-linux-arm64@1.13.4: - resolution: {integrity: sha512-BJcXw1DDiHO/okYbaNdcWN6szjXyHWx9d460v6fCHY65G8CyqGU3y2uUTPK89o8lq/b2C8NK0yZD+Vp0f9VoIg==} + turbo-linux-arm64@2.0.12: + resolution: {integrity: sha512-KFyEZDXfPU1DK4zimxdCcqAcK7IIttX4mfsgB7NsSEOmH0dhHOih/YFYiyEDC1lTRx0C2RlzQ0Kjjdz48AN5Eg==} cpu: [arm64] os: [linux] - turbo-windows-64@1.13.4: - resolution: {integrity: sha512-OFFhXHOFLN7A78vD/dlVuuSSVEB3s9ZBj18Tm1hk3aW1HTWTuAw0ReN6ZNlVObZUHvGy8d57OAGGxf2bT3etQw==} + turbo-windows-64@2.0.12: + resolution: {integrity: sha512-kJj4KCkZTkDTDCqsSw1m1dbO4WeoQq1mYUm/thXOH0OkeqYbSMt0EyoTcJOgKUDsrMnzZD2gPfYrlYHtV69lVA==} cpu: [x64] os: [win32] - turbo-windows-arm64@1.13.4: - resolution: {integrity: sha512-u5A+VOKHswJJmJ8o8rcilBfU5U3Y1TTAfP9wX8bFh8teYF1ghP0EhtMRLjhtp6RPa+XCxHHVA2CiC3gbh5eg5g==} + turbo-windows-arm64@2.0.12: + resolution: {integrity: sha512-TY3ROxguDilN2olCwcZMaePdW01Xhma0pZU7bNhsQEqca9RGAmsZBuzfGnTMcWPmv4tpnb/PlX1hrt1Hod/44Q==} cpu: [arm64] os: [win32] - turbo@1.13.4: - resolution: {integrity: sha512-1q7+9UJABuBAHrcC4Sxp5lOqYS5mvxRrwa33wpIyM18hlOCpRD/fTJNxZ0vhbMcJmz15o9kkVm743mPn7p6jpQ==} + turbo@2.0.12: + resolution: {integrity: sha512-8s2KwqjwQj7z8Z53SUZSKVkQOZ2/Sl4D2F440oaBY/k2lGju60dW6srEpnn8/RIDeICZmQn3pQHF79Jfnc5Skw==} hasBin: true type-check@0.4.0: @@ -19573,7 +19573,7 @@ snapshots: postcss: 8.4.39 tailwindcss: 3.4.4(ts-node@10.9.2(@swc/core@1.6.13(@swc/helpers@0.5.11))(@types/node@20.14.10)(typescript@5.5.3)) - eslint-plugin-turbo@1.13.4(eslint@9.6.0): + eslint-plugin-turbo@2.0.12(eslint@9.6.0): dependencies: dotenv: 16.0.3 eslint: 9.6.0 @@ -22991,32 +22991,32 @@ snapshots: tty-browserify@0.0.1: {} - turbo-darwin-64@1.13.4: + turbo-darwin-64@2.0.12: optional: true - turbo-darwin-arm64@1.13.4: + turbo-darwin-arm64@2.0.12: optional: true - turbo-linux-64@1.13.4: + turbo-linux-64@2.0.12: optional: true - turbo-linux-arm64@1.13.4: + turbo-linux-arm64@2.0.12: optional: true - turbo-windows-64@1.13.4: + turbo-windows-64@2.0.12: optional: true - turbo-windows-arm64@1.13.4: + turbo-windows-arm64@2.0.12: optional: true - turbo@1.13.4: + turbo@2.0.12: optionalDependencies: - turbo-darwin-64: 1.13.4 - turbo-darwin-arm64: 1.13.4 - turbo-linux-64: 1.13.4 - turbo-linux-arm64: 1.13.4 - turbo-windows-64: 1.13.4 - turbo-windows-arm64: 1.13.4 + turbo-darwin-64: 2.0.12 + turbo-darwin-arm64: 2.0.12 + turbo-linux-64: 2.0.12 + turbo-linux-arm64: 2.0.12 + turbo-windows-64: 2.0.12 + turbo-windows-arm64: 2.0.12 type-check@0.4.0: dependencies: diff --git a/turbo.json b/turbo.json index 06b9efd1dd..94311438d8 100644 --- a/turbo.json +++ b/turbo.json @@ -2,15 +2,24 @@ "$schema": "https://turbo.build/schema.json", "globalDependencies": ["**/.env.*local"], "globalEnv": ["DEV"], - "pipeline": { - "//#clean:vitest-mjs": { "cache": false }, - "//#format:prettier": { "cache": false }, - "//#format:syncpack": { "cache": false }, - "//#lint:prettier": { "cache": false }, - "//#lint:syncpack": { "cache": false }, + "tasks": { + "//#clean:vitest-mjs": { + "cache": false + }, + "//#format:prettier": { + "cache": false + }, + "//#format:syncpack": { + "cache": false + }, + "//#lint:prettier": { + "cache": false + }, + "//#lint:syncpack": { + "cache": false + }, "build": { "dependsOn": ["compile", "proto", "^build"], - "dotEnv": [".env"], "outputs": ["dist/**", "*.tsbuildinfo"] }, "proto": { @@ -18,17 +27,37 @@ "inputs": ["package.json", "buf.gen.yaml", "proto/**"], "outputs": ["gen/**"] }, - "clean": { "cache": false, "dependsOn": ["//#clean:vitest-mjs"] }, + "clean": { + "cache": false, + "dependsOn": ["//#clean:vitest-mjs"] + }, "compile": { "inputs": ["crate/src/**", "crate/Cargo.toml", "crate/Cargo.lock"], "outputs": ["wasm/**"] }, - "dev:app": { "dependsOn": ["compile", "proto"], "persistent": true }, - "dev:compile": { "dependsOn": ["compile"], "persistent": true }, - "dev:pack": { "dependsOn": ["build"], "persistent": true }, - "format": { "dependsOn": ["//#format:syncpack", "//#format:prettier", "format:rust"] }, - "format:rust": { "cache": false }, - "host": { "cache": false, "dependsOn": ["build"], "persistent": true }, + "dev:app": { + "dependsOn": ["compile", "proto"], + "persistent": true + }, + "dev:compile": { + "dependsOn": ["compile"], + "persistent": true + }, + "dev:pack": { + "dependsOn": ["build"], + "persistent": true + }, + "format": { + "dependsOn": ["//#format:syncpack", "//#format:prettier", "format:rust"] + }, + "format:rust": { + "cache": false + }, + "host": { + "cache": false, + "dependsOn": ["build"], + "persistent": true + }, "lint": { "dependsOn": ["//#lint:syncpack", "//#lint:prettier", "compile", "proto"], "inputs": ["components", "lib", "src", "wasm", "package.json"] @@ -45,7 +74,10 @@ "dependsOn": ["compile"], "inputs": ["crate/src/**", "crate/Cargo.toml", "crate/Cargo.lock", "crate/tests/**"] }, - "test": { "cache": false, "dependsOn": ["compile", "proto"] }, + "test": { + "cache": false, + "dependsOn": ["compile", "proto"] + }, "test:wasm": { "dependsOn": ["compile"], "inputs": ["crate/src/**", "crate/Cargo.toml", "crate/Cargo.lock", "crate/tests/**"]