Skip to content

chore(deps): batch dependabot #550, #551, #619, #641, #642 — and unblock the biome bump - #668

Merged
thinkclay merged 1 commit into
mainfrom
claude/deps-batch-aug27
Aug 27, 2026
Merged

thinkclay merged 1 commit into
mainfrom
claude/deps-batch-aug27

Conversation

@thinkclay

Copy link
Copy Markdown
Contributor

Lands the five open dependabot PRs as one revertible commit, following the #511 pattern. Four of them 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.

Taken

group bumps
actions (#550) pnpm/action-setup v6.0.9 → v6.0.10, five workflows
dev-tooling (#641) @nx/* + nx 22.7.7 → 22.7.8, @vitest/ui 4.1.10 → 4.1.11, @biomejs/biome 2.4.9 → 2.5.10
react-ecosystem (#551) @testing-library/user-event 14.5.2 → 14.6.5
backend (#619) @sentry/react 10.69 → 10.70, posthog-js 1.407 → 1.418, posthog-react-native 4.61 → 4.63, posthog-node 5.46 → 5.50
everything-else (#642) @hookform/resolvers 5.5.7 → 5.9.1, react-hook-form 7.83 → 7.85, fast-xml-parser 5.10.1 → 5.11.0, mapbox-gl 3.27 → 3.29, supabase CLI 2.110.0 → 2.115.0, swr 2.4.2 → 2.5.1, zustand 5.0.14 → 5.0.15, pg 8.22 → 8.23, @types/pg, uuid, baseline-browser-mapping, flow-remove-types
#456 @vitejs/plugin-react 5.1.3 → 6.1.0 (major, dev-only)

Held back

@rnmapbox/maps 10.1.45 → 10.3.5 — second wave in a row. Still pulls MapboxCommon 24.x from Mapbox's gated downloads API; MAPBOX_DOWNLOADS_TOKEN is still set in no env file and no EAS environment, so pod install still 403s and the iOS build still breaks. See #509. Note mapbox-gl 3.29.0 is taken — that is the web GL library and never touches the CocoaPods path.

@supabase/supabase-js — dependabot moved the catalog to ~2.112.3 while the pnpm override still says ~2.86.0, which is #453 verbatim; lint:overrides would have caught it. The build-time half of the block is gone (#512 moved the EAS builder to Node 22 and validated it end to end), but the 2.86 → 2.110 auth/realtime surface has not been runtime-validated, and that belongs in its own PR rather than inside a dependency batch.

Unblocking biome (#510)

@biomejs/biome was the third hold-back. 2.5.x promotes lint/correctness/noUnsafeOptionalChaining to an error, and both blocking sites are now fixed:

  1. packages/supabase completion.router.ts guarded preferencesData?.user_types with Array.isArray and then read it back through a as string[] cast. The cast erases undefined, so the guard narrowed nothing. Read into a local first — the narrowing becomes real and the cast is replaced by a type predicate on the filter.
  2. packages/ui useFilePicker.ts — same shape around a forwarded ref, in the submodule. Fixed in fix(ImagePicker): a forwarded ref was read through an optional chain inside the call ui#23 (merged); pointer bumped here.

2.5.10 also errors on one site 2.5.5 did not: reviews.ts built its grouping map with (grouped[key] ??= []).push(skill), which trips noAssignInExpressions. Rewritten as three statements.

Separately, the supabase CLI's local stack writes a minified bundle into packages/supabase/.temp/start-secrets, which biome linted and failed on. Added to the biome ignore list beside the other generated paths.

Verification

CI is billing-blocked (#375), so this was verified locally — in a clean worktree off main with the nx cache reset and both submodule dist/s rebuilt. Two traps worth recording: a stale packages/ui dist reports a misleading Module '@scaffald/ui' has no exported member 'ListToolbar' at typecheck, and an unbuilt packages/sdk dist reports Cannot find module '@scaffald/sdk'. Neither is a real failure.

gate result
pnpm check — locales + lint (10 projects) + typecheck (12 projects) pass
pnpm lint:routes / lint:sorted-keys / lint:overrides pass
pnpm prepush — nx run-many -t build (9 projects), Deno suite load, Expo autolinking, override/catalog pass
@scaffald/sdk 783/783 pass
nx run-many -t test at parity with main

scf-core:test reports 12 failures (1128/1198). They are pre-existing on main — I baselined 63c85be63 with the batch stashed and got the same twelve test names — and are now tracked as #661.

Not verified here

No native dependency moved (the Expo/RN family is ignored in dependabot.yml, and @rnmapbox/maps is held back), so this skips the expo prebuild + pod install pass that #511 needed. posthog-react-native 4.61 → 4.63 is the only mobile-adjacent bump and ships no new native module.

Closes #550, closes #551, closes #619, closes #641, closes #642
Closes #456, closes #510
Refs #453, refs #509, refs #661

🤖 Generated with Claude Code

…ock the biome bump

Lands the five open dependabot PRs as one revertible commit. Four of them 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.

Taken:

* actions   pnpm/action-setup v6.0.9 → v6.0.10 across five workflows (#550)
* dev       @nx/* and nx 22.7.7 → 22.7.8, @vitest/ui 4.1.10 → 4.1.11 (#641)
* test      @testing-library/user-event 14.5.2 → 14.6.5 (#551)
* backend   @sentry/react 10.69 → 10.70, posthog-js 1.407 → 1.418,
            posthog-react-native 4.61 → 4.63, posthog-node 5.46 → 5.50 (#619)
* misc      @hookform/resolvers 5.5.7 → 5.9.1, react-hook-form 7.83 → 7.85,
            fast-xml-parser 5.10.1 → 5.11.0, mapbox-gl 3.27 → 3.29,
            supabase CLI 2.110.0 → 2.115.0, swr 2.4.2 → 2.5.1,
            zustand 5.0.14 → 5.0.15, pg 8.22 → 8.23, @types/pg, uuid,
            baseline-browser-mapping, flow-remove-types (#642)

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

* @rnmapbox/maps 10.1.45 → 10.3.5 still pulls MapboxCommon 24.x from Mapbox's
  gated downloads API, and MAPBOX_DOWNLOADS_TOKEN is still set in no env file
  and no EAS environment — so `pod install` still 403s and the iOS build still
  breaks. Second wave in a row; see #509. Note mapbox-gl 3.29.0 IS taken: that
  is the web GL library and never touches the CocoaPods path.

* @supabase/supabase-js — dependabot moved the catalog to ~2.112.3 while the
  pnpm override still says ~2.86.0, which is #453 verbatim. lint:overrides
  would have caught it. The build-time half of the block is gone (#512 moved
  the EAS builder to Node 22 and validated it), but the 2.86 → 2.110 auth and
  realtime surface has not been runtime-validated, and that belongs in its own
  PR rather than inside a dependency batch.

@biomejs/biome 2.4.9 → 2.5.10 was the third hold-back. It is taken here, because
the two sites blocking it are fixed (#510):

* packages/supabase completion.router.ts guarded `preferencesData?.user_types`
  with Array.isArray and then read it back through a `as string[]` cast. The
  cast erases undefined, so the guard narrowed nothing. Reading it into a local
  first makes the narrowing real and drops the cast — the filter now carries a
  type predicate instead.

* packages/ui useFilePicker.ts had the same shape around a forwarded ref, and
  lives in the submodule. Fixed in Scaffald/ui#23, which main already carries
  via the pointer at Scaffald/ui#25.

2.5.10 also errors on one site 2.5.5 did not: reviews.ts built its grouping map
with `(grouped[key] ??= []).push(skill)`, which trips noAssignInExpressions.
Rewritten as three statements.

Also: the supabase CLI's local stack writes a minified bundle into
packages/supabase/.temp/start-secrets, which biome linted and failed on. That
path is generated output — added to the biome ignore list beside the other
generated paths.

@vitejs/plugin-react 5.1.3 → 6.1.0 rides along, closing #456. Its only hard
peer is vite ^8.0.0 and vite 8.0.14 already resolves here; the other three peers
are optional. packages/sdk/examples/react stays on 5.x — it is in the sdk
submodule and not worth a pointer bump for an example app.

Verified locally, since CI is billing-blocked (#375). nx cache reset first, in a
clean worktree off main with both submodule dists rebuilt — a stale packages/ui
dist reports a misleading `has no exported member 'ListToolbar'` at typecheck,
and an unbuilt packages/sdk dist reports `Cannot find module '@scaffald/sdk'`.
  pnpm check (locales + lint 10 projects + typecheck 12 projects)  pass
  pnpm lint:routes / lint:sorted-keys / lint:overrides             pass
  @scaffald/sdk                                                    783/783 pass
  nx run-many -t test                                              at parity

scf-core:test reports 12 failures, 1128/1198 passing. They are pre-existing on
main — baselined with the batch stashed, same twelve test names — and are now
tracked as #661.

Closes #550, closes #551, closes #619, closes #641, closes #642
Closes #456, closes #510
Refs #453, refs #509, refs #661

Co-Authored-By: Claude Opus 5 <[email protected]>
@thinkclay
thinkclay force-pushed the claude/deps-batch-aug27 branch from deef451 to e75218a Compare August 27, 2026 18:23
@thinkclay
thinkclay merged commit 7dba291 into main Aug 27, 2026
1 check passed
@thinkclay
thinkclay deleted the claude/deps-batch-aug27 branch August 27, 2026 18:23
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.

Two noUnsafeOptionalChaining errors block the biome 2.5.x bump (one is in the ui submodule) deps: @vitejs/plugin-react 5 -> 6 (major, dev-only)

1 participant