54 Commits

Author SHA1 Message Date
Krzysztof G.
075375700f feat(tools): rename-block helper script (#64201) 2025-12-10 09:45:18 -08:00
Oliver Eyton-Williams
37ce134123 refactor: (slightly) decentralize type checking (#64163) 2025-12-01 12:43:53 +01:00
Krzysztof G.
8ab7c106da feat(tools): add language block specific properties in helper scripts (#63711)
Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
2025-11-16 02:31:52 -08:00
Oliver Eyton-Williams
27a54624c3 refactor: blockType -> blockLabel (#62548)
Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
2025-10-23 23:20:15 +05:30
Oliver Eyton-Williams
4a635c1b32 refactor: migrate (some) curriculum files to TypeScript (#62228)
Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
2025-10-23 10:54:57 +05:30
Anna
c4a4abe487 fix(tools): allow more chapter based superblocks (#62203) 2025-09-26 11:34:45 +05:30
Oliver Eyton-Williams
51eba06a7d refactor: remove jest and lint vitest (#62330) 2025-09-24 09:27:03 +02:00
Huyen Nguyen
bdccefef08 refactor(challenge-helper-scripts): remove superBlock field from base meta (#62267) 2025-09-19 13:30:36 +05:30
Oliver Eyton-Williams
054d2448fa fix(tools): insert step with appropriate challenge type (#62179) 2025-09-16 13:20:25 +05:30
Anna
392f7f805e fix(tools): make create-challenge-helper prioritize full stack curriculum (#59644)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2025-09-11 10:34:04 -05:00
Tom
bd2167c176 fix(tools): adjust create language block helper script (#62090) 2025-09-09 11:32:10 -03:00
Tom
ce9f1dd99a chore(curriculum): minor clean up to daily challenges (#62095) 2025-09-09 13:47:45 +02:00
Oliver Eyton-Williams
ab9ec31a04 refactor: various workspaces to vitest (#62058)
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2025-09-08 11:35:38 +02:00
Oliver Eyton-Williams
10c565828e fix(tools): curriculum command line helpers (#61831) 2025-09-02 16:03:28 +02:00
Tom
a40fe34ae2 feat(tools): script to create daily challenge files (#61921) 2025-08-30 13:13:09 +05:30
Oliver Eyton-Williams
0ae01847cb refactor: share common intro creation code (#61814) 2025-08-15 08:05:54 +02:00
Tom
0c6222cd70 fix(challenge-helpers): add template for generic challenge (#61249) 2025-07-08 18:27:11 -03:00
Tom
783421008d feat(tools): better language challenge helpers (#60696) 2025-06-12 14:54:43 +02:00
Anna
b8d4099796 feat(tools): create challenge helper script for quiz files (#59523) 2025-04-10 09:56:42 -05:00
Anshik Jain
377d5775d6 fix(curriculum): update minimum questions from 17 to 18 (#59319) 2025-03-18 16:42:14 +01:00
Oliver Eyton-Williams
6e9513a933 chore: upgrade eslint (#58575) 2025-02-07 22:48:43 +02:00
Anderson Corrêa
b29dcdbed1 fix(tools): update grammar in quiz challenge template (#57338) 2024-11-26 23:59:36 -08:00
RGHANILOO
32e05b6c51 fix(curriculum): update passing criteria for quiz (#56798)
Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
2024-10-23 15:17:07 -05:00
DanielRosa74
d0eacaee93 feat(curriculum): add changes to the helper script for multiple-choice questions (#56342) 2024-09-30 09:29:51 +02:00
Lars Kappert
d32e57813e chore: update Knip to v5 (#56244) 2024-09-26 13:12:00 +02:00
Oliver Eyton-Williams
ffe765dac1 refactor: quiz challenge question format (#56285) 2024-09-25 10:41:38 -07:00
Huyen Nguyen
d21bbf3b2d chore(curriculum, tools): move assignment headings out of question (#56060) 2024-09-11 08:05:01 -05:00
Oliver Eyton-Williams
b9893bb4d6 feat(client): show demo on demand in labs (#55569)
Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2024-08-13 14:56:19 +02:00
Anna
973b7175c9 fix(curriculum): use-blank-word-instead-of-char (#55444) 2024-07-18 20:13:10 -05:00
Krzysztof G
5baca709b1 fix(tools): remove not allowed property (#55156) 2024-06-11 06:51:59 -07:00
Mostafa Elgreatly
f8426e617e chore:remove isBeta flag (#54491) 2024-04-25 19:13:57 -05:00
Manabu Matsumoto
a6bd2f0981 fix(tools): make the editing steps tool keep the challenge type (#54308) 2024-04-08 11:27:42 -07:00
Ilenia
2e316d5d40 fix(tools): adjust message short name to dashed name (#54184) 2024-03-22 15:46:24 +02:00
Tom
b3fb38acc4 feat(challenge-editor): add english/task helper scripts (#54111)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2024-03-19 15:06:22 +00:00
Oliver Eyton-Williams
a6140777a5 fix: errors if challenge file needs renaming (#54130) 2024-03-18 08:29:11 -07:00
Oliver Eyton-Williams
fab633088f fix: throw error when unable to create challenge (#53905) 2024-02-29 12:47:50 +01:00
Oliver Eyton-Williams
208b6efca8 feat: provide sensible default title/dashedName (#53269) 2024-01-18 19:11:44 -06:00
Oliver Eyton-Williams
efb6398b8e fix: sort challengeOrder when repairing meta (#53037) 2024-01-11 16:36:29 +05:00
Tom
84330390b2 feat(tools/challenge-editor): add challenge tools for working with English challenges (#52320) 2023-11-13 07:18:45 -08:00
renovate[bot]
87e1ae21a5 chore: update TS and Fastify (#52157)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Sboonny <muhammedelruby@gmail.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-11-07 17:22:59 +05:30
Naomi Carrigan
dbcc2af39b fix(tools): update failing tests on main (#51980) 2023-10-15 23:52:54 +05:30
Oliver Eyton-Williams
391fc2e34d refactor: create shared workspace (#51454) 2023-09-07 23:06:01 +05:30
Oliver Eyton-Williams
9441f781fd refactor: move challenge types to config (#51027) 2023-07-24 13:12:47 -07:00
Naomi Carrigan
ab640abee1 chore: detuplication (#50955)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-07-13 12:46:00 +02:00
Naomi Carrigan
a374c2fade feat: challenge helpers for non-step-based challenges (#50769)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2023-07-11 12:32:25 -05:00
Tom
d02bb663c4 refactor(curriculum): move helpCategory to block meta.json file (#50265)
* refactor: move helpCategory to block meta

* fix: test?
2023-05-04 08:46:58 +02:00
Niraj Nandish
53164e71f1 fix: circular dependencies (#46638)
* fix: circular dependency in formHelpers

* fix: circular dependency in Flash

* fix: circular dependency in helpers

* fix: circular dependency in current-challenge-saga (1/2)

* fix: circular dependency in code-lock-epic

* feat: eslint rule for circular dependencies

* fix: circular dependency in tools

* fix: import error and more circular dependencies in formHelpers

* fix prettier error

* fix: circular dependency in danger-zone-saga

* fix: circular dependency in update-email-saga

* fix: circular dependency in settings-saga

* fix: circular dependency in accept-terms-saga

* fix: circular dependency in codeally-saga

TODO: make a separate file for selectors

* fix: ci lint error

* fix: ci lint:prettier error

* fix: circular dependency in current-challenge-saga

* fix: cricular dependency in Challenges/redux

* fix: circular dependency in redux/settings

* fix: circular dependency in root redux

* fix: lint errors

* chore: remove unecessary comment

* chore: remove unused export

* fix: clear out actions and selectors

* revert changes to package.json

* test ci with maxDepth of 1

* fix: fallback to empty object

* test action if it will run for maxDepth of 2
2022-10-05 18:08:40 +01:00
Sem Bauke
d92eb803da fix(tests): windows pathing (#45799)
* fix: tests on Windows

* fix: use path join instead
2022-04-28 22:04:16 +01:00
Oliver Eyton-Williams
339c6713d2 feat: update challenge helpers to handle id filenames (#44769)
* refactor: light tweaks for readability

* refactor: simplify metadata functions

* fix: most tests

* test: fix utils tests

* test: simplify mocks

* WIP: update get-last-step-file-content

* feat: finish create-next-step

* fix: type error

* test: provide mock meta.json for test

* refactor: get meta path from project path

* refactor: get project name from path

* refactor: simplify getProjectMetaPath further

Also removes some excessive mocking

* refactor: remove more mocks, always clear .env

* feat: update create-next-step

* feat: update create-empty steps

Also refactors slightly, so it's easier to insert steps into the meta

* docs: update challenge-helper-script docs

* feat: create-step-between

* refactor: allow metadata parse errors to propagate

* fix: convert reorderSteps to renameSteps

* refactor: create-step-between -> insert-step

* feat: update delete-step

* refactor: consolidate commands into commands.ts

* refactor: clean up and consolidation

* refactor: more cleanup

* fix: make cli args consistent

Everything accepts a single integer and nothing else

* refactor: renameSteps -> updateStepTitles

* docs: update with the names and args

* feat: add step validating meta + files are synced
2022-03-02 07:12:20 -08:00
Oliver Eyton-Williams
7216ca55cc refactor: organise TypeScript config and migrate helpers (#44747)
* feat: allow more 1000 steps to be created at once

* refactor: start migrating to typescript

* refactor: delete-step to ts

* refactor: migrated some helpers

* refactor: migrate create-empty-steps

* refactor: migrate create-step-between

* refactor: finish migrating to TS

* refactor: migrate tests

* fix: ensure mock.restore is done after each test

* fix: prevent double-tscing

* fix: repair the tests

* chore: use ts-node for scripts

We don't need the performance boost of incremental compilation and
ts-node is easier to work with

* refactor: consolidate tsconfigs

* refactor: replace gulp

* fix: use ts-node for build-curriculum

* fix: allow ts compilation of config

* feat: create and use create:config script

* fix: add /config to eslint projects

* fix: remove gulp script
2022-01-25 11:34:16 +01:00