freeCodeCamp/tools
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
..
challenge-helper-scripts feat: update challenge helpers to handle id filenames (#44769) 2022-03-02 07:12:20 -08:00
challenge-parser test: enable tests for steps (#44550) 2021-12-22 12:18:06 -08:00
crowdin fix(deps): update dependency node-fetch to v2.6.7 2022-01-16 15:51:22 +00:00
scripts feat: create mobile curriculum data on build (#45162) 2022-03-01 15:59:15 +01:00
ui-components fix(ui-components): make Alert not dismissable (#45291) 2022-03-01 20:37:53 +05:30