From ff6f4a16b44dba3f54ac79e3e76b18deabe5d922 Mon Sep 17 00:00:00 2001 From: Solomon Hawk Date: Sat, 2 Nov 2024 12:02:07 -0400 Subject: [PATCH] Use package configuration for web --- apps/web/turbo.json | 12 ++++++++++++ turbo.json | 7 ------- 2 files changed, 12 insertions(+), 7 deletions(-) create mode 100644 apps/web/turbo.json diff --git a/apps/web/turbo.json b/apps/web/turbo.json new file mode 100644 index 0000000..05ed877 --- /dev/null +++ b/apps/web/turbo.json @@ -0,0 +1,12 @@ +{ + "extends": ["//"], + "tasks": { + "build": { + "dependsOn": ["@manifold/engine#build"], + "env": ["API_PROXY_URL", "PUBLIC_API_BASE_URL"] + }, + "test": { + "env": ["API_PROXY_URL", "PUBLIC_API_BASE_URL"] + } + } +} diff --git a/turbo.json b/turbo.json index 592fea2..537b0f1 100644 --- a/turbo.json +++ b/turbo.json @@ -15,10 +15,6 @@ "inputs": ["$TURBO_DEFAULT$", ".env*"], "outputs": ["dist/**", "web/dist/**"] }, - "web#build": { - "dependsOn": ["@manifold/engine#build"], - "env": ["API_PROXY_URL", "PUBLIC_API_BASE_URL"] - }, "preview": { "cache": false, "persistent": true, @@ -36,9 +32,6 @@ "test": { "cache": false }, - "web#test": { - "env": ["API_PROXY_URL", "PUBLIC_API_BASE_URL"] - }, "test:watch": { "cache": false, "persistent": true,