feat(deps): migrate to Vite DevTools v0.5.0 and Devframe v0.9.2 - #1065
Conversation
Adopt the 0.5 Vite DevTools line, which moves the embedded client to @devframes/hub-ui and replaces the standalone mount helper with the hub context's install method. Pin the whole @vitejs/devtools* family to the vite-devtools ref so vite's stale @vitejs/devtools optional-peer range cannot mint a conflicting second vite type-variant. Co-authored-by: opencode <noreply@opencode.ai>
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (6)
Included review availability: Your plan provides up to 8 included reviews per hour; 7 remain after this review. 📝 WalkthroughWalkthroughDevTools integrations now use Estimated code review effort: 3 (Moderate) | ~20 minutes Merge Risk: 🟡 Moderate · up to The dependency manifest has been updated, but the committed lockfile still resolves older DevTools and Vite versions, which can produce an inconsistent install or duplicate type definitions. Regenerate and verify the lockfile before merging. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Migrates Nuxt DevTools v4 to Vite DevTools v0.5.0 and Devframe v0.9.2. The 0.5 line moves the embedded overlay client to
@devframes/hub-uiand replaces the standalone mount helper with the hub context's owninstallmethod, so the module's integration surface is updated to match.Changes
pnpm-workspace.yaml:devframe ^0.8.0 → ^0.9.2,vite-devtools ^0.4.11 → ^0.5.0, and register the four new devframe sub-packages 0.9.x introduces (@devframes/hub-ui,json-render-ui,service-open,vite) inminimumReleaseAgeExcludeso the supply-chain age gate installs them.mountDevframeremoved from@vitejs/devtools-kit/node: the data-inspector and code-server integrations now mount via the hub context'skit.install(definition, { dock }).@vitejs/devtools/client/injectno longer exists; the client ships as@devframes/hub-ui, served by the hub at/__devtools/embedded.js. The Nuxt client plugin now loads it via a runtime-created module<script>(mirroring upstream'sDevToolsInjection), and the deadoptimizeDepsentry is dropped.vitetype-variant:vite@8.2.0declares its@vitejs/devtoolsoptional peer as^0.4.0, so in subtrees where devtools isn't otherwise pinned pnpm would keep a stale0.4.xcopy and mint a second, structurally-unrelatedvitetype-variant (breakingvue-tsc). Added@vitejs/devtools/@vitejs/devtools-kitoverrides pinning the family to the singlevite-devtoolsref.Verification
pnpm build,pnpm typecheck,pnpm lint, andpnpm test:unit(67 tests) all pass. A playground dev server boots cleanly and serves the new/__devtools/embedded.jsclient.This PR was created with the help of an agent.