From 7d0de13d42c98171705b4b86731a775328940b03 Mon Sep 17 00:00:00 2001 From: Stanley Cheung Date: Fri, 20 Feb 2026 18:47:51 +0800 Subject: [PATCH] fix: remove unused env --- apps/web/.env.example | 4 +--- turbo.json | 41 +++++++++++++++++++++++++++++------------ 2 files changed, 30 insertions(+), 15 deletions(-) diff --git a/apps/web/.env.example b/apps/web/.env.example index a0350398..18f38c64 100644 --- a/apps/web/.env.example +++ b/apps/web/.env.example @@ -5,9 +5,7 @@ NODE_ENV=development # Public -NEXT_PUBLIC_SITE_URL=http://localhost:3000 -NEXT_PUBLIC_MARBLE_API_URL=https://api.marblecms.com -NEXT_PUBLIC_AUTH_API_BASE_URL=http://localhost:3001/api +NEXT_PUBLIC_AUTH_API_BASE_URL=https://localhost:3000/api # Server DATABASE_URL="postgresql://vibecut:vibecut@localhost:5432/vibecut" diff --git a/turbo.json b/turbo.json index c7a9bbf1..8e8eaec4 100644 --- a/turbo.json +++ b/turbo.json @@ -2,12 +2,15 @@ "$schema": "https://turborepo.com/schema.json", "tasks": { "build": { - "dependsOn": ["^build"], - "outputs": [".next/**", "!.next/cache/**"], + "dependsOn": [ + "^build" + ], + "outputs": [ + ".next/**", + "!.next/cache/**" + ], "env": [ "NODE_ENV", - "NEXT_PUBLIC_SITE_URL", - "NEXT_PUBLIC_MARBLE_API_URL", "DATABASE_URL", "UPSTASH_REDIS_REST_URL", "UPSTASH_REDIS_REST_TOKEN", @@ -18,31 +21,45 @@ ] }, "check-types": { - "dependsOn": ["^check-types"] + "dependsOn": [ + "^check-types" + ] }, "dev": { "persistent": true, "cache": false }, "lint": { - "dependsOn": ["^lint"], + "dependsOn": [ + "^lint" + ], "cache": false }, "lint:fix": { - "dependsOn": ["^lint:fix"], + "dependsOn": [ + "^lint:fix" + ], "cache": false }, "format": { - "dependsOn": ["^format"] + "dependsOn": [ + "^format" + ] }, "test": { - "dependsOn": ["^test"], + "dependsOn": [ + "^test" + ], "cache": false }, "test:coverage": { - "dependsOn": ["^test:coverage"], - "outputs": ["coverage/**"], + "dependsOn": [ + "^test:coverage" + ], + "outputs": [ + "coverage/**" + ], "cache": false } } -} +} \ No newline at end of file