Skip to content

Commit 89799dd

Browse files
committed
chore: update turbo dependency to version 2.3.3 and refactor turbo.json structure
1 parent 7ddf9a3 commit 89799dd

File tree

2 files changed

+22
-15
lines changed

2 files changed

+22
-15
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"eslint": "^8.56.0",
1313
"prettier": "^3.1.1",
1414
"tsconfig": "workspace:*",
15-
"turbo": "^1.11.2"
15+
"turbo": "^2.3.3"
1616
},
1717
"packageManager": "[email protected]",
1818
"name": "turbo-template"

turbo.json

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,23 @@
11
{
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-
"test": {},
11-
"dev": {
12-
"cache": false,
13-
"persistent": true
14-
}
15-
}
2+
"$schema": "https://turbo.build/schema.json",
3+
"globalDependencies": [
4+
"**/.env.*local"
5+
],
6+
"tasks": {
7+
"build": {
8+
"dependsOn": [
9+
"^build"
10+
],
11+
"outputs": [
12+
".next/**",
13+
"!.next/cache/**"
14+
]
15+
},
16+
"lint": {},
17+
"test": {},
18+
"dev": {
19+
"cache": false,
20+
"persistent": true
21+
}
22+
}
1623
}

0 commit comments

Comments
 (0)