vitejs / vitejs/devtools

Add plugin package name

Open
#172 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
1.2k
Forks
89
Avg merge
18h 46m
Merged PRs (30d)
24

Description

Clear and concise description of the problem
Image

Currently, it is not obvious which plugin originated from which package. It would be helpful to show that information.

Suggested solution

Recommend plugins to add api.devtools.package values:

const p = {
  name: 'foo',
  api: {
    devtools: {
      package: '@vitejs/plugin-vue'
    }
  }
}

and make devtools will read that information.

We can also add description property to show it.

Alternative

No response

Additional context

No response

Validations

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the code that reads plugin metadata and renders recommended plugins in the Vite devtools repository. Trace how the proposed api.devtools.package value could reach that display, then identify the relevant tests or UI coverage. Done means the originating package is shown consistently, with any added description behavior clarified.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vite
Domain
devtools, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.