Wire up the full stack for step 2 of the build plan: a ddev.ts CLI wrapper in the main process (execFile + JSON envelope parsing, with a PATH fallback since GUI apps on macOS don't inherit Homebrew's PATH), IPC handlers exposed through a typed preload window.api surface, TanStack Query hooks for polling/mutations, and a two-pane UI (project list sidebar + detail panel with URLs, services, and DB credentials). Verified end-to-end against a real scratch DDEV project: typecheck, lint, and tests pass, and the running app correctly displays live project data and reflects state changes (start/stop) via polling.
27 lines
513 B
JSON
27 lines
513 B
JSON
{
|
|
"extends": "@electron-toolkit/tsconfig/tsconfig.web.json",
|
|
"include": [
|
|
"src/renderer/src/env.d.ts",
|
|
"src/renderer/src/**/*",
|
|
"src/renderer/src/**/*.tsx",
|
|
"src/preload/*.d.ts"
|
|
],
|
|
"compilerOptions": {
|
|
"composite": true,
|
|
"jsx": "react-jsx",
|
|
"baseUrl": ".",
|
|
"types": [
|
|
"vitest/globals",
|
|
"@testing-library/jest-dom"
|
|
],
|
|
"paths": {
|
|
"@renderer/*": [
|
|
"src/renderer/src/*"
|
|
],
|
|
"@shared/*": [
|
|
"src/shared/*"
|
|
]
|
|
}
|
|
}
|
|
}
|