A workspace containing multiple Next.js projects and examples, including a standalone Next.js app and a monorepo setup.
This workspace contains two main projects:
A Next.js project with TypeScript, styling, and UI components.
Location: ./my first fail/
Key Features:
- Next.js with TypeScript
- ESLint configuration
- PostCSS and Tailwind CSS support
- ShadCN/UI components
- Component library structure
Tech Stack:
- Next.js
- React
- TypeScript
- Tailwind CSS
- shadcn/ui
A scalable monorepo setup using Turborepo for managing multiple packages and applications.
Location: ./next-monorepo/
Structure:
- apps/web - Main web application (Next.js)
- packages/eslint-config - Shared ESLint configurations
- packages/typescript-config - Shared TypeScript configurations
- packages/ui - Shared UI component library
Tech Stack:
- Turborepo
- pnpm workspaces
- Next.js
- React
- TypeScript
- shadcn/ui
- Node.js (v18 or higher)
- pnpm (recommended for monorepo)
cd "my first fail"
npm install
# or
pnpm installcd next-monorepo
pnpm installcd "my first fail"
npm run dev
# Development server runs on http://localhost:3000cd next-monorepo
pnpm dev
# Runs all packages simultaneously with Turboreponpm run dev- Start development servernpm run build- Build for productionnpm run start- Start production servernpm run lint- Run ESLint
pnpm dev- Start development for all apps/packagespnpm build- Build all apps/packagespnpm lint- Lint all packagespnpm test- Run tests (if configured)
Shared ESLint configurations for consistency across packages.
base.js- Base configurationnext.js- Next.js specificreact-internal.js- React internal
Shared TypeScript configurations.
base.json- Base configurationnextjs.json- Next.js specificreact-library.json- React library setup
Shared UI component library built with React and shadcn/ui.
- Both projects use ShadCN/UI for component libraries
- The monorepo uses Turborepo for efficient builds and dependency management
- Shared configurations ensure consistency across the workspace
This repository is for personal skill testing and development.