Commit Graph

153 Commits (94da1daa1dc5908559dec4db5a6b599d8e2c6ebe)

Author SHA1 Message Date
renovate[bot] b3bcc79444 chore(deps): update babel monorepo 2022-08-06 12:50:04 +00:00
renovate[bot] 343b7f70ee chore(deps): update dependency acorn to v8.8.0 2022-07-24 03:05:59 +00:00
renovate[bot] 9143b08f2b chore(deps): update babel monorepo to v7.18.9 2022-07-23 03:26:19 +00:00
renovate[bot] 4bfa15857c
chore(deps): update babel monorepo (#46738)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-06 11:32:38 +05:30
Shaun Hamilton 3628d5ab52
fix(tests): use ts-node in `test:full-output` (#46726)
fix(tests): adjust test:full-output to typescriptify
2022-07-01 11:30:27 -07:00
renovate[bot] 5834cb3ad6 chore(deps): update babel monorepo to v7.18.5 2022-06-18 10:30:31 +00:00
renovate[bot] e2daf1e252
chore(deps): update babel monorepo (#46095)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-25 18:51:20 +05:30
Radi Totev ea4cedd3f2
chore(client): typescript migration - utils/frame.js (#46075)
* Change extension to .ts

* Resolve ts issues

* Update test:curriculum script
2022-05-20 14:59:08 +02:00
Renovate Bot fc6db724a4 chore(deps): update dependency live-server to v1.2.2 2022-05-01 03:27:33 +00:00
Renovate Bot 64c090ffa9 chore(deps): update dependency acorn to v8.7.1 2022-04-30 17:16:17 +00:00
Renovate Bot 1da0b48181 chore(deps): update babel monorepo 2022-04-30 06:34:08 +00:00
Renovate Bot b55f61c6ef chore(deps): update babel monorepo to v7.17.9 2022-04-09 02:55:43 +00:00
Renovate Bot 141932a69d chore(deps): update babel monorepo 2022-03-19 02:55:23 +00:00
Renovate Bot 258dbc0091 chore(deps): update dependency mocha to v9.2.2 2022-03-12 14:53:26 +00: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
Renovate Bot 75f3278c06 chore(deps): update dependency mocha to v9.2.1 2022-02-19 12:18:25 +00:00
Renovate Bot 915b331c69 chore(deps): update babel monorepo to v7.17.5 2022-02-17 18:45:18 +00:00
Renovate Bot 229a9d8b2b chore(deps): update babel monorepo to v7.17.4 2022-02-16 03:55:50 +00:00
Renovate Bot 62e75bc14f chore(deps): update babel monorepo to v7.17.3 2022-02-15 17:24:44 +00:00
Renovate Bot 4049c38440 chore(deps): update babel monorepo to v7.17.2 2022-02-08 21:50:45 +00:00
Renovate Bot bb36d04b37 chore(deps): update babel monorepo to v7.17.0 2022-02-03 03:08:35 +00:00
Renovate Bot e3a805b12f chore(deps): update dependency joi to v17.6.0 2022-01-27 06:03:27 +00:00
Renovate Bot 232624c658 chore(deps): update dependency chai to v4.3.6 2022-01-26 17:35:46 +00:00
Renovate Bot 879e73881b chore(deps): update dependency chai to v4.3.5 2022-01-26 08:11:39 +00: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
Oliver Eyton-Williams b1fb6adc39
fix: insert user html more consistently (#42195)
* fix: use an iframe to preserve head and body

* fix: remove unnecessary parsing of html

The contents gets inserted into the DOM during transformHtml, which
is always part of the build pipeline

* fix: pipe contents through iframe

* refactor: use the same code for both transforms

* fix: try to handle test errors better

Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2022-01-24 18:02:25 +00:00
Renovate Bot 71ef222473 chore(deps): update dependency mocha to v9.2.0 2022-01-24 12:26:36 +00:00
Renovate Bot 5e60c14a4d chore(deps): update babel monorepo to v7.16.12 2022-01-22 20:52:45 +00:00
renovate[bot] 92517202bd
chore(deps): update babel monorepo (#44846)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-20 22:47:05 +05:30
Renovate Bot 6bd7ed6a50 chore(deps): update dependency mocha to v9.1.4 2022-01-14 22:36:42 +00:00
Renovate Bot e3aad41cef chore(deps): update babel monorepo to v7.16.9 2022-01-12 02:13:59 +00:00
Renovate Bot 057f8bdd21 chore(deps): update babel monorepo to v7.16.8 2022-01-11 02:37:34 +00:00
Renovate Bot 5f14e43454 chore(deps): update babel monorepo to v7.16.7 2021-12-31 02:17:09 +00:00
Renovate Bot ad5e5d698e chore(deps): update dependency acorn to v8.7.0 2021-12-27 23:38:02 +00:00
Renovate Bot 5a1414e247 chore(deps): update babel monorepo to v7.16.5 2021-12-14 02:42:46 +00:00
renovate[bot] 0921e5e135
chore(deps): update dependency joi to v17.5.0 (#44344)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-02 23:15:54 +05:30
renovate[bot] 54cea8af21
chore(deps): update babel monorepo to v7.16.4 (#44190)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-18 10:44:13 +05:30
Mrugesh Mohapatra 6fef483946 chore: update all packages to node v16 & npm v8 2021-11-03 15:06:19 +05:30
Renovate Bot 9419bdfed4 chore(deps): update babel monorepo to v7.16.0 2021-10-30 05:41:50 +00:00
Renovate Bot 9ddb30b92d chore(deps): update dependency mocha to v9.1.3 2021-10-15 09:31:57 +00:00
Krzysztof 07eb99e57c
fix: remove pretest for full-output (#43655) 2021-10-14 12:23:45 -07:00
Renovate Bot 536eef3be9 chore(deps): update babel monorepo to v7.15.8 2021-10-06 23:33:34 +00:00
Renovate Bot acba4f7b00 chore(deps): update dependency mocha to v9.1.2 2021-09-25 12:07:51 +00:00
Renovate Bot cf98d8b964 chore(deps): update dependency puppeteer to v10.4.0 2021-09-21 19:43:38 +00:00
renovate[bot] f46d183d95
chore(deps): update babel monorepo to v7.15.6 (#43424)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-10 15:27:27 +05:30
Renovate Bot d7e6e39a84 chore(deps): update dependency acorn to v8.5.0 2021-09-06 13:18:23 +00:00
Renovate Bot ec34f0f918 chore(deps): update babel monorepo to v7.15.5 2021-09-04 11:01:38 +00:00
Renovate Bot 271c16213a chore(deps): update babel monorepo to v7.15.4 2021-09-03 00:18:55 +00:00
Renovate Bot 9414ccd338 chore(deps): update dependency mocha to v9.1.1 2021-08-28 15:30:33 +00:00
Renovate Bot 0f1fbb4213 chore(deps): update dependency mocha to v9.1.0 2021-08-20 09:06:42 +00:00