First off, thank you for considering contributing to our project! We appreciate your time and effort. This document provides a set of guidelines for contributing to this project.
Before you begin, ensure you have the following installed:
-
Fork the repository and clone it to your local machine.
-
Install the dependencies using pnpm:
pnpm install
To start the development server, run the following command:
pnpm devThis project is a monorepo managed by pnpm workspaces. The project is organized as follows:
apps/: Contains the applications, such as the documentation and the main server.packages/: Contains the shared packages and libraries used by the applications.tools/: Contains the tooling and configuration for the project, such as ESLint and TypeScript configurations.
We follow the Conventional Commits specification for our commit messages. This allows for automated changelog generation and helps keep the commit history clean and easy to understand.
Each commit message consists of a header, a body, and a footer. The header has a special format that includes a type, a scope, and a subject:
<type>(<scope>): <subject>
<BLANK LINE>
<body>
<BLANK LINE>
<footer>
The type must be one of the following:
feat: A new featurefix: A bug fixdocs: Documentation only changesstyle: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)refactor: A code change that neither fixes a bug nor adds a featureperf: A code change that improves performancetest: Adding missing tests or correcting existing testschore: Changes to the build process or auxiliary tools and libraries such as documentation generation
We use ESLint for linting and formatting our code. The configuration can be found in the tools/eslint-config directory. Before submitting a pull request, please ensure that your code adheres to our style guidelines by running the following command:
pnpm lint- Create a new branch for your feature or bug fix.
- Make your changes and commit them using the commit message conventions described above.
- Push your changes to your forked repository.
- Create a pull request to the
mainbranch of the original repository. - In the pull request description, please provide a clear and concise description of the changes you have made.
Thank you for your contribution!