fix(build): pin pnpm to packageManager version and allow its native builds
Build and Push Docker Image / build (push) Successful in 3m53s
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.
This commit is contained in:
4 files changed
+295
-149
No files matched your search
@@ -37,5 +37,12 @@
|
||||
"typescript": "^5.7.3",
|
||||
"vitest": "^4.0.0"
|
||||
},
|
||||
"packageManager": "pnpm@10.33.0"
|
||||
"packageManager": "pnpm@10.33.0",
|
||||
"pnpm": {
|
||||
"onlyBuiltDependencies": [
|
||||
"esbuild",
|
||||
"sharp",
|
||||
"unrs-resolver"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user