Open
Conversation
Member
webfansplz
commented
Mar 11, 2026
commit: |
There was a problem hiding this comment.
Pull request overview
Adds a basic “Home” screen to the Vite DevTools app that connects to the DevTools RPC server and displays project + environment metadata.
Changes:
- Replace the placeholder RPC endpoint with
vite:meta-infoandvite:env-infoRPC queries. - Add a
/homepage UI that fetches and renders Vite config metadata andenvinfooutput, and redirect/→/home. - Introduce required dependencies for env reporting and additional icon sets, plus FloatingVue plugin wiring for the Vite app.
Reviewed changes
Copilot reviewed 11 out of 12 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| pnpm-workspace.yaml | Adds new catalog entries for envinfo, its types, and new iconify JSON sets. |
| pnpm-lock.yaml | Lockfile updates for newly added dependencies. |
| packages/vite/src/node/rpc/index.ts | Registers the new RPC functions and removes the old “hi” function. |
| packages/vite/src/node/rpc/functions/vite-meta-info.ts | New RPC query returning Vite config metadata (root/base/plugins). |
| packages/vite/src/node/rpc/functions/vite-env-info.ts | New RPC query returning environment info via envinfo. |
| packages/vite/src/node/rpc/functions/hi.ts | Removes the previous placeholder RPC endpoint. |
| packages/vite/src/app/plugins/floating-vue.ts | Adds FloatingVue Nuxt plugin for the Vite DevTools app. |
| packages/vite/src/app/pages/index.vue | Redirects the index route to /home. |
| packages/vite/src/app/pages/home.vue | New UI page that fetches and displays project/system/runtime metadata. |
| packages/vite/src/app/app.vue | Adds RPC connection gating, error display, and a side nav layout. |
| packages/vite/package.json | Adds envinfo + @types/envinfo dependencies. |
| package.json | Adds additional iconify JSON sets used by the new home page. |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Member
|
A bit nitpicking, but maybe we could use https://icones.js.org/collection/catppuccin for pnpm/yarn? |
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.