Add plugin package name

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

Nobody has claimed this yet.

Assessment

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

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.

Description

enhancement
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
Dominant language
TypeScript
Stars
1.2k
Forks
89
Avg merge
18h 46m
Merged PRs (30d)
24

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.

More from vitejs/devtools

All issues in vitejs/devtools

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.