From b330ba6edd9b587ef3ac8afc81f4d644861c12dc Mon Sep 17 00:00:00 2001 From: bicochan Date: Tue, 25 Feb 2025 09:46:14 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20turbo=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 3 ++- turbo.json | 10 +++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 047837961..20e5cc728 100644 --- a/package.json +++ b/package.json @@ -9,8 +9,9 @@ "packages/*" ], "scripts": { - "dev": "turbo run dev", "build": "turbo run build", + "dev": "turbo run dev", + "dev:cs": "turbo run dev --filter=cs", "preinstall": "npx only-allow pnpm" }, "dependencies": { diff --git a/turbo.json b/turbo.json index 70eef40bc..818a53f6e 100644 --- a/turbo.json +++ b/turbo.json @@ -1,14 +1,14 @@ { "$schema": "https://turbo.build/schema.json", - "globalDependencies": ["**/.env.*local"], "tasks": { + "build": { + "inputs": ["$TURBO_DEFAULT$", ".env*"], + "outputs": ["dist/**", ".next/**", "!.next/cache/**"], + "dependsOn": ["^build"] + }, "dev": { "cache": false, "persistent": true - }, - "build": { - "dependsOn": ["^build"], - "outputs": ["dist/**", ".next/**", "!.next/cache/**"] } } }