Skip to content

Commit 664dd31

Browse files
committed
simplify turbo
1 parent 2591c75 commit 664dd31

File tree

1 file changed

+9
-72
lines changed

1 file changed

+9
-72
lines changed

turbo.json

Lines changed: 9 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -3,80 +3,26 @@
33
"globalEnv": ["CI", "TW_SECRET_KEY"],
44
"tasks": {
55
"build": {
6-
"outputs": ["dist/**"],
7-
"dependsOn": ["^build"]
8-
},
9-
"postbuild": {
10-
"dependsOn": ["^postbuild"],
6+
"inputs": ["$TURBO_DEFAULT$", ".env*"],
117
"outputs": [
8+
"build/**",
9+
".vercel/**",
1210
"dist/**",
1311
".next/**",
14-
"public/robots.txt",
15-
"public/sitemap*.xml",
16-
"searchIndex.json"
17-
]
18-
},
19-
"bench": {
20-
"cache": false,
21-
"dependsOn": []
12+
"!.next/cache/**"
13+
],
14+
"dependsOn": ["^build"]
2215
},
2316
"typedoc": {
2417
"outputs": ["typedoc/**"],
2518
"dependsOn": ["^build"]
2619
},
27-
"thirdweb-dashboard#build": {
28-
"env": [
29-
"SENTRY_AUTH_TOKEN",
30-
"MORALIS_API_KEY",
31-
"ETHERSCAN_KEY",
32-
"SSR_ALCHEMY_KEY",
33-
"BEEHIIV_API_KEY",
34-
"GITHUB_API_TOKEN",
35-
"LUMA_API_KEY",
36-
"HUBSPOT_ACCESS_TOKEN",
37-
"API_ROUTES_CLIENT_ID",
38-
"DASHBOARD_SECRET_KEY",
39-
"SIMPLEHASH_API_KEY",
40-
"NEYNAR_API_KEY",
41-
"THIRDWEB_ENGINE_URL",
42-
"THIRDWEB_ACCESS_TOKEN",
43-
"THIRDWEB_ENGINE_ACCESS_TOKEN",
44-
"DEGEN_THIRDWEB_ENGINE_WALLET",
45-
"THIRDWEB_ENGINE_WALLET",
46-
"UNTHREAD_TRIAGE_CHANNEL_ID",
47-
"UNTHREAD_EMAIL_INBOX_ID",
48-
"UNTHREAD_FREE_TIER_ID",
49-
"UNTHREAD_GROWTH_TIER_ID",
50-
"UNTHREAD_PRO_TIER_ID",
51-
"REDIS_URL",
52-
"UNTHREAD_API_KEY",
53-
"CHAINSAW_API_KEY",
54-
"ANALYTICS_SERVICE_URL",
55-
"ANALYTICS_SERVICE_API_KEY",
56-
"DISABLE_FAUCET_CHAIN_IDS",
57-
"API_SERVER_SECRET",
58-
"TURNSTILE_SECRET_KEY",
59-
"NEXT_PUBLIC_TURNSTILE_SITE_KEY",
60-
"NEXT_PUBLIC_THIRDWEB_ENGINE_FAUCET_WALLET"
61-
],
62-
"outputs": [".next/**", "!.next/cache/**"],
63-
"dependsOn": ["^build"]
64-
},
6520
"portal#build": {
66-
"outputs": [".next/**", "!.next/cache/**", "searchIndex.json"],
6721
"dependsOn": ["^build", "thirdweb#typedoc"]
6822
},
6923
"portal#dev": {
7024
"dependsOn": ["^build", "thirdweb#typedoc"]
7125
},
72-
"playground-web#build": {
73-
"outputs": [".next/**", "!.next/cache/**"],
74-
"dependsOn": ["^build"]
75-
},
76-
"wallet-ui#build": {
77-
"outputs": [".next/**", "!.next/cache/**"],
78-
"dependsOn": ["^build"]
79-
},
8026
"thirdweb#update-version": {
8127
"inputs": ["$TURBO_DEFAULT$", "package.json"],
8228
"outputs": ["src/version.ts"]
@@ -89,20 +35,13 @@
8935
"storybook": {
9036
"inputs": ["$TURBO_DEFAULT$", "src/**"]
9137
},
92-
"test:legacy": {
93-
"outputs": ["coverage/**"],
94-
"inputs": ["$TURBO_DEFAULT$", "src/**", "test/**"],
95-
"dependsOn": ["^build"]
96-
},
9738
"e2e": {
9839
"outputs": [],
9940
"inputs": ["$TURBO_DEFAULT$", "src/**", "fixtures/**"],
10041
"dependsOn": ["^build"]
10142
},
102-
"e2e:legacy": {
103-
"outputs": [],
104-
"inputs": ["$TURBO_DEFAULT$", "src/**", "fixtures/**"],
105-
"dependsOn": ["^build"]
43+
"bench": {
44+
"cache": false
10645
},
10746
"lint": {
10847
"cache": false,
@@ -120,12 +59,10 @@
12059
"cache": false
12160
},
12261
"dev": {
62+
"dependsOn": ["^build"],
12363
"cache": false,
12464
"persistent": true
12565
},
126-
"thirdweb-dashboard#dev": {
127-
"dependsOn": ["^build"]
128-
},
12966
"clean": {
13067
"cache": false
13168
}

0 commit comments

Comments
 (0)