Files
freeCodeCamp/turbo.json
2026-01-21 10:17:06 +05:30

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"]
}
}
}