mirror of
https://github.com/escalante29/WealthySmart.git
synced 2026-07-17 11:28:47 +02:00
Fix CI frontend build: pin pnpm, approve dependency build scripts
All checks were successful
Deploy to VPS / deploy (push) Successful in 2m41s
All checks were successful
Deploy to VPS / deploy (push) Successful in 2m41s
The Docker build's unpinned corepack resolved a newer pnpm that hard- errors on unreviewed dependency build scripts (ERR_PNPM_IGNORED_BUILDS), failing deploy task 80. Pin packageManager to the locally-verified pnpm 10.33.1 and review the build scripts: @swc/core and esbuild are approved (vite needs their native binaries), @scarf/scarf is ignored. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
"packageManager": "pnpm@10.33.1",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "concurrently -k -n vite,ck -c cyan,magenta \"vite --host 0.0.0.0 --port 3000\" \"tsx watch server.ts\"",
|
"dev": "concurrently -k -n vite,ck -c cyan,magenta \"vite --host 0.0.0.0 --port 3000\" \"tsx watch server.ts\"",
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
# Build-script review (pnpm 10 refuses to run unreviewed dependency scripts).
|
||||||
|
# vite needs the native binaries these two postinstalls provide:
|
||||||
|
onlyBuiltDependencies:
|
||||||
|
- "@swc/core"
|
||||||
|
- esbuild
|
||||||
|
|
||||||
|
# Deliberately not built:
|
||||||
ignoredBuiltDependencies:
|
ignoredBuiltDependencies:
|
||||||
|
- "@scarf/scarf" # telemetry only
|
||||||
- sharp
|
- sharp
|
||||||
- unrs-resolver
|
- unrs-resolver
|
||||||
|
|||||||
Reference in New Issue
Block a user