Skip to content

Commit e17855b

Browse files
authored
Fine-tune turbo.json config to improve cache hits (#10377)
* play with turbo configuration * tmp: random change, let's test caches * remove unnecessary inputs Inputs are implicit via the `"dependsOn": ["//#build"],` * use `inputs` instead of `outputs` for `//#style` * Revert "tmp: random change, let's test caches" This reverts commit 77e9be6. * remove empty `outputs` configs
1 parent 371b6ea commit e17855b

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

turbo.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,20 @@
22
"$schema": "https://turbo.build/schema.json",
33
"pipeline": {
44
"//#build": {
5-
"outputs": ["lib/**", "peers/**", "types/generated/**"]
5+
"outputs": ["lib/**", "peers/**", "types/generated/**"],
6+
"inputs": ["src/**", "oxide/**", "nesting/**", "oxide-node-api-shim/**", "types/**"]
67
},
78
"test": {
89
"env": ["OXIDE"],
9-
"outputs": []
10+
"dependsOn": ["//#build"]
1011
},
1112
"//#test": {
1213
"env": ["OXIDE"],
13-
"outputs": []
14+
"dependsOn": ["//#build"],
15+
"inputs": ["tests/**"]
1416
},
1517
"//#style": {
16-
"outputs": []
18+
"inputs": ["**/*.js", "**/*.ts"]
1719
}
1820
}
1921
}

0 commit comments

Comments
 (0)