Skip to content

vp pm version does not work #2092

Description

@lockr7

Describe the bug

I use pnpm version (https://pnpm.io/cli/version) and would expect vp pm version to forward the command.

But when I run vp pm --help, I don't see it as one of the available commands.

vp pm --help
VITE+ - The Unified Toolchain for the Web

Usage: vp pm <COMMAND>

Forward a command to the package manager

Commands:
  approve-builds    Approve dependency lifecycle scripts (install/postinstall) to run
  prune             Remove unnecessary packages
  pack              Create a tarball of the package
  list, ls          List installed packages
  view, info, show  View package information from the registry
  publish           Publish package to registry
  stage             Stage a package for publishing (npm staged publishing workflow)
  owner, author     Manage package owners
  cache             Manage package cache
  config, c         Manage package manager configuration
  login, adduser    Log in to a registry
  logout            Log out from a registry
  whoami            Show the current logged-in user
  token             Manage authentication tokens
  audit             Run a security audit
  dist-tag          Manage distribution tags
  deprecate         Deprecate a package version
  search            Search for packages in the registry
  rebuild, rb       Rebuild native modules
  fund              Show funding information for installed packages
  ping              Ping the registry

Options:
  -h, --help  Print help

Documentation: https://viteplus.dev/guide/install

Reproduction

https://github.com/lockr7/vp-pm-version-repro

Steps to reproduce

  1. Install Vite+
  2. pnpm as your package manager
  3. Run vp pm version
  4. See error: Command 'version' not found

System Info

vp env current
VITE+ - The Unified Toolchain for the Web

Environment:
  Version       24.18.0
  Source        engines.node
  Source Path   /Users/r.lock/Documents/casino-widgets/casino-widgets-mfe/package.json
  Project Root  /Users/r.lock/Documents/casino-widgets/casino-widgets-mfe

Tool Paths:
  node  /Users/r.lock/.vite-plus/js_runtime/node/24.18.0/bin/node
  npm   /Users/r.lock/.vite-plus/js_runtime/node/24.18.0/bin/npm
  npx   /Users/r.lock/.vite-plus/js_runtime/node/24.18.0/bin/npx

Package Manager:
  Name          pnpm
  Version       11.10.0
  Source        packageManager
  Source Path   /Users/r.lock/Documents/casino-widgets/package.json
  Project Root  /Users/r.lock/Documents/casino-widgets
  Bin Path      /Users/r.lock/.vite-plus/package_manager/pnpm/11.10.0/pnpm/bin/pnpm

vp update available: 0.2.2 → 0.2.3, run vp upgrade



vp --version
VITE+ - The Unified Toolchain for the Web

vp v0.2.2

Local vite-plus:
  vite-plus  v0.2.2

Tools:
  vite             v8.1.2
  rolldown         v1.1.4
  vitest           v4.1.9
  oxfmt            v0.57.0
  oxlint           v1.72.0
  oxlint-tsgolint  v0.24.0
  tsdown           v0.22.3

Environment:
  Package manager  pnpm v11.10.0
  Node.js          v24.18.0 (engines.node)

Used Package Manager

pnpm

Logs

Validations

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Fields

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