From 91517a9b84e8a3f76f798167b51b3f4cf36f487a Mon Sep 17 00:00:00 2001 From: Piotr Adamczyk Date: Wed, 26 Jun 2024 13:53:56 +0200 Subject: [PATCH] Update `turbo` to v2 (#24) --- package.json | 2 +- pnpm-lock.yaml | 44 ++++++++++++++++++++++---------------------- turbo.json | 22 +++++++++++++++++----- 3 files changed, 40 insertions(+), 28 deletions(-) diff --git a/package.json b/package.json index 0b7bf9e..8275141 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "license": "MIT", "devDependencies": { "@biomejs/biome": "^1.7.3", - "turbo": "^1.13.2", + "turbo": "^2.0.5", "typescript": "^5.4.5" }, "packageManager": "pnpm@8.15.6+sha256.01c01eeb990e379b31ef19c03e9d06a14afa5250b82e81303f88721c99ff2e6f" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1d4938e..bc3ad69 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,8 +12,8 @@ importers: specifier: ^1.7.3 version: 1.7.3 turbo: - specifier: ^1.13.2 - version: 1.13.2 + specifier: ^2.0.5 + version: 2.0.5 typescript: specifier: ^5.4.5 version: 5.4.5 @@ -1023,64 +1023,64 @@ packages: resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==} dev: false - /turbo-darwin-64@1.13.2: - resolution: {integrity: sha512-CCSuD8CfmtncpohCuIgq7eAzUas0IwSbHfI8/Q3vKObTdXyN8vAo01gwqXjDGpzG9bTEVedD0GmLbD23dR0MLA==} + /turbo-darwin-64@2.0.5: + resolution: {integrity: sha512-t/9XpWYIjOhIHUdwiR47SYBGYHkR1zWLxTkTNKZwCSn8BN0cfjPZ1BR6kcwYGxLGBhtl5GBf6A29nq2K7iwAjg==} cpu: [x64] os: [darwin] requiresBuild: true dev: true optional: true - /turbo-darwin-arm64@1.13.2: - resolution: {integrity: sha512-0HySm06/D2N91rJJ89FbiI/AodmY8B3WDSFTVEpu2+8spUw7hOJ8okWOT0e5iGlyayUP9gr31eOeL3VFZkpfCw==} + /turbo-darwin-arm64@2.0.5: + resolution: {integrity: sha512-//5y4RJvnal8CttOLBwlaBqblcQb1qTlIxLN+I8O3E3rPuvHOupNKB9ZJxYIQ8oWf8ns8Ec8cxQ0GSBLTJIMtA==} cpu: [arm64] os: [darwin] requiresBuild: true dev: true optional: true - /turbo-linux-64@1.13.2: - resolution: {integrity: sha512-7HnibgbqZrjn4lcfIouzlPu8ZHSBtURG4c7Bedu7WJUDeZo+RE1crlrQm8wuwO54S0siYqUqo7GNHxu4IXbioQ==} + /turbo-linux-64@2.0.5: + resolution: {integrity: sha512-LDtEDU2Gm8p3lKu//aHXZFRKUCVu68BNF9LQ+HmiCKFpNyK7khpMTxIAAUhDqt+AzlrbxtrxcCpCJaWg1JDjHg==} cpu: [x64] os: [linux] requiresBuild: true dev: true optional: true - /turbo-linux-arm64@1.13.2: - resolution: {integrity: sha512-sUq4dbpk6SNKg/Hkwn256Vj2AEYSQdG96repio894h5/LEfauIK2QYiC/xxAeW3WBMc6BngmvNyURIg7ltrePg==} + /turbo-linux-arm64@2.0.5: + resolution: {integrity: sha512-84wdrzntErBNxkHcwHxiTZdaginQAxGPnwLTyZj8lpUYI7okPoxy3jKpUeMHN3adm3iDedl/x0mYSIvVVkmOiA==} cpu: [arm64] os: [linux] requiresBuild: true dev: true optional: true - /turbo-windows-64@1.13.2: - resolution: {integrity: sha512-DqzhcrciWq3dpzllJR2VVIyOhSlXYCo4mNEWl98DJ3FZ08PEzcI3ceudlH6F0t/nIcfSItK1bDP39cs7YoZHEA==} + /turbo-windows-64@2.0.5: + resolution: {integrity: sha512-SgaFZ0VW6kHCJogLNuLEleAauAJx2Y48wazZGVRmBpgSUS2AylXesaBMhJaEScYqLz7mIRn6KOgwM8D4wTxI9g==} cpu: [x64] os: [win32] requiresBuild: true dev: true optional: true - /turbo-windows-arm64@1.13.2: - resolution: {integrity: sha512-WnPMrwfCXxK69CdDfS1/j2DlzcKxSmycgDAqV0XCYpK/812KB0KlvsVAt5PjEbZGXkY88pCJ1BLZHAjF5FcbqA==} + /turbo-windows-arm64@2.0.5: + resolution: {integrity: sha512-foUxLOZoru0IRNIxm53fkfM4ubas9P0nTFjIcHtd+E8YHeogt8GqTweNre2e6ri1EHDo71emmuQgpuoFCOXZMg==} cpu: [arm64] os: [win32] requiresBuild: true dev: true optional: true - /turbo@1.13.2: - resolution: {integrity: sha512-rX/d9f4MgRT3yK6cERPAkfavIxbpBZowDQpgvkYwGMGDQ0Nvw1nc0NVjruE76GrzXQqoxR1UpnmEP54vBARFHQ==} + /turbo@2.0.5: + resolution: {integrity: sha512-+6+hcWr4nwuESlKqUc626HMOTd3QT8hUOc9QM45PP1d4nErGkNOgExm4Pcov3in7LTuadMnB0gcd/BuzkEDIPw==} hasBin: true optionalDependencies: - turbo-darwin-64: 1.13.2 - turbo-darwin-arm64: 1.13.2 - turbo-linux-64: 1.13.2 - turbo-linux-arm64: 1.13.2 - turbo-windows-64: 1.13.2 - turbo-windows-arm64: 1.13.2 + 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 dev: true /type-fest@4.15.0: diff --git a/turbo.json b/turbo.json index 111b41d..12b9156 100644 --- a/turbo.json +++ b/turbo.json @@ -1,17 +1,29 @@ { "$schema": "https://turbo.build/schema.json", - "pipeline": { + "tasks": { "build": { - "dependsOn": ["^db:generate"], - "outputs": ["dist/**"] + "dependsOn": [ + "^db:generate" + ], + "outputs": [ + "dist/**" + ] }, "db:generate": { - "outputs": ["prisma/client/**"] + "outputs": [ + "prisma/client/**" + ] }, "lint": {}, "lint:fix": {}, "format": {}, "format:fix": {}, - "dev": { "dependsOn": ["^db:generate"], "cache": false, "persistent": true } + "dev": { + "dependsOn": [ + "^db:generate" + ], + "cache": false, + "persistent": true + } } }