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 77e9be6dc41bc432bee7589f77d8b9fc02369e2a.

* remove empty `outputs` configs
This commit is contained in:
Robin Malfait 2023-01-21 01:06:41 +01:00 committed by GitHub
parent 371b6ea83d
commit e17855b4d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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