Skip to content

Commit b0efb83

Browse files
authored
docs: integrations: yarn & pnpm (#4836)
1 parent 2c2bbc5 commit b0efb83

File tree

5 files changed

+30
-5
lines changed

5 files changed

+30
-5
lines changed

packages/integrations/cloudflare/README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,13 @@ An SSR adapter for use with Cloudflare Pages Functions targets. Write your code
66

77
Add the Cloudflare adapter to enable SSR in your Astro project with the following `astro add` command. This will install the adapter and make the appropriate changes to your `astro.config.mjs` file in one step.
88

9-
```bash
9+
```sh
10+
# Using NPM
1011
npx astro add cloudflare
12+
# Using Yarn
13+
yarn astro add cloudflare
14+
# Using PNPM
15+
pnpm astro add cloudflare
1116
```
1217

1318
If you prefer to install the adapter manually instead, complete the following two steps:

packages/integrations/deno/README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,13 @@ If you wish to [use server-side rendering (SSR)](https://docs.astro.build/en/gui
2525

2626
Add the Deno adapter to enable SSR in your Astro project with the following `astro add` command. This will install the adapter and make the appropriate changes to your `astro.config.mjs` file in one step.
2727

28-
```bash
28+
```sh
29+
# Using NPM
2930
npx astro add deno
31+
# Using Yarn
32+
yarn astro add deno
33+
# Using PNPM
34+
pnpm astro add deno
3035
```
3136

3237
If you prefer to install the adapter manually instead, complete the following two steps:

packages/integrations/netlify/README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,13 @@ If you wish to [use server-side rendering (SSR)](https://docs.astro.build/en/gui
2727

2828
Add the Netlify adapter to enable SSR in your Astro project with the following `astro add` command. This will install the adapter and make the appropriate changes to your `astro.config.mjs` file in one step.
2929

30-
```bash
30+
```sh
31+
# Using NPM
3132
npx astro add netlify
33+
# Using Yarn
34+
yarn astro add netlify
35+
# Using PNPM
36+
pnpm astro add netlify
3237
```
3338

3439
If you prefer to install the adapter manually instead, complete the following two steps:

packages/integrations/node/README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,13 @@ If you wish to [use server-side rendering (SSR)](https://docs.astro.build/en/gui
2323

2424
Add the Node adapter to enable SSR in your Astro project with the following `astro add` command. This will install the adapter and make the appropriate changes to your `astro.config.mjs` file in one step.
2525

26-
```bash
26+
```sh
27+
# Using NPM
2728
npx astro add node
29+
# Using Yarn
30+
yarn astro add node
31+
# Using PNPM
32+
pnpm astro add node
2833
```
2934

3035
If you prefer to install the adapter manually instead, complete the following two steps:

packages/integrations/vercel/README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,13 @@ If you wish to [use server-side rendering (SSR)](https://docs.astro.build/en/gui
2424

2525
Add the Vercel adapter to enable SSR in your Astro project with the following `astro add` command. This will install the adapter and make the appropriate changes to your `astro.config.mjs` file in one step.
2626

27-
```bash
27+
```sh
28+
# Using NPM
2829
npx astro add vercel
30+
# Using Yarn
31+
yarn astro add vercel
32+
# Using PNPM
33+
pnpm astro add vercel
2934
```
3035

3136
If you prefer to install the adapter manually instead, complete the following two steps:

0 commit comments

Comments
 (0)