From a1ab0da927d6b79c6039f5a778798097c3b01b0e Mon Sep 17 00:00:00 2001 From: Shintaro Jokagi <61367823+taroj1205@users.noreply.github.com> Date: Sun, 29 Jun 2025 08:22:58 +1200 Subject: [PATCH] perf(turbo): improve cache input scope (#701) --- 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/**"] } },