freeCodeCamp/client/plugins/fcc-source-challenges
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
..
create-challenge-nodes.js refactor: stop spreading challenge over the node (#44499) 2021-12-14 12:11:20 -06:00
gatsby-node.js chore: simplify eslint configuration (#44347) 2021-12-02 00:01:12 +00:00
package.json chore: update all packages to node v16 & npm v8 2021-11-03 15:06:19 +05:30