Skip to content

chore(deps): upgrade @vitejs/devtools to v0.3.1#1003

Merged
antfu merged 1 commit into
mainfrom
antfu/upgrade-vite-devtools-v0.3.0
May 29, 2026
Merged

chore(deps): upgrade @vitejs/devtools to v0.3.1#1003
antfu merged 1 commit into
mainfrom
antfu/upgrade-vite-devtools-v0.3.0

Conversation

@antfu
Copy link
Copy Markdown
Member

@antfu antfu commented May 29, 2026

Tracks the upstream vitejs/devtools v0.3.1 release, which migrates the kit internals to devframe@0.5.2 + @devframes/hub@0.5.2 while keeping the public DevTools* surface intact — no source changes needed on our side.

Catalog bumps: @vitejs/devtools and @vitejs/devtools-kit to ^0.3.1. Also bumped vue to ^3.5.35 to dedupe with @vitejs/devtools@0.3.1's direct vue dep (without this, the SFC compiler/runtime split and the client build failed). Added a narrowly-scoped trustPolicyExclude for tinyexec@1.2.0..1.2.2 (same maintainer switched from OIDC to manual publish) and dropped the orphan @vitejs/devtools-rpc external from packages/devtools-kit/build.config.ts.

Note for end users: the devframe wire-format rename triggers a one-time re-authorize on first open after upgrade.

This PR was created with the help of an agent.

@socket-security
Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​vitejs/​devtools-kit@​0.3.1751006798100
Added@​vitejs/​devtools@​0.3.1811007597100

View full report

@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying nuxt-devtools with  Cloudflare Pages  Cloudflare Pages

Latest commit: c264d7a
Status: ✅  Deploy successful!
Preview URL: https://f09c09b3.nuxt-devtools.pages.dev
Branch Preview URL: https://antfu-upgrade-vite-devtools.nuxt-devtools.pages.dev

View logs

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 29, 2026

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 6b1904be-5d2c-4bdf-8b08-a520dd8a1ec8

📥 Commits

Reviewing files that changed from the base of the PR and between 911faed and c264d7a.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (2)
  • packages/devtools-kit/build.config.ts
  • pnpm-workspace.yaml
💤 Files with no reviewable changes (1)
  • packages/devtools-kit/build.config.ts

📝 Walkthrough

Walkthrough

This PR updates build and workspace configuration for the devtools ecosystem. The devtools-kit build configuration replaces @vitejs/devtools-rpc with error-stack-parser-es and shiki in the externals list. The workspace configuration adds version constraint policies (minimumReleaseAgeExclude and trustPolicyExclude) and updates version catalog entries: @vitejs/devtools and @vitejs/devtools-kit from ^0.1.13 to ^0.3.1, and vue from ^3.5.32 to ^3.5.35.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: upgrading @vitejs/devtools to v0.3.1, which matches the primary objective of this PR.
Description check ✅ Passed The description comprehensively explains the purpose of the upgrade, the catalog version bumps, the workaround for Vue deduplication, the trustPolicyExclude addition, and the user-facing implications.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch antfu/upgrade-vite-devtools-v0.3.0

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@antfu antfu merged commit 44859ec into main May 29, 2026
6 of 8 checks passed
@antfu antfu deleted the antfu/upgrade-vite-devtools-v0.3.0 branch May 29, 2026 04:46
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