First of all, thank you for considering contributing to nodejs-polars!
The following is a set of guidelines for contributing to nodejs-polars. These are just guidelines, not rules, use your best judgment and feel free to propose changes to this document in a pull request.
-
Ensure the bug was not already reported by searching on GitHub under Issues.
-
If you're unable to find an open issue addressing the problem, open a new one. Be sure to include a title and clear description, as much relevant information as possible, and a code sample or an executable test case demonstrating the expected behavior that is not occurring.
-
If possible, use the relevant bug report templates to create the issue.
-
Open a new GitHub issue in the Issues with a clear title and description.
-
If possible, use the relevant enhancement request templates to create the issue.
- Fill in the required template
- Use a descriptive title. (This will end up in the changelog)
- In the pull request description, link to the issue you were working on.
- Add any relevant information to the description that you think may help the maintainers review your code.
- Make sure your branch is rebased against the latest version of the
main
branch. - Make sure all GitHub Actions checks pass.
If using VScode, it is recommended to install the following extensions
- rust-analyzer
- biome
- Fork the repository, then clone it from your fork
git clone https://github.com/<your-github-username>/nodejs-polars.git
- Install dependencies
yarn install
- Build the binary
yarn build:debug
- Run the tests
yarn jest
- Make your changes
- Test your changes
You can run the precommit
command to make sure all of your tests pass & code is formatted correctly.
yarn precommit
- Update the documentation if necessary
- Create a new pull request