Convert garage into a pnpm and Turborepo monorepo #6

Closed
opened 2026-07-17 19:09:40 +00:00 by yuris · 0 comments
Owner

Goal

Restructure garage as the home of both applications while keeping them independently runnable and deployable.

Target structure

apps/management
apps/store
packages/catalog

Scope

  • Move the current garage application to apps/management.
  • Import garage-store into apps/store, preserving its Git history if practical.
  • Configure one root pnpm workspace and lockfile.
  • Add minimal Turborepo task orchestration for dev, build, lint, and test.
  • Align both apps on the same Next.js version.
  • Replace garage-store ESLint with the repository's root Biome configuration.
  • Keep app-specific package scripts and environment files explicit.
  • Update root development configuration and repository documentation for the new paths.

Acceptance criteria

  • pnpm install succeeds from the repository root with a frozen lockfile.
  • Management and store can each be started independently from the root.
  • turbo build, turbo lint, and turbo test run the appropriate package tasks.
  • A store-only change does not require rebuilding management during affected checks.
  • Both existing applications retain their behavior after the move.

Non-goals

  • Shared UI, database, utility, or generic type packages.
  • Remote Turbo caching.
  • Combining the two applications into one deployment.
## Goal Restructure `garage` as the home of both applications while keeping them independently runnable and deployable. ## Target structure ```text apps/management apps/store packages/catalog ``` ## Scope - Move the current garage application to `apps/management`. - Import `garage-store` into `apps/store`, preserving its Git history if practical. - Configure one root pnpm workspace and lockfile. - Add minimal Turborepo task orchestration for `dev`, `build`, `lint`, and `test`. - Align both apps on the same Next.js version. - Replace garage-store ESLint with the repository's root Biome configuration. - Keep app-specific package scripts and environment files explicit. - Update root development configuration and repository documentation for the new paths. ## Acceptance criteria - `pnpm install` succeeds from the repository root with a frozen lockfile. - Management and store can each be started independently from the root. - `turbo build`, `turbo lint`, and `turbo test` run the appropriate package tasks. - A store-only change does not require rebuilding management during affected checks. - Both existing applications retain their behavior after the move. ## Non-goals - Shared UI, database, utility, or generic type packages. - Remote Turbo caching. - Combining the two applications into one deployment.
yuris closed this issue 2026-07-17 19:38:58 +00:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
yuris/garage#6
No description provided.