From 91c55e5f874b037dca699442a80a1e8fbd875264 Mon Sep 17 00:00:00 2001 From: Charles de Dreuille Date: Tue, 16 Jul 2024 18:21:28 +0100 Subject: [PATCH 1/2] Update turbo.json --- turbo.json | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/turbo.json b/turbo.json index be46a3d6..1a4509d8 100644 --- a/turbo.json +++ b/turbo.json @@ -10,13 +10,10 @@ "dependsOn": ["^typecheck"] }, "generate-redirects": { - "dependsOn": [], "inputs": ["./apps/frontpage/scripts/raw-redirects"], - "outputs": ["./apps/frontpage/generated-redirects.json"], - "cache": false + "outputs": ["./apps/frontpage/generated-redirects.json"] }, "fetch-docs": { - "dependsOn": [], "cache": false }, "storybook": { @@ -27,6 +24,22 @@ "persistent": true, "inputs": ["$TURBO_DEFAULT$", ".env"] }, + "prebuild": { + "dependsOn": ["fetch-docs", "generate-redirects", "^build"], + "outputs": [ + "dist/**", + ".next/**", + "!.next/cache/**", + "storybook-static/**" + ], + "inputs": [ + "$TURBO_DEFAULT$", + ".env", + "./apps/frontpage/content/docs/**", + "./apps/frontpage/content/snippets/**", + "./apps/frontpage/public/docs-assets/**" + ] + }, "build": { "dependsOn": ["fetch-docs", "generate-redirects", "^build"], "outputs": [ From 82872675c3bd45c9b3c2b18c82fb1b7cbe57a79d Mon Sep 17 00:00:00 2001 From: Charles de Dreuille Date: Tue, 16 Jul 2024 18:27:17 +0100 Subject: [PATCH 2/2] Update turbo.json --- turbo.json | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/turbo.json b/turbo.json index 1a4509d8..6eec2eda 100644 --- a/turbo.json +++ b/turbo.json @@ -24,22 +24,6 @@ "persistent": true, "inputs": ["$TURBO_DEFAULT$", ".env"] }, - "prebuild": { - "dependsOn": ["fetch-docs", "generate-redirects", "^build"], - "outputs": [ - "dist/**", - ".next/**", - "!.next/cache/**", - "storybook-static/**" - ], - "inputs": [ - "$TURBO_DEFAULT$", - ".env", - "./apps/frontpage/content/docs/**", - "./apps/frontpage/content/snippets/**", - "./apps/frontpage/public/docs-assets/**" - ] - }, "build": { "dependsOn": ["fetch-docs", "generate-redirects", "^build"], "outputs": [