← back to Nineoh Guide

pnpm-workspace.yaml

16 lines

packages:
  - "apps/*"
  - "packages/*"

# pnpm@11 requires an EXPLICIT per-package decision for postinstall build scripts
# via this `allowBuilds` map. A MISSING decision -> ERR_PNPM_IGNORED_BUILDS, which
# EAS's frozen `pnpm install` treats as a FATAL exit-1 at "Install dependencies".
# Earlier crashes were pnpm writing PLACEHOLDER strings ("set this to true or
# false"); the fix is REAL BOOLEANS. Not needed for the iOS JS bundle -> false.
allowBuilds:
  '@firebase/util': false
  protobufjs: false
  sharp: false

# nodeLinker stays ISOLATED; mobile lists transitive deps it needs explicitly.