mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-03-24 20:00:39 -04:00
fix(tools): improve curriculum build, but with correct caching (#66323)
This commit is contained in:
committed by
GitHub
parent
ecceedbbb6
commit
fcdf03fe33
@@ -27,7 +27,7 @@
|
||||
"author": "freeCodeCamp <team@freecodecamp.org>",
|
||||
"scripts": {
|
||||
"audit-challenges": "pnpm turbo setup && tsx ./src/challenge-auditor/index.ts",
|
||||
"build": "tsc && tsx ./src/generate/build-curriculum",
|
||||
"build": "node ./dist/generate/build-curriculum",
|
||||
"type-check": "tsc --noEmit",
|
||||
"create-empty-steps": "tsx --tsconfig ../tools/challenge-helper-scripts/tsconfig.json ../tools/challenge-helper-scripts/create-empty-steps",
|
||||
"create-next-challenge": "tsx --tsconfig ../tools/challenge-helper-scripts/tsconfig.json ../tools/challenge-helper-scripts/create-next-challenge",
|
||||
@@ -46,6 +46,7 @@
|
||||
"reorder-tasks": "tsx --tsconfig ../tools/challenge-helper-scripts/tsconfig.json ../tools/challenge-helper-scripts/reorder-tasks",
|
||||
"update-challenge-order": "tsx --tsconfig ../tools/challenge-helper-scripts/tsconfig.json ../tools/challenge-helper-scripts/update-challenge-order",
|
||||
"update-step-titles": "tsx --tsconfig ../tools/challenge-helper-scripts/tsconfig.json ../tools/challenge-helper-scripts/update-step-titles",
|
||||
"setup": "tsc",
|
||||
"test": "NODE_OPTIONS='--max-old-space-size=7168' pnpm test-gen && vitest run",
|
||||
"test:watch": "pnpm test-gen && vitest",
|
||||
"test-gen": "tsx ./src/test/utils/generate-block-tests.ts",
|
||||
|
||||
@@ -6,6 +6,9 @@
|
||||
"outputs": ["dist/**", "generated/**"],
|
||||
"env": ["FCC_*", "SHOW_UPCOMING_CHANGES", "CURRICULUM_LOCALE"]
|
||||
},
|
||||
"setup": {
|
||||
"outputs": ["dist/**"]
|
||||
},
|
||||
"test": {
|
||||
"passThroughEnv": ["VITEST_POOL_ID", "PUPPETEER_WS_ENDPOINT"],
|
||||
"env": ["FCC_*", "CURRICULUM_LOCALE", "SHOW_UPCOMING_CHANGES"]
|
||||
|
||||
Reference in New Issue
Block a user