Skip to content

Latest commit

 

History

History
57 lines (39 loc) · 1.48 KB

CONTRIBUTING.md

File metadata and controls

57 lines (39 loc) · 1.48 KB

Contributing Guide

Thank you for your interest in contributing to FactoryJS documentation.

How to Contribute

  1. Fork this repository from GitHub link and clone it. First Contributions would be helpful.

    git clone [email protected]:<your-username>/factory-js.github.io.git
    cd factory-js.github.io
  2. Install the pnpm with Corepack. Run the following in the project root:

    corepack enable pnpm
  3. Install packages.

    pnpm install
  4. Create a branch and checkout.

    git switch -c your-new-branch-name
  5. Code and commit your changes.

    git commit -m 'add a new feature'
  6. Run linters in the project root before pushing the PR.

    pnpm run secretlint
    pnpm run type-check
    pnpm run lint
    pnpm run format
  7. Push your changes and open the PR.

    git push -u origin your-branch-name
  8. Rename your PR title to comply with Conventional Commits. CI will automatically verify this.
    You don't need to change commit messages because we use squash merge.
    Generally, you can use the docs: when you intend to improve or fix documentation, and it is rare that you will need to use other types.

  9. Please ensure all CI checks have passed. That's all! 🎉