GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Do not update `package.json` when running `vpr` · Issue #2374 · voidzero-dev/vite-plus

Do not update package.json when running vpr #2374

New issue
Copy link
New issue
Copy link
Closed
Bug
#2399
Closed
Do not update package.json when running vpr#2374
Bug
#2399
Copy link
Assignees
liangmiQwQ

Description

@BlankParticle
BlankParticle
opened on Aug 7, 2026
Issue body actions

Description

Running a script with vpr can add package manager metadata to package.json.

This is unexpected when I only want to run a script, especially in someone else’s repository. Coding agents also freak out with this behaviour, Vite+ edits package.json, the agent reverts the unexpected change, and Vite+ adds it again on the next vpr command.

Vite+ should not automatically edit files as side effects.

Suggested solution

Do not add packageManager or devEngines.packageManager metadata as a side effect of running vpr/vp run.

Pinning a package manager should require an explicit user action, such as a dedicated vp pm pin command.

Alternative

No response

Additional context

I want to fix this if we go with this proposal 🫡

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.
Reacted by JongKyung Lee and Liang

Activity

  1. BlankParticle
    added
    pending triage
    on Aug 7, 2026
  2. BlankParticle
    added the
    Feature
    issue type on Aug 7, 2026
  3. liangmiQwQ
    removed
    pending triage
    on Aug 7, 2026
  4. liangmiQwQ commented on Aug 8, 2026

    @liangmiQwQ
    liangmiQwQ
    on Aug 8, 2026
    Collaborator
    More actions

    @BlankParticle Hello, thanks for reporting that!

    When I dig into it, I found this is actually caused by a larger, more fundamental issue (Vite+ cannot ensure the package manager is in the PATH, #2375). I noticed before and recently submit an issue and am working on a refactoring.

    I'm not sure if it will be more thorough or easier to handle it during the refactoring. Anyway, I will change the issue type to Bug and share more information here :)

  5. liangmiQwQ
    changed the issue type from
    Feature
    to
    Bug
    on Aug 8, 2026
  6. BlankParticle commented on Aug 8, 2026

    @BlankParticle
    BlankParticle
    on Aug 8, 2026
    ContributorAuthor
    More actions

    thanks, if you are working on this while refactoring that would be great, I can give more feedback on the behaviour I would like once you have more info/have a better version implemented

    Reacted by Liang
  7. liangmiQwQ
    added a parent issue on Aug 8, 2026
    • Enhance Vite+ package manager management #2375
  8. liangmiQwQ
    self-assigned this
    on Aug 30, 2026
  9. fengmk2
    closed this as completedin #2399on Sep 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @liangmiQwQ
    liangmiQwQ

Labels

No labels
No labels

Type

Bug

Fields

Priority

None yet

Effort

None yet

Target date

None yet

Start date

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.