Skip to content

Commit

Permalink
docs: document v9.11 features
Browse files Browse the repository at this point in the history
  • Loading branch information
zkochan committed Sep 22, 2024
1 parent f162075 commit 10527b7
Show file tree
Hide file tree
Showing 6 changed files with 101 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/cli/cache-delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
id: cache-delete
title: pnpm cache delete
---

Added in: v9.11.0

:::warning

This command is experimental

:::

Deletes metadata cache for the specified package(s). Supports patterns.
14 changes: 14 additions & 0 deletions docs/cli/cache-list-registries.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
id: cache-list-registries
title: pnpm cache list-registries
---

Added in: v9.11.0

:::warning

This command is experimental

:::

Lists all registries that have their metadata cache locally.
27 changes: 27 additions & 0 deletions docs/cli/cache-list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
id: cache-list
title: pnpm cache list
---

Added in: v9.11.0

:::warning

This command is experimental

:::

Lists the available packages metadata cache. Supports filtering by glob.

Managing and inspecting the package metadata cache.

## Commands

### list
### list <package_name_glob\>

### list-registries

### delete <package_name_glob\>

### view <package_name\>
14 changes: 14 additions & 0 deletions docs/cli/cache-view.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
id: cache-view
title: pnpm cache view
---

Added in: v9.11.0

:::warning

This command is experimental

:::

Views information from the specified package's cache.
10 changes: 10 additions & 0 deletions sidebars.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,16 @@
"cli/env"
]
},
{
"type": "category",
"label": "Manage cache",
"items": [
"cli/cache-list",
"cli/cache-list-registries",
"cli/cache-view",
"cli/cache-delete"
]
},
{
"type": "category",
"label": "Misc.",
Expand Down
22 changes: 22 additions & 0 deletions versioned_sidebars/version-9.x-sidebars.json
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,28 @@
}
]
},
{
"type": "category",
"label": "Manage cache",
"items": [
{
"type": "doc",
"id": "cli/cache-list"
},
{
"type": "doc",
"id": "cli/cache-list-registries"
},
{
"type": "doc",
"id": "cli/cache-view"
},
{
"type": "doc",
"id": "cli/cache-delete"
}
]
},
{
"collapsed": true,
"type": "category",
Expand Down

0 comments on commit 10527b7

Please sign in to comment.