New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(tools, challenge-editor): add script to create challenges #52488
feat(tools, challenge-editor): add script to create challenges #52488
Conversation
|
👀 Review this PR in a CodeSee Review Map |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thanks, Tom.
Since this is purely a dev facing thing, I'm happy to merge as is. If there are any bugs, we can fix them as we find them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rather than having a hard-coded template that we have to edit (which is version controlled and may result in extraneous noise), we should use the get-challenge-template.ts utility to pick a template.
|
I'm not sure I understand how that would work - can you elaborate a little @naomi-lgbt? For some more context, the English team has created all (most of?) the challenges in google docs with the markdown headings and stuff. So the idea with this script is that we can just copy/paste the markdown from there, and run the script to create each challenge - and they (ideally) shouldn't have to adjust the markdown after that. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, that makes some sense. I'm still worried about the template changes being committed erroneously, but we can land this.



This adds a script to create challenges with the markdown included. See comments in the script.
Checklist:
mainbranch of freeCodeCamp.Closes #XXXXX