The .npmrc auto-install-peers=false didn't resolve the Cloudflare ERR_PNPM_LOCKFILE_CONFIG_MISMATCH: pnpm 10 reads autoInstallPeers from pnpm-workspace.yaml, so pin it there (the canonical location) to match the lockfile's recorded `settings.autoInstallPeers: false`. The lockfile is also stale (missing @types/node), which needs a networked regeneration this offline repo can't do. Added a manual `Regenerate pnpm lockfile` GitHub Action (workflow_dispatch): from the Actions tab it runs `pnpm install --no-frozen-lockfile` on GitHub's network and commits the fixed lockfile back — no local pnpm required. After it runs, Cloudflare's frozen install passes.
20 lines
744 B
YAML
20 lines
744 B
YAML
# pnpm 10 reads settings from this file (not just .npmrc). The lockfile records
|
|
# `settings.autoInstallPeers: false`; pinning it here makes the resolved config
|
|
# match so `--frozen-lockfile` doesn't fail with ERR_PNPM_LOCKFILE_CONFIG_MISMATCH
|
|
# (e.g. on Cloudflare, where pnpm 10 otherwise defaults autoInstallPeers to true).
|
|
autoInstallPeers: false
|
|
|
|
# Only implemented packages are enrolled. Planned applications and packages
|
|
# remain out of the workspace until their product source is implemented.
|
|
packages:
|
|
- packages/world-schema
|
|
- packages/api-client
|
|
- packages/state-store
|
|
- packages/chart-core
|
|
- packages/design-system
|
|
- packages/layout-engine
|
|
- packages/world-viewer
|
|
- apps/studio
|
|
- apps/playground
|
|
- apps/docs-site
|