A favicon of Turborepo Shadcn UI

Turborepo Shadcn UI

A Turborepo boilerplate featuring pre-configured shadcn/ui, TypeScript, ESLint, and Prettier for streamlined monorepo development using pnpm.

A screenshot of Turborepo Shadcn UIVisit

Efficient Monorepo Starter: Turborepo with shadcn/ui Integration

This Turborepo starter provides a robust foundation for building scalable web applications within a monorepo structure. It comes pre-configured with shadcn/ui, enabling rapid UI development with beautiful, accessible components. The setup includes essential development tools like TypeScript for static typing, ESLint for code linting, and Prettier for consistent code formatting, all managed with pnpm for efficient dependency handling. It's designed to get developers up and running quickly.

Features:

  • Turborepo Integration: Manages monorepos efficiently with optimized build and task execution.
  • shadcn/ui Pre-configuration: Includes shadcn/ui, allowing easy addition and customization of UI components via a dedicated script.
  • pnpm Package Manager Focus: Primarily utilizes pnpm for efficient dependency management, with npm and bun versions available.
  • Next.js Documentation App: Features a 'docs' application built with Next.js to showcase or document the project.
  • Customizable UI Library (@repo/ui): Provides a React component library stub powered by shadcn/ui, ready for extension.
  • Shared ESLint Configuration: Centralized ESLint setup (@repo/eslint-config) including eslint-config-next and eslint-config-prettier for consistent linting.
  • Shared TypeScript Configuration: Monorepo-wide TypeScript configurations (@repo/typescript-config) for consistent type checking.
  • Full TypeScript Support: Ensures type safety across all packages and applications with 100% TypeScript adoption.
  • Prettier for Code Formatting: Integrated Prettier setup for maintaining consistent code style throughout the monorepo.
  • Component Addition Script: Offers a pnpm ui add script that mirrors the functionality of the shadcn/ui CLI.
  • Workspace Generation Command: Simplifies adding new applications or packages using pnpm turbo gen workspace, with an option to copy existing ones.
  • Remote Caching Capability: Supports Turborepo's Remote Caching feature for faster builds across machines and CI/CD pipelines, with Vercel integration.

Summary:

This Turborepo starter significantly streamlines the setup process for monorepo projects by integrating shadcn/ui, TypeScript, ESLint, and Prettier out-of-the-box. It offers tools for easy component and app generation, supports remote caching for faster builds, and provides a solid foundation for developing multiple applications and packages efficiently using pnpm, with options for npm or bun as well.

Distribution:
opensource
GitHub:
620 Stars
122 Forks
Share:

 

  
 

Similar to Turborepo Shadcn UI: