From 75330f717037dd88ad47882525b64021849f9d57 Mon Sep 17 00:00:00 2001 From: casperiv0 <53900565+casperiv0@users.noreply.github.com> Date: Sun, 9 Jun 2024 15:53:15 +0200 Subject: [PATCH] chore: migrate turborepo --- .npmrc | 3 ++- package.json | 3 ++- turbo.json | 6 +++--- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.npmrc b/.npmrc index bc2ff6532..3a00261c7 100644 --- a/.npmrc +++ b/.npmrc @@ -1,2 +1,3 @@ legacy-peer-deps=true -auto-install-peers=true \ No newline at end of file +auto-install-peers=true +package-manager-strict=false \ No newline at end of file diff --git a/package.json b/package.json index a37814000..0b2da2baf 100644 --- a/package.json +++ b/package.json @@ -50,5 +50,6 @@ "undici@<5.26.2": ">=5.26.2", "@babel/traverse@<7.23.2": ">=7.23.2" } - } + }, + "packageManager": "pnpm@9.0.4" } diff --git a/turbo.json b/turbo.json index c11fec08a..39d8270a7 100644 --- a/turbo.json +++ b/turbo.json @@ -1,6 +1,7 @@ { "$schema": "https://turborepo.org/schema.json", - "pipeline": { + "globalDependencies": ["**/.env"], + "tasks": { "@snailycad/client#build": { "dependsOn": ["copy-env", "^build"], "outputs": [".next/**"] @@ -39,6 +40,5 @@ "cache": false, "outputs": [".next/*", "dist/*"] } - }, - "globalDependencies": ["**/.env"] + } }