Le fix repose sur CC_BUILD_COMMAND="npm install --ignore-scripts && npm run build" côté Clever Cloud, qui empêche le postinstall de sharp de planter. Plus besoin de forcer sharp en devDependency explicite.
28 lines
682 B
JSON
28 lines
682 B
JSON
{
|
|
"name": "jalil.arfaoui.net",
|
|
"type": "module",
|
|
"version": "0.0.1",
|
|
"scripts": {
|
|
"dev": "astro dev",
|
|
"start": "astro dev",
|
|
"fetch-images": "tsx scripts/fetch-images.ts",
|
|
"prebuild": "npm run fetch-images",
|
|
"build": "astro check && astro build",
|
|
"preview": "astro preview",
|
|
"astro": "astro",
|
|
"check": "biome check --apply-unsafe ."
|
|
},
|
|
"devDependencies": {
|
|
"@astrojs/check": "^0.9.6",
|
|
"@astrojs/tailwind": "^6.0.2",
|
|
"@biomejs/biome": "1.7.3",
|
|
"@tailwindcss/typography": "^0.5.13",
|
|
"@types/node": "^25.0.3",
|
|
"astro": "^5.17.2",
|
|
"dotenv": "^17.2.3",
|
|
"tailwindcss": "^3.4.3",
|
|
"tsx": "^4.21.0",
|
|
"typescript": "^5.7.3",
|
|
"webdav": "^5.8.0"
|
|
}
|
|
}
|