chore(deps): wave 2 toolchain dependency updates #40

Merged
rbrooks merged 2 commits from deps/wave-2-toolchain into main 2026-06-25 21:20:49 +00:00
Owner

Wave 2 of the Renovate dependency dashboard (#30) — moderate-risk toolchain majors, each verified individually.

Changes

Package From To Notes
typescript ^5.5.3 ^6.0.3 api + app
marked ^15.0.0 ^18.0.5 api — only marked.parse(src, { gfm: false }) used
diff ^7.0.0 ^9.0.0 app — only diffWords() used
@types/diff ^7.0.0 removed diff v9 ships its own types

TypeScript 6 migration (app)

TS6 surfaced two things that TS5 silently tolerated; fixed properly rather than suppressed:

  • baseUrl deprecated (TS5101) — dropped baseUrl from app/tsconfig.json and made the @/* path target relative (./src/*) so it still resolves. Vite's own alias config is unaffected.
  • Side-effect CSS imports (TS2882) — the app had no vite-env.d.ts, so import './index.css' and @xyflow/react/dist/style.css had no type declarations. Added app/src/vite-env.d.ts with the standard /// <reference types="vite/client" />.

The API needed no config changes.

Verification (dev server, Node 24 / npm 11)

  • API: tsc build clean · 148/148 vitest tests pass
  • App: tsc + vite build clean · vitest pass
  • Lockfiles regenerated; @types/diff fully removed from the tree; npm audit: API 0 vulns.

Remaining dashboard items deferred to Wave 3 (coupled clusters): redis-client stack (redis v6 + connect-redis v9 + rate-limit-redis v5 + express-rate-limit v8), react-router v8, tiptap v3.

🤖 Generated with Claude Code

Wave 2 of the Renovate dependency dashboard (#30) — moderate-risk toolchain majors, each verified individually. ## Changes | Package | From | To | Notes | |---|---|---|---| | `typescript` | ^5.5.3 | ^6.0.3 | api + app | | `marked` | ^15.0.0 | ^18.0.5 | api — only `marked.parse(src, { gfm: false })` used | | `diff` | ^7.0.0 | ^9.0.0 | app — only `diffWords()` used | | `@types/diff` | ^7.0.0 | **removed** | diff v9 ships its own types | ## TypeScript 6 migration (app) TS6 surfaced two things that TS5 silently tolerated; fixed properly rather than suppressed: - **`baseUrl` deprecated (TS5101)** — dropped `baseUrl` from `app/tsconfig.json` and made the `@/*` path target relative (`./src/*`) so it still resolves. Vite's own alias config is unaffected. - **Side-effect CSS imports (TS2882)** — the app had no `vite-env.d.ts`, so `import './index.css'` and `@xyflow/react/dist/style.css` had no type declarations. Added `app/src/vite-env.d.ts` with the standard `/// <reference types="vite/client" />`. The API needed no config changes. ## Verification (dev server, Node 24 / npm 11) - **API:** `tsc` build clean ✅ · 148/148 vitest tests pass ✅ - **App:** `tsc` + `vite build` clean ✅ · vitest pass ✅ - Lockfiles regenerated; `@types/diff` fully removed from the tree; `npm audit`: API 0 vulns. Remaining dashboard items deferred to Wave 3 (coupled clusters): redis-client stack (redis v6 + connect-redis v9 + rate-limit-redis v5 + express-rate-limit v8), react-router v8, tiptap v3. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
chore(deps): wave 2 toolchain dependency updates
Some checks failed
CI / App — typecheck, test & build (push) Failing after 13s
CI / API — typecheck & tests (push) Failing after 19s
997c9fbc15
- typescript v5 → v6 (api + app)
- marked v15 → v18 (api) — only marked.parse({gfm}) used
- diff v7 → v9 (app), drop @types/diff (diff v9 ships its own types)

Lockfiles refreshed on the dev server in a follow-up commit.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
chore(deps): TS6 config fixes + refresh wave 2 lockfiles
All checks were successful
CI / App — typecheck, test & build (push) Successful in 1m10s
CI / API — typecheck & tests (push) Successful in 2m3s
CI / API — typecheck & tests (pull_request) Successful in 2m4s
CI / App — typecheck, test & build (pull_request) Successful in 1m12s
190c079a4b
TypeScript 6 deprecates `baseUrl` and tightens side-effect imports:
- drop `baseUrl` from app/tsconfig.json; make the `@/*` path target
  relative (`./src/*`) so it still resolves without baseUrl
- add app/src/vite-env.d.ts (`vite/client` reference) so the CSS
  side-effect imports type-check under TS6 (TS2882)

Lockfiles regenerated on the dev server. Verified green:
API tsc build + 148 tests, app tsc + vite build + tests.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
rbrooks deleted branch deps/wave-2-toolchain 2026-06-25 21:20:49 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
rbrooks/TeaLeaves!40
No description provided.