mirror of
https://github.com/discordeno/discordeno.git
synced 2026-05-21 02:40:08 +00:00
* 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
48 lines
1.1 KiB
JSON
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
|
|
}
|
|
}
|
|
}
|