Skip to content

Commit

Permalink
Try to fix linux dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
yvvki committed Dec 19, 2023
1 parent 78388bb commit cc46945
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 6 deletions.
6 changes: 6 additions & 0 deletions .pnp.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@
"node": ">=20.0.0"
},
"private": true,
"trustedDependencies": [
"sharp"
],
"scripts": {
"build": "qwik build",
"build.client": "vite build",
Expand Down Expand Up @@ -55,5 +52,10 @@
"undici": "^5.26.0",
"vite": "^5.0.0",
"vite-tsconfig-paths": "^4.2.0"
},
"optionalDependencies": {
"@img/sharp-darwin-arm64": "^0.33.0",
"@img/sharp-linux-x64": "^0.33.0",
"@img/sharp-win32-x64": "^0.33.0"
}
}
16 changes: 13 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ __metadata:
languageName: node
linkType: hard

"@img/sharp-darwin-arm64@npm:0.33.0":
"@img/sharp-darwin-arm64@npm:0.33.0, @img/sharp-darwin-arm64@npm:^0.33.0":
version: 0.33.0
resolution: "@img/sharp-darwin-arm64@npm:0.33.0"
dependencies:
Expand Down Expand Up @@ -396,7 +396,7 @@ __metadata:
languageName: node
linkType: hard

"@img/sharp-linux-x64@npm:0.33.0":
"@img/sharp-linux-x64@npm:0.33.0, @img/sharp-linux-x64@npm:^0.33.0":
version: 0.33.0
resolution: "@img/sharp-linux-x64@npm:0.33.0"
dependencies:
Expand Down Expand Up @@ -448,7 +448,7 @@ __metadata:
languageName: node
linkType: hard

"@img/sharp-win32-x64@npm:0.33.0":
"@img/sharp-win32-x64@npm:0.33.0, @img/sharp-win32-x64@npm:^0.33.0":
version: 0.33.0
resolution: "@img/sharp-win32-x64@npm:0.33.0"
conditions: os=win32 & cpu=x64
Expand Down Expand Up @@ -4430,6 +4430,9 @@ __metadata:
dependencies:
"@builder.io/qwik": "npm:^1.3.0"
"@builder.io/qwik-city": "npm:^1.3.0"
"@img/sharp-darwin-arm64": "npm:^0.33.0"
"@img/sharp-linux-x64": "npm:^0.33.0"
"@img/sharp-win32-x64": "npm:^0.33.0"
"@tauri-apps/cli": "npm:^1.5.0"
"@types/eslint": "npm:^8.44.0"
"@types/node": "npm:^20.10.0"
Expand All @@ -4444,6 +4447,13 @@ __metadata:
undici: "npm:^5.26.0"
vite: "npm:^5.0.0"
vite-tsconfig-paths: "npm:^4.2.0"
dependenciesMeta:
"@img/sharp-darwin-arm64":
optional: true
"@img/sharp-linux-x64":
optional: true
"@img/sharp-win32-x64":
optional: true
languageName: unknown
linkType: soft

Expand Down

0 comments on commit cc46945

Please sign in to comment.