build(desktop): wire the Electron app into the workspace and build graph

Add desktop:dev/build/pack scripts, approve the electron build script in
pnpm-workspace.yaml allowBuilds, and reference apps/desktop (plus its
tests) in the host TypeScript program. Records the electron and
electron-builder deps in the lockfile.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Pine
2026-08-14 10:23:39 +08:00
parent 0cdbbfbf1a
commit 10a4f4a8f5
4 changed files with 2062 additions and 5 deletions
+3 -1
View File
@@ -83,6 +83,7 @@
"apps/web/tests/workflow-run.e2e.ts",
"apps/web/stress-tests/reasoning-chunks.stress.ts",
"apps/cli/tests/**/*.ts",
"apps/desktop/tests/**/*.ts",
"examples/*/src/**/*.ts",
"examples/*/start.ts",
"examples/*/tests/**/*.ts",
@@ -293,6 +294,7 @@
{ "path": "./packages/lsp/lsp" },
{ "path": "./packages/lsp/lsp-stdio" },
{ "path": "./packages/lsp/tool-lsp" },
{ "path": "./apps/cli" }
{ "path": "./apps/cli" },
{ "path": "./apps/desktop" }
]
}