Skip to content

Commit 4a2cb3d

Browse files
authoredAug 15, 2024
Upgrade to turbo v2 (withastro#11705)
1 parent b860a99 commit 4a2cb3d

File tree

3 files changed

+96
-77
lines changed

3 files changed

+96
-77
lines changed
 

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"only-allow": "^1.2.1",
6666
"prettier": "^3.3.3",
6767
"prettier-plugin-astro": "^0.14.1",
68-
"turbo": "^1.13.4",
68+
"turbo": "^2.0.12",
6969
"typescript": "~5.5.4",
7070
"typescript-eslint": "^8.0.1"
7171
},

‎pnpm-lock.yaml

+30-30
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎turbo.json

+65-46
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,67 @@
11
{
2-
"$schema": "https://turborepo.org/schema.json",
3-
"pipeline": {
4-
"build": {
5-
"dependsOn": ["^build"],
6-
"inputs": [
7-
"**/*",
8-
"!test/**/*",
9-
"!e2e/**/*",
10-
"!performance/**/*",
11-
"!.astro/**/*",
12-
"!.cache/**/*",
13-
"!mod.js",
14-
"!mod.js.map"
15-
],
16-
"outputs": ["dist/**/*", "!vendor/**", "mod.js", "mod.js.map"],
17-
"outputMode": "new-only"
18-
},
19-
"build:ci": {
20-
"dependsOn": ["^build:ci"],
21-
"inputs": [
22-
"**/*",
23-
"!test/**/*",
24-
"!e2e/**/*",
25-
"!performance/**/*",
26-
"!.astro/**/*",
27-
"!.cache/**/*",
28-
"!mod.js",
29-
"!mod.js.map"
30-
],
31-
"outputs": ["dist/**/*", "!vendor/**", "mod.js", "mod.js.map"],
32-
"outputMode": "new-only"
33-
},
34-
"dev": {
35-
"cache": false,
36-
"persistent": true
37-
},
38-
"test": {
39-
"dependsOn": ["^test"],
40-
"env": ["RUNNER_OS", "NODE_VERSION"],
41-
"outputMode": "new-only"
42-
},
43-
"test:hosted": {
44-
"outputMode": "new-only",
45-
"cache": false
46-
}
47-
}
2+
"$schema": "https://turborepo.org/schema.json",
3+
"tasks": {
4+
"build": {
5+
"dependsOn": [
6+
"^build"
7+
],
8+
"inputs": [
9+
"**/*",
10+
"!test/**/*",
11+
"!e2e/**/*",
12+
"!performance/**/*",
13+
"!.astro/**/*",
14+
"!.cache/**/*",
15+
"!mod.js",
16+
"!mod.js.map"
17+
],
18+
"outputs": [
19+
"dist/**/*",
20+
"!vendor/**",
21+
"mod.js",
22+
"mod.js.map"
23+
],
24+
"outputLogs": "new-only"
25+
},
26+
"build:ci": {
27+
"dependsOn": [
28+
"^build:ci"
29+
],
30+
"inputs": [
31+
"**/*",
32+
"!test/**/*",
33+
"!e2e/**/*",
34+
"!performance/**/*",
35+
"!.astro/**/*",
36+
"!.cache/**/*",
37+
"!mod.js",
38+
"!mod.js.map"
39+
],
40+
"outputs": [
41+
"dist/**/*",
42+
"!vendor/**",
43+
"mod.js",
44+
"mod.js.map"
45+
],
46+
"outputLogs": "new-only"
47+
},
48+
"dev": {
49+
"cache": false,
50+
"persistent": true
51+
},
52+
"test": {
53+
"dependsOn": [
54+
"^test"
55+
],
56+
"env": [
57+
"RUNNER_OS",
58+
"NODE_VERSION"
59+
],
60+
"outputLogs": "new-only"
61+
},
62+
"test:hosted": {
63+
"cache": false,
64+
"outputLogs": "new-only"
65+
}
66+
}
4867
}

0 commit comments

Comments
 (0)