pnpm-turborepo-boilerplate
pnpm-turborepo-boilerplate copied to clipboard
This is a basic configuration for a Turborepo setup that enables web app development with TypeScript, Tailwind CSS,Prisma ORM, Drizzle ORM, CVA (Class Variance Authority), and a shared UI component li...
trafficstars
Welcome to pnpm-turborepo-boilerplate 👋
What's inside?
This turborepo uses pnpm as a package manager. It includes the following packages/apps:
Apps and Packages
web: a Next 13 Next.js app.t3-app: a T3 Stack project bootstrapped with create-t3-app.t3-drizzle: a T3 Stack project bootstrapped with create-t3-app & Drizzle-orm.ui: a stub React component library shared throughout the monorepo.utils: shared utils throughout the monorepo.prisma-orm: Prisma instence / client used throughout the monorepo.drizzle: Drizzle-orm & drizzle-kit used throughout the monorepo.eslint-config-custom:eslint.tsconfig:tsconfig.json's used throughout the monorepo.
Each package & app is 100% TypeScript.
Utilities
This turborepo has some additional tools already setup for you:
- TypeScript for static type checking
- ESLint for code linting
- Prettier for code formatting
- Pretty-quick runs prettier over changed files
- Prisma Prisma is a next-generation Typescript ORM
- Drizzle Drizzle ORM is a TypeScript ORM for SQL databases
For git integration it has also:
- Conventional commits for improving commits
- Husky for improving commits
Prerequisites
- pnpm
- node >=18.4.0