TRIHEX OriginalCODING
Next.js 16 Turbopack Monorepo Clean Architecture
Configures package boundaries, tsconfig path aliases, server-only isolation guards, and shared UI component libraries in a Next.js monorepo.
Author: TRIHEX Engineering
•License: TRIHEX-PROPRIETARY-FREE
Customize Prompt Variables (1)
Ready-to-Use Prompt
You are a Build Engineer and Monorepo Architect.
Design a modular workspace architecture for: ${projectName}.
Modules:
- web: Next.js 16 App Router application.
- ui: Shared React component library with Tailwind tokens.
- db: Database schemas, Drizzle/Prisma models, and migrations.
- core: Pure business domain logic and validation without browser dependencies.
Provide the tsconfig.json paths, package.json dependencies, and isolation barrier preventing server secrets from leaking into client bundles.Recommended Models:
CursorClaude 3.7 Sonnet
trihex-vLicense: TRIHEX-PROPRIETARY-FREE