Monorepo Structure

Static UI uses Turborepo with PNPM workspaces for scalable monorepo management.

Workspace Configuration

packages:
  - "apps/*"
  - "packages/*"

Package Manager

PNPM v11.5.2 with the following configuration:

  • Package Manager: pnpm@11.5.2
  • Lockfile: pnpm-lock.yaml
  • Workspace protocol: workspace:* for internal dependencies

Turbo Pipeline

The turbo.json defines the build, test, and deployment pipeline:

  • build: Depends on ^build, outputs to dist/ and .next/
  • typecheck: Depends on ^build
  • test: Depends on ^build, runs vitest
  • lint: Depends on ^build, runs eslint
  • e2e: Depends on build, runs playwright

Key Commands

pnpm dev          # Start all dev servers
pnpm build        # Build all packages
pnpm test         # Run all tests
pnpm lint         # Lint all packages
pnpm typecheck    # TypeScript check all packages
pnpm clean        # Clean all build outputs