Wanna contribute? That's awesome! I work full-time and when I'm not working I'm a full-time single dad, so your contributions are welcomed and greatly appreciated! You don't have to speak to me before submitting a Pull Request, but please create an issue explaining the problem (if there isn't one already) before submitting a PR.
- Copy (Fork) the repository
- Fork the repository by clicking on the Fork button in the upper-right corner of the repo page.
- Clone your forked copy of the repo to your computer:
git clone <your-fork>
- Open and install the package:
cd <your-fork> && npm install
- Make your changes
- Changes are to be made in the project's
/src
directory. - If necessary, update the readme to explain any usage changes.
- Run
npm run build
to build the project.
- Changes are to be made in the project's
- Test your contributions
- In
/test/test.js
update the username and password variables at the top so it can connect to your local MySQL instance. - Run
npm run test
to run the tests. If all the tests pass you may submit your PR.
- In
- Submitting your Contribution (Pull Request)
- Revert any changes made to the
test.js
file. This is important. You'll be publishing private info and you'll break the coverage tests if you commit changes to this file . - Commit your changes. Use a descriptive commit message.
git commit -m "<your commit message>"
- Push your commits back to GitHub.
git push
- Go back to my original repository and click on the button that says Create Pull Request.
- Leave a descriptive explanation of your changes and submit the PR.
- Revert any changes made to the
Please keep the code congruent and consistent.
- Use tabs instead of spaces to indent.
- Indent properly.
- Curlies on the same line.
Thank you for your contributions!