From 037f8082bcd40e2bd8652fd511bca2ecc4d08ea1 Mon Sep 17 00:00:00 2001 From: Thomas Camlong Date: Mon, 18 May 2026 18:39:47 +0200 Subject: [PATCH] perf(turbo): scope topo task inputs to package.json only The topo virtual task had no explicit inputs, defaulting to all files. This caused any source change to cascade cache invalidation through all dependent packages via ^topo. Since topo is only for dependency ordering, its hash should only change when dependencies change. --- turbo.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/turbo.json b/turbo.json index 4e212020d..893835c65 100644 --- a/turbo.json +++ b/turbo.json @@ -8,7 +8,8 @@ }, "tasks": { "topo": { - "dependsOn": ["^topo"] + "dependsOn": ["^topo"], + "inputs": ["package.json"] }, "build": { "dependsOn": ["^build"],