A favicon of Turborepo Shadcn Nextjs

Turborepo Shadcn Nextjs

A comprehensive Turborepo starter with Next.js, Nextra, shared shadcn/ui, Bun, Biome, Vitest, Playwright, and Storybook for streamlined full-stack development.

A screenshot of Turborepo Shadcn NextjsVisit

Turborepo Starter: Next.js, Nextra, shadcn/ui, Bun & Biome

This starter template provides a robust monorepo foundation using Turborepo, integrating Next.js for web applications, Nextra for documentation, and a shared, pre-configured shadcn/ui package. Powered by Bun for speed and Biome for code quality, it also includes Vitest, Playwright, and Storybook. It's designed to help developers kickstart projects efficiently with a modern, comprehensive toolset, ensuring scalability and maintainability from the get-go.

Features:

  • Monorepo with Turborepo: Manages multiple packages and applications with efficient builds and caching.
  • Next.js Integration: For building fast, server-rendered React web applications.
  • Nextra for Documentation: Simplifies creation of dedicated documentation sites.
  • Shared shadcn/ui Package: Provides pre-configured, customizable UI components accessible across the monorepo.
  • Bun Runtime: Leverages Bun for its speed as an all-in-one JavaScript toolkit.
  • Vitest for Unit Testing: Enables rapid execution of unit tests for code reliability.
  • Playwright for E2E Testing: Offers robust end-to-end testing capabilities for application workflows.
  • Storybook for Component Development: Supports isolated UI component development, visualization, and documentation.
  • Biome for Linting & Formatting: Ensures code consistency and quality with fast, opinionated linting and formatting.
  • TypeScript Support: Full TypeScript integration across all packages for enhanced type safety.
  • CI/CD with GitHub Actions: Pre-configured automated build, test, and deployment pipelines.
  • Automated Dependency Management: Keeps project dependencies current using Dependabot.
  • Automated Contributor Recognition: Automatically acknowledges project contributors in the README file.
  • Changesets for Versioning: Facilitates package versioning and changelog generation (currently work-in-progress).
  • Shared tsconfig: Standardizes TypeScript configurations across the monorepo for consistency.

Summary:

This Turborepo starter template offers a comprehensive solution for modern web development. It bundles Next.js, Nextra, and a shared shadcn/ui library, all powered by Bun and managed with Biome. With integrated testing (Vitest, Playwright), component development (Storybook), and CI/CD, it enables developers to build, test, and deploy full-stack applications and documentation sites efficiently within a well-structured monorepo environment.

Distribution:
opensource
GitHub:
63 Stars
5 Forks
Share:

 

  
 

Similar to Turborepo Shadcn Nextjs: