mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-08 16:00:58 -04:00
42 lines
1.3 KiB
JSON
42 lines
1.3 KiB
JSON
{
|
|
"$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"]
|
|
}
|
|
}
|
|
}
|