Thank you for your interest in contributing to this open source project! We welcome contributions from everyone. Please read the following guidelines to help ensure a smooth collaboration:
- Search first: Before opening a new issue, please check if your question, bug, or feature request has already been reported.
- Provide details: When opening an issue, include as much relevant information as possible (steps to reproduce, expected/actual behavior, screenshots, environment, etc.).
- Be respectful: Use clear and respectful language.
- Fork and branch: Fork the repository and create a dedicated branch for your changes.
- Describe your changes: Clearly explain what your PR does and why. Reference related issues if applicable.
- Tests and documentation: Add or update tests and documentation as needed.
- Small, focused PRs: Smaller, focused changes are easier to review and merge.
- Review process: All PRs are subject to review by maintainers. Please be responsive to feedback and update your PR as needed.
- Ownership: By contributing, you confirm that you have the rights to submit the content you are providing (code, documentation, etc.).
- License compliance: All contributions must be compatible with the project's MIT License. Do not submit content you do not have the right to share, or that is incompatible with the MIT license.
This project uses Changesets to manage versioning and releases. When your contribution is ready to be included in a release, please follow these steps as part of the pull request process:
- Create a Feature Branch: Make your changes in a dedicated feature branch.
- Add a Changeset: Run
npx changeset addto generate a release note entry. You will be prompted to select the impact of your change (major, minor, or patch) and provide a description. - Open a Pull Request: Push your changes and open a PR. A GitHub Actions bot will comment on the PR with the potential release impact. If you forgot to add a changeset, maintainers can add one via the GitHub UI.
- Review and Merge: After review, your PR will be merged into the default branch (
main). This triggers a GitHub workflow that creates aMerge to releasePR. Merging the feature PR does not immediately trigger a release; the version bump and release process is handled separately to allow for batching multiple changes together if needed. - Version Packages PR: Maintainers review and approve the version bump PR (
Merge to releasePR). Once merged, the workflow will:- Publish packages to NPM
- Create Git tags
- Generate a GitHub release
- Update the
CHANGELOG.md - Remove processed changeset files
Using Changesets allows for precise control over releases and supports versioning multiple packages at once.
Resources:
We are committed to fostering a welcoming and inclusive environment. Please be respectful and considerate in all interactions. If you experience or witness unacceptable behavior, please report it to the maintainers.