Files
discordeno/turbo.json
Fleny 991609d336 build(deps-dev): Update turbo to v2 (#3735)
* Update turbo to v2

Also some small config changes

* Remove test for the non-exiting "client" pkg

* Re-add build:type dependency to lint

* Add missing comma

* Use turbo in build:watch
2024-07-14 12:59:34 -05:00

48 lines
1.1 KiB
JSON

{
"$schema": "https://turbo.build/schema.json",
"tasks": {
"build": {
"outputs": ["dist/**/*.js"],
"inputs": ["src/**/*.ts"]
},
"build:type": {
"dependsOn": ["^build:type"],
"outputs": ["dist/types/**/*.d.ts", "dist/types/**/*.d.ts.map", "dist/tsconfig.tsbuildinfo"]
},
"test:unit-coverage": {
"dependsOn": ["^build"],
"outputs": ["coverage/**"]
},
"test:unit": {
"dependsOn": ["^build"],
"outputs": ["coverage/**"]
},
"test:integration": {
"dependsOn": ["^build"],
"outputs": ["coverage/**"]
},
"test:test-type": {
"dependsOn": ["^build:type"]
},
"test:deno-unit": {
"dependsOn": ["build", "^build"],
"outputs": ["denoTestsDist/**"]
},
"test:bun-unit": {
"dependsOn": ["^build"],
"outputs": ["bunTestsDist/**"]
},
"test:e2e": {
"dependsOn": ["^build"],
"outputs": ["coverage/**"]
},
"lint": {
"dependsOn": ["build:type"],
"cache": false
},
"fmt": {
"cache": false
}
}
}