From 45359bf5d0ecd722f97288430926b9c4417bfaca Mon Sep 17 00:00:00 2001 From: Jalil Arfaoui Date: Wed, 18 Feb 2026 19:22:01 +0100 Subject: [PATCH] Ajout des binaires sharp linux-x64 en devDependencies explicites MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- package-lock.json | 4 ++-- package.json | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6ef52b7..b38375a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,6 +11,8 @@ "@astrojs/check": "^0.9.6", "@astrojs/tailwind": "^6.0.2", "@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", "@types/node": "^25.0.3", "astro": "^5.17.2", @@ -1134,7 +1136,6 @@ ], "dev": true, "license": "LGPL-3.0-or-later", - "optional": true, "os": [ "linux" ], @@ -1300,7 +1301,6 @@ ], "dev": true, "license": "Apache-2.0", - "optional": true, "os": [ "linux" ], diff --git a/package.json b/package.json index 670bf38..5fdbb35 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,8 @@ "@astrojs/check": "^0.9.6", "@astrojs/tailwind": "^6.0.2", "@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", "@types/node": "^25.0.3", "astro": "^5.17.2",