Skip to content

@types/node 26 everywhere, and eslint-config-next 16 to match Next.js 16 - #531

Merged
coderhelm[bot] merged 3 commits into
mainfrom
deps-majors
Dec 1, 2026
Merged

coderhelm[bot] merged 3 commits into
mainfrom
deps-majors

Conversation

@nambok

@nambok nambok commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

The Dependabot majors that pass, in one pull request: @types/node 26 in all four packages, and eslint-config-next 16 for the site. Covers #519, #522, #523, #525 and #520. The other majors (TypeScript 7 and ESLint 10) need migration work and are left out.

Changes

@types/node 26 (package.json, dashboard/, docs/, infra/, with their lockfiles)

  • 22 to 26 in each package. No code changes were needed.

eslint-config-next 16 (site root)

  • 15.3.0 to 16.4.6, the same line as the Next.js 16 the site builds with.
  • eslint.config.mjs reads the package's flat config directly instead of through FlatCompat, which fails on version 16 ("Converting circular structure to JSON"). @eslint/eslintrc is no longer used and is removed.
  • Version 16 brings eslint-plugin-react-hooks 7, whose React Compiler rules (set-state-in-effect, refs, purity, immutability, preserve-manual-memoization, static-components) report about 265 errors in existing dashboard code. They are turned off in the config with a comment, so this change keeps the rules the site had; moving the code to them is follow-up work.
  • The new @next/next/no-location-assign-relative-destination rule flags the two places that leave the app with a full page load on purpose (sign out, and leaving a support view). The config turns it off for those two files only, with the reason; their code is unchanged.

Lockfile

Verification

Run in a fresh clone of main with these changes:

  • Root: eslint . reports 0 errors and the same 8 warnings as main; tsc --noEmit, npm run build and the site's end-to-end specs (20 pass) pass.
  • Dashboard: npm run lint, typecheck, check:openapi and build pass; end-to-end specs (boot recovery, dialogs, health, settings, link previews, self-host links) against a static build made the way CI makes it: 59 pass.
  • Docs: unit tests, build, typecheck, check:links, check:output, and the end-to-end specs (166 pass).
  • Infra: npm test (compile and 30 tests) passes.

@types/node moves to 26 in the site, the dashboard, the docs and the CDK
app; nothing needed changing. The site's eslint-config-next moves from
15.3 to 16.4, the line of the Next.js it builds with. Version 16 ships a
flat config, so eslint.config.mjs reads it directly and @eslint/eslintrc
goes. Its React hooks plugin adds the React Compiler rules, which stay
off until existing code is moved to them; the two pages that send the
browser to a new address on purpose say so where the new Next.js rule
looks. Lint reports what it did before: no errors, the same 8 warnings.

The lockfile also carries cross-spawn 7.1.2, the same line as the
security pull request, so the two merge in either order.
coderhelm[bot]

This comment was marked as outdated.

Sign out and leaving a support view keep their code as on main; the new
Next.js navigation rule is off for those two files in eslint.config.mjs,
with the reason, instead of a disable comment in each.
coderhelm[bot]

This comment was marked as outdated.

@coderhelm
coderhelm Bot dismissed their stale review December 1, 2026 15:53

Superseded by CoderHelm's latest review

@coderhelm

coderhelm Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

💚 Post-merge health check passed: the deploy of b0d5e83 completed and stayed green for the full 15-minute watch window (no new failures vs. the pre-merge baseline).
Auto-merge

  • ✅ CoderHelm approved
  • ✅ CI green
    The rest is in the pull request description.

coderhelm[bot]

This comment was marked as outdated.

@coderhelm coderhelm Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Approved ae4fe17 (merged)

@coderhelm
coderhelm Bot merged commit b0d5e83 into main Dec 1, 2026
18 checks passed
nambok added a commit that referenced this pull request Dec 1, 2026
Brings in cross-spawn 7.1.2 (#530), @types/node 26 and eslint-config-next
16 (#531), so the npm audit runs against current dependencies. The
Dependabot config on this branch is unchanged.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ch-review CoderHelm reviews this pull request dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant