Skip to content

chore(deps): upgrade TypeScript 7, nanoid 6, jsdom 30, @types/node 26 - #91

Merged
mikevalstar merged 1 commit into
mainfrom
chore/dep-upgrades
Aug 16, 2026
Merged

chore(deps): upgrade TypeScript 7, nanoid 6, jsdom 30, @types/node 26#91
mikevalstar merged 1 commit into
mainfrom
chore/dep-upgrades

Conversation

@mikevalstar

@mikevalstar mikevalstar commented Aug 2, 2026

Copy link
Copy Markdown
Owner

Rebased onto main. The bulk of the original sweep — the minor/patch batch, assistant-ui 0.15, the AI SDK bumps, and the node-ical 0.27 VEvent typing fix — landed via #94, so this branch is now just the four remaining majors, in one commit.

Verified with pnpm type-check, pnpm test (59 tests), pnpm check, and pnpm build.

Upgraded

  • TypeScript 7.0.2 — the native compiler port. Type-checks clean with no source changes.
  • nanoid 6 — drop-in; all four call sites use the plain nanoid() named import.
  • jsdom 30 — drop-in.
  • @types/node 26.1.2 — resolves to 26.2.0.

Held back — blocked upstream

better-sqlite3 13@prisma/adapter-better-sqlite3 hard-deps better-sqlite3@^12.6.0. Bumping ours installs a second copy, so Prisma's connection and the sqlite-vec embeddings sidecar (src/lib/embeddings/db.ts) would each load a different native SQLite build in the same process. This was tested before backing it out: sqlite-vec loads fine under 13.0.2 and the embeddings tests pass — it works, it's just not worth a duplicate native module. Revisit when Prisma bumps its range.

Note on srvx

The previous version of this PR held srvx at 0.11.22 because @tanstack/start-plugin-core and h3 both pin ^0.11.x. Dependabot's #94 bumped it to ^0.12.5 anyway, so main now carries both copies. In practice the two only meet at server.ts:2, where srvx/node's toNodeHandler hands a standard Request to the TanStack-built handler — a Web-standard boundary, and a production server boot serves /login fine. Flagging it as a known duplicate rather than a blocker.

Still needs a human pass

assistant-ui 0.15 is not runtime-verified — it came in via #94 rather than this branch, but nobody has clicked through /chat in a browser. A 0.x minor is a breaking release for this library. Worth exercising streaming, message editing, branch navigation, and sub-agent rendering.

Incidental observation

jsdom is in devDependencies but referenced nowhere outside package.json, and no vitest config selects that environment. Upgraded rather than removed, since that's outside this PR's scope — but it looks like a pnpm knip candidate.

🤖 Generated with Claude Code

@kilo-code-bot

kilo-code-bot Bot commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (3 files)
  • .github/workflows/ci.yml - GitHub Actions version bumps (checkout v7, pnpm-setup v6.0.10, setup-node v7.0.0)
  • package.json - Additional patch/minor dependency updates (assistant-ui 0.15.8, ai 7.0.56, better-auth 1.6.26, srvx 0.12.5, etc.)
  • pnpm-lock.yaml - Lock file updates

Incremental Review Notes

Changes since commit b75346af are routine maintenance:

  1. CI workflow - Standard GitHub Actions version bumps to latest major versions
  2. Dependencies - Patch/minor version updates across the board:
    • @assistant-ui/react 0.15.1 → 0.15.8
    • ai 7.0.47 → 7.0.56
    • better-auth 1.6.25 → 1.6.26
    • srvx 0.11.22 → 0.12.5 (as noted in PR description, this creates a duplicate but they're compatible at the Web-standard boundary)
    • Various devDependencies (biome, rsbuild, storybook, vite, etc.)

All changes align with the PR description - verified with pnpm type-check, pnpm test, pnpm check, and pnpm build passing.

Previous Review Summary (commit b75346a)

Current summary above is authoritative. Previous snapshots are kept for context only.

Previous review (commit b75346a)

Status: No Issues Found | Recommendation: Merge

Files Reviewed (3 files)
  • package.json - Dependency upgrades (TypeScript 7.0.2, assistant-ui 0.15.1, node-ical 0.27, and various other deps)
  • pnpm-lock.yaml - Lock file updates
  • src/lib/calendar/ical-parser.ts - Added VEvent type import to accommodate node-ical 0.27 API changes

Review Notes

The only source code change is correct and minimal:

  • Before: import ical, { type ParameterValue } from "node-ical";
  • After: import ical, { type ParameterValue, type VEvent } from "node-ical";

This properly accommodates the node-ical 0.27 breaking change where the ical type namespace was replaced with named exports. The VEvent type is correctly used in:

  • Line 17: Function parameter type annotation
  • Line 143: Type assertion (component as VEvent)

All changes align with the PR description - routine dependency upgrades with verified type-check, tests, and build passing.


Reviewed by kimi-k2.5 · Input: 69.4K · Output: 1.8K · Cached: 270.8K

The rest of the original sweep (assistant-ui 0.15, AI SDK, srvx, and the
minor/patch batch) landed via #94, and the node-ical VEvent typing fix
went with it. What remains here are the four majors.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@mikevalstar mikevalstar changed the title chore(deps): dependency upgrade sweep + TypeScript 7, assistant-ui 0.15 chore(deps): upgrade TypeScript 7, nanoid 6, jsdom 30, @types/node 26 Aug 16, 2026
@mikevalstar
mikevalstar merged commit 2401d67 into main Aug 16, 2026
2 checks passed
@mikevalstar
mikevalstar deleted the chore/dep-upgrades branch August 16, 2026 16:22
mikevalstar added a commit that referenced this pull request Aug 16, 2026
Resolves the package.json / pnpm-lock.yaml conflicts. This branch was cut
before #94, #91, and #96 landed, so most of its 38 bumps are already in main
and several of its targets are now *older* than main (nanoid 5 vs 6,
typescript 6 vs 7, jsdom 29 vs 30, better-sqlite3 12 vs 13, biome 2.5.7 vs
2.5.8, zustand 5.0.14 vs 5.0.15, @tanstack/react-devtools 0.10.9 vs 0.10.10,
@types/better-sqlite3 7 vs 9).

Resolution takes main's package.json as the base and re-applies only the
bumps where this branch is genuinely ahead:

  @ai-sdk/anthropic         ^4.0.34  -> ^4.0.36
  @ai-sdk/react             ^4.0.59  -> ^4.0.61
  @assistant-ui/react       ^0.15.8  -> ^0.15.12
  @assistant-ui/react-markdown ^0.14.9 -> ^0.14.10
  @tanstack/router-plugin   ^1.168.26 -> ^1.168.28
  ai                        ^7.0.56  -> ^7.0.58
  exa-js                    ^2.16.3  -> ^2.17.0
  imapflow                  ^1.6.5   -> ^1.6.6
  lucide-react              ^1.30.0  -> ^1.31.0
  @types/node               ^26.1.2  -> ^26.2.0
  tsx                       ^4.23.10 -> ^4.23.11

Lockfile regenerated from main's rather than hand-merged.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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