Skip to content

Provide a JSON file on the vendored libraries in vite plus #1149

@huang-julien

Description

@huang-julien

Description

Hi 👋

Currently, vitest is being vendored by vite-plus. Third party tools canno't really retrieve the version being vendored by vite-plus.
Some needs to do this for compatibility check with tools being aliased by vite-plus

Suggested solution

have vendored tools provide a json, could be a copy of the package.json from the bundled tool so third party libraries can do

import { versions } from 'vite-plus'
// or
import { version} from 'vite-plus/test'

Alternative

No response

Additional context

No response

Validations

  • Read the Contributing Guidelines.
  • Confirm this request is for Vite+ itself and not for Vite, Vitest, tsdown, Rolldown, or Oxc.
  • Check that there isn't already an issue requesting the same feature.

Metadata

Metadata

Assignees

Priority

None yet

Start date

None yet

Target date

None yet

Effort

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions