0.1.2 • Published 2 years ago

nhg-playground v0.1.2

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

Use pnpm as the package manager. It keeps the node_module folder clean and generally is more pleasant to work with.

https://pnpm.io/installation

sudo npm install -g pnpm@next-7

Setup

pnpm install pnpm run dev

Should work work with most package managers

Usage

Add new package pnpm add antd

Add new dev package pnpm add -D antd

Work with refinedev-

  1. Install nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
  1. Install node 14.x
nvm install 14
  1. Switch to node 14.x
nvm use 14
  1. Install pnpm
npm install -g pnpm@next-7
  1. Install dependencies
cd refinedev-test && pnpm install
  1. Run with dev mode
pnpm run dev

Before push to repository and create PR, please check local code quality with command

pnpm run lint