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 77e9be6dc4.
* remove empty `outputs` configs
This commit is contained in:
parent
371b6ea83d
commit
e17855b4d4
1 changed files with 6 additions and 4 deletions
10
turbo.json
10
turbo.json
|
|
@ -2,18 +2,20 @@
|
|||
"$schema": "https://turbo.build/schema.json",
|
||||
"pipeline": {
|
||||
"//#build": {
|
||||
"outputs": ["lib/**", "peers/**", "types/generated/**"]
|
||||
"outputs": ["lib/**", "peers/**", "types/generated/**"],
|
||||
"inputs": ["src/**", "oxide/**", "nesting/**", "oxide-node-api-shim/**", "types/**"]
|
||||
},
|
||||
"test": {
|
||||
"env": ["OXIDE"],
|
||||
"outputs": []
|
||||
"dependsOn": ["//#build"]
|
||||
},
|
||||
"//#test": {
|
||||
"env": ["OXIDE"],
|
||||
"outputs": []
|
||||
"dependsOn": ["//#build"],
|
||||
"inputs": ["tests/**"]
|
||||
},
|
||||
"//#style": {
|
||||
"outputs": []
|
||||
"inputs": ["**/*.js", "**/*.ts"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue