Thank you for your interest in contributing! This document outlines the process for contributing to this project.
- Fork the repository — Click the "Fork" button on GitHub
- Clone your fork —
git clone https://github.com/YOUR_USERNAME/webext-user-scripts.git - Add the upstream remote —
git remote add upstream https://github.com/theluckystrike/webext-user-scripts.git
This project uses pnpm for package management. If you don't have pnpm installed, you can install it via:
npm install -g pnpmpnpm installpnpm run buildpnpm run testCreate a new branch for your feature or bugfix:
git checkout -b feature/your-feature-nameOr for bugfixes:
git checkout -b fix/description-of-fix- Make your changes in your feature branch
- Ensure the code builds and tests pass
- Commit your changes with a clear commit message:
git add .
git commit -m "Add feature: description of your changes"- Push your branch to your fork:
git push origin feature/your-feature-name- Open a Pull Request against the
mainbranch of the original repository - Fill in the PR template with:
- A clear description of the changes
- Any related issues or context
- Testing steps (if applicable)
- Use TypeScript for all new code
- Follow the existing code style (ESLint rules are included)
- Add type annotations for function parameters and return types
- Write meaningful variable and function names
All new features should include tests. Run the test suite with:
pnpm run testIf you have questions, feel free to open an issue for discussion before submitting a PR.
Thank you for contributing!