Skip to content

Commit f851c98

Browse files
authored
chore: Update docs and readme to add pnpm command (#955)
1 parent 6ecbfc8 commit f851c98

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ yarn add @react-email/button -E
3636
npm install @react-email/button -E
3737
```
3838

39+
#### With pnpm
40+
41+
```sh
42+
pnpm install @react-email/button -E
43+
```
44+
3945
## Getting started
4046

4147
Add the component to your email template. Include styles where needed.

docs/_snippets/localdev.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ git clone https://github.com/resendlabs/react-email.git
77
2. Install all dependencies:
88

99
```sh
10-
yarn install
10+
pnpm install
1111
```
1212

1313
3. Run local servers and watch for changes:
1414

1515
```sh
16-
yarn dev
16+
pnpm dev
1717
```

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"scripts": {
66
"build": "turbo run build",
7-
"dev": "turbo run dev --parallel",
7+
"dev": "turbo run dev --parallel --concurrency 25",
88
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
99
"format:check": "prettier --check \"**/*.{ts,tsx,md}\"",
1010
"lint": "turbo run lint",

0 commit comments

Comments
 (0)