https://github.com/owieth/turborepo-example
Modern monorepo template — Next.js 16, React 19, Tailwind CSS v4, shadcn/ui, Nextra docs, TypeScript 5.9, Turborepo, pnpm workspaces
https://github.com/owieth/turborepo-example
monorepo nextjs nextjs16 nextra pnpm react react19 shadcn-ui starter-template tailwindcss tailwindcss-v4 turbo turborepo turborepo-template typescript
Last synced: about 1 month ago
JSON representation
Modern monorepo template — Next.js 16, React 19, Tailwind CSS v4, shadcn/ui, Nextra docs, TypeScript 5.9, Turborepo, pnpm workspaces
- Host: GitHub
- URL: https://github.com/owieth/turborepo-example
- Owner: owieth
- License: mit
- Created: 2023-08-15T13:03:42.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2026-03-31T12:24:53.000Z (about 2 months ago)
- Last Synced: 2026-04-04T10:56:14.856Z (about 1 month ago)
- Topics: monorepo, nextjs, nextjs16, nextra, pnpm, react, react19, shadcn-ui, starter-template, tailwindcss, tailwindcss-v4, turbo, turborepo, turborepo-template, typescript
- Language: TypeScript
- Homepage: https://owieth.github.io/turborepo-example/
- Size: 4.17 MB
- Stars: 17
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome-side-quests - owieth/turborepo-example
README
# Turborepo Example
A modern monorepo template built with Next.js 16, React 19, Tailwind CSS v4, TypeScript 5.9, Turborepo, and pnpm workspaces.
## Architecture
```mermaid
graph TD
A[apps/web] -->|imports| D[packages/ui]
B[apps/docs] -->|imports| D
A -->|extends| E[packages/tsconfig]
B -->|extends| E
A -->|extends| F[packages/eslint-config-custom]
B -->|extends| F
D -->|extends| E
D -->|extends| F
```
## What's Inside
### Apps
| App | Description | Port |
| ----------- | ------------------------------------- | ---- |
| `apps/web` | Next.js application with Tailwind CSS | 3000 |
| `apps/docs` | Nextra documentation site | 3001 |
### Packages
| Package | Description |
| ------------------------------- | ----------------------------------------------------------- |
| `packages/ui` | Shared React component library (shadcn/ui, Radix, Tailwind) |
| `packages/tsconfig` | Shared TypeScript configurations |
| `packages/eslint-config-custom` | Shared ESLint configuration |
## Prerequisites
- [Node.js](https://nodejs.org/) >= 22
- [pnpm](https://pnpm.io/) >= 10
## Getting Started
```bash
git clone https://github.com/owieth/turborepo-example.git
cd turborepo-example
pnpm install
pnpm dev
```
## Scripts
| Command | Description |
| --------------- | ---------------------------------- |
| `pnpm dev` | Start all apps in development mode |
| `pnpm build` | Build all apps and packages |
| `pnpm lint` | Lint all apps and packages |
| `pnpm clean` | Clean all build outputs |
| `pnpm prettier` | Format all files |
## Project Structure
```
turborepo-example/
apps/
web/ Next.js application
docs/ Nextra documentation
packages/
ui/ Shared component library
tsconfig/ TypeScript configurations
eslint-config-custom/ ESLint shared config
docs/ GitHub Pages landing page
turbo.json Turborepo task orchestration
pnpm-workspace.yaml Workspace definition
```
## Tech Stack
- [Next.js 16](https://nextjs.org/) — React framework
- [React 19](https://react.dev/) — UI library
- [Tailwind CSS v4](https://tailwindcss.com/) — Utility-first CSS
- [TypeScript 5.9](https://www.typescriptlang.org/) — Type safety
- [Turborepo](https://turbo.build/) — Build orchestration
- [pnpm](https://pnpm.io/) — Package management
- [shadcn/ui](https://ui.shadcn.com/) — Component primitives
- [Nextra](https://nextra.site/) — Documentation framework
## License
MIT