forked from freeCodeCamp/freeCodeCamp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathturbo.json
More file actions
41 lines (41 loc) · 1.29 KB
/
turbo.json
File metadata and controls
41 lines (41 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"$schema": "https://turborepo.com/schema.json",
"tasks": {
"lint": { "dependsOn": ["compile"] },
"type-check": { "dependsOn": ["compile"] },
"@freecodecamp/client#lint": {
"dependsOn": ["compile", "create:env"]
},
"@freecodecamp/client#type-check": {
"dependsOn": ["compile", "create:env"]
},
"@freecodecamp/scripts-lint#lint": {
"dependsOn": ["@freecodecamp/client#create:trending"],
"inputs": [
"$TURBO_DEFAULT$",
"$TURBO_ROOT$/client/i18n/locales/english/*"
]
},
"//#lint-root": {
"dependsOn": ["@freecodecamp/shared#compile"]
},
"compile": { "dependsOn": ["^compile"], "outputs": ["dist/**"] },
"create:trending": { "cache": false },
"create:env": {
"dependsOn": ["@freecodecamp/curriculum#compile"],
"outputs": ["config/env.json"]
},
"build": { "dependsOn": ["compile"], "outputs": ["generated/**"] },
"build:scripts": {},
"build:external-curriculum": {
"dependsOn": ["@freecodecamp/curriculum#build"]
},
"test": { "dependsOn": ["compile"] },
"@freecodecamp/api#test": {
"dependsOn": ["compile", "@freecodecamp/curriculum#build"]
},
"@freecodecamp/client#test": {
"dependsOn": ["compile", "create:env", "build:external-curriculum"]
}
}
}