diff --git a/curriculum/package.json b/curriculum/package.json index 472c086f615..4212d60e011 100644 --- a/curriculum/package.json +++ b/curriculum/package.json @@ -27,7 +27,7 @@ "author": "freeCodeCamp ", "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", diff --git a/curriculum/turbo.json b/curriculum/turbo.json index 0b21130b7db..29c6b9bf323 100644 --- a/curriculum/turbo.json +++ b/curriculum/turbo.json @@ -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"]