Skip to content

Latest commit

 

History

History
63 lines (43 loc) · 2.73 KB

CONTRIBUTING.md

File metadata and controls

63 lines (43 loc) · 2.73 KB

Contributing to Unkey

Contributions are what makes the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

House rules

  • Before submitting a new issue or PR, check if it already exists in issues or PRs.
  • If there isn't an issue please create one before any development begins
  • GitHub issues: take note of the needs-approval label.
    • For Contributors:
      • Feature Requests / Refactoring on a Large Scale: Wait for an Unkey member to approve and remove the needs-approval label before you start coding or submitting a PR.
      • Bugs, Security, Documentation, etc.: You can start coding immediately, even if the needs-approval label is present. This label mainly concerns feature requests.
    • Our Process:
      • Issues from anyone not on the Unkey team automatically receive the needs-approval label.
      • We greatly value new feature ideas. To ensure consistency in the product's direction, they undergo review and approval.

Developing

The development branch is main. This is the branch that all pull requests should be made against.

To develop locally:

  1. Fork this repository to your own GitHub account and then clone it to your local device.

  2. Create a new branch:

    git switch -c MY_BRANCH_NAME
  3. Follow our getting started guide in our documentation

Installing

Unkey uses Corepack and PNPM for package management.

To set the correct version of PNPM, run corepack enable from the monorepo root. This will set your PNPM version correctly. To install the project's dependencies, run pnpm install.

Building

You can build the project with:

pnpm build

Linting

To check the formatting of your code:

pnpm fmt

If you get errors, be sure to fix them before committing.

Making a Pull Request