mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
bun-pm-{cache, trust, untrusted}: add pages and example (#21208)
This commit is contained in:
committed by
GitHub
parent
e8b8f450f9
commit
9f7bd3ec73
@@ -0,0 +1,12 @@
|
||||
# bun pm cache
|
||||
|
||||
> Manage Bun's cache.
|
||||
> More information: <https://bun.com/docs/pm/cli/pm#cache>.
|
||||
|
||||
- Display the path to the global module cache:
|
||||
|
||||
`bun pm cache`
|
||||
|
||||
- Clear the global module cache:
|
||||
|
||||
`bun pm cache rm`
|
||||
@@ -0,0 +1,13 @@
|
||||
# bun pm trust
|
||||
|
||||
> Mark dependencies as trusted.
|
||||
> See also: `bun pm untrusted`.
|
||||
> More information: <https://bun.com/docs/pm/cli/pm#trust>.
|
||||
|
||||
- Trust a specific dependency and add it to `trustedDependencies`:
|
||||
|
||||
`bun pm trust {{dependency_name}}`
|
||||
|
||||
- Trust all currently untrusted dependencies:
|
||||
|
||||
`bun pm trust --all`
|
||||
@@ -24,9 +24,9 @@
|
||||
|
||||
`bun pm hash`
|
||||
|
||||
- Print the path to Bun's global module cache:
|
||||
- List the current untrusted dependencies that contain scripts:
|
||||
|
||||
`bun pm cache`
|
||||
`bun pm untrusted`
|
||||
|
||||
- Migrate another package manager's lockfile without installing anything:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user