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.
This commit is contained in:
Thomas Camlong committed 2026-05-21 14:00:34 +02:00
1 parent 5528d27c8f
commit 037f8082bc
1 file changed
+2 -1
+2 -1
View File
@@ -8,7 +8,8 @@
},
"tasks": {
"topo": {
"dependsOn": ["^topo"]
"dependsOn": ["^topo"],
"inputs": ["package.json"]
},
"build": {
"dependsOn": ["^build"],