Commit Graph

32 Commits (8f35a6bc10ca91e613c40fd7d5e827618c7210fa)

Author SHA1 Message Date
Tom 4e59659a00
fix(dx): make gatsby id static for hot reloading (#44542)
* fix: make gatsby id static for hot reloading

* fix: catch duplication of challenge.id

* fix: handle CertificateNodes

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-01-10 11:03:20 +02:00
Oliver Eyton-Williams 3b560deab6
refactor: stop spreading challenge over the node (#44499)
* refactor: stop spreading challenge over the node

Instead of creating a Gatsby node with id of challenge.id, we create a
single node field that has all the challenge data.

While this makes the GraphQL queries more verbose, it means we're free
to create multiple nodes with the same challenge.id.

* test: update time-line test for new GQL schema

* test: update mocks with new GQL schema
2021-12-14 12:11:20 -06:00
Oliver Eyton-Williams 03309bea9e chore: remove old package-locks 2021-12-02 19:57:47 +05:30
Oliver Eyton-Williams efba2e777d
chore: simplify eslint configuration (#44347)
* chore: extend import/recommended

* chore: use recommended lint rules

* refactor: apply lint rules

* chore: drop used config
2021-12-02 00:01:12 +00:00
Mrugesh Mohapatra 466f39794b chore: update all lockfiles to v2 2021-11-03 15:06:19 +05:30
Mrugesh Mohapatra 6fef483946 chore: update all packages to node v16 & npm v8 2021-11-03 15:06:19 +05:30
Oliver Eyton-Williams 1db9a123ae
fix(client): handle challenge creation (#42272)
This lets us create new challenges/steps without having to restart the
client
2021-06-28 13:38:11 +05:30
Tom 067761f2f6
feat(curriculum): add relational databases cert as upcoming change (#41658) 2021-06-15 16:37:13 +01:00
Mrugesh Mohapatra 81d8d3f294
fix(npm-audit): improve audit and fix run-scripts (#42050)
* fix(npm-audit): improve audit and fix run-scripts

* fix: include --no-bail

Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-05-07 23:48:11 +05:30
Mrugesh Mohapatra 42365dd172
fix: update package files, lerna config (#41599)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-03-27 07:46:20 -07:00
Mrugesh Mohapatra 6c91f81b0e chore(deps): upgrade eslint, prettier & related packages 2021-03-11 12:19:42 +05:30
Mrugesh Mohapatra 0a53a1d7f0 chore(deps): upgrade lerna to v4 2021-03-11 12:19:42 +05:30
Oliver Eyton-Williams 5b49cd0a4e fix(plugins): move to lockfile v2 2021-02-27 03:25:51 +05:30
Oliver Eyton-Williams 0bd52f8bd1
Feat: add new Markdown parser (#39800)
and change all the challenges to new `md` format.
2020-11-27 10:02:05 -08:00
Oliver Eyton-Williams 9718244431
fix: watch curriculum changes 2020-09-29 22:09:02 +02:00
Oliver Eyton-Williams f5f2fca28c
fix(client): use mongoids for challenge.id (#39676) 2020-09-24 23:49:40 +05:30
Oliver Eyton-Williams 4b14f9297b
fix: source certificates into Gatsby (#39648)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>
2020-09-24 16:04:35 +05:30
Tom 379f6f89ca fix(learn): tests for python video lessons (#38600)
* fix: improve tests for video challenges

* fix: remove unused challenges + get rid of no description warning

* fix: remove non-existent challenges from meta
2020-05-27 13:19:11 +05:30
Oliver Eyton-Williams 5bc3e15e3a fix(client): DRY out challenge sourcing
Also handles file changes the same way as the original sourcing.
2020-05-25 16:25:19 +05:30
Oliver Eyton-Williams 58973be7be fix: make Gatsby wait for challenges to be sourced 2019-07-26 19:40:46 +05:30
Mrugesh Mohapatra 298e263f74 chore(client): resolve linting errors in client 2019-07-22 17:10:54 +05:30
Mrugesh Mohapatra 710995ae74 fix: create lockfiles for audits 2019-07-22 17:10:54 +05:30
Mrugesh Mohapatra 94dcc5e54a fix: rename challenge md parser to correct casing 2019-07-22 17:10:54 +05:30
Oliver Eyton-Williams cba35969f0 fix(tools): Use polling to reliably watch challenges 2019-06-29 11:42:48 +08:00
Mrugesh Mohapatra c5fd478d9a fix(deploy): misc. re-arrange scripts and organize 2019-06-21 00:53:05 +05:30
Valeriy fc8c71ad16 feat: use eslint with prettier to format code 2019-02-19 14:30:27 +05:30
Valeriy S 4fe5c81ad4 fix(client): catch errors on replacing a challenge 2018-12-03 11:08:14 +00:00
Stuart Taylor cee98aef43 feat: watch challenges (#34321) 2018-11-16 23:52:52 +05:30
Stuart Taylor 7da04a348b fix: Update packages and fix local dev (#26907)
<!-- Please follow this checklist and put an x in each of the boxes, like this: [x]. It will ensure that our team takes your pull request seriously. -->

- [x] I have read [freeCodeCamp's contribution guidelines](https://github.com/freeCodeCamp/freeCodeCamp/blob/master/CONTRIBUTING.md).
- [x] My pull request has a descriptive title (not a vague title like `Update index.md`)
- [x] My pull request targets the `master` branch of freeCodeCamp.
2018-10-23 18:48:46 +05:30
Bouncey b22c719651 fix(source-plugin): Switch out gatsby-source-filesystem 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 5b254f3ad6 chore(learn): Merge learn in to the client app 2018-09-30 12:42:40 +01:00