chore(deps): update nuxt framework (282759e) - #300
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Syncs upstream nuxt/ui commit
282759e— chore(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** inplaygrounds/{repl,vue}.nuxtalso bumped indocs,playgrounds/nuxtandplaygrounds/demo(b24ui-only workspace — leaving it behind duplicated nuxt in the tree).Ported from upstream
vitest.config.ts— the#componentsplugin now returns a\0-prefixed virtual id. Vite 8 rewrites a returned#componentsinto?import#components(empty pathname), which its builtin resolver rejects.test/components/FormField.spec.ts— hoistvi.mock('vue')to the module top level (it is hoisted regardless; nesting it misrepresents execution order and vitest 4 warns).pnpm-workspace.yaml—@nuxt/kitoverride^4.4.8→^4.5.1. The 4.4.8 kit has nobuildDiagnosticsexport, which nuxt 4.5.1's CLI imports — this brokedev:prepareoutright.b24ui-specific
pnpm-workspace.yaml: addedvite: ^8.1.5+rolldown: ~1.1.5overrides. b24ui's dependency set (unplugin / unhead / vite-plugin-* peers, plus the legacyvitest-environment-nuxtupstream 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 withMissing field `moduleType`(pluginbuiltin: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/pmoverride^3.27.3→^3.29.0left over from PR chore(deps): update tiptap to ^3.29.0 (bfe1177) #298.src/runtime/plugins/colors.ts— unhead v3 removed theUseHeadInputtype (nowReactiveHead), breakingtypecheck.headDatais now typedParameters<typeof useHead>[0], correct on both v2 and v3; the existing v2/v3hooks.hookcompat shim is untouched.Skipped
src/components/content/ContentNavigation.vue— absent in b24ui (N/A).test/utils/setup.tsiconifyfetchstub — 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
DropdownMenu5s-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 entry34554bfreconciled to PR #299.🤖 Generated with Claude Code
Generated by Claude Code