Ajout des binaires sharp linux-x64 en devDependencies explicites

Les binaires précompilés de sharp (@img/sharp-linux-x64 et @img/sharp-libvips-linux-x64) étaient en optionalDependencies, ce qui faisait qu'ils n'étaient pas installés sur Clever Cloud. En les ajoutant explicitement, npm les installe obligatoirement.
This commit is contained in:
Jalil Arfaoui 2026-02-18 19:22:01 +01:00
parent 0ee5f0e229
commit 45359bf5d0
2 changed files with 4 additions and 2 deletions

4
package-lock.json generated
View file

@ -11,6 +11,8 @@
"@astrojs/check": "^0.9.6", "@astrojs/check": "^0.9.6",
"@astrojs/tailwind": "^6.0.2", "@astrojs/tailwind": "^6.0.2",
"@biomejs/biome": "1.7.3", "@biomejs/biome": "1.7.3",
"@img/sharp-libvips-linux-x64": "^1.2.4",
"@img/sharp-linux-x64": "^0.34.5",
"@tailwindcss/typography": "^0.5.13", "@tailwindcss/typography": "^0.5.13",
"@types/node": "^25.0.3", "@types/node": "^25.0.3",
"astro": "^5.17.2", "astro": "^5.17.2",
@ -1134,7 +1136,6 @@
], ],
"dev": true, "dev": true,
"license": "LGPL-3.0-or-later", "license": "LGPL-3.0-or-later",
"optional": true,
"os": [ "os": [
"linux" "linux"
], ],
@ -1300,7 +1301,6 @@
], ],
"dev": true, "dev": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"optional": true,
"os": [ "os": [
"linux" "linux"
], ],

View file

@ -16,6 +16,8 @@
"@astrojs/check": "^0.9.6", "@astrojs/check": "^0.9.6",
"@astrojs/tailwind": "^6.0.2", "@astrojs/tailwind": "^6.0.2",
"@biomejs/biome": "1.7.3", "@biomejs/biome": "1.7.3",
"@img/sharp-libvips-linux-x64": "^1.2.4",
"@img/sharp-linux-x64": "^0.34.5",
"@tailwindcss/typography": "^0.5.13", "@tailwindcss/typography": "^0.5.13",
"@types/node": "^25.0.3", "@types/node": "^25.0.3",
"astro": "^5.17.2", "astro": "^5.17.2",