- Fork the repository on GitHub.
- Clone your fork to your local machine:
git clone https://github.com/<your-username>/fzf-ecma.git
- Add the original repository as a remote:
git remote add upstream https://github.com/theurgi/fzf-ecma.git
- Install dependencies and set up the project:
pnpm install
- Create a new branch for your changes:
git checkout -b feature/my-new-feature
- Make your changes in the new branch.
- Write tests for your changes, if applicable.
- Ensure all tests pass by running:
pnpm test
- Ensure the project builds without errors by running:
pnpm build
- If your changes affect the package version or require a changelog update, run
pnpm changeset
and follow the prompts to generate the appropriate changeset:
pnpm changeset
- Commit your changes with a clear and descriptive commit message.
- Pull the latest changes from the upstream repository and rebase your branch:
git fetch upstream
git rebase upstream/main
- Push your changes to your fork:
git push origin feature/my-new-feature
- Navigate to the original repository on GitHub.
- Click the 'Pull requests' tab.
- Click the 'New pull request' button.
- Click 'compare across forks'.
- In the 'head repository' dropdown, select your forked repository.
- In the 'compare' dropdown, select your branch.
- Click 'Create pull request'.
- Fill in the pull request form with a clear title and detailed description of your changes.
- Click 'Create pull request'.
If you find a bug or have a suggestion for improvement, please open a new issue in the original repository. Provide a clear and descriptive title, as well as any relevant information to help reproduce the issue or understand the suggestion.