Skip to content

Commit b1d11ff

Browse files
committed
Update turbo.json with additional environment variables and task configurations
1 parent be55fb8 commit b1d11ff

File tree

1 file changed

+95
-114
lines changed

1 file changed

+95
-114
lines changed

turbo.json

Lines changed: 95 additions & 114 deletions
Original file line numberDiff line numberDiff line change
@@ -1,115 +1,96 @@
11
{
2-
"$schema": "https://turbo.build/schema.json",
3-
"tasks": {
4-
"build": {
5-
"dependsOn": [
6-
"^build"
7-
],
8-
"outputs": [
9-
".next/**",
10-
"!.next/cache/**",
11-
"dist/**"
12-
],
13-
"env": [
14-
"NODE_ENV",
15-
"NEXT_PUBLIC_*",
16-
"SENTRY_DSN"
17-
]
18-
},
19-
"build:developer-docs": {
20-
"dependsOn": [
21-
"^build"
22-
],
23-
"outputs": [
24-
".next/**",
25-
"!.next/cache/**",
26-
"dist/**"
27-
],
28-
"env": [
29-
"NODE_ENV",
30-
"NEXT_PUBLIC_*",
31-
"SENTRY_DSN",
32-
"NEXT_PUBLIC_DEVELOPER_DOCS"
33-
]
34-
},
35-
"dev": {
36-
"cache": false,
37-
"persistent": true
38-
},
39-
"dev:developer-docs": {
40-
"cache": false,
41-
"persistent": true,
42-
"env": [
43-
"NEXT_PUBLIC_DEVELOPER_DOCS"
44-
]
45-
},
46-
"start": {
47-
"dependsOn": [
48-
"build"
49-
],
50-
"cache": false,
51-
"persistent": true
52-
},
53-
"lint": {
54-
"outputs": []
55-
},
56-
"lint:ts": {
57-
"outputs": []
58-
},
59-
"lint:docs": {
60-
"outputs": []
61-
},
62-
"lint:eslint": {
63-
"outputs": []
64-
},
65-
"lint:eslint:fix": {
66-
"cache": false,
67-
"outputs": []
68-
},
69-
"lint:prettier": {
70-
"outputs": []
71-
},
72-
"lint:prettier:fix": {
73-
"cache": false,
74-
"outputs": []
75-
},
76-
"lint:fix": {
77-
"cache": false,
78-
"outputs": []
79-
},
80-
"test": {
81-
"dependsOn": [
82-
"^build"
83-
],
84-
"outputs": [
85-
"coverage/**"
86-
],
87-
"inputs": [
88-
"src/**/*.{ts,tsx,js,jsx}",
89-
"test/**/*.{ts,tsx,js,jsx}",
90-
"**/*.test.*",
91-
"**/*.spec.*"
92-
]
93-
},
94-
"test:ci": {
95-
"dependsOn": [
96-
"^build"
97-
],
98-
"outputs": [
99-
"coverage/**"
100-
],
101-
"inputs": [
102-
"src/**/*.{ts,tsx,js,jsx}",
103-
"test/**/*.{ts,tsx,js,jsx}",
104-
"**/*.test.*",
105-
"**/*.spec.*"
106-
]
107-
},
108-
"enforce-redirects": {
109-
"cache": false
110-
},
111-
"migrate:dev": {
112-
"cache": false
113-
}
114-
}
115-
}
2+
"$schema": "https://turbo.build/schema.json",
3+
"tasks": {
4+
"build": {
5+
"dependsOn": ["^build"],
6+
"outputs": [".next/**", "!.next/cache/**", "dist/**"],
7+
"env": [
8+
"NODE_ENV",
9+
"NEXT_PUBLIC_*",
10+
"SENTRY_DSN",
11+
"CI",
12+
"CODECOV_TOKEN",
13+
"VERCEL_URL",
14+
"OPENAPI_LOCAL_PATH",
15+
"GATSBY_ENV",
16+
"GATSBY_HIDE_SANDBOX",
17+
"ESBUILD_BINARY_PATH"
18+
]
19+
},
20+
"build:developer-docs": {
21+
"dependsOn": ["^build"],
22+
"outputs": [".next/**", "!.next/cache/**", "dist/**"],
23+
"env": [
24+
"NODE_ENV",
25+
"NEXT_PUBLIC_*",
26+
"SENTRY_DSN",
27+
"CI",
28+
"CODECOV_TOKEN",
29+
"VERCEL_URL",
30+
"OPENAPI_LOCAL_PATH",
31+
"GATSBY_ENV",
32+
"GATSBY_HIDE_SANDBOX",
33+
"ESBUILD_BINARY_PATH"
34+
]
35+
},
36+
"dev": {
37+
"cache": false,
38+
"persistent": true,
39+
"env": [
40+
"NODE_ENV",
41+
"NEXT_PUBLIC_*",
42+
"SENTRY_DSN",
43+
"VERCEL_URL",
44+
"OPENAPI_LOCAL_PATH",
45+
"GATSBY_ENV",
46+
"GATSBY_HIDE_SANDBOX"
47+
]
48+
},
49+
"dev:developer-docs": {
50+
"cache": false,
51+
"persistent": true,
52+
"env": [
53+
"NODE_ENV",
54+
"NEXT_PUBLIC_*",
55+
"SENTRY_DSN",
56+
"VERCEL_URL",
57+
"OPENAPI_LOCAL_PATH",
58+
"GATSBY_ENV",
59+
"GATSBY_HIDE_SANDBOX"
60+
]
61+
},
62+
"start": {"dependsOn": ["build"], "cache": false, "persistent": true},
63+
"lint": {"outputs": []},
64+
"lint:ts": {"outputs": []},
65+
"lint:docs": {"outputs": []},
66+
"lint:eslint": {"outputs": []},
67+
"lint:eslint:fix": {"cache": false, "outputs": []},
68+
"lint:prettier": {"outputs": []},
69+
"lint:prettier:fix": {"cache": false, "outputs": []},
70+
"lint:fix": {"cache": false, "outputs": []},
71+
"test": {
72+
"dependsOn": ["^build"],
73+
"outputs": ["coverage/**"],
74+
"inputs": [
75+
"src/**/*.{ts,tsx,js,jsx}",
76+
"test/**/*.{ts,tsx,js,jsx}",
77+
"**/*.test.*",
78+
"**/*.spec.*"
79+
],
80+
"env": ["NODE_ENV"]
81+
},
82+
"test:ci": {
83+
"dependsOn": ["^build"],
84+
"outputs": ["coverage/**"],
85+
"inputs": [
86+
"src/**/*.{ts,tsx,js,jsx}",
87+
"test/**/*.{ts,tsx,js,jsx}",
88+
"**/*.test.*",
89+
"**/*.spec.*"
90+
],
91+
"env": ["NODE_ENV"]
92+
},
93+
"enforce-redirects": {"cache": false},
94+
"migrate:dev": {"cache": false}
95+
}
96+
}

0 commit comments

Comments
 (0)