Contributing to Rhodonite
June 25, 2026 ยท View on GitHub
Thank you for considering contributing to Rhodonite! This document describes how to set up your environment, run the tests and send pull requests.
Project setup
- Install Node.js 22 or later and pnpm.
- Clone the repository and fetch submodules:
git clone https://github.com/actnwit/RhodoniteTS.git
cd RhodoniteTS
git submodule update --init
- Install the dependencies:
pnpm install
Running tests
Before opening a pull request please make sure that the build and all tests succeed.
pnpm build
pnpm build-samples
pnpm test
You can also run only unit tests or a subset of the E2E tests using the commands described in the README. The E2E test will only pass if the test is run in the library author's environment, so you can submit a PR in a failed state.
Submitting pull requests
- Fork the repository and create a new branch for your work.
- Ensure
pnpm buildandpnpm testrun without errors. - Push your branch and open a pull request against the main branch of this repository.
- Provide a clear description of your changes.
We appreciate your contributions!