feat(FN-1073): add desktop CLI workflow and packaging support
- Add new `fn desktop` CLI command with argument handling and comprehensive command/bin tests - Implement desktop build and hot-reload dev scripts and wire package scripts/dependencies for Electron workflows - Add electron-builder configuration and desktop main-process/integration test coverage to stabilize packaging behavior - Document desktop development and usage in README files and include a changeset for the published CLI package
This commit is contained in:
@@ -212,6 +212,9 @@ fn dashboard # Start the web UI (default port 4040)
|
||||
fn dashboard --interactive # Start with interactive port selection
|
||||
fn dashboard --paused # Start with automation paused
|
||||
fn dashboard --dev # Start web UI only (no AI engine)
|
||||
fn desktop # Launch Electron desktop app with embedded dashboard server
|
||||
fn desktop --dev # Launch desktop app against Vite dev renderer (hot-reload)
|
||||
fn desktop --paused # Launch desktop app with automation paused
|
||||
```
|
||||
|
||||
**Task Operations:**
|
||||
@@ -746,6 +749,8 @@ pnpm install
|
||||
pnpm dev:ui # Dashboard only; builds and typechecks first
|
||||
pnpm dev dashboard # Board + AI engine
|
||||
pnpm dev task list # CLI commands
|
||||
pnpm --filter @fusion/desktop dev # Desktop hot-reload workflow (renderer + Electron)
|
||||
pnpm build:desktop # Production desktop build pipeline
|
||||
pnpm typecheck # Type-check all packages (no build required)
|
||||
pnpm test # Run all tests
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user