单体仓库手册
现在我们已经介绍了核心概念,是时候进行实践了。本手册涵盖了设置和使用单体仓库所需了解的一切。
基础知识
了解单体仓库的基本构建块 - 工作区、软件包和依赖项。
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.
任务
配置单体仓库中的常见任务,如linting、测试和构建应用和软件包。
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.