add missing docs for new bun pm commands (#14347)

This commit is contained in:
versecafe
2024-10-04 15:30:30 -07:00
committed by GitHub
parent 4a5ec261ef
commit 7063116c61
2 changed files with 76 additions and 6 deletions

View File

@@ -17,7 +17,7 @@ If you are seeing one of the following errors, you are probably trying to use a
---
To tell Bun to allow lifecycle scripts for a particular package, add the package to `trustedDependencies` in your package.json.
To allow Bun to execute lifecycle scripts for a specific package, add the package to `trustedDependencies` in your package.json file. You can do this automatically by running the command `bun pm trust <pkg>`.
{% callout %}
Note that this only allows lifecycle scripts for the specific package listed in `trustedDependencies`, _not_ the dependencies of that dependency!