fix: remove unused env

This commit is contained in:
Stanley Cheung 2026-02-20 18:47:51 +08:00
parent 5ee1129c86
commit 7d0de13d42
2 changed files with 30 additions and 15 deletions

View File

@ -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"

View File

@ -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
}
}
}
}