Skip to content

Commit

Permalink
docs(bun): remove deprecated sharp instructions (#6839)
Browse files Browse the repository at this point in the history
---------

Co-authored-by: gioboa <[email protected]>
  • Loading branch information
antoinepairet and gioboa authored Jan 1, 2025
1 parent f4b4130 commit 3f2732e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
9 changes: 0 additions & 9 deletions packages/docs/src/routes/docs/deployments/bun/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,6 @@ curl -fsSL https://bun.sh/install | bash

For other platforms or if you run into issues with installation, up to date `bun` installation instructions can be found [on the bun website](https://bun.sh/docs/installation).

If you run into the error `Something went wrong installing the "sharp" module` when using `bun` as a package manager, add the following code to your package.json, then remove the node_modules folder and any lockfiles such as bun.lockb or package-lock.json. Then run `bun install`.

```json
"trustedDependencies": [
"sharp"
]
```
This issue is currently being tracked [on the bun repository](https://github.com/oven-sh/bun/issues/3783).

To integrate the `bun` adapter, use the `add` command:

- For the [integrated HTTP server](https://bun.sh/docs/api/http):
Expand Down
4 changes: 0 additions & 4 deletions starters/apps/base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@
"vite": "^4.5.2",
"vite-tsconfig-paths": "^4.2.1"
},
"trustedDependencies": [
"sharp"
],
"trustedDependencies-annotation": "Needed for bun to allow running install scripts",
"engines": {
"node": "^18.17.0 || ^20.3.0 || >=21.0.0",
"npm": ">=10.0.0",
Expand Down

0 comments on commit 3f2732e

Please sign in to comment.