Remove dist-output packaging, use electron only
This commit is contained in:
@@ -60,16 +60,8 @@ Skills catalog management including discovery, installation, and configuration o
|
||||
All scripts are in `package.json`.
|
||||
- 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`
|
||||
- Package for distribution: `bun run package` (outputs to `dist-output/`)
|
||||
|
||||
## 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
|
||||
To package as a single portable exe with built-in server:
|
||||
|
||||
@@ -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\"",
|
||||
"build:web": "bun run --cwd web 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:ui": "bun run --cwd ui type-check",
|
||||
"lint:web": "bun run --cwd web lint",
|
||||
|
||||
Reference in New Issue
Block a user