From 1f730ab786c7701152985af93618cd7409d5f8b7 Mon Sep 17 00:00:00 2001 From: "homarr-renovate[bot]" <158783068+homarr-renovate[bot]@users.noreply.github.com> Date: Sat, 8 Jun 2024 17:28:15 +0200 Subject: [PATCH] chore(deps): update turbo monorepo to v2 (major) (#621) * chore(deps): update turbo monorepo to v2 * chore: run codemod --------- Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com> Co-authored-by: Meier Lukas --- package.json | 4 +- pnpm-lock.yaml | 94 ++++++++++++++++++------------------- tooling/eslint/package.json | 2 +- turbo.json | 24 +++++----- 4 files changed, 62 insertions(+), 62 deletions(-) diff --git a/package.json b/package.json index 02eeefdd0..2d2038e7b 100644 --- a/package.json +++ b/package.json @@ -28,14 +28,14 @@ }, "devDependencies": { "@homarr/prettier-config": "workspace:^0.1.0", - "@turbo/gen": "^1.13.4", + "@turbo/gen": "^2.0.3", "@vitejs/plugin-react": "^4.3.0", "@vitest/coverage-v8": "^1.6.0", "@vitest/ui": "^1.6.0", "cross-env": "^7.0.3", "jsdom": "^24.1.0", "prettier": "^3.3.1", - "turbo": "^1.13.4", + "turbo": "^2.0.3", "typescript": "^5.4.5", "vite-tsconfig-paths": "^4.3.2", "vitest": "^1.6.0" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1e3bab16b..4560f55db 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -25,8 +25,8 @@ importers: specifier: workspace:^0.1.0 version: link:tooling/prettier '@turbo/gen': - specifier: ^1.13.4 - version: 1.13.4(@types/node@20.14.2)(typescript@5.4.5) + specifier: ^2.0.3 + version: 2.0.3(@types/node@20.14.2)(typescript@5.4.5) '@vitejs/plugin-react': specifier: ^4.3.0 version: 4.3.0(vite@5.2.6(@types/node@20.14.2)(sass@1.77.4)(sugarss@4.0.1)(terser@5.31.0)) @@ -46,8 +46,8 @@ importers: specifier: ^3.3.1 version: 3.3.1 turbo: - specifier: ^1.13.4 - version: 1.13.4 + specifier: ^2.0.3 + version: 2.0.3 typescript: specifier: ^5.4.5 version: 5.4.5 @@ -1068,8 +1068,8 @@ importers: specifier: ^9.1.0 version: 9.1.0(eslint@8.57.0) eslint-config-turbo: - specifier: ^1.13.4 - version: 1.13.4(eslint@8.57.0) + specifier: ^2.0.3 + version: 2.0.3(eslint@8.57.0) eslint-plugin-import: specifier: ^2.29.1 version: 2.29.1(@typescript-eslint/parser@7.12.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0) @@ -2460,12 +2460,12 @@ packages: '@tsconfig/node16@1.0.4': resolution: {integrity: sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==} - '@turbo/gen@1.13.4': - resolution: {integrity: sha512-PK38N1fHhDUyjLi0mUjv0RbX0xXGwDLQeRSGsIlLcVpP1B5fwodSIwIYXc9vJok26Yne94BX5AGjueYsUT3uUw==} + '@turbo/gen@2.0.3': + resolution: {integrity: sha512-UY/90ikcHg5cUUhzyGf9tGj43OZFoKYlpWrk+Q8o89aHvsUwMH9cZ25tlBZ1Iu6PKztCHiPIFTTg+9LLkn57hA==} hasBin: true - '@turbo/workspaces@1.13.4': - resolution: {integrity: sha512-3uYg2b5TWCiupetbDFMbBFMHl33xQTvp5DNg0fZSYal73Z9AlFH9yWabHWMYw6ywmwM1evkYRpTVA2n7GgqT5A==} + '@turbo/workspaces@2.0.3': + resolution: {integrity: sha512-b3SPg9k3m6rgvhyabE1zdSc5Ln5NBCpFa4sYwfVaFnZWHnn0CBxOircwNpMR+VffsSYchc0m4Pszvp1XwlgXrg==} hasBin: true '@types/babel__core@7.20.5': @@ -3617,8 +3617,8 @@ packages: peerDependencies: eslint: '>=7.0.0' - eslint-config-turbo@1.13.4: - resolution: {integrity: sha512-+we4eWdZlmlEn7LnhXHCIPX/wtujbHCS7XjQM/TN09BHNEl2fZ8id4rHfdfUKIYTSKyy8U/nNyJ0DNoZj5Q8bw==} + eslint-config-turbo@2.0.3: + resolution: {integrity: sha512-D1+lNOpTFEuAgPWJfRHXHjzvAfO+0TVmORfftmYQNw+uk2UIBjhelhwERBceYFy2oFJnckHsqt69dp/zIM6/0g==} peerDependencies: eslint: '>6.6.0' @@ -3674,8 +3674,8 @@ packages: peerDependencies: eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 - eslint-plugin-turbo@1.13.4: - resolution: {integrity: sha512-82GfMzrewI/DJB92Bbch239GWbGx4j1zvjk1lqb06lxIlMPnVwUHVwPbAnLfyLG3JuhLv9whxGkO/q1CL18JTg==} + eslint-plugin-turbo@2.0.3: + resolution: {integrity: sha512-mplP4nYaRvtTNuwF5QTLYKLu0/8LTRsHPgX4ARhaof+QZI2ttglONe1/iJpKB4pg0KqFp7WHziKoJL+s0+CJ1w==} peerDependencies: eslint: '>6.6.0' @@ -5765,38 +5765,38 @@ packages: tunnel-agent@0.6.0: resolution: {integrity: sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==} - turbo-darwin-64@1.13.4: - resolution: {integrity: sha512-A0eKd73R7CGnRinTiS7txkMElg+R5rKFp9HV7baDiEL4xTG1FIg/56Vm7A5RVgg8UNgG2qNnrfatJtb+dRmNdw==} + turbo-darwin-64@2.0.3: + resolution: {integrity: sha512-v7ztJ8sxdHw3SLfO2MhGFeeU4LQhFii1hIGs9uBiXns/0YTGOvxLeifnfGqhfSrAIIhrCoByXO7nR9wlm10n3Q==} cpu: [x64] os: [darwin] - turbo-darwin-arm64@1.13.4: - resolution: {integrity: sha512-eG769Q0NF6/Vyjsr3mKCnkG/eW6dKMBZk6dxWOdrHfrg6QgfkBUk0WUUujzdtVPiUIvsh4l46vQrNVd9EOtbyA==} + turbo-darwin-arm64@2.0.3: + resolution: {integrity: sha512-LUcqvkV9Bxtng6QHbevp8IK8zzwbIxM6HMjCE7FEW6yJBN1KwvTtRtsGBwwmTxaaLO0wD1Jgl3vgkXAmQ4fqUw==} cpu: [arm64] os: [darwin] - turbo-linux-64@1.13.4: - resolution: {integrity: sha512-Bq0JphDeNw3XEi+Xb/e4xoKhs1DHN7OoLVUbTIQz+gazYjigVZvtwCvgrZI7eW9Xo1eOXM2zw2u1DGLLUfmGkQ==} + turbo-linux-64@2.0.3: + resolution: {integrity: sha512-xpdY1suXoEbsQsu0kPep2zrB8ijv/S5aKKrntGuQ62hCiwDFoDcA/Z7FZ8IHQ2u+dpJARa7yfiByHmizFE0r5Q==} cpu: [x64] os: [linux] - turbo-linux-arm64@1.13.4: - resolution: {integrity: sha512-BJcXw1DDiHO/okYbaNdcWN6szjXyHWx9d460v6fCHY65G8CyqGU3y2uUTPK89o8lq/b2C8NK0yZD+Vp0f9VoIg==} + turbo-linux-arm64@2.0.3: + resolution: {integrity: sha512-MBACTcSR874L1FtLL7gkgbI4yYJWBUCqeBN/iE29D+8EFe0d3fAyviFlbQP4K/HaDYet1i26xkkOiWr0z7/V9A==} cpu: [arm64] os: [linux] - turbo-windows-64@1.13.4: - resolution: {integrity: sha512-OFFhXHOFLN7A78vD/dlVuuSSVEB3s9ZBj18Tm1hk3aW1HTWTuAw0ReN6ZNlVObZUHvGy8d57OAGGxf2bT3etQw==} + turbo-windows-64@2.0.3: + resolution: {integrity: sha512-zi3YuKPkM9JxMTshZo3excPk37hUrj5WfnCqh4FjI26ux6j/LJK+Dh3SebMHd9mR7wP9CMam4GhmLCT+gDfM+w==} cpu: [x64] os: [win32] - turbo-windows-arm64@1.13.4: - resolution: {integrity: sha512-u5A+VOKHswJJmJ8o8rcilBfU5U3Y1TTAfP9wX8bFh8teYF1ghP0EhtMRLjhtp6RPa+XCxHHVA2CiC3gbh5eg5g==} + turbo-windows-arm64@2.0.3: + resolution: {integrity: sha512-wmed4kkenLvRbidi7gISB4PU77ujBuZfgVGDZ4DXTFslE/kYpINulwzkVwJIvNXsJtHqyOq0n6jL8Zwl3BrwDg==} cpu: [arm64] os: [win32] - turbo@1.13.4: - resolution: {integrity: sha512-1q7+9UJABuBAHrcC4Sxp5lOqYS5mvxRrwa33wpIyM18hlOCpRD/fTJNxZ0vhbMcJmz15o9kkVm743mPn7p6jpQ==} + turbo@2.0.3: + resolution: {integrity: sha512-jF1K0tTUyryEWmgqk1V0ALbSz3VdeZ8FXUo6B64WsPksCMCE48N5jUezGOH2MN0+epdaRMH8/WcPU0QQaVfeLA==} hasBin: true tweetnacl@0.14.5: @@ -7397,9 +7397,9 @@ snapshots: '@tsconfig/node16@1.0.4': {} - '@turbo/gen@1.13.4(@types/node@20.14.2)(typescript@5.4.5)': + '@turbo/gen@2.0.3(@types/node@20.14.2)(typescript@5.4.5)': dependencies: - '@turbo/workspaces': 1.13.4 + '@turbo/workspaces': 2.0.3 chalk: 2.4.2 commander: 10.0.1 fs-extra: 10.1.0 @@ -7417,7 +7417,7 @@ snapshots: - supports-color - typescript - '@turbo/workspaces@1.13.4': + '@turbo/workspaces@2.0.3': dependencies: chalk: 2.4.2 commander: 10.0.1 @@ -8856,10 +8856,10 @@ snapshots: dependencies: eslint: 8.57.0 - eslint-config-turbo@1.13.4(eslint@8.57.0): + eslint-config-turbo@2.0.3(eslint@8.57.0): dependencies: eslint: 8.57.0 - eslint-plugin-turbo: 1.13.4(eslint@8.57.0) + eslint-plugin-turbo: 2.0.3(eslint@8.57.0) eslint-import-resolver-node@0.3.9: dependencies: @@ -8952,7 +8952,7 @@ snapshots: semver: 6.3.1 string.prototype.matchall: 4.0.11 - eslint-plugin-turbo@1.13.4(eslint@8.57.0): + eslint-plugin-turbo@2.0.3(eslint@8.57.0): dependencies: dotenv: 16.0.3 eslint: 8.57.0 @@ -11272,32 +11272,32 @@ snapshots: dependencies: safe-buffer: 5.2.1 - turbo-darwin-64@1.13.4: + turbo-darwin-64@2.0.3: optional: true - turbo-darwin-arm64@1.13.4: + turbo-darwin-arm64@2.0.3: optional: true - turbo-linux-64@1.13.4: + turbo-linux-64@2.0.3: optional: true - turbo-linux-arm64@1.13.4: + turbo-linux-arm64@2.0.3: optional: true - turbo-windows-64@1.13.4: + turbo-windows-64@2.0.3: optional: true - turbo-windows-arm64@1.13.4: + turbo-windows-arm64@2.0.3: optional: true - turbo@1.13.4: + turbo@2.0.3: 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.3 + turbo-darwin-arm64: 2.0.3 + turbo-linux-64: 2.0.3 + turbo-linux-arm64: 2.0.3 + turbo-windows-64: 2.0.3 + turbo-windows-arm64: 2.0.3 tweetnacl@0.14.5: {} diff --git a/tooling/eslint/package.json b/tooling/eslint/package.json index ac3251a94..842227482 100644 --- a/tooling/eslint/package.json +++ b/tooling/eslint/package.json @@ -19,7 +19,7 @@ "@typescript-eslint/eslint-plugin": "^7.12.0", "@typescript-eslint/parser": "^7.12.0", "eslint-config-prettier": "^9.1.0", - "eslint-config-turbo": "^1.13.4", + "eslint-config-turbo": "^2.0.3", "eslint-plugin-import": "^2.29.1", "eslint-plugin-jsx-a11y": "^6.8.0", "eslint-plugin-react": "^7.34.2", diff --git a/turbo.json b/turbo.json index aac9d5904..55a5d3000 100644 --- a/turbo.json +++ b/turbo.json @@ -3,7 +3,15 @@ "globalDependencies": [ "**/.env" ], - "pipeline": { + "globalEnv": [ + "DATABASE_URL", + "AUTH_DISCORD_ID", + "AUTH_DISCORD_SECRET", + "AUTH_REDIRECT_PROXY_URL", + "AUTH_SECRET", + "AUTH_URL" + ], + "tasks": { "topo": { "dependsOn": [ "^topo" @@ -29,7 +37,7 @@ "outputs": [ "node_modules/.cache/.prettiercache" ], - "outputMode": "new-only" + "outputLogs": "new-only" }, "lint": { "dependsOn": [ @@ -53,13 +61,5 @@ "//#clean": { "cache": false } - }, - "globalEnv": [ - "DATABASE_URL", - "AUTH_DISCORD_ID", - "AUTH_DISCORD_SECRET", - "AUTH_REDIRECT_PROXY_URL", - "AUTH_SECRET", - "AUTH_URL" - ] -} \ No newline at end of file + } +}