Commit 5dbfc498 by Moorthy G

chore: use pnpm as package manager

parent c6c32570
......@@ -6,7 +6,7 @@
- React Storybook
- Typescript
- Tailwind CSS
- yarn 4
- pnpm
- Commitizen
- Editorconfig
- Eslint
......@@ -15,9 +15,9 @@
## Important Notes
- Install Yarn using `corepack enable`
- Set yarn version to latest using `yarn set version stable`
- Install dependencies using `yarn install`
- Enable nodejs corepack `corepack enable`
- Install pnpm using `corepack prepare pnpm@latest --activate`
- Install dependencies using `pnpm install`
- Install commitizen globally `npm install -g commitizen`
- Then, use `git cz` or `cz` to commit changes
- Commit messages must follow [angular conventional commit
......@@ -29,29 +29,29 @@
### Development Server
```bash
yarn dev
pnpm dev
```
### Build Task
```bash
yarn build
pnpm build
```
### Production Server
```bash
yarn start
pnpm start
```
### Run Storybook
```bash
yarn storybook
pnpm storybook
```
### Build Static Storybook
```bash
yarn build-storybook
pnpm build-storybook
```
......@@ -50,6 +50,5 @@
"pretty-quick": "^3.1.3",
"storybook": "^7.6.7",
"webpack-bundle-analyzer": "^4.10.1"
},
"packageManager": "yarn@4.0.2"
}
}
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment