From 1f78a3e95e630c33cbb4911d644fd51f2800e7b0 Mon Sep 17 00:00:00 2001 From: ssdfasd <2156608475@qq.com> Date: Fri, 13 Mar 2026 00:36:37 +0800 Subject: [PATCH] Remove dist-output packaging, use electron only --- AGENTS.md | 8 -------- package.json | 1 - 2 files changed, 9 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 66b33e6..e69a520 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -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: diff --git a/package.json b/package.json index c88eff7..d1ff849 100644 --- a/package.json +++ b/package.json @@ -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",