Skip to content

Commit

Permalink
docs: document v9.10 features
Browse files Browse the repository at this point in the history
  • Loading branch information
zkochan committed Sep 10, 2024
1 parent 4d104bc commit e81c48a
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/cli/list.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@ Don't display packages from `optionalDependencies`.

Display only dependencies that are also projects within the workspace.

### --exclude-peers

Added in: v9.10.0

Exclude peer dependencies from the results (but dependencies of peer dependencies are not ignored).

### --filter <package_selector\>

[Read more about filtering.](../filtering.md)
6 changes: 6 additions & 0 deletions docs/cli/why.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ Display only dependencies within a specific depth.

Display only dependencies that are also projects within the workspace.

### --exclude-peers

Added in: v9.10.0

Exclude peer dependencies from the results (but dependencies of peer dependencies are not ignored).

### --filter <package_selector\>

[Read more about filtering.](../filtering.md)
23 changes: 23 additions & 0 deletions docs/package_json.md
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,29 @@ A list of CVE IDs that will be ignored by the [`pnpm audit`] command.

[`pnpm audit`]: ./cli/audit.md

### pnpm.auditConfig.ignoreGhsas

Added in: v9.10.0

A list of GHSA Codes that will be ignored by the [`pnpm audit`] command.

```json
{
"pnpm": {
"auditConfig": {
"ignoreGhsas": [
"GHSA-42xw-2xvc-qx8m",
"GHSA-4w2v-q235-vp99",
"GHSA-cph5-m8f7-6c5x",
"GHSA-vh95-rmgr-6w4m"
]
}
}
}
```

[`pnpm audit`]: ./cli/audit.md

## pnpm.requiredScripts

Scripts listed in this array will be required in each project of the workspace. Otherwise, `pnpm -r run <script name>` will fail.
Expand Down

0 comments on commit e81c48a

Please sign in to comment.