Contribute
Thank you for considering contributing to queryFi! We, well, I welcome contributions from the community to help improve the project.
Note:
This steps apply for queryfi-ts and queryfi-php
How to Contribute
-
Fork the Repository:
- Click the "Fork" button on GitHub to create your copy of the repository.
-
Clone the Fork:
git clone your-fork
-
Create a Branch:
- Use a descriptive branch name:
git checkout -b feature/your-feature-name
-
Make Changes:
- Make your changes following the project's coding standards.
-
Run Tests:
- If you added a new method make sure to create a test for it in /tests
npm test
-
Commit Changes:
- Use Conventional Commits:
git commit -m "feat: add new feature description"
-
Push Changes:
git push origin feature/your-feature-name
-
Create a Pull Request:
- Go to the repository on GitHub.
- Click "New Pull Request" and follow the instructions.
Development Setup
- Install Dependencies:
npm install
-
Add the package locally to your project:
a. On your fork folder:
npm link
b. In your project folder:
npm link your-package
c. Use the package
import { createQuery } from 'your-package';
-
Run Tests Locally:
npm test
Issue Reporting
- If you have new ideas or you just found something not working as expected, open an issue. 😊
Additional Notes
- All changes must pass linting and tests.
- Follow the project's folder structure and naming conventions.
Thank you for contributing! 🎉