Thank you for considering contributing to our project! Here are some guidelines to help you get started.
Before you begin your dev work, ensure you have met the following requirements:
- Node.js 22.13.0 or higher is installed on your machine
- Yarn 4.0.0 or higher is installed on your machine
The recommended way to manage the Node.js version is to use Mise. Mise is a polyglot tool version manager that allows you to define tool versions on a per-project basis.
Node.js version is defined in mise.toml. Yarn is managed via Corepack using the packageManager field in package.json.
Corepack is a tool that manages package managers like Yarn and PNPM as if they were Node.js modules. This allows you to install Yarn as based on the package.json packageManager field.
It's been included in Node.js since 16.
- Ensure that Node.js 22 is installed on your machine.
- Enable Corepack:
corepack enable - Check that yarn v4 is installed:
yarn --version
Before submitting a pull request, ensure that your changes pass the following checks:
- The code is formatted using Prettier
- The code passes the ESLint checks
- The code passes the Jest tests
- The code passes the TypeScript checks
To run these checks, use the following commands:
yarn checkTo fix automatically fixable issues, use the following command:
yarn fix