diff --git a/apps/server/turbo.json b/apps/server/turbo.json index ba448ce..8141e85 100644 --- a/apps/server/turbo.json +++ b/apps/server/turbo.json @@ -3,10 +3,10 @@ "extends": ["//"], "tasks": { "build": { + "env": ["NODE_ENV", "VITE_*"], "outputs": [".output/**"] }, "compile": { - "dependsOn": ["build"], "outputs": ["out/**"] } } diff --git a/package.json b/package.json index 4939f28..dbb1d4b 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,6 @@ "scripts": { "build": "turbo run build", "compile": "turbo run compile", - "deploy": "turbo run deploy", "dev": "turbo run dev", "fix": "turbo run fix", "typecheck": "turbo run typecheck" diff --git a/turbo.json b/turbo.json index 92bffb9..862cb35 100644 --- a/turbo.json +++ b/turbo.json @@ -1,27 +1,28 @@ { "$schema": "./node_modules/turbo/schema.json", "dangerouslyDisablePackageManagerCheck": true, - "globalDependencies": [ - "package.json", - "bun.lock", - "turbo.json", - "biome.json" - ], + "globalDependencies": ["bun.lock"], "tasks": { "build": { - "dependsOn": ["^build"], - "outputs": ["dist/**"] + "dependsOn": ["^build"] + }, + "compile": { + "dependsOn": ["build"] }, "dev": { "cache": false, "persistent": true }, "fix": { - "outputs": [] + "cache": false }, "typecheck": { - "dependsOn": ["^typecheck"], - "inputs": ["tsconfig.json", "tsconfig.*.json", "**/*.{ts,tsx}"], + "inputs": [ + "package.json", + "tsconfig.json", + "tsconfig.*.json", + "**/*.{ts,tsx,d.ts}" + ], "outputs": [] } },