From bfa538fb34b1aa19ba537c7e3524f17f9fda3b7b Mon Sep 17 00:00:00 2001 From: Shadow Date: Sat, 19 Oct 2024 16:00:11 -0500 Subject: [PATCH] web: adjust build commands --- package.json | 2 +- turbo.json | 1 - website/package.json | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 3dbe4ccde..1404ed426 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "start": "turbo run start --filter !demo-cloudo", "test": "vitest", "web": "pnpm run web:docs && turbo run web:dev", - "web:build": "turbo run web:build", + "web:build": "pnpm run web:docs && turbo run web:build", "web:docs": "turbo run docs", "web:start": "turbo run web:start" }, diff --git a/turbo.json b/turbo.json index 792eb9970..37ba50399 100644 --- a/turbo.json +++ b/turbo.json @@ -14,7 +14,6 @@ "persistent": true }, "web:build": { - "dependsOn": ["build", "docs"], "outputs": ["website/.next/**"] }, "web:start": {}, diff --git a/website/package.json b/website/package.json index fc03d2e8b..64e446a6a 100644 --- a/website/package.json +++ b/website/package.json @@ -7,7 +7,7 @@ "postinstall": "fumadocs-mdx", "web:build": "sh ./copy-api.sh && next build", "web:dev": "sh ./copy-api.sh && next dev", - "web:start": "sh ./copy-api.sh && next start", + "web:start": "next start", "web:export": "sh ./copy-api.sh && next export" }, "dependencies": {