Skip to content

Commit 694ab78

Browse files
committed
add turbo config
1 parent f822a51 commit 694ab78

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

turbo.json

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"$schema": "https://turbo.build/schema.json",
3+
"globalEnv": [
4+
"NODE_ENV",
5+
"NEXT_PUBLIC_*"
6+
],
7+
"tasks": {
8+
"build": {
9+
"dependsOn": ["^build", "generate"],
10+
"outputs": [".next/**", "!.next/cache/**"],
11+
"env": [
12+
"BACKEND_URL",
13+
"SENTRY_*",
14+
"KEYCLOAK_*",
15+
"AUTH_ISSUER",
16+
"NEXTAUTH_*",
17+
"END_SESSION_URL",
18+
"REFRESH_TOKEN_URL"
19+
]
20+
},
21+
"dev": {
22+
"cache": false,
23+
"persistent": true
24+
},
25+
"dev:turbo": {
26+
"cache": false,
27+
"persistent": true
28+
},
29+
"generate": {
30+
"outputs": ["gql/**"],
31+
"cache": true
32+
},
33+
"lint": {
34+
"outputs": [],
35+
"cache": true
36+
},
37+
"start": {
38+
"dependsOn": ["build"],
39+
"cache": false
40+
}
41+
}
42+
}

0 commit comments

Comments
 (0)