Skip to content

Commit 6efbad0

Browse files
authored
fix(package.json): add sharp to dependencies (#81)
* fix(package.json): add sharp to dependencies * chore(knip.config.ts): remove sharp from ignoreDependencies
1 parent e2c20ad commit 6efbad0

File tree

3 files changed

+1
-9
lines changed

3 files changed

+1
-9
lines changed

bun.lockb

-126 Bytes
Binary file not shown.

knip.config.ts

-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ const config: KnipConfig = {
44
ignoreDependencies: [
55
// used in .husky/commit-msg, but knip doesn't work properly for bun run
66
"@commitlint/cli",
7-
// sharp cannot be added to dependencies because of the Bun's bug
8-
// ref: https://github.com/oven-sh/bun/issues/7729#issuecomment-2024889852
9-
"sharp",
107
],
118
workspaces: {
129
".": {},

package.json

+1-6
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
},
3939
"dependencies": {
4040
"astro": "4.8.1",
41+
"sharp": "0.33.3",
4142
"svgo": "3.3.2"
4243
},
4344
"devDependencies": {
@@ -62,14 +63,8 @@
6263
"semantic-release": "23.0.8",
6364
"typescript": "5.4.5"
6465
},
65-
"overrides": {
66-
"sharp": "0.33.3"
67-
},
6866
"trustedDependencies": ["@biomejs/biome", "esbuild", "sharp"],
6967
"type": "module",
70-
"engines": {
71-
"node": "^18.17.0 || >= 20.3.0"
72-
},
7368
"volta": {
7469
"node": "21.7.3"
7570
},

0 commit comments

Comments
 (0)