We love your input! We want to make contributing to GPUL Web as easy and transparent as possible.
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone. Please read our Code of Conduct for more details.
- Fork the repository to your GitHub account
- Clone your fork locally
git clone https://github.com/YOUR_USERNAME/web.git
cd web- Install the required tools (Node.js 22+ and pnpm 10+)
- Install dependencies
pnpm install- Create a new branch for your feature/fix
git checkout -b type/descriptionWhere type is one of:
feat: A new featurefix: A bug fixdocs: Documentation changesstyle: Code style changes (formatting, etc.)refactor: Code changes that neither fix bugs nor add featuresperf: Performance improvementstest: Adding or modifying testschore: Changes to the build process or auxiliary tools
- Make your changes following our code style
- Write or update tests as needed
- Update documentation as needed
We use Conventional Commits for our commit messages. The format should be:
type(scope): description
[optional body]
[optional footer]
Examples:
feat(auth): add login functionality
fix(api): handle null response from server
docs(readme): update installation instructions
To help maintain code quality and consistent formatting, this project includes pre-commit hooks that run ESLint and Prettier on staged files before a commit is made. The same linting and formatting is being run on CI.
These hooks can be disabled (opt-out) to give developers flexibility in their workflow, however, we encourage its use, to avoid having to re-do commits to pass CI.
- ESLint: Checks for potential bugs and enforces code style rules. If any errors are found, the commit will be aborted, and you will need to fix the errors manually before trying to commit again.
- Prettier: Automatically formats your code to ensure a consistent style across the entire codebase.
Hooks are pre-enabled on the repo. If for any reason, you wish to disable the
-
Navigate to the root directory of the project in your terminal.
-
Create the opt-out file by running the following command:
touch .opt-out-hooks
If you decide you want the hooks to run again, simply delete the .opt-out-hooks file.
git push origin type/description- Go to the original repository
- Click "New Pull Request"
- Select your branch
- Fill in the PR template
- Submit the PR
All changes, regardless of size, will be reviewed by a member of the current GPUL board before being merged. This ensures:
- Code quality and consistency
- Alignment with project goals
- Security and stability
- Proper documentation
The review process may include:
- Code review
- Testing
- Documentation review
- Security assessment
If you need help at any point:
- Open an issue
- Join our community chat
- Contact the maintainers
Thank you for considering contributing to GPUL Web. Your contributions help make our community stronger!