Skip to content

Commit

Permalink
docs: style the why commands
Browse files Browse the repository at this point in the history
  • Loading branch information
byCedric committed Jul 3, 2024
1 parent 3466d88 commit b164f9b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,14 @@ React Native is a complex library, split over multiple different packages. Unfor

You can check if your monorepo is installing multiple versions of React Native with the `npm list` command, supported by all major package managers:

```
```bash
$ npm why react-native
$ yarn why react-native

# Bun doesn't have `bun why` (yet), but you can use `yarn why` instead
$ bun install --yarn && yarn why react-native

# pnpm needs `--recursive` to search in all workspaces within the monorepo
$ pnpm why --recursive react-native
```

Expand Down

0 comments on commit b164f9b

Please sign in to comment.