Skip to content

Move to Bun 1.4.3, type check with bun check, browser tests in WebKit - #24

Merged
PeterHewat merged 4 commits into
mainfrom
claude/bun-1.4.3-upgrade-7tq4np
Oct 12, 2026
Merged

PeterHewat merged 4 commits into
mainfrom
claude/bun-1.4.3-upgrade-7tq4np

Conversation

@PeterHewat

@PeterHewat PeterHewat commented Oct 12, 2026 •

Copy link
Copy Markdown
Owner

Requested by Peter · project thread

What changed

Bun 1.4.2 → 1.4.3 (.bun-version, packageManager, engines, CONTRIBUTING). Type checking runs on Bun's built-in checker instead of tsc: every workspace's typecheck is bun check, and the root's is bun --check (at the root, bun check runs the repo's own check script, so the flag form is the type checker there). Same for apps made by new-app.

Dependencies updated to latest: CodeMirror language 6.13.1, view 6.43.14, @lezer/highlight 1.2.5, Playwright 1.64.0, happy-dom 21.0.1, @types/bun 1.4.3, prettier 3.9.10, typescript-eslint 8.71.2, vite 8.3.4, plus lockfile refreshes. TypeScript stays on 6.0: bun check no longer needs it, but typescript-eslint still requires TypeScript below 6.1. GitHub Actions pins were already on their latest releases. bun.lock stays at format 1.

The browser suite runs in Chromium and WebKit (Desktop Safari) instead of Chromium and Firefox: WebKit is the engine of Safari and every iOS browser. CI, README and CONTRIBUTING follow. WebKit logs the SVG app's interactive-widget viewport key (read by Chromium and Firefox, ignored by Safari) as a console error, so the editors tests ignore that one message.

Browser test fix: the editors spec marked the SVG demos as given using old short names ("crab"), but the app remembers them by file ("demos/crab.svg"), so every test opened the Workbench demo and its backdrop rect raced the phone drawing test's rectangle count. It now lists the files.

Checked that bun run typecheck fails on a type error in both the root scripts and an app, and passes clean.

Checks

  • bun run verify passes (665 tests, build OK); bun audit clean
  • Browser suite passes in CI (Chromium and WebKit)

🤖 Generated with Claude Code

https://claude.ai/code/session_01HuDVwsdvepoX6MWQPfHHjf

Type checking now runs on Bun's built-in checker instead of tsc: each
workspace's typecheck script is `bun check`, and the root uses
`bun --check`, because its own "check" script takes `bun check` there.

Dependencies updated to their latest versions, including CodeMirror,
Playwright 1.64 and happy-dom 21. TypeScript stays at 6.0: bun check
does not need it, and typescript-eslint supports TypeScript below 6.1.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HuDVwsdvepoX6MWQPfHHjf
@PeterHewat PeterHewat self-assigned this Oct 12, 2026
The editors tests mark the demos as already given so a first visit opens
a blank document, but they listed old short names ("crab", …) while the
app remembers demos by file ("art.svg", "demos/crab.svg"). Every test
therefore added all six demos and opened the Workbench, whose backdrop
rect raced the phone drawing test's count of rectangles.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HuDVwsdvepoX6MWQPfHHjf
WebKit is the engine of Safari and of every browser on iOS, so it
covers more of the people using these tools than Firefox does.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HuDVwsdvepoX6MWQPfHHjf
@PeterHewat PeterHewat changed the title Move to Bun 1.4.3 and type check with bun check Move to Bun 1.4.3, type check with bun check, browser tests in WebKit Oct 12, 2026
WebKit logs the SVG app's interactive-widget viewport key, which only
Chromium and Firefox read, as a console error. Safari ignores the key,
so the tests ignore that one message.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HuDVwsdvepoX6MWQPfHHjf
@PeterHewat
PeterHewat merged commit 8a5cf88 into main Oct 12, 2026
4 checks passed
@PeterHewat
PeterHewat deleted the claude/bun-1.4.3-upgrade-7tq4np branch October 12, 2026 19:40
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.

2 participants