Contributing
Learn how to contribute to UtilsJS โ including local setup, code style conventions, and the pull request process.
About Contributing
Hello there! ๐
Weโre excited that you want to contribute to @rzl-zone/utils-js. ๐
This guide will help you set things up so you can start building, improving, and sharing awesome utilities with the community.
How You Can Contribute?
We welcome all types of contributions, including:
- Bug fixes.
- New utility features.
- Documentation improvements.
- Refactors or performance improvements.
No contribution is too small โ every PR helps make the project better!
Getting started
Follow these steps to set up your local development environment:
-
Fork the repository
Click the Fork button at the top-right of the repository page.
This creates your own copy of the project under your GitHub account. -
Clone your fork
terminal -
Install dependencies
terminal -
Create a new branch
Itโs best practice to work on a dedicated feature branch instead of themainbranch.terminal -
Make your changes, add tests script
Make your updates or add new utilities, then run the test suite and build the project:terminal -
Commit your changes
Use clear and descriptive commit messages that follow the conventional commit style:terminal -
Push to your fork
terminal -
Create a Pull Request (PR)
Go to your fork on GitHub, click Compare & pull request, and submit your PR.
Please ensure your branch is up-to-date with the latestmainbefore submitting.
๐งโ๐ป For internal contributors:
Use the main branch for maintenance or version bumps only, all features and fixes should go through a feature branch and PR review.
Code style
- Use TypeScript for all new code.
- Follow the existing folder and file structure.
- Keep functions small and focused.
- Write meaningful commit messages (use Conventional Commits).
Before you submit
- Ensure the project builds successfully.
- Run tests and confirm all pass.
- Fix any lint or TypeScript errors.
- Rebase if your branch is behind
main.
Thank you
We truly appreciate your contribution!
Whether itโs fixing a typo, improving a function, or adding a new utility โ youโre awesome. โจ
Made with โค๏ธ by @rzl-app.
