Skip to content

fix(deps): align expo-modules overrides with expo 56.0.18 - #502

Merged
thinkclay merged 1 commit into
mainfrom
claude/autonomous-deploy-pipeline-c286bb
Jul 30, 2026
Merged

thinkclay merged 1 commit into
mainfrom
claude/autonomous-deploy-pipeline-c286bb

Conversation

@thinkclay

Copy link
Copy Markdown
Contributor

Summary

Fixes #501 — expo export --platform web fails on main with TypeError: autolinking.getSupportPackageForPlatform is not a function, blocking every web/SSR deploy.

The pnpm overrides pinned expo-modules-autolinking/expo-modules-core at 56.0.12 (from the SDK 56 upgrade, #298). Dep bumps since then moved expo to 56.0.18, whose @expo/cli 56.1.22 needs the newer autolinking API. This aligns both overrides with expo's own declared ranges: 56.0.21 / 56.0.22.

Verification

  • pnpm check (locales, lint, typecheck ×12 projects) ✅
  • nx run-many -t test ✅
  • ./scripts/deploy-ssr.sh preview: previously died at Metro config; now export completes and SSR output verifies (hero copy + <title> server-render) ✅

Found during the 2026-07-30 staging deploy. Note: CI is billing-blocked (runs die at job start), so checks on this PR will not be meaningful — verification above was run locally.

🤖 Generated with Claude Code

The pnpm overrides pinned expo-modules-autolinking and expo-modules-core
at 56.0.12 (the current versions at the time of the SDK 56 upgrade, #298).
Later expo patch bumps brought @expo/cli 56.1.22, which calls
autolinking.getSupportPackageForPlatform() — added in ~56.0.2x — so every
`expo export --platform web` died at Metro config time:

  TypeError: autolinking.getSupportPackageForPlatform is not a function

Align both overrides with what [email protected] declares (~56.0.21 / ~56.0.22).
Runtime-only breakage: lint, typecheck, and unit tests all pass either way,
and CI is billing-blocked, which is how it reached main unnoticed.

Fixes #501

Co-Authored-By: Claude Fable 5 <[email protected]>
@thinkclay
thinkclay merged commit d63f9e5 into main Jul 30, 2026
1 of 3 checks passed
@thinkclay
thinkclay deleted the claude/autonomous-deploy-pipeline-c286bb branch July 30, 2026 18:58
thinkclay added a commit that referenced this pull request Jul 30, 2026
…mps back (#511)

Lands the four open dependabot PRs as one revertible commit. They all touch
pnpm-lock.yaml and the catalog, so they conflict pairwise and cannot merge
independently; the lockfile here is regenerated from scratch rather than merged.

Two bumps are held back, each with a comment on its catalog entry:

* @rnmapbox/maps 10.1.45 → 10.3.5 pulls MapboxCommon 24.x, which Mapbox serves
  only from its gated downloads API behind a SECRET (sk.) token with
  DOWNLOADS:READ. RNMapboxMapsDownloadToken falls back to the public
  EXPO_PUBLIC_MAPBOX_TOKEN, MAPBOX_DOWNLOADS_TOKEN is set in no env file and no
  EAS environment, and `pod install` 403s on the download — it breaks the iOS
  build. Locally this was masked by a warm CocoaPods cache holding the 23.12.0
  that 10.1.x wants; an EAS builder has no such cache, so it would have failed
  remotely at Install pods. Confirmed by reverting only this bump and watching
  pod install go from exit 1 to exit 0. See #509.

* @biomejs/biome 2.4.9 → 2.5.5 promotes lint/correctness/noUnsafeOptionalChaining
  to an error and two existing sites trip it — measured on identical source,
  2.4.9 gives 0 errors and 2.5.5 gives 1 error per package. One site is in the
  ui submodule, so the bump needs a cross-repo PR + pointer bump first. See #510.

Also aligns two catalog entries with the pnpm overrides that silently outrank
them: @supabase/supabase-js (the override pinned ~2.86.0 while dependabot moved
the catalog to ~2.110.9, re-introducing the drift #453 fixed — the pin turns out
to be unnecessary, typecheck is clean at 2.110.9, so it is lifted rather than
restored) and expo-modules-core (catalog 56.0.12 vs override 56.0.22, leftover
from #502). #508 tracks automating that audit.

Verified locally, since CI is billing-blocked. nx cache was reset first: an
earlier run reported a false pass from a stale hit, which is what surfaced the
biome errors late.
  pnpm check (locales + lint + typecheck, 12 projects)  pass
  nx run-many -t test                                    pass
  deploy-ssr.sh preview (real Metro web export + SSR)    pass
  expo prebuild --platform ios --clean                   pass
  pod install                                            pass (exit 0)

Closes #495, closes #500, closes #503, closes #505
Refs #508, refs #509, refs #510

Co-authored-by: Claude Fable 5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Web export broken on main: expo-modules-autolinking override (56.0.12) predates @expo/cli 56.1.22

1 participant