Skip to content

Latest commit

Β 

History

History
76 lines (48 loc) Β· 1.85 KB

File metadata and controls

76 lines (48 loc) Β· 1.85 KB

Contributing Guide

Hi! We are really excited that you are interested in contributing to classic-react-hooks. Before submitting your contribution, please make sure to take a moment and read through the following guide:

πŸ”§ System Requirements


πŸ—οΈ Repo Setup

git clone https://github.com/Ashish-simpleCoder/classic-react-hooks.git

cd classic-react-hooks

Install dependencies

pnpm install

Build project

pnpm build

Run tests

pnpm test

Format code

pnpm format

πŸ”ƒ Pull Request Guidelines

  • Checkout a topic branch from a base branch, e.g. main, and merge back against that branch.

  • If adding a new feature:

    • Provide a convincing reason to add this feature. Ideally, you should open a suggestion issue first and have it approved before working on it.
    • Add accompanying test case.
  • If fixing a bug:

    • If you are resolving a special issue, add (fix #xxxx[,#xxxx]) (#xxxx is the issue id) in your PR title for a better release log, e.g. fix: update fetch logic (fix #3899).
    • Provide a detailed description of the bug in the PR. Live demo preferred.
    • Add appropriate test coverage if applicable.
  • It's OK to have multiple small commits as you work on the PR - GitHub can automatically squash them before merging.

  • Make sure tests pass!

  • Use pnpm format to format files according to the project guidelines.


πŸ“„ Documenation Guidelines

To contribute in the documentation, go to apps/doc directory

Steps to contribute

  1. Run pnpm install to install all of the dependencies

  2. Run pnpm docs:dev for development of doc

  3. Run pnpm docs:build for building the prodution version of doc

  4. Run pnpm docs:preview to see the preview of doc