UI dependencies with a new major version: TypeScript 7, virtua 0.53 and @types/node 26 #158
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
#155 refreshed
ui/package-lock.jsonwithin the declared ranges and left out the releases that cross one. As of 2026-10-08,npm outdatedinui/showed:typescript6.0.3 → 7.0.2 (the declared range is~6.0.2). A new major release, with a new compiler.virtua0.51.3 → 0.53.3. Pre-1.0, so a minor release may break the API; the transcript and rail lists are built on it.@types/node24.19.1 → 26.6.4. Types for a Node major the image does not run (Node 22); best moved with the base image.What it needs
One at a time, each with the fast lane and a browser check of the views it touches: TypeScript (type-check
ui/andui/e2e, whichtsc -bskips), then virtua (scrolling, follow-the-tail and layout-stability specs).Done when
Each is on its new version with the fast lane passing, or a note here says why it stays.
Shipped as
ui-dependency-majors.tsc -bnow also type-checks the browser specs andplaywright.config.tsthrough a newui/tsconfig.e2e.json. It found one real error, a cast inspine-activity.spec.ts. A unit test holds that wiring.@types/nodemoved to 26 with the base image in #159.Verified. The fast and full lanes passed on the integrated batch (3,388 backend tests, 681 vitest, 249 browser specs with the slow and live ones, 29 of 29 simulated runs), and it is live on production as
57971c2(deploy run 138, self-checkbraid-selfcheck: ok). Archived ina6ae0dc. The image'suistage rantsc -b && vite buildwith TypeScript 7 on Linux. On production the console loads and scrolls a long transcript with no console errors.