Adds a `tauri` task to turbo.json with dependsOn ["^build"] so that desktop#tauri automatically triggers web#build first via the workspace dependency graph. The tauriScript routes tauri-action through turbo rather than invoking tauri directly, eliminating the need for an explicit build step.
32 lines
633 B
JSON
32 lines
633 B
JSON
{
|
|
"$schema": "https://turbo.build/schema.json",
|
|
"tasks": {
|
|
"build": {
|
|
"dependsOn": ["^build"],
|
|
"outputs": ["dist/**", "src-tauri/target/release/bundle/**"]
|
|
},
|
|
"typecheck": {
|
|
"dependsOn": ["^typecheck"],
|
|
"inputs": ["src/**", "tsconfig*.json"]
|
|
},
|
|
"lint": {
|
|
"inputs": ["src/**"]
|
|
},
|
|
"test": {
|
|
"inputs": ["src/**", "vitest.config.*", "package.json"]
|
|
},
|
|
"cargo-check": {
|
|
"inputs": ["src-tauri/src/**", "src-tauri/Cargo.toml", "src-tauri/Cargo.lock"],
|
|
"outputs": []
|
|
},
|
|
"dev": {
|
|
"cache": false,
|
|
"persistent": true
|
|
},
|
|
"tauri": {
|
|
"dependsOn": ["^build"],
|
|
"cache": false
|
|
}
|
|
}
|
|
}
|