Restructure: Group exercises by curriculum section#597
Merged
JoshDevHub merged 6 commits intoTheOdinProject:mainfrom Dec 12, 2025
Merged
Restructure: Group exercises by curriculum section#597JoshDevHub merged 6 commits intoTheOdinProject:mainfrom
JoshDevHub merged 6 commits intoTheOdinProject:mainfrom
Conversation
Exercises dirs will no longer all be in the repo root but will be nested in dirs relating to the curriculum structure.
mao-sz
added a commit
to mao-sz/curriculum
that referenced
this pull request
Dec 2, 2025
Exercises repo restructured in TheOdinProject/javascript-exercises#597
7 tasks
Uses regex, not glob (which would lead to Jest running all tests, not only solution ones)
3 tasks
JoshDevHub
approved these changes
Dec 4, 2025
Contributor
JoshDevHub
left a comment
There was a problem hiding this comment.
Not going to pretend to be an expert in the file generation stuff here, but I trust you and everything else looks good. Helps that there are tests lol.
Let's do it.
6 tasks
Contributor
Author
|
I could look into adding tests for the plop stuff but that'd involve a fair amount of mocking FS/stdin/stdout stuff. Easiest is to checkout this PR and run |
7 tasks
JoshDevHub
pushed a commit
to TheOdinProject/curriculum
that referenced
this pull request
Dec 12, 2025
Exercises repo restructured in TheOdinProject/javascript-exercises#597
painooo
pushed a commit
to painooo/javascript-exercises
that referenced
this pull request
Dec 29, 2025
Restructure: Group exercises by curriculum section
JoshDevHub
pushed a commit
to JoshDevHub/curriculum
that referenced
this pull request
Jan 2, 2026
Exercises repo restructured in TheOdinProject/javascript-exercises#597
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.
Because
Our JS exercises are no longer exclusive to the Foundations course. Having all exercises in the repo root would make it awkward to add new exercises in the middle. It makes sense to group exercises by curriculum section, just like the Ruby and CSS exercises repos.
This PR
foundations/computer_science/recursion/plopgenerators to allow for generating new exercises in nested dirsIssue
Closes #533
Must only be merged alongside TheOdinProject/curriculum#30480 and TheOdinProject/curriculum#30502
Additional Information
A large diff but hopefully the diffs for each commit should be easier to review.
Pull Request Requirements
location of change: brief description of changeformat, e.g.01_helloWorld: Update test casesBecausesection summarizes the reason for this PRThis PRsection has a bullet point list describing the changes in this PRIssuesection/solutionsfolder