diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index c6932f06..99e184df 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -36,7 +36,7 @@ jobs: run: pnpm install && pnpm postinstall-steps - name: Build and lint and type-check - run: pnpm build && pnpm turbo lint test-ci typecheck + run: pnpm build && pnpm turbo --env-mode=loose lint test-ci typecheck env: DATABASE_URL: postgres://postgres:password@localhost:5432/sidetrack?sslmode=disable diff --git a/.husky/pre-commit b/.husky/pre-commit index 64a932d9..b071594d 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1 +1 @@ -CI=true pnpm turbo build --force && CI=true pnpm turbo lint test typecheck --force +CI=true pnpm turbo --env-mode=loose build --force && CI=true pnpm turbo --env-mode=loose lint test typecheck --force diff --git a/package.json b/package.json index faa4a7ec..25adf915 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "prettier-plugin-sort-json": "4.0.0", "sonicware-tdt": "20.0.0", "tsup": "8.1.0", - "turbo": "1.13.4", + "turbo": "2.0.5", "typedoc": "0.26.2", "typescript": "5.5.2" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bb635680..7588bcd8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -69,8 +69,8 @@ importers: specifier: 8.1.0 version: 8.1.0(postcss@8.4.38)(typescript@5.5.2) turbo: - specifier: 1.13.4 - version: 1.13.4 + specifier: 2.0.5 + version: 2.0.5 typedoc: specifier: 0.26.2 version: 0.26.2(typescript@5.5.2) @@ -3024,38 +3024,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.13.4: - resolution: {integrity: sha512-A0eKd73R7CGnRinTiS7txkMElg+R5rKFp9HV7baDiEL4xTG1FIg/56Vm7A5RVgg8UNgG2qNnrfatJtb+dRmNdw==} + turbo-darwin-64@2.0.5: + resolution: {integrity: sha512-t/9XpWYIjOhIHUdwiR47SYBGYHkR1zWLxTkTNKZwCSn8BN0cfjPZ1BR6kcwYGxLGBhtl5GBf6A29nq2K7iwAjg==} cpu: [x64] os: [darwin] - turbo-darwin-arm64@1.13.4: - resolution: {integrity: sha512-eG769Q0NF6/Vyjsr3mKCnkG/eW6dKMBZk6dxWOdrHfrg6QgfkBUk0WUUujzdtVPiUIvsh4l46vQrNVd9EOtbyA==} + turbo-darwin-arm64@2.0.5: + resolution: {integrity: sha512-//5y4RJvnal8CttOLBwlaBqblcQb1qTlIxLN+I8O3E3rPuvHOupNKB9ZJxYIQ8oWf8ns8Ec8cxQ0GSBLTJIMtA==} cpu: [arm64] os: [darwin] - turbo-linux-64@1.13.4: - resolution: {integrity: sha512-Bq0JphDeNw3XEi+Xb/e4xoKhs1DHN7OoLVUbTIQz+gazYjigVZvtwCvgrZI7eW9Xo1eOXM2zw2u1DGLLUfmGkQ==} + turbo-linux-64@2.0.5: + resolution: {integrity: sha512-LDtEDU2Gm8p3lKu//aHXZFRKUCVu68BNF9LQ+HmiCKFpNyK7khpMTxIAAUhDqt+AzlrbxtrxcCpCJaWg1JDjHg==} cpu: [x64] os: [linux] - turbo-linux-arm64@1.13.4: - resolution: {integrity: sha512-BJcXw1DDiHO/okYbaNdcWN6szjXyHWx9d460v6fCHY65G8CyqGU3y2uUTPK89o8lq/b2C8NK0yZD+Vp0f9VoIg==} + turbo-linux-arm64@2.0.5: + resolution: {integrity: sha512-84wdrzntErBNxkHcwHxiTZdaginQAxGPnwLTyZj8lpUYI7okPoxy3jKpUeMHN3adm3iDedl/x0mYSIvVVkmOiA==} cpu: [arm64] os: [linux] - turbo-windows-64@1.13.4: - resolution: {integrity: sha512-OFFhXHOFLN7A78vD/dlVuuSSVEB3s9ZBj18Tm1hk3aW1HTWTuAw0ReN6ZNlVObZUHvGy8d57OAGGxf2bT3etQw==} + turbo-windows-64@2.0.5: + resolution: {integrity: sha512-SgaFZ0VW6kHCJogLNuLEleAauAJx2Y48wazZGVRmBpgSUS2AylXesaBMhJaEScYqLz7mIRn6KOgwM8D4wTxI9g==} cpu: [x64] os: [win32] - turbo-windows-arm64@1.13.4: - resolution: {integrity: sha512-u5A+VOKHswJJmJ8o8rcilBfU5U3Y1TTAfP9wX8bFh8teYF1ghP0EhtMRLjhtp6RPa+XCxHHVA2CiC3gbh5eg5g==} + turbo-windows-arm64@2.0.5: + resolution: {integrity: sha512-foUxLOZoru0IRNIxm53fkfM4ubas9P0nTFjIcHtd+E8YHeogt8GqTweNre2e6ri1EHDo71emmuQgpuoFCOXZMg==} cpu: [arm64] os: [win32] - turbo@1.13.4: - resolution: {integrity: sha512-1q7+9UJABuBAHrcC4Sxp5lOqYS5mvxRrwa33wpIyM18hlOCpRD/fTJNxZ0vhbMcJmz15o9kkVm743mPn7p6jpQ==} + turbo@2.0.5: + resolution: {integrity: sha512-+6+hcWr4nwuESlKqUc626HMOTd3QT8hUOc9QM45PP1d4nErGkNOgExm4Pcov3in7LTuadMnB0gcd/BuzkEDIPw==} hasBin: true type-check@0.3.2: @@ -6390,32 +6390,32 @@ snapshots: tslib: 1.14.1 typescript: 5.5.2 - turbo-darwin-64@1.13.4: + turbo-darwin-64@2.0.5: optional: true - turbo-darwin-arm64@1.13.4: + turbo-darwin-arm64@2.0.5: optional: true - turbo-linux-64@1.13.4: + turbo-linux-64@2.0.5: optional: true - turbo-linux-arm64@1.13.4: + turbo-linux-arm64@2.0.5: optional: true - turbo-windows-64@1.13.4: + turbo-windows-64@2.0.5: optional: true - turbo-windows-arm64@1.13.4: + turbo-windows-arm64@2.0.5: optional: true - turbo@1.13.4: + turbo@2.0.5: 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.5 + turbo-darwin-arm64: 2.0.5 + turbo-linux-64: 2.0.5 + turbo-linux-arm64: 2.0.5 + turbo-windows-64: 2.0.5 + turbo-windows-arm64: 2.0.5 type-check@0.3.2: dependencies: diff --git a/turbo.json b/turbo.json index 9d5e3cb1..53c7ea97 100644 --- a/turbo.json +++ b/turbo.json @@ -1,6 +1,6 @@ { "$schema": "https://turborepo.org/schema.json", - "pipeline": { + "tasks": { "build": { "dependsOn": ["^build"], "outputs": ["dist/**"]