fix(web): allow esbuild postinstall for pnpm 10 frozen install
CI / changes (push) Successful in 9s
CI / commitlint (push) Has been skipped
CI / openapi (push) Successful in 25s
CI / web (push) Successful in 46s
CI / go (push) Successful in 59s
CI / bird2 (push) Successful in 14s
CI / release (push) Failing after 1m58s
CI / changes (push) Successful in 9s
CI / commitlint (push) Has been skipped
CI / openapi (push) Successful in 25s
CI / web (push) Successful in 46s
CI / go (push) Successful in 59s
CI / bird2 (push) Successful in 14s
CI / release (push) Failing after 1m58s
В pnpm 10 postinstall-скрипты unreviewed-зависимостей по умолчанию блокируются (strictDepBuilds=true), из-за чего pnpm install --frozen-lockfile в Docker падал с ERR_PNPM_IGNORED_BUILDS для [email protected].1. Vite требует нативный бинарник esbuild для билда apps/web, поэтому скрипт нужно выполнять. onlyBuiltDependencies в pnpm-workspace.yaml явно одобряет сборку esbuild. Поведение проверено локально в условиях CI (чистый store, CI=true, --frozen-lockfile): postinstall выполняется, install и build проходят с exit 0. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
packages:
|
||||
- 'apps/*'
|
||||
- 'packages/*'
|
||||
|
||||
onlyBuiltDependencies:
|
||||
- esbuild
|
||||
|
||||
Reference in New Issue
Block a user