When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.
Please note the following:
- We have a code of conduct, please follow it in all your interactions with the project.
- We use 'eslint' and 'prettier' to lint and format our code respectively. We have included scripts and configuration files to help you maintain similar code:
please run these before building.
$ npm run lint:fix $ npm run format:fix
- We use 'rollup' to bundle our ESM code to ESM and CommonJS compatible distributions. We have included scripts and configuration files to help you build similar code:
please run this before submitting a pull request.
$ npm run build
- We follow the 'Conventional Commits' commit convention. If your pull request does not adhere to the convention, it will not be merged.
- Complete a quick code review for your code, you might catch any errors before you submit.
- Make sure your pull request uses the most recent version of the code.
- Ensure any dependencies match with current dependencies or have essential dependencies.
- Update the README.md with changes if necessary. This includes any major changes to the features, usage of the package, etc.
- Increase the version numbers in any examples files and the README.md to the new version that this Pull Request would represent. The versioning scheme we use is SemVer.
- You may merge the Pull Request in once you have the approval of repository maintainer or owner, or if you do not have permission to do that, you may request a reviewer to merge it for you.