Skip to content

chore(deps): update nuxt framework (282759e) - #300

Merged
IgorShevchik merged 1 commit into
mainfrom
sync/nuxt-282759e
Jul 29, 2026
Merged

chore(deps): update nuxt framework (282759e)#300
IgorShevchik merged 1 commit into
mainfrom
sync/nuxt-282759e

Conversation

@IgorShevchik

Copy link
Copy Markdown
Collaborator

Syncs upstream nuxt/ui commit 282759echore(deps): update nuxt framework (#6751). Major framework bump plus the source/test fixes upstream shipped alongside it.

Manifests

nuxt / @nuxt/kit / @nuxt/schema ^4.4.8^4.5.1, @unhead/vue ^2.1.16→**^3.2.3** (major), magic-string ^0.30.21→**^1.1.0** (major), vite ^7.3.6→**^8.1.5** in playgrounds/{repl,vue}. nuxt also bumped in docs, playgrounds/nuxt and playgrounds/demo (b24ui-only workspace — leaving it behind duplicated nuxt in the tree).

Ported from upstream

  • vitest.config.ts — the #components plugin now returns a \0-prefixed virtual id. Vite 8 rewrites a returned #components into ?import#components (empty pathname), which its builtin resolver rejects.
  • test/components/FormField.spec.ts — hoist vi.mock('vue') to the module top level (it is hoisted regardless; nesting it misrepresents execution order and vitest 4 warns).
  • pnpm-workspace.yaml@nuxt/kit override ^4.4.8^4.5.1. The 4.4.8 kit has no buildDiagnostics export, which nuxt 4.5.1's CLI imports — this broke dev:prepare outright.

b24ui-specific

  • pnpm-workspace.yaml: added vite: ^8.1.5 + rolldown: ~1.1.5 overrides. b24ui's dependency set (unplugin / unhead / vite-plugin-* peers, plus the legacy vitest-environment-nuxt upstream doesn't carry) otherwise resolves two vite copies (7.3.6 + 8.1.5) and two rolldown copies (1.1.5 + 1.2.0). Loading both native ABIs in one worker made all 125 nuxt-project test files fail at startup with Missing field `moduleType` (plugin builtin:replace, rolldown 1.2.0 executing inside vite 7.3.6). vite 8 pins rolldown ~1.1.5, which also satisfies unplugin (*).
  • pnpm-workspace.yaml — corrected the stale @tiptap/pm override ^3.27.3^3.29.0 left over from PR chore(deps): update tiptap to ^3.29.0 (bfe1177) #298.
  • src/runtime/plugins/colors.ts — unhead v3 removed the UseHeadInput type (now ReactiveHead), breaking typecheck. headData is now typed Parameters<typeof useHead>[0], correct on both v2 and v3; the existing v2/v3 hooks.hook compat shim is untouched.

Skipped

  • src/components/content/ContentNavigation.vue — absent in b24ui (N/A).
  • test/utils/setup.ts iconify fetch stub — N/A: b24ui renders icons via @bitrix24/b24icons-vue, which imports icon components directly and never fetches the Iconify API, so there are no in-flight requests for happy-dom to abort.

Tests

Full suite green: 243 files, 5565 passed / 6 skipped — identical counts to before the bump, no snapshot drift. (A DropdownMenu 5s-timeout flake appeared once under full-suite contention; it passes isolated 68/68 and on re-run.)

Verify (CI=true)

dev:prepare · lint · typecheck · test · build — all green.

Ledger: cursor advanced to 282759e (upstream v4 HEAD); previous entry 34554bf reconciled to PR #299.

🤖 Generated with Claude Code


Generated by Claude Code

Syncs upstream nuxt/ui commit 282759e (#6751) — major framework bump plus the
source/test fixes upstream shipped alongside it.

Manifests: nuxt/@nuxt/kit/@nuxt/schema ^4.4.8->^4.5.1, @unhead/vue ^2.1.16->
^3.2.3 (major), magic-string ^0.30.21->^1.1.0 (major), vite ^7.3.6->^8.1.5 in
playgrounds/{repl,vue}; nuxt bumped in docs, playgrounds/nuxt and
playgrounds/demo (b24ui-only workspace — leaving it behind duplicated nuxt).

Ported from upstream:
- vitest.config.ts: the `#components` plugin now returns a \0-prefixed virtual
  id; Vite 8 rewrites a returned `#components` into `?import#components`
  (empty pathname), which its builtin resolver rejects.
- test/components/FormField.spec.ts: hoist vi.mock('vue') to the module top
  level (it is hoisted regardless; nesting misrepresents execution order).
- pnpm-workspace.yaml: '@nuxt/kit' override ^4.4.8->^4.5.1 — the 4.4.8 kit has
  no buildDiagnostics export, which nuxt 4.5.1's CLI imports.

b24ui-specific:
- pnpm-workspace.yaml: added `vite: ^8.1.5` + `rolldown: ~1.1.5` overrides.
  b24ui's dependency set (unplugin/unhead/vite-plugin-* peers plus the legacy
  vitest-environment-nuxt upstream doesn't carry) otherwise resolves two vite
  copies (7.3.6 + 8.1.5) and two rolldown copies (1.1.5 + 1.2.0); loading both
  native ABIs in one worker made all 125 nuxt-project test files fail at
  startup with "Missing field `moduleType`". vite 8 pins rolldown ~1.1.5, which
  also satisfies unplugin (`*`).
- pnpm-workspace.yaml: corrected the stale '@tiptap/pm' override ^3.27.3->
  ^3.29.0 left over from PR #298.
- src/runtime/plugins/colors.ts: unhead v3 removed the UseHeadInput type (now
  ReactiveHead), breaking typecheck. headData is now typed as
  Parameters<typeof useHead>[0], correct on both v2 and v3.

Skipped: src/components/content/ContentNavigation.vue (absent in b24ui); the
test/utils/setup.ts iconify fetch stub (N/A — b24icons imports icon components
directly and never fetches the Iconify API).

Suite: 5565 passed / 6 skipped across all 243 files — same counts as before the
bump, no snapshot drift.

Ledger: cursor -> 282759e; previous entry 34554bf reconciled to PR #299.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JS8ypVfQSFzYVZzkTHhURb
@IgorShevchik
IgorShevchik merged commit 3faefaa into main Jul 29, 2026
1 check passed
@IgorShevchik
IgorShevchik deleted the sync/nuxt-282759e branch July 29, 2026 04:37
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.

2 participants