mirror of
https://github.com/10h30/odin-javascript-exercises.git
synced 2026-06-05 15:09:09 +09:00
1.4 KiB
1.4 KiB
The Odin Project JavaScript Exercises Contributing Guide
Thank you for expressing interest in contributing to The Odin Project (TOP) JavaScript exercises! Before continuing through this guide, be sure you've read our general contributing guide, as it contains information that is important for all of our repos.
This contributing guide assumes you have followed the instructions in our general contributing guide to fork and clone our JavaScript exercises repo.
Table of Contents
How to Contribute
Prerequisites
- Node v18.0.0 or higher
- npm v8.5.5 or higher
Adding New Exercises
If a maintainer has approved a new exercise to be added, the new exercise(s) must follow the same format as existing exercises.
To generate a new exercise template, do the following:
- Be sure to run
npm installat the root of thejavascript-exercisesdirectory to install the necessary dependencies. - Run the command
npm run generate. - When prompted, enter the name of the new exercise in "camelCase" syntax. This will create a new directory with the necessary files included.
- Update the
README.mdand.spec.jsfile, as well as the files inside thesolutiondirectory of the new exercise. - Open a pull request with the new exercise.