Skip to content

Upgrade pnpm dependencies and Node.js runtime - #33

Merged
icapitalan merged 2 commits into
masterfrom
aln/may-upgrades
May 22, 2026
Merged

Upgrade pnpm dependencies and Node.js runtime#33
icapitalan merged 2 commits into
masterfrom
aln/may-upgrades

Conversation

@icapitalan

@icapitalan icapitalan commented May 21, 2026

Copy link
Copy Markdown
Member

Summary

Monthly dependency upgrades for May 2026. Bumps Node.js runtime to latest 24.x LTS and applies all semver-compatible (minor/patch) package updates across the workspace. Also aligns jest and globals major versions across the workspace to match the root, resolving pre-existing cross-major mismatches flagged in review.

Runtime

Runtime From To
Node.js 24.13.0 24.15.0

Cross-Major Alignment

These match the root, which was already on the newer major:

Package Package(s) From To
jest packages/react, packages/vanilla 29.7.0 30.4.2
@jest/globals packages/vanilla 29.7.0 30.4.1
@types/jest packages/vanilla 29.5.14 30.0.0
globals packages/react, packages/vanilla 15.15.0 16.5.0

Minor Version Changes

Package From To Changelog
@babel/core 7.24.x / 7.28.5 7.29.0 releases
@babel/eslint-parser 7.24.1 7.28.6 releases
@babel/plugin-syntax-jsx 7.23.3 7.28.6 releases
@babel/plugin-transform-runtime 7.24.0 7.29.0 releases
@babel/preset-env 7.24.x / 7.28.5 7.29.5 releases
@babel/preset-typescript 7.24.1 7.28.5 releases
@babel/runtime 7.24.0 7.29.2 releases
@eslint/js 9.27.0 9.39.4 releases
eslint 9.39.2 9.39.4 releases
@typescript-eslint/parser 8.33.0 8.59.4 releases
@testing-library/react 15.0.2 15.0.7 releases
@types/node 20.12.7 20.19.41 releases
@types/react 18.2.79 18.3.29 releases
babel-jest 30.2.0 30.4.1 releases
babel-preset-react-app 10.0.1 10.1.0 releases
eslint-plugin-n 17.23.1 17.24.0 releases
eslint-plugin-promise 7.2.1 7.3.0 releases
eslint-plugin-react 7.34.0 7.37.5 releases
jest-environment-jsdom 30.2.0 30.4.1 releases
prettier 3.2.5 / 3.7.4 3.8.3 releases
rollup 4.16.2 / 4.53.5 4.60.4 releases
@rollup/plugin-babel 6.0.4 6.1.0 releases
react 18.2.0 18.3.1 releases
react-dom 18.2.0 18.3.1 releases
typescript 5.4.5 5.9.3 releases
tslib 2.6.2 2.8.1 releases

Patch Version Changes

Package From To
@babel/plugin-syntax-jsx 7.24.1 7.28.6
@eslint/eslintrc 3.3.1 / 3.3.3 3.3.5
@rollup/plugin-commonjs 25.0.7 25.0.8
@rollup/plugin-node-resolve 15.2.3 15.3.1
@rollup/plugin-replace 5.0.5 5.0.7
babel-loader 9.1.3 9.2.1
eslint-plugin-react-hooks 4.6.0 4.6.2
html-webpack-plugin 5.6.0 5.6.7
webpack 5.90.3 5.107.1
webpack-dev-server 5.2.1 / 5.2.2 5.2.4

Outstanding Major Versions (deferred)

  • @eslint/js 9 → 10, eslint 9 → 10, eslint-plugin-n 17 → 18
  • eslint-plugin-react-hooks 4 → 7, @testing-library/react 15 → 16, react 18 → 19, react-dom 18 → 19, @types/react 18 → 19
  • @types/node 20 → 25
  • @rollup/plugin-babel 6 → 7, @rollup/plugin-commonjs 25 → 29, @rollup/plugin-node-resolve 15 → 16, @rollup/plugin-replace 5 → 6, @rollup/plugin-typescript 11 → 12
  • babel-loader 9 → 10, globals 16 → 17

Pre-existing peer-dep warnings remain: eslint-plugin-react-hooks@4 and typescript-eslint@7 don't support eslint@9 — blocked by the major upgrades above.

Test plan

  • pnpm install succeeds
  • pnpm lint passes
  • pnpm test passes (7/7 across vanilla + react)
  • pnpm build passes (vanilla + react)
  • pnpm typecheck passes
  • CI green on this branch

@icapitalan
icapitalan requested review from a team, icamital and icapart May 21, 2026 17:18
@iCapitalDoug

iCapitalDoug commented May 21, 2026

Copy link
Copy Markdown

@icapitalan My initial findings are below.

Priority / Should fix

  1. packages/react/package.json — babel-jest was bumped to ^30.4.1 but jest stays at ^29.7.0. These are cross-major-version mismatches; babel-jest 30.x is designed for jest 30.x. Same pattern in packages/vanilla with
    jest-environment-jsdom: ^30.4.1 against jest: ^29.7.0. This was pre-existing before the branch, but bumping the 30.x packages deeper without fixing the root mismatch increases the chance of subtle test failures. Worth resolving
    before merging — either pin the jest ecosystem to a single major version.

Worth looking at

  1. packages/react/package.json, packages/vanilla/package.json — typescript jumps from ^5.4.5 to ^5.9.3. TypeScript minor releases regularly tighten type checking in ways that break existing code even under semver. Verify pnpm typecheck is clean in both packages before merging.

  2. packages/react/package.json, packages/vanilla/package.json — globals: ^15.15.0 while the root package.json uses globals: ^16.5.0. This inconsistency existed before but is now more pronounced (v15 gap grew). Not a runtime risk, but ESLint configs in the packages may behave differently than at the root.

@icapitalan

Copy link
Copy Markdown
Member Author

Good call! Rev'd jest and globals in both packages to match root.

@icapitalan
icapitalan requested a review from iCapitalDoug May 21, 2026 19:46
@icapitalan
icapitalan merged commit 76121bc into master May 22, 2026
1 check passed
@icapitalan
icapitalan deleted the aln/may-upgrades branch May 22, 2026 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants