Skip to content

Commit 8b2d50a

Browse files
committed
build: define the turbo.json configuration
This commit introduces the `turbo.json` file by the Turborepo template project with minimal/none alterations. This file will set the turbo pipelines for the build, lint, and dev processes; with the latter not consuming the remote cache managed by the Turborepo and Vercel Cloud platform.
1 parent 2a90247 commit 8b2d50a

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

turbo.json

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"$schema": "https://turbo.build/schema.json",
3+
"globalDependencies": ["**/.env.*local"],
4+
"pipeline": {
5+
"build": {
6+
"dependsOn": ["^build"],
7+
"outputs": [".next/**", "!.next/cache/**"]
8+
},
9+
"lint": {
10+
"dependsOn": ["^lint"]
11+
},
12+
"dev": {
13+
"cache": false,
14+
"persistent": true
15+
}
16+
}
17+
}

0 commit comments

Comments
 (0)