Back to prompts
Help me set up a TypeScript monorepo from scratch. Requirements: - Package manager: [NPM WORKSPACES / YARN WORKSPACES / PNPM] - Build tool: [TURBO / NX / NONE] - Packages to include: - apps/web — [NEXT.JS / VITE / etc.] - apps/api — [EXPRESS / HONO / FASTIFY] - packages/ui — shared UI components - packages/config — shared TypeScript and ESLint config Provide: 1. Root package.json with workspace config 2. Folder structure 3. Root tsconfig.json and how packages extend it 4. Root ESLint config and how packages inherit 5. Turbo.json or equivalent build pipeline config 6. Script to run all apps in dev mode from root 7. How to add a new shared package
How to use this prompt
- 1Copy the prompt using the button above.
- 2Open your AI tool (ChatGPT, Claude, Midjourney, etc.)
- 3Paste and customize any variables in the prompt.
- 4Generate your result.