Skip to content

fix(pm): avoid implicit project writes - #2399

Draft
liangmiQwQ wants to merge 19 commits into
voidzero-dev:mainfrom
liangmiQwQ:refactor-breaking/directly-call-package-manager-binary
Draft

fix(pm): avoid implicit project writes#2399
liangmiQwQ wants to merge 19 commits into
voidzero-dev:mainfrom
liangmiQwQ:refactor-breaking/directly-call-package-manager-binary

Conversation

@liangmiQwQ

@liangmiQwQliangmiQwQ commented Aug 10, 2026

Copy link
Copy Markdown
Collaborator

Close#2375
Close#2374
Close#1916

Package-manager commands resolve the manager and version from project metadata, then execute the managed binary for that exact version.

Package-manager detection is non-mutating. Lockfiles, config files, defaults, and devEngines.packageManager ranges are resolved for the current command without changing package.json. Projects can declare or remove a package-manager version explicitly with vp env pin and vp env unpin.

Project-local dependency commands such as vp install and vp add require an existing package.json. Managed global operations continue to use the Vite+ global package store.

🤖 Generated with Codex

@netlify

netlifyBot commented Aug 10, 2026

Copy link
Copy Markdown

Deploy Preview for viteplus-preview canceled.

NameLink
🔨 Latest commit051db78
🔍 Latest deploy loghttps://app.netlify.com/projects/viteplus-preview/deploys/6a87e757471fef0008ddc3e2

@liangmiQwQ
liangmiQwQforce-pushed the refactor-breaking/directly-call-package-manager-binary branch 18 times, most recently from c2d45b6 to 22afb4fCompareAugust 12, 2026 03:36
@liangmiQwQliangmiQwQ changed the title refactor(pm): execute package managers from PATHrefactor(pm)!: dispatch package managers from PATH without probingAug 12, 2026
@liangmiQwQ
liangmiQwQforce-pushed the refactor-breaking/directly-call-package-manager-binary branch 5 times, most recently from d00de4b to c7a0290CompareAugust 12, 2026 13:15
@liangmiQwQ
liangmiQwQ marked this pull request as ready for review August 12, 2026 13:16
@liangmiQwQ
liangmiQwQ marked this pull request as draft August 12, 2026 13:18
@liangmiQwQliangmiQwQ changed the title refactor(pm)!: dispatch package managers from PATH without probingrefactor(pm)!: dispatch package managers from PATHAug 12, 2026
@liangmiQwQ
liangmiQwQforce-pushed the refactor-breaking/directly-call-package-manager-binary branch from 0724997 to 8f7f7f4CompareAugust 13, 2026 00:17
@liangmiQwQ
liangmiQwQforce-pushed the refactor-breaking/directly-call-package-manager-binary branch from 8f7f7f4 to fc2ec8fCompareAugust 15, 2026 12:31
@liangmiQwQ
liangmiQwQ marked this pull request as draft August 19, 2026 14:25
@liangmiQwQ
liangmiQwQforce-pushed the refactor-breaking/directly-call-package-manager-binary branch 2 times, most recently from 2df2faf to ca7efa9CompareAugust 20, 2026 10:34
@liangmiQwQliangmiQwQ changed the title refactor(pm)!: dispatch package managers from PATHfix(pm): avoid implicit project writesAug 20, 2026
@liangmiQwQ
liangmiQwQforce-pushed the refactor-breaking/directly-call-package-manager-binary branch 2 times, most recently from 4843ae5 to 2ef28d1CompareAugust 20, 2026 12:12
@liangmiQwQ
liangmiQwQforce-pushed the refactor-breaking/directly-call-package-manager-binary branch from 2ef28d1 to 647302dCompareAugust 21, 2026 03:14
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant

@liangmiQwQ