Files
caorushizi 6571fc022d refactor(ipc): namespace IPC events and consolidate similar methods
Replace flat IPC string constants with namespaced groups (browser.*,
app.*, dialog.*, shell.*, contextMenu.*, update.*) and consolidate
similar operations into generic methods:
- dialog.open/save replaces selectFile, selectDownloadDir, export/import
- shell.open replaces openDir, openUrl, openBrowser
- contextMenu.show replaces 3 separate context menu handlers
- on/off replaces rendererEvent/removeEventListener

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-13 00:19:14 +08:00

36 lines
753 B
JSON

{
"$schema": "https://turbo.build/schema.json",
"ui": "stream",
"globalEnv": ["APP_TARGET", "MEDIAGO_CORE_BIN"],
"tasks": {
"dev": {
"cache": false,
"persistent": true,
"dependsOn": ["^build"]
},
"build": {
"cache": true,
"persistent": false,
"outputs": ["build/**", "dist/**"],
"dependsOn": ["^build"],
"env": ["NODE_ENV"]
},
"lint": {
"cache": true,
"outputs": [],
"inputs": ["src/**/*.{ts,tsx,js,jsx}", "../../.oxlintrc.json"]
},
"type:check": {
"cache": true,
"persistent": false,
"outputs": [],
"dependsOn": ["^build"]
},
"clean": {
"cache": false,
"persistent": false,
"outputs": []
}
}
}