From 60c1d185104d39d22f19d801c8a6a694e540a290 Mon Sep 17 00:00:00 2001 From: busybox11 Date: Tue, 11 Jun 2024 22:25:14 +0200 Subject: [PATCH] app: Update turbo to v2 --- package.json | 6 +++--- pnpm-lock.yaml | 2 +- turbo.json | 19 ++++++++++++++----- 3 files changed, 18 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index 8127368..670aa13 100644 --- a/package.json +++ b/package.json @@ -11,10 +11,10 @@ "@repo/eslint-config": "workspace:*", "@repo/typescript-config": "workspace:*", "prettier": "^3.2.5", - "turbo": "latest" + "turbo": "^1.13.3" }, - "packageManager": "pnpm@8.9.0", + "packageManager": "pnpm@8.12.1", "engines": { "node": ">=18" } -} \ No newline at end of file +} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index caf8baa..40a86a2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -18,7 +18,7 @@ importers: specifier: ^3.2.5 version: 3.2.5 turbo: - specifier: latest + specifier: ^1.13.3 version: 1.13.3 apps/api: diff --git a/turbo.json b/turbo.json index 781f274..f778f34 100644 --- a/turbo.json +++ b/turbo.json @@ -1,13 +1,22 @@ { "$schema": "https://turbo.build/schema.json", - "globalDependencies": ["**/.env.*local"], - "pipeline": { + "globalDependencies": [ + "**/.env.*local" + ], + "tasks": { "build": { - "dependsOn": ["^build"], - "outputs": [".next/**", "!.next/cache/**"] + "dependsOn": [ + "^build" + ], + "outputs": [ + ".next/**", + "!.next/cache/**" + ] }, "lint": { - "dependsOn": ["^lint"] + "dependsOn": [ + "^lint" + ] }, "dev": { "cache": false,