* chore: utils is added in the tsconfig
* test(util): test and test function is updated to typescript
* chore: add tsconfig for utils
* fix: exclude files importing from client/
* fix: refactor to just export functions
* chore: add emitted files to prettierignore
* fix: add new tsconfig to eslint project
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* 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
* chore: use constants for superblocks
* add prettier ts dec to challenge-helper-scripts
* config/ to ts. broken
* typescripterise tools/ and config/
* create global tsconfig, remove alternate configs
* delete temp ts->js, add to gitignore
* fix gitignore
* re-import SuperBlocks in super-block-intro.tsx
* remove renamed files added again
* fix config
* remove accidental files
* remove snap
* delete built files
* adjust eslintrc for enums
* add node types to root
* ignore build files in lint and prettier
* fix tools/ in tsconfig
* ignore annoying ts warnings
* prettierise Map/index.tsx
* fix enum to match lint rule
* rejig Map to render RWD superblock
* 'pretty minor' - implicitly tsc within root
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix client/package.json for Gitpod
* broken: migrate @types to root
* fix: use typeRoots to prevent duplication
* fix show.tsx, try typeroots in root
* silly fix for duplicate node_modules types
* remove typeRoots from root
* fix: tsconfig or not tsconfig, that is the...
* fix: ...question: Whether 'tis nobler in the mind
to suffer the slings and arrows of outrageous configs...
* fix: Or to take Arms against a Sea of lint errors
And by opposing end them
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix(api): decouple api from curriculum
This reverts commit 8f0e441644 and
introduces the implementations from #40703.
* fix(gitpod): add curriculum build to GitPod
This reverts commit 706d70f58d and
introduces implementations from #41234.
* docs: update DevOps manual for api change (#41259)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
add "npm run seed" as alias to "node seed"
unpack tests and solution into HTML file; add titles and help text; style unpacked file
enable running unpacked assert tests in browser
Using browserify, compile "tape", "lodash", jQuery into "unpacked-bundle.js" for use during in-browser unpacked tests
feat(seed): diff after repacking
feat(seed): unpacked tests use Browser TAP chrome dev tool if available
build(docker): Expose mailhog port.
build(Docker): Improve wording.
build(docker): Mailhog and network changes.
* Add mailhog container to shared network to enable connectivity
* Configure project name for docker compose in .env sample file,
without it the basename of the repo directory is used, which
makes it unreachable for other services
* Set mailhog host to mailhog (instead of localhost) if MAILHOG_HOST
env var is set
* Expose 1025 to enable local troubleshooting
build(docker): Update README to reflect compose changes.
docker-compose.yml renamed to sample.docker-compose.yml.
docker-compose.yml added to .gitignore so every developer can copy it from sample.docker-compose.yml and make changes according to their local needs.
docs(Docker): Updated docs for Docker install.
Added Docker specific installation instructions.
docs(Docker): Applied changes requested on PR.
Extra 8000 port forwarding removed.
Mongo db configuration moved inside dokcer-compose config.
Cleanup spacing and typos.
docs(Docker): Added docker and docker-compose installation links.