Thank you for considering contributing to Tinaplayer! Contributions are welcome, whether they are issues, bug fixes, documentation updates, or new features. This document provides guidelines to help make the contribution process smooth and efficient.
-
Fork the Repository: Start by forking the repository to your GitHub account.
-
Clone the Fork: Clone the repository to your local machine.
git clone https://github.com/your-username/tinaplayer.git cd tinaplayer -
Install Dependencies: Make sure you have the necessary dependencies installed.
yarn install
-
Create a New Branch: Always create a new branch for your contributions.
git checkout -b feat/my-new-feature
-
Code Style: Follow existing code style and conventions. Run lint with:
yarn run lint
-
Write Tests: For any code change, add or update tests to ensure full coverage and avoid regressions. Run tests with:
yarn test -
Documentation: Update the documentation in
README.mdif necessary to reflect your changes. -
Commit Your Changes: Use clear and descriptive commit messages using conventional commits.
git add . git commit -m "feat: description of feature"
-
Push Your Changes: Push the changes to your fork.
git push origin feat/my-new-feature
-
Open a Pull Request: Go to the original repository and open a pull request from your branch. Clearly describe the purpose of the pull request and provide relevant details.
By participating in this project, you agree to abide by our Code of Conduct.
If you find a bug or have a feature request, please open an issue. Include as much detail as possible, such as steps to reproduce the issue, expected behavior, and screenshots if applicable.
-
Single-Topic PRs: Each pull request should address a single topic or feature. This makes it easier to review and understand your contributions.
-
Run All Tests: Ensure all tests pass before submitting a pull request.
-
Include Test Coverage: Ensure that all new features and bug fixes are covered by tests.
-
Respect Review Feedback: Be responsive to any feedback or changes requested by reviewers.
Thank you for helping to make Tinaplayer better!