Skip to content

chore(deps): upgrade to Next 15 + React 19, refresh safe minors - #4

Merged
IgnazioDS merged 1 commit into
mainfrom
chore/deps-next15-react19
Jun 16, 2026
Merged

chore(deps): upgrade to Next 15 + React 19, refresh safe minors#4
IgnazioDS merged 1 commit into
mainfrom
chore/deps-next15-react19

Conversation

@IgnazioDS

Copy link
Copy Markdown
Owner

Summary

  • Upgraded Next.js from 14.2.5 to 15.5.19
  • Upgraded React from 18.3.1 to 19.2.7
  • Upgraded React DOM from 18.3.1 to 19.2.7
  • Updated next-themes to 0.4.6, cmdk to 1.1.1, vaul to 1.1.2
  • Updated @types/react and @types/react-dom to React 19 types
  • All other major versions held: tailwindcss 3→4, typescript 5→6, vitest 2→4, eslint 8→9, zod 3→4, recharts 2→3

Code Fixes Applied

  1. src/components/providers/theme-provider.tsx: Fixed next-themes import by changing import type { ThemeProviderProps } from "next-themes/dist/types" to import type { ThemeProviderProps } from "next-themes" (dist/types path no longer exported in 0.4.6)

  2. src/app/error.tsx: Added eslint-disable comment above the hard-reload <a href="/"> link inside Button component (intentional hard reload that escapes render tree, requires eslint-disable-next-line @next/next/no-html-link-for-pages)

Gate Results

  • ✓ type-check: PASS
  • ✓ lint: PASS
  • ✓ test: PASS (51 tests)
  • ✓ build: PASS

Notes

  • Next 15 auto-updated tsconfig.json with "target": "ES2017" — kept as generated
  • next lint command deprecated in favor of ESLint CLI (informational; no action needed yet)
  • Package lock file regenerated from fresh install

@vercel

vercel Bot commented Jun 16, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agent-runbook-orchestrator Ready Ready Preview, Comment Jun 16, 2026 4:15am

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 22759f8dc7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".


import { ThemeProvider as NextThemesProvider } from "next-themes";
import type { ThemeProviderProps } from "next-themes/dist/types";
import type { ThemeProviderProps } from "next-themes";

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Add children to the theme provider prop type

Once the upgraded React 19/@types packages are installed, next-themes@0.4.6's exported ThemeProviderProps no longer includes children, but this wrapper still destructures and renders children; npm run type-check/next build will fail with Property 'children' does not exist on type 'ThemeProviderProps'. Please wrap the imported type in React.PropsWithChildren or define an explicit children: React.ReactNode prop for this local provider.

Useful? React with 👍 / 👎.

@IgnazioDS
IgnazioDS merged commit 1f6355a into main Jun 16, 2026
4 checks passed
@IgnazioDS
IgnazioDS deleted the chore/deps-next15-react19 branch June 16, 2026 09:59
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