Skip to content

Commit

Permalink
docs: Remove duplicated content from guides/install/trusted (#10330)
Browse files Browse the repository at this point in the history
  • Loading branch information
josephjclark authored Apr 26, 2024
1 parent 006575a commit c777397
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docs/guides/install/trusted.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ 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.

{% callout %}
Note that this only allows lifecycle scripts for the specific package listed in `trustedDependencies`, _not_ the dependencies of that dependency!
{% /callout %}

<!-- Bun maintains an allow-list of popular packages containing `postinstall` scripts that are known to be safe. To run lifecycle scripts for packages that aren't on this list, add the package to `trustedDependencies` in your package.json. -->

Expand All @@ -43,8 +45,4 @@ $ bun install

---

Note that this only allows lifecycle scripts for the specific package listed in `trustedDependencies`, _not_ the dependencies of that dependency!

---

See [Docs > Package manager > Trusted dependencies](/docs/install/lifecycle) for complete documentation of trusted dependencies.

0 comments on commit c777397

Please sign in to comment.