Thank you for considering contributing to Chukti
! We welcome contributions from the community and are excited to see what you can bring to the table. Whether you're a seasoned developer or a beginner, your contributions are valuable.
-
Node.js (>= 20.0.0)
- Check if you have Node.js installed:
node -v
- If you don't have Node.js installed, follow the official guide to install it.
- Check if you have Node.js installed:
-
pnpm (>= 9.12.0)
- Check if you have pnpm installed:
pnpm -v
- If you don't have pnpm installed, you can install it using npm:
npm install -g pnpm
- For more details, refer to the pnpm installation guide.
- Check if you have pnpm installed:
-
Fork the repository: Click the "Fork" button at the top right of the repository page.
-
Clone your fork:
git clone https://github.com/ITZSHOAIB/chukti.git cd chukti
-
Install dependencies:
pnpm install
-
Build the project:
pnpm build
If you find a bug, please open an issue on GitHub with as much detail as possible. Include steps to reproduce the bug, your environment, and any relevant logs.
If you have an idea for an enhancement, please open an issue on GitHub. Describe the enhancement in detail and explain why it would be beneficial to the project.
-
Create a branch:
git checkout -b my-feature-branch
-
Make your changes: Follow the Style Guide and ensure your code is well-documented.
-
Commit your changes: With a descriptive commit message following the GitHub convention (e.g.,
feat:
,docs:
,fix:
, etc.).git commit -m "feat: Add feature XYZ"
-
Push to your branch:
git push origin my-feature-branch
-
Open a pull request: Go to the repository on GitHub and click "New pull request". Fill out the template and submit.
- Follow the coding standards defined in our
biome.json
file. - Use
pnpm lint
to check for linting errors. - Format your code using
pnpm format
.
Documentation is located in the docs/
directory. To contribute to the documentation:
- Edit the relevant markdown files in the
docs/
directory. - Preview the documentation:
pnpm docs:dev
We use Changesets to manage versioning and publishing. Here’s how you can create a changeset:
-
Add a new changeset:
pnpm changeset
-
Follow the prompts to describe your changes. This will create a new file in the
.changeset/
directory. -
Commit the changeset file:
git add .changeset/* git commit -m "Add changeset for your changes"
Not every change requires a changeset. You should add a changeset if:
- You want the package version to be bumped.
- You want the changes to be published to the npm registry.
Changesets help us keep track of changes and generate changelogs automatically.
- Ensure your code follows the style guide.
- Ensure your changes are well-documented.
- Open a pull request and fill out the template.
- Inspect Your PR: If you see a red cross ❌ mark in your PR, it means our workflow has detected an issue. The workflow automatically builds and lints your changes. Please inspect your changes, fix any issues, and push the updates to your branch.
Thank you for contributing! Your efforts help make Chukti better for everyone. If you have any questions, feel free to ask in the issues or discussions section.
Happy Coding! 🎉