Skip to content

Intercept vp add oxlint (and oxfmt, oxlint-tsgolint, vitest, vite?) and force the user to confirm the action #1307

@connorshea

Description

@connorshea

Description

If the goal is to avoid users (and AI) trying to use these packages directly when they're using vp with a vite-plus project, it should probably trigger a warning for the user if they try to add/install the packages vite-plus is intended to consolidate.

Suggested solution

Add a confirmation step when a user runs vp install oxlint, vp add oxlint, vp add oxlint-tsgolint, etc, to inform the user/AI agent that vite-plus comes with these tools already, and thus adding the packages to the package.json is not useful.

Alternative

Letting users do this without any warning, potentially running into weird problems.

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

No one assigned

    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