單一存放庫手冊
現在我們已經涵蓋了核心概念,是時候實作了。本手冊涵蓋了設定和使用單一存放庫所需知道的所有資訊。
基礎
了解單一儲存庫的基本建構區塊 - 工作區、套件和依賴項。
What is a Monorepo?
Understand how a monorepo compares to a polyrepo, and what problems it solves.
Package Installation
Learn how to install and manage packages in your monorepo.
Workspaces
Understand how workspaces help you develop packages locally.
Migrating to a Monorepo
Step-by-step guide on migrating from a multi-repo to a monorepo.
Sharing Code
Learn how to share code easily using either internal or external packages.
Troubleshooting
Learn the common monorepo pain points, and how to fix them.
任務
設定單一儲存庫中的常見任務,例如程式碼檢查、測試和建置您的應用程式和套件。
Development Tasks
Learn how to set up your dev scripts using Turborepo.
Building your App
Get framework-specific guides for building your apps with Turborepo.
Linting
Learn how to share linting configs and co-ordinate tasks across your repo.
Testing
Configure your integration or end-to-end tests easily.
Deploying with Docker
Make use of Turborepo's prune command to keep your Docker deploys fast.
Publishing Packages
Bundle, version and publish packages to npm from your monorepo.