From bdcb727f894843967b9b7930ddfe7340b0f205ff Mon Sep 17 00:00:00 2001 From: Naomi Carrigan Date: Tue, 20 Jan 2026 20:50:00 -0800 Subject: [PATCH] fix: use correct tsconfig for helper scripts (#65382) --- curriculum/package.json | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/curriculum/package.json b/curriculum/package.json index cef320c70f5..238a7281741 100644 --- a/curriculum/package.json +++ b/curriculum/package.json @@ -22,23 +22,23 @@ "build": "tsx ./src/generate/build-curriculum", "compile": "tsc", "type-check": "tsc --noEmit", - "create-empty-steps": "CALLING_DIR=$INIT_CWD tsx --tsconfig ../tsconfig.json ../tools/challenge-helper-scripts/create-empty-steps", - "create-next-challenge": "CALLING_DIR=$INIT_CWD tsx --tsconfig ../tsconfig.json ../tools/challenge-helper-scripts/create-next-challenge", - "create-this-challenge": "CALLING_DIR=$INIT_CWD tsx --tsconfig ../tsconfig.json ../tools/challenge-helper-scripts/create-this-challenge", - "create-next-step": "CALLING_DIR=$INIT_CWD tsx --tsconfig ../tsconfig.json ../tools/challenge-helper-scripts/create-next-step", - "create-next-task": "CALLING_DIR=$INIT_CWD tsx --tsconfig ../tsconfig.json ../tools/challenge-helper-scripts/create-next-task", - "insert-challenge": "CALLING_DIR=$INIT_CWD tsx --tsconfig ../tsconfig.json ../tools/challenge-helper-scripts/insert-challenge", - "insert-step": "CALLING_DIR=$INIT_CWD tsx --tsconfig ../tsconfig.json ../tools/challenge-helper-scripts/insert-step", - "insert-task": "CALLING_DIR=$INIT_CWD tsx --tsconfig ../tsconfig.json ../tools/challenge-helper-scripts/insert-task", + "create-empty-steps": "CALLING_DIR=$INIT_CWD tsx --tsconfig ../tools/challenge-helper-scripts/tsconfig.json ../tools/challenge-helper-scripts/create-empty-steps", + "create-next-challenge": "CALLING_DIR=$INIT_CWD tsx --tsconfig ../tools/challenge-helper-scripts/tsconfig.json ../tools/challenge-helper-scripts/create-next-challenge", + "create-this-challenge": "CALLING_DIR=$INIT_CWD tsx --tsconfig ../tools/challenge-helper-scripts/tsconfig.json ../tools/challenge-helper-scripts/create-this-challenge", + "create-next-step": "CALLING_DIR=$INIT_CWD tsx --tsconfig ../tools/challenge-helper-scripts/tsconfig.json ../tools/challenge-helper-scripts/create-next-step", + "create-next-task": "CALLING_DIR=$INIT_CWD tsx --tsconfig ../tools/challenge-helper-scripts/tsconfig.json ../tools/challenge-helper-scripts/create-next-task", + "insert-challenge": "CALLING_DIR=$INIT_CWD tsx --tsconfig ../tools/challenge-helper-scripts/tsconfig.json ../tools/challenge-helper-scripts/insert-challenge", + "insert-step": "CALLING_DIR=$INIT_CWD tsx --tsconfig ../tools/challenge-helper-scripts/tsconfig.json ../tools/challenge-helper-scripts/insert-step", + "insert-task": "CALLING_DIR=$INIT_CWD tsx --tsconfig ../tools/challenge-helper-scripts/tsconfig.json ../tools/challenge-helper-scripts/insert-task", "install-puppeteer": "puppeteer browsers install chrome", - "delete-step": "CALLING_DIR=$INIT_CWD tsx --tsconfig ../tsconfig.json ../tools/challenge-helper-scripts/delete-step", - "delete-challenge": "CALLING_DIR=$INIT_CWD tsx --tsconfig ../tsconfig.json ../tools/challenge-helper-scripts/delete-challenge", - "delete-task": "CALLING_DIR=$INIT_CWD tsx --tsconfig ../tsconfig.json ../tools/challenge-helper-scripts/delete-task", + "delete-step": "CALLING_DIR=$INIT_CWD tsx --tsconfig ../tools/challenge-helper-scripts/tsconfig.json ../tools/challenge-helper-scripts/delete-step", + "delete-challenge": "CALLING_DIR=$INIT_CWD tsx --tsconfig ../tools/challenge-helper-scripts/tsconfig.json ../tools/challenge-helper-scripts/delete-challenge", + "delete-task": "CALLING_DIR=$INIT_CWD tsx --tsconfig ../tools/challenge-helper-scripts/tsconfig.json ../tools/challenge-helper-scripts/delete-task", "lint": "eslint --max-warnings 0", "lint-challenges": "tsx src/lint-localized", - "reorder-tasks": "CALLING_DIR=$INIT_CWD tsx --tsconfig ../tsconfig.json ../tools/challenge-helper-scripts/reorder-tasks", - "update-challenge-order": "CALLING_DIR=$INIT_CWD tsx --tsconfig ../tsconfig.json ../tools/challenge-helper-scripts/update-challenge-order", - "update-step-titles": "CALLING_DIR=$INIT_CWD tsx --tsconfig ../tsconfig.json ../tools/challenge-helper-scripts/update-step-titles", + "reorder-tasks": "CALLING_DIR=$INIT_CWD tsx --tsconfig ../tools/challenge-helper-scripts/tsconfig.json ../tools/challenge-helper-scripts/reorder-tasks", + "update-challenge-order": "CALLING_DIR=$INIT_CWD tsx --tsconfig ../tools/challenge-helper-scripts/tsconfig.json ../tools/challenge-helper-scripts/update-challenge-order", + "update-step-titles": "CALLING_DIR=$INIT_CWD tsx --tsconfig ../tools/challenge-helper-scripts/tsconfig.json ../tools/challenge-helper-scripts/update-step-titles", "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",