sharp 0.35.5 requires Node >=20.9.0, so the node:18-alpine image failed to load the linuxmusl-arm64 binary and the production build broke. Move the image and both CI workflows to Node 24 (current Active LTS), raise the engines floor to the version sharp actually needs, and declare packageManager to silence the corepack warning. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
57 lines
1.5 KiB
JSON
57 lines
1.5 KiB
JSON
{
|
|
"name": "new_portfolio",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"packageManager": "[email protected]",
|
|
"scripts": {
|
|
"dev": "next dev -p 4000",
|
|
"build": "next build",
|
|
"start": "next start -p 4000",
|
|
"lint": "next lint",
|
|
"lintfix": "next lint --fix",
|
|
"typecheck": "tsc --noEmit",
|
|
"security:audit": "pnpm audit --audit-level=moderate",
|
|
"security:check": "pnpm audit --json > security-report.json || true",
|
|
"security:outdated": "pnpm outdated"
|
|
},
|
|
"dependencies": {
|
|
"animejs": "^3.2.2",
|
|
"aos": "^2.3.4",
|
|
"eslint": "8.57.1",
|
|
"eslint-config-next": "15.5.28",
|
|
"next": "^15.5.28",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"react-icons": "^5.7.0",
|
|
"react-transition-group": "^4.4.5",
|
|
"sharp": "^0.35.5",
|
|
"typescript": "5.9.3"
|
|
},
|
|
"devDependencies": {
|
|
"@next/eslint-plugin-next": "^15.5.28",
|
|
"@types/aos": "^3.0.8",
|
|
"@types/node": "^20.19.33",
|
|
"@types/react": "^18.3.28",
|
|
"@types/react-dom": "^18.3.7",
|
|
"@types/react-transition-group": "^4.4.12",
|
|
"@typescript-eslint/eslint-plugin": "^8.72.0",
|
|
"@typescript-eslint/parser": "^8.72.0",
|
|
"eslint-plugin-react": "^7.37.5",
|
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
"sass": "^1.105.2"
|
|
},
|
|
"engines": {
|
|
"node": ">=20.9.0",
|
|
"pnpm": ">=8.0.0"
|
|
},
|
|
"pnpm": {
|
|
"overrides": {
|
|
"js-yaml": ">=4.3.2",
|
|
"flatted": ">=3.4.2",
|
|
"brace-expansion": ">=5.0.12",
|
|
"minimatch": ">=10.2.3",
|
|
"postcss": ">=8.5.23"
|
|
}
|
|
}
|
|
}
|