Skip to content

chore: drop Node 20 and refresh all lockfile entries - #186

Merged
cbenning merged 3 commits into
mainfrom
chore/drop-node-20-refresh-lockfiles
Oct 7, 2026
Merged

cbenning merged 3 commits into
mainfrom
chore/drop-node-20-refresh-lockfiles

Conversation

@cbenning

@cbenning cbenning commented Oct 7, 2026 •

Copy link
Copy Markdown
Owner

Follow-up to #184, which merged before these two commits landed. Supersedes #185 (source-map-js).

Refresh transitive dependencies

Drop Node 20 (end-of-life) and take the held-back test tooling

  • vitest and @vitest/coverage-v8 4 → 5, @testing-library/jest-dom 6 → 7, jsdom 29 → 30. These require Node >= 22 (jsdom 30: >= 22.22.2).
  • CI matrix: Node 20/22 → Node 22/24.
  • README prerequisite updated. Building a site still works on Node 20.19+ / 22.13+; only running the JS tests needs the newer versions.

Move to react-router 8

  • react-router-dom's latest tag stays on 7.18, so v8 is taken from react-router directly: swapped the dependency and the imports (react-router-dom → react-router).

After this, yarn outdated lists nothing and uv lock --upgrade changes nothing.

Verified: ruff format/check, pytest (117), and clean frozen yarn install, JS tests (27) and yarn build on Node 22.23.3 and 24.21.0.

🤖 Generated with Claude Code

cbenning and others added 3 commits October 6, 2026 18:13
The earlier upgrade only touched named top-level JS packages, leaving
transitive entries stale (e.g. source-map-js 1.2.1 despite 1.2.2 being
available). Run a full in-range `yarn upgrade` and `uv lock --upgrade`.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Node 20 is end-of-life. Move the CI matrix to Node 22 and 24 and upgrade the
held-back dev dependencies: vitest and coverage-v8 5, jest-dom 7, jsdom 30.
Verified install, tests and build on Node 22.23.3 and 24.21.0.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
react-router-dom's latest tag stays on 7.18, so v8 is consumed from
react-router directly. Swap the dependency and update imports. Tests and
build pass on Node 22 and 24.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@cbenning
cbenning merged commit 5fe44cf into main Oct 7, 2026
7 checks passed
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