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 Node.js and Yarn versions is to use Volta. Volta is a tool that allows you to define and install Node.js and Yarn versions on a per-project basis. Volta will pick the correct versions for package managers and node version.
This ensures that the correct versions are used when working on a project based on the 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