diff --git a/turbo.json b/turbo.json index 86c9a3ad7..75911375d 100644 --- a/turbo.json +++ b/turbo.json @@ -2,7 +2,12 @@ "$schema": "https://turbo.build/schema.json", "tasks": { "build": { - "dependsOn": ["^build"] + "dependsOn": ["^build"], + // Without this, a cache hit replays the logs and reports success without + // writing dist/, so anything that consumes this package (its own tests, + // other packages' tests that shell out to its CLI, attw) fails or reads + // stale output. + "outputs": ["dist/**"] }, "format": { "dependsOn": ["^format"]