From deb5d48c688da1480f8eaa7e9738c71a2088503f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Asger=20Geel=20Weirs=C3=B8e?= Date: Thu, 11 Jun 2026 19:16:36 +0200 Subject: [PATCH] deps: add sharp as a direct dependency Sharp is only an optional dep of astro; the CI runner omits optional deps, so astro:assets image optimization failed with MissingSharp. Pinning it as a direct dependency guarantees the native binary is installed. Co-Authored-By: Claude Opus 4.8 (1M context) --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index b087301..4e5efca 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "@astrojs/sitemap": "^3.3.0", "@tailwindcss/vite": "^4.1.5", "tailwindcss": "^4.1.5", - "@fontsource-variable/inter": "^5.2.5" + "@fontsource-variable/inter": "^5.2.5", + "sharp": "^0.34.5" } }