Skip to content

refactor(deps): lift Next 15→16, ESLint 9→10, TypeScript 5.7→6 - #24

Merged
github-actions[bot] merged 1 commit into
mainfrom
refactor/framework-lift
Aug 31, 2026
Merged

refactor(deps): lift Next 15→16, ESLint 9→10, TypeScript 5.7→6#24
github-actions[bot] merged 1 commit into
mainfrom
refactor/framework-lift

Conversation

@catomean

Copy link
Copy Markdown
Collaborator

What moved

Package From To
next ^15.1.4 ^16 (16.3.3)
eslint-config-next ^15.5.20 ^16
eslint ^9.39.5 ^10 (10.9.1)
typescript ^5.7.3 ^6 (6.0.3)

Traps handled

  • next lint removed in Next 16 → lint script is now eslint ..
  • ESLint 10 dropped eslintrc.eslintrc.json deleted, replaced by flat eslint.config.mjs built on eslint-config-next v16's native flat exports (core-web-vitals + typescript).
  • eslint-plugin-react version: 'detect' crashes under ESLint 10 (getFilename is not a function) → pinned settings.react.version: '19'.
  • Next 16 tsconfig reconfiguration: build set jsx: react-jsx (mandatory) and added .next/dev/types/**/*.ts to include; committed as reformatted by prettier.
  • No middleware.ts present; next.config.ts is empty — no removed options.
  • Async request APIs already fine (no params/searchParams misuse found; typecheck + build confirm).

Verification

  • npm run format:check
  • npm run lint ✓ (0 errors)
  • npm run typecheck
  • npm test ✓ 17/17
  • npm run build ✓ (Next 16.3.3, all routes compile)

🤖 Generated with Claude Code

https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn

- next ^15.1.4 → ^16 (16.3.3), eslint-config-next ^15.5.20 → ^16
- eslint ^9 → ^10 (10.9.1): eslintrc format removed, so .eslintrc.json
  is replaced by flat eslint.config.mjs built on eslint-config-next's
  native flat exports (core-web-vitals + typescript)
- lint script: `next lint` (removed in Next 16) → `eslint .`
- settings.react.version pinned to '19' — eslint-plugin-react's
  'detect' calls getFilename(), removed in ESLint 10
- typescript ^5.7.3 → ^6 (6.0.3)
- tsconfig: Next 16 build reconfigured jsx→react-jsx and added
  .next/dev/types to include (mandatory Next 16 changes)

Verified: format:check, lint, typecheck, 17/17 tests, next build all green.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn
@github-actions
github-actions Bot merged commit fe6f611 into main Aug 31, 2026
1 check passed
@github-actions
github-actions Bot deleted the refactor/framework-lift branch August 31, 2026 11:50
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