Revert Electrobun migration; restructure Tauri tree to apps/desktop/ #12
Loading…
Reference in a new issue
No description provided.
Delete branch "revert-electrobun"
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
git revertcommits, leaving the codebase back at its Tauri state.backend/andfrontend/move underapps/desktop/, Cargo/Tauri configs point at the new paths, and Cargo output routes to the repo-roottarget/.What stayed the same
What changed structurally
package.jsonwithworkspaces: ["apps/*"], owns all JS deps + tooling. Single hoistednode_modules/at root.bun.lockcommitted at root.name: "desktop", private.apps/desktop/tsconfig.jsonextends root and declares jsx, DOM lib,@/path aliases. Frontend's oldtsconfig.jsonand.eslintrc.cjsdropped.resources/icons/gets the full hicolor set plus.ico/.icnsand the ImageMagickgenerate-icons.sh.resources/samples/collects the screenplay test fixtures.backend/icons/is gone.resources/seria.desktopdropped — tauri-bundler auto-generates it.../../../resources/icons/. Cargo's.cargo/config.tomlroutestarget-dirto../../../target/so Rust and Tauri bundler output land at the repo root.Cargo.tomlversion aligned to 0.0.3.setup.shinto thesetuptarget (still handles Rust/Bun/system-dep checks per OS). Newmake version V=X.Y.Ztarget syncs version acrosspackage.json(root + app),tauri.conf.json, andCargo.toml. New file-basedmake iconstarget regenerates the full icon set whenseria-icon-fullres.pngorgenerate-icons.shchanges.scripts/sync-version.{sh,ps1}andsetup.shremoved.Test plan
bun install— 392 packages hoisted cleanly at rootmake typecheck(tsc --noEmit -p apps/desktop) cleanbun run lintcleanbun test— all 134 tests passmake check— Rust compiles; output lands at repo-roottarget/make lint— ESLint + Rust clippy cleanbun run build:view— frontend bundle builds intoapps/desktop/frontend/dist/make icons— regenerates the full set from the fullres sourcemake dev— opens a Tauri dev windowmake build-linux— full.deb/.rpm/ AppImage run (left for post-merge verification)