Thank you for considering contributing to this project! Your contributions are essential to making this package even more robust and useful for the Next.js community.
-
Fork the Repository
- Create a fork of the repository on GitHub to start working independently.
-
Clone the Repository
git clone https://github.com/riyons/nextjs-centralized-error-handler.git cd nextjs-centralized-error-handler
-
Create a Branch
- Branch from the
main
branch and name it something descriptive (e.g.,add-new-error-class
).
git checkout -b add-new-feature
- Branch from the
-
Make Changes
- Make sure your code follows best practices, is well-documented, and includes tests where appropriate.
-
Run Tests
- Before submitting your changes, ensure all tests pass:
npm test
-
Create a Pull Request
- Push your branch to GitHub and open a pull request (PR) against the
main
branch. Include a descriptive title and detailed description of your changes.
- Push your branch to GitHub and open a pull request (PR) against the
-
Code Review
- Once you submit the PR, it will be reviewed. Please be responsive to feedback and make necessary adjustments.
- Follow the existing coding style.
- Ensure that new features are accompanied by relevant tests.
- Document your changes, especially if introducing a new feature.
- Be respectful and open to feedback.
If you encounter any issues or bugs, please open an issue on GitHub with a detailed description of the problem and steps to reproduce it.
Thank you for helping improve this package!