mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-02-26 08:03:56 -05:00
54 lines
1.6 KiB
JSON
54 lines
1.6 KiB
JSON
{
|
|
"$schema": "https://turborepo.com/schema.json",
|
|
"tasks": {
|
|
"lint": { "dependsOn": ["compile"] },
|
|
"type-check": { "dependsOn": ["compile"] },
|
|
"@freecodecamp/client#lint": {
|
|
"dependsOn": [
|
|
"@freecodecamp/curriculum#compile",
|
|
"create:env",
|
|
"build:scripts"
|
|
]
|
|
},
|
|
"@freecodecamp/client#type-check": {
|
|
"dependsOn": [
|
|
"@freecodecamp/curriculum#compile",
|
|
"create:env",
|
|
"@freecodecamp/curriculum#build",
|
|
"build:scripts"
|
|
]
|
|
},
|
|
"@freecodecamp/gatsby-source-challenges#lint": {
|
|
"dependsOn": ["@freecodecamp/curriculum#compile"]
|
|
},
|
|
"@freecodecamp/scripts-lint#lint": {
|
|
"dependsOn": ["@freecodecamp/client#create:trending"],
|
|
"inputs": [
|
|
"$TURBO_DEFAULT$",
|
|
"$TURBO_ROOT$/client/i18n/locales/english/*"
|
|
]
|
|
},
|
|
"//#lint-root": {
|
|
"dependsOn": [
|
|
"@freecodecamp/shared#compile",
|
|
"@freecodecamp/curriculum#build"
|
|
]
|
|
},
|
|
"compile": { "dependsOn": ["^compile"] },
|
|
"create:trending": { "cache": false },
|
|
"create:env": { "dependsOn": ["@freecodecamp/curriculum#compile"] },
|
|
"build": { "dependsOn": ["compile"] },
|
|
"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"]
|
|
}
|
|
}
|
|
}
|