Skip to content

chore: update all deps, resume page, strict lint, mobile type fixes - #230

Merged
aranlucas merged 1 commit into
mainfrom
chore/update-deps-resume-strict-lint
Sep 4, 2026
Merged

aranlucas merged 1 commit into
mainfrom
chore/update-deps-resume-strict-lint

Conversation

@aranlucas

Copy link
Copy Markdown
Owner

Updates every JS dependency repo-wide (pnpm up -r --latest) and fixes all resulting fallout. Verified: pnpm build 5/5, web 278 tests, grocery-mobile 89, mobile 26, native-markdown 20, oral-boards 11, all lints/typechecks clean.

Dependency alignment

  • Remove @ag-ui/* pnpm overrides; single @ag-ui/[email protected] per app (pnpm why).
  • CopilotKit 1.69 to 1.70, expo 57.0.19, oxlint 1.81, sentry 10.73, vitest 5 (mobile).
  • Hold react-native at 0.86.3 for mobile apps: RN 0.87 removed rn-get-polyfills and Expo says 0.87 support lands with SDK 58 (canary), so SDK 57 + RN 0.87 breaks expo export. Everything else stays updated.
  • Restore @babel/core 7 in mobile trees: RN preset hard-requires Babel 7 (Requires Babel ^7.0.0-0 crashes all RN test transforms under Babel 8).

Web app

  • New /resume page sourced from agents/resume/resume.md, vercel.json cleanup (pinned pnpm, clean URLs), Resume nav link.
  • Replace hand-mirrored Agui* types with canonical @ag-ui/client Message/ToolCall/ActivityMessage (same types CopilotKit v2 uses); selectArtifact(state: unknown) with a type predicate. Zero casts, zero new disables.
  • oxlint: 21 rules escalated warn to error (warns exit 0 so CI never caught them); removed stale test-only overrides.

Test fallout

  • sentry 10.73 crashes vite-node under jsdom at import (upstream @sentry/nextjs 10.72.0+ throws "The URL must be of scheme file" at module scope under jsdom/happy-dom getsentry/sentry-javascript#23789, fix unreleased): mock the boundary in error-boundary.test.tsx following the 4 existing precedents. Rejected registerEsmLoaderHooks — wrong layer (crash precedes any init).
  • Mobile vitest 5 vs deprecated CJS text-encoding via copilotkit polyfills: test/text-encoding-stub.ts (node:util) plus test.server.deps.inline per vitest docs.
  • Mobile RN-0.87-era fixes kept where version-agnostic: ComponentRef refs, AppState guard, ListFooterComponent null to undefined, static overlays to Uniwind classNames.
  • Deleted regened gitignored expo-env.d.ts artifacts: expo's web overlay narrows ViewStyle and poisoned mobile typechecks.

Deliberately held

  • update:expo (Expo SDK major) — needs emulator verification.
  • Sentry stays 10.73.0 with the mock until upstream ships the fix.

- pnpm up -r --latest across the monorepo (ag-ui 0.0.59, CopilotKit
  1.69 to 1.70, expo 57.0.19, oxlint 1.81, sentry 10.73)
- remove @Ag-ui pnpm overrides; single @ag-ui/core 0.0.59 per app
  verified with pnpm why
- hold react-native at 0.86.3 for mobile apps: RN 0.87 removed
  rn-get-polyfills and expo SDK 57 does not support it (SDK 58
  canary), which breaks expo export; keep the compatible fixes
  (ComponentRef refs, AppState guard, Uniwind classNames)
- restore @babel/core 7 in mobile trees (RN preset hard-requires it)
- web: new /resume page sourced from agents/resume/resume.md,
  vercel.json cleanup, Resume nav link
- web: replace hand-mirrored Agui types with canonical @ag-ui/client
  Message/ToolCall/ActivityMessage; selectArtifact takes unknown with
  a type predicate; zero casts, zero new disables
- web oxlint: 21 rules to error, drop stale test overrides
- sentry 10.73 crashes vite-node under jsdom (upstream
  getsentry/sentry-javascript#23789); mock the boundary in
  error-boundary.test.tsx until the SDK ships the fix
- mobile tests: text-encoding stub plus test.server.deps.inline for
  the deprecated CJS polyfill under vitest 5
@vercel

vercel Bot commented Sep 4, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
agents-web Building Building Preview Sep 4, 2026 5:13am UTC
oral-boards Ready Ready Preview Sep 4, 2026 5:13am UTC

@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown

React Doctor found no new issues. 🎉

Reviewed by React Doctor for commit d2bbcb4.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 4, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
ai-meal-planner-mcp d2bbcb4 Commit Preview URL

Branch Preview URL
Sep 04 2026, 05:12 AM

@aranlucas
aranlucas merged commit 89dc433 into main Sep 4, 2026
8 of 11 checks passed
@aranlucas
aranlucas deleted the chore/update-deps-resume-strict-lint branch September 4, 2026 05:15
@vercel
vercel Bot temporarily deployed to Preview – agents-web September 4, 2026 05:16 Inactive
@vercel
vercel Bot temporarily deployed to Preview – oral-boards September 4, 2026 05:27 Inactive

This branch was previously deployed

2 inactive deployments
Preview – oral-boards — d2bbcb40 Deployed Sep 4, 2026 by vercel[bot]
Preview – agents-web — d2bbcb40 Deployed Sep 4, 2026 by vercel[bot]
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.

1 participant