Commit 5dbfc498 by Moorthy G

chore: use pnpm as package manager

parent c6c32570
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
- React Storybook - React Storybook
- Typescript - Typescript
- Tailwind CSS - Tailwind CSS
- yarn 4 - pnpm
- Commitizen - Commitizen
- Editorconfig - Editorconfig
- Eslint - Eslint
...@@ -15,9 +15,9 @@ ...@@ -15,9 +15,9 @@
## Important Notes ## Important Notes
- Install Yarn using `corepack enable` - Enable nodejs corepack `corepack enable`
- Set yarn version to latest using `yarn set version stable` - Install pnpm using `corepack prepare pnpm@latest --activate`
- Install dependencies using `yarn install` - Install dependencies using `pnpm install`
- Install commitizen globally `npm install -g commitizen` - Install commitizen globally `npm install -g commitizen`
- Then, use `git cz` or `cz` to commit changes - Then, use `git cz` or `cz` to commit changes
- Commit messages must follow [angular conventional commit - Commit messages must follow [angular conventional commit
...@@ -29,29 +29,29 @@ ...@@ -29,29 +29,29 @@
### Development Server ### Development Server
```bash ```bash
yarn dev pnpm dev
``` ```
### Build Task ### Build Task
```bash ```bash
yarn build pnpm build
``` ```
### Production Server ### Production Server
```bash ```bash
yarn start pnpm start
``` ```
### Run Storybook ### Run Storybook
```bash ```bash
yarn storybook pnpm storybook
``` ```
### Build Static Storybook ### Build Static Storybook
```bash ```bash
yarn build-storybook pnpm build-storybook
``` ```
...@@ -50,6 +50,5 @@ ...@@ -50,6 +50,5 @@
"pretty-quick": "^3.1.3", "pretty-quick": "^3.1.3",
"storybook": "^7.6.7", "storybook": "^7.6.7",
"webpack-bundle-analyzer": "^4.10.1" "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