Skip to content

Latest commit

 

History

History
60 lines (41 loc) · 2.34 KB

File metadata and controls

60 lines (41 loc) · 2.34 KB

LEOSTAR-UI Contributing Guide

Hi! I'm really excited that you are interested in contributing to LEOSTAR-UI. Before submitting your contribution, please make sure to take a moment and read through the following guidelines

Development Setup

You will need Node.js version 16+, and PNPM version 8+.

After cloning the repo, run:

$ pnpm i # install the dependencies of the project

A high level overview of tools used:

Extensions

We recommend using VSCode with the following extensions:

Git Hooks

The project uses husky to enforce the following on each commit:

  • Check unit tests before push
  • Automatically format changed files using Prettier & Eslint
  • Verify commit message format (conventional commit)

Scripts

pnpm build

The build script builds all packages in the repository. It is equivalent to running pnpm build in each package directory.

pnpm commit

We use [commitlint] (https://commitlint.js.org/) to check the submitted information. It will check that the submitted message conforms to the format we have defined. If the submission message does not conform to the format, it will return an error that is used, usage nr commit=git add . && cz-git。