mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 10:22:16 +00:00
refactor(tools): simplify turbo tasks, include outputs (#65462)
This commit is contained in:
committed by
GitHub
parent
78456b1ccf
commit
0b048016d2
+9
-21
@@ -4,22 +4,10 @@
|
||||
"lint": { "dependsOn": ["compile"] },
|
||||
"type-check": { "dependsOn": ["compile"] },
|
||||
"@freecodecamp/client#lint": {
|
||||
"dependsOn": [
|
||||
"@freecodecamp/curriculum#compile",
|
||||
"create:env",
|
||||
"build:scripts"
|
||||
]
|
||||
"dependsOn": ["compile", "create:env"]
|
||||
},
|
||||
"@freecodecamp/client#type-check": {
|
||||
"dependsOn": [
|
||||
"@freecodecamp/curriculum#compile",
|
||||
"create:env",
|
||||
"@freecodecamp/curriculum#build",
|
||||
"build:scripts"
|
||||
]
|
||||
},
|
||||
"@freecodecamp/gatsby-source-challenges#lint": {
|
||||
"dependsOn": ["@freecodecamp/curriculum#compile"]
|
||||
"dependsOn": ["compile", "create:env"]
|
||||
},
|
||||
"@freecodecamp/scripts-lint#lint": {
|
||||
"dependsOn": ["@freecodecamp/client#create:trending"],
|
||||
@@ -29,15 +17,15 @@
|
||||
]
|
||||
},
|
||||
"//#lint-root": {
|
||||
"dependsOn": [
|
||||
"@freecodecamp/shared#compile",
|
||||
"@freecodecamp/curriculum#build"
|
||||
]
|
||||
"dependsOn": ["@freecodecamp/shared#compile"]
|
||||
},
|
||||
"compile": { "dependsOn": ["^compile"] },
|
||||
"compile": { "dependsOn": ["^compile"], "outputs": ["dist/**"] },
|
||||
"create:trending": { "cache": false },
|
||||
"create:env": { "dependsOn": ["@freecodecamp/curriculum#compile"] },
|
||||
"build": { "dependsOn": ["compile"] },
|
||||
"create:env": {
|
||||
"dependsOn": ["@freecodecamp/curriculum#compile"],
|
||||
"outputs": ["config/env.json"]
|
||||
},
|
||||
"build": { "dependsOn": ["compile"], "outputs": ["generated/**"] },
|
||||
"build:scripts": {},
|
||||
"build:external-curriculum": {
|
||||
"dependsOn": ["@freecodecamp/curriculum#build"]
|
||||
|
||||
Reference in New Issue
Block a user