Skip to content

Commit

Permalink
Add section to README
Browse files Browse the repository at this point in the history
  • Loading branch information
mbeckem committed Oct 21, 2024
1 parent 235ed72 commit db959b5
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions packages/check-pnpm-duplicates/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,19 @@ The tool can be invoked manually (via `pnpm check-pnpm-duplicates -c path/to/con
}
```

By default, all duplicate packages are reported as errors:

```text
$ pnpm check-pnpm-duplicates
Found unexpected duplicate packages:
- "@changesets/types" # (versions 4.1.0, 6.0.0)
- "@pnpm/dependency-path" # (versions 5.1.3, 5.1.6)
- "@pnpm/resolver-base" # (versions 13.0.1, 13.0.4)
...
```

To allow certain duplicates, see below.

## Configuration

The tool can be configured using a YAML file.
Expand Down

0 comments on commit db959b5

Please sign in to comment.