Thanks for being willing to contribute, we really appreciate this.
Working on your first Pull Request? You can learn how from this First Contributions guide.
- Fork and clone the repo
- Run
npm ci
to install dependencies - Create a branch for your PR with
git checkout -b pr/your-branch-name
Tip: Keep your
main
branch pointing at the original repository and make pull requests from branches on your fork. To do this, run:git remote add upstream https://github.com/dimazuien/react-viewport-height.git git fetch upstream git branch --set-upstream-to=upstream/main mainThis will add the original repository as a "remote" called "upstream," Then fetch the git information from that remote, then set your local
main
branch to use the upstream main branch whenever you rungit pull
. Then you can make all of your pull request branches based on thismain
branch. Whenever you want to update your version ofmain
, do a regulargit pull
.
- Add new code or modify existing one in
src
folder. If you added new module, don't forget to add an export insrc/index.ts
- Add or/and modify tests in
tests
folder - Update documentation in
docs
folder
This repo uses semantic-release and conventional commit messages so prefix your commits with fix:
or feat:
if you want your changes to appear in release notes.
Another way of helping the project is to have a look at the open issues and respond to questions, bug reports and feature requests.