Restructure to apps/desktop monorepo + Linux installer pipeline #11
Loading…
Reference in a new issue
No description provided.
Delete branch "apps-monorepo-restructure"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
apps/desktop/{backend,frontend,shared}/, repo root holds only workspace configs + ancillary dirs (resources/,scripts/,target/,wiki/). Rootpackage.jsondeclaresworkspaces: ["apps/*"].tsconfigsplit: root for shared compiler options only;apps/desktop/tsconfig.jsonowns app-specific path aliases +jsx+ DOMlib.electrobun.config.tsmoves intoapps/desktop/and reads version frompackage.jsonso builds land in per-version subfolders —target/v<version>/seria_<version>_amd64.debalongsidetarget/v<version>/stable-linux-x64/seria/.scripts/package-linux.shproduces real.deb(viadpkg-deb) and.rpm(viarpmbuildwhen installed) from the Electrobun stable.tar.zstartifact. Missing tools skip their format rather than failing.resources/icons/generate-icons.shproduces the hicolor set +.ico+.icnsfromseria-icon-fullres.png. File-based Makefile target so regeneration only happens when source changes.setup,install,lint-fix,typecheck,icons,version).make version V=X.Y.Zupdates both root andapps/desktop/package.jsonfiles.setup.sh(superseded bymake setup);.gitignoreuses**/dist/to catch dist output at any depth.Rationale documented in Obsidian vault:
40 PhD/Seria/90-99 Agents/Transient/Project Structure Study.md.Test plan
bun test— 160/160 passing after restructurebunx tsc --noEmit -p apps/desktop— cleanbun apps/desktop/frontend/build.ts— view bundle builds with path aliases resolvingmake build-linux— producestarget/v0.1.0/seria_0.1.0_amd64.deb(33 MB).deband ran/usr/lib/seria/bin/launcher— window opens, RPC bootstraps, React mounts.debon a clean system + launch from desktop entry — smoke-test as you go