perf(turbo): improve cache input scope (#701)

This commit is contained in:
Shintaro Jokagi 2025-06-29 08:22:58 +12:00 committed by GitHub
parent f9395041e1
commit a1ab0da927
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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/**"]
}
},