mirror of
https://github.com/luxfi/mpc.git
synced 2026-09-24 00:26:24 +00:00
Docker build was failing on `pnpm install` because corepack pulled the latest pnpm (v11.x) which exits non-zero when build scripts (esbuild) are present without explicit approval. Pin to v10.16.1 (stable, ships the same `onlyBuiltDependencies` shape) and declare the esbuild build script in package.json so future v11+ upgrades stay non-interactive. Also swap `2>/dev/null || pnpm install` for `|| pnpm install --no-frozen-lockfile` so we don't swallow real diagnostics — fall back to a controlled lockfile update only when --frozen-lockfile fails.
29 lines
565 B
JSON
29 lines
565 B
JSON
{
|
|
"name": "@luxfi/mpc-ui",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc -b && vite build",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"@tanstack/react-query": "^5.0.0",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"wouter": "^3.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^19.0.0",
|
|
"@types/react-dom": "^19.0.0",
|
|
"@vitejs/plugin-react": "^4.3.4",
|
|
"typescript": "^5.7.0",
|
|
"vite": "^6.0.0"
|
|
},
|
|
"pnpm": {
|
|
"onlyBuiltDependencies": [
|
|
"esbuild"
|
|
]
|
|
}
|
|
}
|