Thank you for considering contributing to CountryData.js! We welcome all contributions, whether they are bug reports, feature suggestions, or code improvements. Please ensure that your contributions align with the project's goals and maintain high-quality standards.
-
Fork the Repository
- Fork the repository from the
dev
branch to ensure you are working with the latest code.
- Fork the repository from the
-
Create a New Branch
- Create a new branch for your feature or bug fix. Use a descriptive name for your branch (e.g.,
feature/add-country-flag
orbugfix/fix-country-name
).
- Create a new branch for your feature or bug fix. Use a descriptive name for your branch (e.g.,
-
Make Your Changes
- Implement your changes, ensuring that the code follows the project's coding conventions and style guidelines.
-
Write Tests
- Write tests to cover your changes. Ensure that all existing tests pass by running the test suite.
-
Commit Your Changes
- Commit your changes with a descriptive commit message. Follow the Conventional Commits specification for your commit messages.
-
Push Your Branch
- Push your branch to your forked repository on GitHub.
-
Submit a Pull Request
- Open a pull request to the main repository. Provide a clear and detailed description of your changes, including any relevant issue numbers.
-
Review Process
- Your pull request will be reviewed by the maintainers. Please be responsive to any feedback or requests for changes.
-
Merge
- Once your pull request is approved, it will be merged into the main branch.
-
Celebrate
- Thank you for your contribution! 🎉
- Ensure your code is well-documented and follows the project's coding standards.
- If you are adding a new feature, consider updating the documentation to reflect your changes.
- Be respectful and considerate in your interactions with the community.
We appreciate your contributions and look forward to working with you to improve CountryData.js!