create-turbo
Turborepo를 시작하는 가장 쉬운 방법은 create-turbo를 사용하는 것입니다. 이 CLI 도구를 사용하여 모든 것이 설정된 새로운 monorepo 구축을 빠르게 시작할 수 있습니다.
예제로 시작하기
커뮤니티에서는 Turborepo와 함께 일반적인 도구 및 라이브러리를 사용하는 방법을 보여주는 예제 세트를 관리합니다. 예제 중 하나로 monorepo를 부트스트랩하려면 --example 플래그를 사용하세요:
아래 예제 이름 중 하나를 사용하세요:
코어 관리 예제
다음 예제는 Turborepo 코어 팀에서 관리합니다. 의존성은 가능한 한 최신 상태로 유지되며 이러한 예제에 대한 GitHub Issues가 수락되고 처리됩니다.
| Name | Description |
|---|---|
| Basic | Basic monorepo example with two Next.js applications |
| Kitchen sink | Multiple frameworks, both frontend and backend |
| Non-monorepo | A standalone application using Turborepo |
| Shell commands | A nearly empty Turborepo - useful for creating reproductions for GitHub Issues |
| SvelteKit | Monorepo with multiple SvelteKit apps sharing a UI Library |
| TailwindCSS | Monorepo with multiple Next.js apps sharing a UI library built with TailwindCSS |
커뮤니티 관리 예제
커뮤니티에서는 Turborepo와 함께 일반적인 도구 및 라이브러리를 사용하는 방법을 보여주는 예제 세트를 관리합니다. 예제 중 하나로 monorepo를 부트스트랩하려면 --example 플래그를 사용하세요:
| Name | Description |
|---|---|
| Design System | Unify your site's look and feel by sharing a design system across multiple apps |
| Angular | Minimal Turborepo example for learning the fundamentals |
| Yarn Berry | Monorepo example using Yarn Berry (Yarn 3) |
| Changesets | Configured to publish packages via Changesets |
| Docker | Monorepo with an Express API and a Next.js App deployed with Docker utilizing turbo prune |
| Gatsby | Monorepo with a Gatsby.js and a Next.js app both sharing a UI Library |
| Nest.js | Monorepo with Nest.js |
| npm workspaces | Monorepo example using NPM workspaces |
| Prisma | Monorepo with a Next.js App fully configured with Prisma |
| React Native | Simple React Native & Next.js monorepo with a shared UI library |
| Rollup | Monorepo with a single Next.js app sharing a UI library bundled with Rollup |
| Solid.js | Monorepo example with SolidJS applications |
| typeorm | Monorepo with a Next.js App fully configured with typeorm |
| Vite | Monorepo with multiple Vanilla JS apps bundled with Vite, sharing a UI Library |
| Vite + React | Monorepo example with Vite and React |
| Vitest | Monorepo example with Vitest for testing |
| Vue/Nuxt | Monorepo with Vue and Nuxt, sharing a UI Library |
| Yarn | Monorepo example using Yarn workspaces |
커뮤니티 예제 사용하기
GitHub URL을 사용하여 사용자 정의 스타터 또는 예제를 사용할 수도 있습니다. 이는 커뮤니티의 사용자 정의 스타터 또는 예제를 사용하는 데 유용합니다.