Skip to content

Commit 11b144f

Browse files
[docs] Update pnpm order, move to second (#42712)
Co-authored-by: ZeeshanTamboli <zeeshan.tamboli@gmail.com>
1 parent 71a7ff1 commit 11b144f

File tree

15 files changed

+94
-92
lines changed

15 files changed

+94
-92
lines changed

docs/data/base/getting-started/quickstart/quickstart.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ The `next` tag is used to download the latest <b>pre-release</b>, v6 version. Re
2222
npm install @mui/base@next
2323
```
2424

25-
```bash yarn
26-
yarn add @mui/base@next
27-
```
28-
2925
```bash pnpm
3026
pnpm add @mui/base@next
3127
```
3228

29+
```bash yarn
30+
yarn add @mui/base@next
31+
```
32+
3333
</codeblock>
3434

3535
### Peer dependencies

docs/data/joy/customization/right-to-left/right-to-left.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,14 @@ Install the [`stylis-plugin-rtl`](https://github.com/styled-components/stylis-pl
6868
npm install stylis stylis-plugin-rtl
6969
```
7070

71-
```bash yarn
72-
yarn add stylis stylis-plugin-rtl
73-
```
74-
7571
```bash pnpm
7672
pnpm add stylis stylis-plugin-rtl
7773
```
7874

75+
```bash yarn
76+
yarn add stylis stylis-plugin-rtl
77+
```
78+
7979
</codeblock>
8080

8181
#### With Emotion

docs/data/joy/getting-started/installation/installation.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,19 @@ The `next` tag is used to download the latest <b>pre-release</b>, v6 version. Re
1313
<!-- #default-branch-switch -->
1414

1515
<codeblock storageKey="package-manager">
16+
1617
```bash npm
1718
npm install @mui/joy@next @emotion/react @emotion/styled
1819
```
1920

20-
```bash yarn
21-
yarn add @mui/joy@next @emotion/react @emotion/styled
22-
```
23-
2421
```bash pnpm
2522
pnpm add @mui/joy@next @emotion/react @emotion/styled
2623
```
2724

25+
```bash yarn
26+
yarn add @mui/joy@next @emotion/react @emotion/styled
27+
```
28+
2829
</codeblock>
2930

3031
### Peer dependencies
@@ -51,18 +52,19 @@ Add it to your project via [Fontsource](https://fontsource.org/), or with the Go
5152
Run one of the following commands to add Inter through Fontsource to your Joy UI project:
5253

5354
<codeblock storageKey="package-manager">
55+
5456
```bash npm
5557
npm install @fontsource/inter
5658
```
5759

58-
```bash yarn
59-
yarn add @fontsource/inter
60-
```
61-
6260
```bash pnpm
6361
pnpm add @fontsource/inter
6462
```
6563

64+
```bash yarn
65+
yarn add @fontsource/inter
66+
```
67+
6668
</codeblock>
6769

6870
Then you can import it in your entry point like this:

docs/data/material/components/about-the-lab/about-the-lab.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ The `next` tag is used to download the latest <b>pre-release</b>, v6 version. Re
3131
npm install @mui/lab@next @mui/material@next
3232
```
3333

34-
```bash yarn
35-
yarn add @mui/lab@next @mui/material@next
36-
```
37-
3834
```bash pnpm
3935
pnpm add @mui/lab@next @mui/material@next
4036
```
4137

38+
```bash yarn
39+
yarn add @mui/lab@next @mui/material@next
40+
```
41+
4242
</codeblock>
4343

4444
Note that the lab has a peer dependency on the Material UI components.

docs/data/material/components/icons/icons.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ The `next` tag is used to download the latest <b>pre-release</b>, v6 version. Re
3737
npm install @mui/icons-material@next
3838
```
3939

40-
```bash yarn
41-
yarn add @mui/icons-material@next
42-
```
43-
4440
```bash pnpm
4541
pnpm add @mui/icons-material@next
4642
```
4743

44+
```bash yarn
45+
yarn add @mui/icons-material@next
46+
```
47+
4848
</codeblock>
4949

5050
These components use the Material UI `SvgIcon` component to render the SVG path for each icon, and so have a peer-dependency on `@mui/material`.

docs/data/material/components/material-icons/material-icons.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ The `next` tag is used to download the latest <b>pre-release</b>, v6 version. Re
3030
npm install @mui/icons-material@next @mui/material@next @emotion/styled @emotion/react
3131
```
3232

33-
```bash yarn
34-
yarn add @mui/icons-material@next @mui/material@next @emotion/styled @emotion/react
35-
```
36-
3733
```bash pnpm
3834
pnpm add @mui/icons-material@next @mui/material@next @emotion/styled @emotion/react
3935
```
4036

37+
```bash yarn
38+
yarn add @mui/icons-material@next @mui/material@next @emotion/styled @emotion/react
39+
```
40+
4141
</codeblock>
4242

4343
See the [Installation](/material-ui/getting-started/installation/) page for additional docs about how to make sure everything is set up correctly.

docs/data/material/components/typography/typography.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ Add it to your project via Fontsource, or with the Google Fonts CDN.
2424
npm install @fontsource/roboto
2525
```
2626

27-
```bash yarn
28-
yarn add @fontsource/roboto
29-
```
30-
3127
```bash pnpm
3228
pnpm add @fontsource/roboto
3329
```
3430

31+
```bash yarn
32+
yarn add @fontsource/roboto
33+
```
34+
3535
</codeblock>
3636

3737
Then you can import it in your entry point like this:

docs/data/material/customization/right-to-left/right-to-left.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,14 @@ Install the [`stylis-plugin-rtl`](https://github.com/styled-components/stylis-pl
6868
npm install stylis stylis-plugin-rtl
6969
```
7070

71-
```bash yarn
72-
yarn add stylis stylis-plugin-rtl
73-
```
74-
7571
```bash pnpm
7672
pnpm add stylis stylis-plugin-rtl
7773
```
7874

75+
```bash yarn
76+
yarn add stylis stylis-plugin-rtl
77+
```
78+
7979
</codeblock>
8080

8181
#### With Emotion

docs/data/material/getting-started/installation/installation.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ The `next` tag is used to download the latest <b>pre-release</b>, v6 version. Re
1818
npm install @mui/material@next @emotion/react @emotion/styled
1919
```
2020

21-
```bash yarn
22-
yarn add @mui/material@next @emotion/react @emotion/styled
23-
```
24-
2521
```bash pnpm
2622
pnpm add @mui/material@next @emotion/react @emotion/styled
2723
```
2824

25+
```bash yarn
26+
yarn add @mui/material@next @emotion/react @emotion/styled
27+
```
28+
2929
</codeblock>
3030

3131
### Peer dependencies
@@ -52,14 +52,14 @@ If you want to use [styled-components](https://styled-components.com/) instead,
5252
npm install @mui/material @mui/styled-engine-sc styled-components
5353
```
5454

55-
```bash yarn
56-
yarn add @mui/material @mui/styled-engine-sc styled-components
57-
```
58-
5955
```bash pnpm
6056
pnpm add @mui/material @mui/styled-engine-sc styled-components
6157
```
6258

59+
```bash yarn
60+
yarn add @mui/material @mui/styled-engine-sc styled-components
61+
```
62+
6363
</codeblock>
6464

6565
Next, follow the [styled-components how-to guide](/material-ui/integrations/styled-components/) to properly configure your bundler to support `@mui/styled-engine-sc`.
@@ -83,14 +83,14 @@ Add it to your project via Fontsource, or with the Google Fonts CDN.
8383
npm install @fontsource/roboto
8484
```
8585

86-
```bash yarn
87-
yarn add @fontsource/roboto
88-
```
89-
9086
```bash pnpm
9187
pnpm add @fontsource/roboto
9288
```
9389

90+
```bash yarn
91+
yarn add @fontsource/roboto
92+
```
93+
9494
</codeblock>
9595

9696
Then you can import it in your entry point like this:
@@ -130,14 +130,14 @@ You can do so with npm, or with the Google Web Fonts CDN.
130130
npm install @mui/icons-material
131131
```
132132

133-
```bash yarn
134-
yarn add @mui/icons-material
135-
```
136-
137133
```bash pnpm
138134
pnpm add @mui/icons-material
139135
```
140136

137+
```bash yarn
138+
yarn add @mui/icons-material
139+
```
140+
141141
</codeblock>
142142

143143
### Google Web Fonts

docs/data/material/integrations/nextjs/nextjs.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ The `next` tag is used to download the latest <b>pre-release</b>, v6 version. Re
2323
npm install @mui/material-nextjs@next @emotion/cache
2424
```
2525

26-
```bash yarn
27-
yarn add @mui/material-nextjs@next @emotion/cache
28-
```
29-
3026
```bash pnpm
3127
pnpm add @mui/material-nextjs@next @emotion/cache
3228
```
3329

30+
```bash yarn
31+
yarn add @mui/material-nextjs@next @emotion/cache
32+
```
33+
3434
</codeblock>
3535

3636
### Configuration
@@ -162,14 +162,14 @@ Then, run one of the following commands to install the dependencies:
162162
npm install @mui/material-nextjs @emotion/cache @emotion/server
163163
```
164164

165-
```bash yarn
166-
yarn add @mui/material-nextjs @emotion/cache @emotion/server
167-
```
168-
169165
```bash pnpm
170166
pnpm add @mui/material-nextjs @emotion/cache @emotion/server
171167
```
172168

169+
```bash yarn
170+
yarn add @mui/material-nextjs @emotion/cache @emotion/server
171+
```
172+
173173
</codeblock>
174174

175175
### Configuration

0 commit comments

Comments
 (0)