From bde283da3681efa24b5debbdace580607da80b4d Mon Sep 17 00:00:00 2001 From: taroj1205 Date: Sun, 22 Jun 2025 22:37:02 +1200 Subject: [PATCH] perf(turbo): improve cache input scope --- turbo.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/turbo.json b/turbo.json index 643b153..0e97845 100644 --- a/turbo.json +++ b/turbo.json @@ -18,6 +18,7 @@ }, "build": { "cache": true, + "inputs": ["src"], "outputs": ["dist/**"] }, "test": { @@ -27,13 +28,13 @@ }, "spell": { "cache": true, - "inputs": ["src/**/*.{ts,tsx,js,jsx,astro,md,json,yml,yaml}"], + "inputs": ["**/*.{ts,tsx,js,jsx,astro,md,json,yml,yaml}"], "outputs": [] }, "test:playwright": { "cache": true, "dependsOn": ["build"], - "inputs": ["**/*.{ts,tsx,js,jsx,astro}"], + "inputs": ["src"], "outputs": ["playwright-report/**", "test-results/**"] } },