Before you start contributing, please make sure your local environment is properly set up and meets the following requirements:
- Node version 14.x or above
- Required dependencies and libraries installed with the correct versions
- Fork the main branch of this repository to your GitHub account.
- Create a new branch for your contributions. It is recommended to use a descriptive name for the branch.
- Make your modifications and work on the branch.
- If you add new content, import your additions in the src/index.ts file and write test cases for your additions in the test directory.
- Commit your changes. Make sure your commit message is clear, concise, and follows the code submission guidelines (refer to the guidelines below).
- Submit a Pull Request to the main branch of the original repository.
- Wait for code review and feedback. Make any necessary modifications and adjustments as required.
- Once your contributions are approved, they will be merged into the main branch.
- The main branch is used for stable releases.
- The gh-pages branch is used for publishing project documentation.
- Please follow the project's code style guide and naming conventions.
- Please follow the project's commenting guidelines to ensure that others can understand and maintain your code.
- Ensure that your changes do not affect existing functionality and pass the relevant test cases.
We expect all participants to adhere to our community code of conduct. Please maintain a friendly, respectful, and collaborative attitude in all communication and interactions. Report any instances of inappropriate behavior promptly to the project maintainers.