Commit Graph

79 Commits (fa3141ec538901b440a22ce9c0c012065b11b3cc)

Author SHA1 Message Date
palash-signoz 004c5b6fb6
chore(utils): ts-migration of utils/slugs (#44921)
* 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>
2022-03-29 08:51:13 -07:00
Sem Bauke e8ec209431
feat: create mobile curriculum data on build (#45162)
* feat: create mobile curriculum data on build

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-03-01 15:59:15 +01: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 a79fa9aa6b chore: remove last vestiges of lerna 2021-12-02 19:57:47 +05:30
Vinay 5b61c8a56f
refactor(client): ts-migration of i18n/validate-keys.js (#44292)
* refactor - file extenstion change to .ts

* fix - imports syntax

* fix - migration complete

* fix - lint:prettier warn

* refactor - validate-keys in tools/scripts/lint/

* refactor - validate-keys.ts moved to tools/scripts/lint and added in tsconfig.json

* refactor - tsconfig.json file for tools

* fix - lint:ts script update and validate-keys.js added to .eslintignore

* fix - lint:prettier and ts compilation

* fix - ts compilation

* refactor - changes in .gitignore and validate-keys script
2021-11-30 08:37:00 -08:00
Shaun Hamilton 98fc7fba0e
fix(config): build all-langs.js before server (#44274)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-11-25 11:01:50 +00:00
Shaun Hamilton d75e43a1e7
chore: use constants for superblocks (#43886)
* 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>
2021-11-19 19:49:40 +05:30
Oskar F 20fd622b67
Update .gitignore with vim files (#43774) 2021-10-11 10:46:34 +02:00
Oliver Eyton-Williams 95dc63678c
feat: bundling for UI Components (#42549)
Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
2021-06-21 15:21:40 +07:00
Mrugesh Mohapatra 3130265991
revert: (test, e2e) test suit for cypress (#42488)
This reverts commit 22b45761a7.
2021-06-14 23:44:43 +05:30
Sem Bauke 22b45761a7
feat(test, e2e) test suit for cypress (#42138)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-06-14 22:07:52 +05:30
Evgeny Klimenchenko 9057750727
fix(curriculum): Fix a type `in line` -> `inline` in basic css challenge (#41847) 2021-04-18 11:54:17 +02:00
Mrugesh Mohapatra b5f4754e2a
fix: re-revert the API decoupling (#41263)
* 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>
2021-02-25 12:02:35 -08:00
Mrugesh Mohapatra 8f0e441644 revert(api): decouple api from curriculum
This reverts commit c077ffe4b9
via PR #40703
2021-02-25 03:40:09 +05:30
Oliver Eyton-Williams c077ffe4b9
feat(api): decouple api from curriculum (#40703) 2021-02-22 12:23:59 +05:30
Oliver Eyton-Williams fffc0e51ec
chore(client): refactor & organise config (#40875) 2021-02-03 15:22:07 +05:30
Mrugesh Mohapatra 0fd8b7a6db
feat: update cypress version and config (#38892) 2020-06-10 01:47:13 +05:30
Bouncey 7eb6351530 feat: add cypress for e2e tests 2020-04-23 01:42:24 +05:30
Aravind V. Nair d0cda5820c chore: .gitignore and image enhancements (#37075)
Co-Authored-By: mrugesh <1884376+raisedadead@users.noreply.github.com>
Co-authored-by: ImgBot <ImgBotHelp@gmail.com>
2019-10-07 03:58:07 -07:00
Mrugesh Mohapatra 56d28f255d fix: add netlify config to ignore 2019-08-15 09:56:58 +05:30
Mrugesh Mohapatra 4eabdbea8a chore: ignore code-editor settings 2019-07-26 19:40:46 +05:30
Bouncey d79f9f4899 feat(docker): Prep master for docker deploys 2019-02-04 20:13:51 +05:30
Omicron 0c649aec02 First French translated file. (#32511)
* First French translated file.

* new French trans of CONTRIBUTING.md

* Update docs/french/CONTRIBUTING.md

* chore: remove changes to gitignore
2019-01-11 19:49:31 +05:30
Bouncey aa668ca30e feat(langs): Prep Spanish challenges for parsing 2018-10-11 02:15:05 +05:30
Bouncey deff9a92a9 chore(git): Update .gitignores 2018-10-09 09:49:01 +01:00
Bouncey bcd0e82348 fix(pkg): Reintroduce build step 2018-10-05 15:58:12 +01:00
Bouncey 6e728ce16d feat(guide): Import guide in to the client app 2018-10-05 15:58:12 +01:00
Bouncey 4eb364f919 chore(git) Ignore built frame-runners 2018-09-30 12:42:40 +01:00
Bouncey 5b254f3ad6 chore(learn): Merge learn in to the client app 2018-09-30 12:42:40 +01:00
Bouncey dc00eb8555 chore(root): Ensure development environment 2018-09-03 17:47:48 +05:30
Bouncey 46a217d0a5 chore(server): Move api-server in to it's own DIR 2018-09-03 17:47:48 +05:30
Bouncey cd73528958 feat(gatsby): Initial gatsby scaffolding 2018-08-30 20:43:55 +05:30
Stuart Taylor e3247b4554 fix(scripts): Fix the way webpack is naming the bundles (v3 -> v4 differences) (#17977) 2018-08-05 03:13:55 +05:30
Mrugesh Mohapatra f46f06ccd6 fix: add .vs to gitignore 2018-08-03 19:27:42 +05:30
Stuart Taylor 5eb90ed8c8 feat(challenge-redirect): Make '/challenge' and '/map' redirect to learn (#17144)
* feat(challenge-redirect): Make '/challenge' and '/map' redirect to learn

* fix(linting): Generate pathMigrationMap on 'prelint-js'

* fix(script): fix "only once" script

* fix(lock): Fix lock file
2018-05-14 13:04:51 +05:30
Alex Chaffee a8484873d8 feat(seed): "unpack" and "repack" scripts
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
2018-04-03 19:52:56 +05:30
Otto Jongerius ef37c3bee2 feat: Allows sharing of network (#16937)
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.
2018-03-30 09:21:09 +05:30
otar a7f5785b04 docs(Docker): Refactored Docker environment. (#16825)
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.
2018-03-23 11:50:21 +05:30
Stuart Taylor fafb53f11e feat(bundle): Add bundle visualisation tool 2018-01-01 13:01:18 +00:00
moT01 7efa509675 feat: added *~ 2017-09-04 09:58:55 -05:00
Mrugesh Mohapatra 4c53071198 fix(gitignore): bower_components 2017-02-28 23:21:19 +05:30
Petr Gazarov f85bfc9fab Remove bower mentions from docs and .gitignore 2017-02-27 23:44:30 -05:00
Vitor Capretz 6cadffc963 adds .vscode to gitignore (#13074) 2017-02-02 21:06:12 +05:30
Berkeley Martinez 962675ee17 feat(api): Add active user api 2017-01-26 18:01:15 -08:00
Berkeley Martinez 1da593df26 fix(meta): Remove tern-project from tracking 2016-07-28 23:40:01 -07:00
Berkeley Martinez 9b7bd2a026 Initial preview rendering 2016-07-28 23:39:17 -07:00
Mrugesh Mohapatra df58d94d68 add public/js/frame-runner.js to .gitignore 2016-07-25 23:36:10 +05:30
Dylan H c466c223ca Changed <b> tag to <strong tag - JSON challenge (#9633) 2016-07-17 01:14:41 +01:00
Berkeley Martinez eec7fff909 Fix jQuery challenges 2015-11-29 16:28:32 -08:00
Berkeley Martinez 0a46dc16a6 Fix for vendor files not working correctly with manifest 2015-11-29 16:21:04 -08:00