Getting Started with Turborepo

Offical Doc:

https://turbo.build/docs

1
pnpx create-turbo@latest

turbo.json

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"$schema": "https://turbo.build/schema.json",
"globalDependencies": ["**/.env.*local"],
"pipeline": {
"build": {
"dependsOn": ["^build"],
"outputs": ["dist/**", ".next/**", "storybook-static/**"]
},
"lint": {
"outputs": []
},
"dev": {
"cache": false,
"persistent": true
},
"test": {
"dependsOn": ["build"],
"outputs": ["coverage/**"],
"inputs": ["src/**/*.tsx", "src/**/*.ts", "test/**/*.ts", "test/**/*.tsx"]
}
}
}

Getting Started with Turborepo
https://www.hardyhu.cn/2025/04/13/Getting-Started-with-Turborepo/
Author
John Doe
Posted on
April 13, 2025
Licensed under