Skip to content

chore: migrate to Nuxt v5 nightly#173

Merged
antfu merged 2 commits into
mainfrom
antfu/debug-pnpm-hang
May 30, 2026
Merged

chore: migrate to Nuxt v5 nightly#173
antfu merged 2 commits into
mainfrom
antfu/debug-pnpm-hang

Conversation

@antfu
Copy link
Copy Markdown
Owner

@antfu antfu commented May 30, 2026

Summary

Opts the project into the Nuxt v5 nightly release channel (nuxt-nightly@5x) so we can shake out v5 issues ahead of stable.

Adapts the few breaking changes that surface in this repo: Nitro v3's nitro.sourcemap rename, the loss of the eventHandler global auto-import (now explicit from h3), and stream-json v3's named-export API. Drops the leftover baseURL: './' + vite.base: './' overrides — they break dev (redirect loop) and prerender (empty HTML) in v5 and aren't needed since cli.ts already rewrites /_nuxt/* at deploy time. Pinned @nuxt/devtools to 4.0.0-alpha.6, bumped Vite/UnoCSS/pnpm catalog deps, and patched an upstream bug in @nuxt/nitro-server-nightly where runtime/utils/cache-driver.js is referenced but only the .mjs ships.

PR created with the help of an agent.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 30, 2026

Open in StackBlitz

npm i https://pkg.pr.new/node-modules-inspector@173
npm i https://pkg.pr.new/node-modules-tools@173

commit: e215d7e

@antfu antfu merged commit 8be7f9c into main May 30, 2026
11 checks passed
@antfu antfu deleted the antfu/debug-pnpm-hang branch May 30, 2026 05:34
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