Build and Push Docker Image / build (push) Successful in 3m53s
An unpinned 'npm i -g pnpm' drifted to pnpm 12, which hard-errors on unapproved build scripts (ERR_PNPM_IGNORED_BUILDS) for esbuild/sharp/ unrs-resolver. Pin 10.33.0 (matching the packageManager field), approve those three via pnpm.onlyBuiltDependencies, install with --frozen-lockfile, and add a .dockerignore so local node_modules can never ride into the build. Also refresh uv.lock to latest.
49 lines
1.2 KiB
JSON
49 lines
1.2 KiB
JSON
{
|
|
"name": "mta-sign",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"build:watch": "chokidar 'app/**/*' 'components/**/*' 'public/**/*' -c 'next build'",
|
|
"start": "next start",
|
|
"lint": "next lint",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"gen-apis": "npx openapi-typescript http://localhost:8000/openapi.json --output gen-sources/mtaserver.ts"
|
|
},
|
|
"dependencies": {
|
|
"@heroicons/react": "^2.2.0",
|
|
"autoprefixer": "^10.4.20",
|
|
"axios": "^1.7.9",
|
|
"bootstrap": "^5.3.8",
|
|
"next": "^16.1.2",
|
|
"openapi-typescript-fetch": "^2.0.0",
|
|
"postcss": "^8.5.1",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"tailwindcss": "^3.4.17"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/react": "^16.1.0",
|
|
"@types/node": "^25.0.0",
|
|
"@types/react": "^19.0.7",
|
|
"@types/react-dom": "^19.0.3",
|
|
"@vitejs/plugin-react": "^5.0.0",
|
|
"chokidar-cli": "^3.0.0",
|
|
"eslint": "^10.0.0",
|
|
"eslint-config-next": "^16.1.2",
|
|
"jsdom": "^28.0.0",
|
|
"typescript": "^5.7.3",
|
|
"vitest": "^4.0.0"
|
|
},
|
|
"packageManager": "pnpm@10.33.0",
|
|
"pnpm": {
|
|
"onlyBuiltDependencies": [
|
|
"esbuild",
|
|
"sharp",
|
|
"unrs-resolver"
|
|
]
|
|
}
|
|
}
|