Convert garage into a pnpm + Turborepo monorepo #10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "issue-6-monorepo"
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?
Closes #6
Restructures the repository into a pnpm + Turborepo workspace hosting both apps.
Structure
(
packages/catalogis intentionally deferred to #7.)Changes
apps/*,packages/*) with a single lockfile.turbo.jsonwithdev/build/lint/testtasks; root scripts delegate to turbo.biome checkreplaceseslint.devenv(nix); devenv tasks/processes target thegarageworkspace..gitignoremade monorepo-aware; per-app infra files (lockfiles, devenv, eslint) removed from the store import.Verification
pnpm install --frozen-lockfilefrom root: passes.apps/managementproduction build: passes.apps/storeproduction build (SSG) against a catalog endpoint: passes.--filter garage,--filter garage-store) and serve HTTP 200.turbo run build --filter='[HEAD]'on a store-only change scopes togarage-storeonly — management is not rebuilt.garage-storetests (10) pass via turbo; management tests (30) pass.Notes
useOptionalChain, etc.) surfaced now that Biome runs there — Biome was never enforced on it before. This is a pure structural move, so management source is left byte-identical; cleaning that debt is out of scope for #6.98a379d0d0' a23ef121d0