Thank you for your interest in contributing to degache.js! This document provides guidelines and instructions for contributing to this project.
By participating in this project, you agree to abide by our Code of Conduct. Please be respectful and considerate of others.
If you find a bug, please create an issue on our GitHub repository with the following information:
- A clear, descriptive title
- Steps to reproduce the bug
- Expected behavior
- Actual behavior
- Screenshots (if applicable)
- Environment details (OS, browser, Node.js version, etc.)
We welcome feature suggestions! To suggest a feature:
- Check if the feature has already been suggested or implemented
- Create an issue with a clear description of the feature and its benefits
- If possible, include examples of how the feature would be used
- Fork the repository
- Create a new branch from
main
with a descriptive name (feature/new-validation
,fix/phone-number-bug
) - Make your changes
- Add or update tests as necessary
- Ensure all tests pass
- Update documentation if needed
- Submit a pull request
- Follow the existing code style
- Include tests for new features
- Update documentation for any changes
- Keep pull requests focused on a single change
- Reference related issues in the pull request description
-
Clone the repository
git clone https://github.com/KhalidRouissi1/degachejs.git cd degachejs
-
Install dependencies
npm install
-
Build the project
npm run build
-
Run tests
npm test
- Use TypeScript for all code
- Follow the existing code style
- Write clear, descriptive comments
- Include JSDoc comments for all public APIs
- Write tests for all new functionality
- Write unit tests for all new functionality
- Ensure all tests pass before submitting a pull request
- Run tests with
npm test
- Update the README.md file with any new features or changes
- Include examples for new functionality
- Document all public APIs with JSDoc comments
The maintainers will handle the release process, including:
- Updating the version number
- Creating a changelog
- Publishing to npm
- Creating a GitHub release
If you have any questions about contributing, please open an issue or contact the maintainers.
Thank you for contributing to degache.js! 🇹🇳