You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Skip packages which are up to date in vp update -g #1477
If we run vp update -g, the current Vite+ will reinstall all the installed packages, no matter whether it is up to date, which makes update process slow.
Suggested solution
We can follow other pm's behavior like pnpm / npm, which needs Vite+ compares user's installed version with the latest version on registry, and only reinstall ones which is needed to update. We can't delegate it to npm install -g like #1476 as we use different prefixes for different packages.
Since vp can record the Node version used to install the package, whether to reinstall when node version changes may become a topic need to discuss.
Alternative
No response
Additional context
Maybe it is partially related #1476, implementing this after finishing #1476 can make work much simpler
Activity
fix(global): skip current packages on update (voidzero-dev#1596)