We appreciate your interest in contributing to our project! To ensure a smooth contribution process, please follow these guidelines.
- Make sure you have the appropriate permissions to contribute to the repository.
- Clone the repository to your local machine using
git clone https://github.com/hacomono-lib/type-assurer.git.
- Install the project dependencies by running yarn install.
- Install the following and enable pre-commit hook
- actionlint
- lefthook
- Please run
lefthook install
- Please run
- Create a new branch for your changes:
git checkout -b your-feature-branch
. - Make your changes and commit them with a descriptive commit message.
- Run tests to ensure your changes don't introduce any regressions:
yarn test
. - Push your changes to the repository on GitHub.
We use Changesets to manage our changelog and versioning. Follow these steps to create a changeset for your changes:
- Run
yarn changeset
in the project root. - Follow the CLI prompts to choose the affected packages and the appropriate version bump (major, minor, or patch) based on your changes.
- Commit the generated changeset file along with your changes.
- Push your feature branch to the repository on GitHub.
- Create a new Pull Request targeting the main branch.
- In your Pull Request description, provide a brief summary of your changes and any additional context.
- Ensure that any required status checks pass before requesting a review.
Thank you for contributing to our project! We look forward to reviewing your changes and collaborating with you.