refactor: top-down curriculum build#61459
Merged
ojeytonwilliams merged 66 commits intofreeCodeCamp:mainfrom Aug 26, 2025
Merged
refactor: top-down curriculum build#61459ojeytonwilliams merged 66 commits intofreeCodeCamp:mainfrom
ojeytonwilliams merged 66 commits intofreeCodeCamp:mainfrom
Conversation
a597096 to
5819636
Compare
9d5ad5d to
715b0c1
Compare
7d3e128 to
d4ba500
Compare
Contributor
Author
|
It's very important NOT to merge this prematurely. As it stands there may be missing or out of date challenges. Also, this comes into conflict with main after any curriculum change. That said, it is ready for review. |
Contributor
Author
|
Oh, there is one thing: the Odin project license. I wasn't sure where to put it. @Sembauke could you tell me where it belongs now that there isn't a superblock folder for it to live in? |
This was referenced Aug 5, 2025
9e84151 to
ea31cc9
Compare
|
No dependency changes detected. Learn more about Socket for GitHub. 👍 No dependency changes detected in pull request |
Contributor
Author
|
Since I'm already moving them, I've renamed the challenge files so their filename is their challenge id. The inconsistency wasn't great and it made it much harder to find challenges by their id while building. |
8456965 to
aa23400
Compare
4 tasks
Sembauke
approved these changes
Aug 26, 2025
4 tasks
4 tasks
4 tasks
Sky-walkerX
pushed a commit
to Sky-walkerX/freeCodeCamp
that referenced
this pull request
Sep 5, 2025
3 tasks
ahmaxed
pushed a commit
to ojeytonwilliams/freeCodeCamp
that referenced
this pull request
Sep 15, 2025
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Checklist:
mainbranch of freeCodeCamp.This modifies the curriculum build process so that it no longer relies on the folder structure to determine what a superblock is. Instead the curriculum is defined via a single JSON file as are each of the superblocks and each block. Each contains a reference to their children, so they're easy to compose.
The upshot of this is that we will be able to reuse blocks by simply including a reference to them in more than one superblocks. In the future it should be relatively easy to extend this so we can reuse superblocks to create independent curricula, but not yet.
TODO (not exhaustive!)