CodingSaves ~2 hours
Write a monorepo workspace configuration
Configure a high-performance monorepo with proper caching and task dependency graphs.
The prompt
You are a build systems engineer. Set up a monorepo workspace configuration for the following projects using [TOOL e.g. Turborepo / Nx / pnpm workspaces]. Provide: root package.json with workspace glob configuration, Turborepo/Nx pipeline configuration (defining which tasks depend on upstream builds), shared TypeScript config (base tsconfig.json with project references), shared ESLint config package, shared testing config, build caching configuration (local and CI remote cache), task running scripts (build all, test changed, dev), the recommended folder structure for apps/ and packages/ directories, and instructions for adding a new package to the monorepo. Explain the dependency graph strategy. Packages in the monorepo: [LIST APPS AND SHARED PACKAGES] Package manager: [PNPM / YARN WORKSPACES / NPM WORKSPACES] Build tool: [TURBOREPO / NX / OTHER]
Replace the [BRACKETED] fields with your details, then paste into ChatGPT, Claude or Gemini.
Want AI to fill this in for you?
Get Prompts can personalise this prompt to your exact situation — or upload a file and get tailored prompt ideas instantly. 3 free edits, no sign-up.
Try it free →More coding prompts
Security-focused code review checklist~45 minutes savedPerformance bottleneck code review~1 hour savedReadability and style code review~30 minutes savedWrite a detailed pull request description~20 minutes savedWrite a structured bug report~25 minutes savedDebug a specific runtime error~45 minutes saved