Remove dist-output packaging, use electron only

This commit is contained in:
2026-03-13 00:36:37 +08:00
parent d7f8c0f38a
commit 1f78a3e95e
2 changed files with 0 additions and 9 deletions

View File

@@ -60,16 +60,8 @@ Skills catalog management including discovery, installation, and configuration o
All scripts are in `package.json`. All scripts are in `package.json`.
- Validate: `bun run type-check:web`, `bun run lint:web` (or use :ui variants) - Validate: `bun run type-check:web`, `bun run lint:web` (or use :ui variants)
- Build: `bun run build:web` and/or `bun run build:ui` - Build: `bun run build:web` and/or `bun run build:ui`
- Package for distribution: `bun run package` (outputs to `dist-output/`)
## Distribution ## Distribution
Run `bun run package` to generate `dist-output/` folder for distribution.
Users then run:
```bash
cd dist-output
npm install --omit=dev
npm run start
```
## Electron single-exe distribution ## Electron single-exe distribution
To package as a single portable exe with built-in server: To package as a single portable exe with built-in server:

View File

@@ -22,7 +22,6 @@
"dev": "concurrently -n \"server,web,ui\" -c \"cyan,magenta,yellow\" \"bun run --cwd web dev:server:watch\" \"bun run --cwd web build:watch\" \"bun run --cwd ui dev\"", "dev": "concurrently -n \"server,web,ui\" -c \"cyan,magenta,yellow\" \"bun run --cwd web dev:server:watch\" \"bun run --cwd web build:watch\" \"bun run --cwd ui dev\"",
"build:web": "bun run --cwd web build", "build:web": "bun run --cwd web build",
"build:ui": "bun run --cwd ui build", "build:ui": "bun run --cwd ui build",
"package": "bun run build:web && bunx shx rm -rf dist-output && bunx shx mkdir dist-output && bunx shx cp -r web/dist dist-output/ && bunx shx cp -r web/server dist-output/ && bunx shx cp -r web/bin dist-output/ && bunx shx cp web/package.json dist-output/",
"type-check:web": "bun run --cwd web type-check", "type-check:web": "bun run --cwd web type-check",
"type-check:ui": "bun run --cwd ui type-check", "type-check:ui": "bun run --cwd ui type-check",
"lint:web": "bun run --cwd web lint", "lint:web": "bun run --cwd web lint",