Skip to content

Commit 4e8a20f

Browse files
authored
docs: Add pnpm workspace flag (-w) to Oxc setup docs (#12655)
### Description [The oxc guide](https://turborepo.dev/docs/guides/tools/oxc) installs dependencies at the workspace root, but by default pnpm warns in workspaces unless `-w` is used. This updates the commands to include `-w` so users can copy/paste without hitting the warning.
1 parent 4af1ef1 commit 4e8a20f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • apps/docs/content/docs/guides/tools

apps/docs/content/docs/guides/tools/oxc.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ First, install oxlint in your repository:
4040
<Tab value="pnpm">
4141

4242
```bash title="Terminal"
43-
pnpm add --save-dev oxlint
43+
pnpm add --save-dev -w oxlint
4444
```
4545

4646
</Tab>
@@ -133,7 +133,7 @@ Install oxfmt as a dev dependency:
133133
<Tab value="pnpm">
134134

135135
```bash title="Terminal"
136-
pnpm add --save-dev oxfmt
136+
pnpm add --save-dev -w oxfmt
137137
```
138138

139139
</Tab>

0 commit comments

Comments
 (0)