We would ❤️ for you to contribute to Odin-js and help make it better! All kinds of contributions are valuable to us. In this guide, we will cover how you can quickly onboard and make your first contribution.
If you are worried or don’t know where to start, check out our next section explaining what kind of help we could use and where can you get involved. You can reach out to us on our Discord server if you have any questions or need help.
You can also submit an issue, and a maintainer can guide you!
PR title naming convention is as following
TYPE: DESCRIPTION
Example:
doc: fix typo
Where TYPE
can be:
- feat - is a new feature
- doc - documentation only changes
- cicd - changes related to CI/CD system
- fix - a bug fix
- refactor - code change that neither fixes a bug nor adds a feature
All PRs must include a commit message with the changes description!
For the initial start, fork the project and use git clone command to download the repository to your computer. A standard procedure for working on an issue would be to:
git pull
, before creating a new branch, pull the changes from upstream. Your main needs to be up to date.
$ git pull
- Create new branch from
main
like:fix-typo
. You can name your branch as you like
$ git checkout -b fix-typo
-
Work - commit - repeat (be sure to be in your branch)
-
Push changes to GitHub
$ git push origin [name_of_your_new_branch]
-
Submit your changes for review If you go to your repository on GitHub, you'll see a Compare & pull request button. Click on that button.
-
Start a Pull Request Now submit the pull request and click on
Create pull request
. -
Get a code review approval/reject
Before submitting a new issue, please search the existing issues. Maybe an issue already exists and might inform you of workarounds. Otherwise, you can give new information.
While we want to fix all the issues, before fixing a bug we need to be able to reproduce and confirm it. Please provide us with a minimal reproduction scenario using a repository or Gist.
Without said minimal reproduction, we won't be able to investigate all issues, and the issue might not be resolved.
You can open a new issue with this issue form.