Skip to content

feat: add 11 missing pm subcommands (login, logout, whoami, token, audit, dist-tag, deprecate, search, rebuild, fund, ping) - #613

Merged
fengmk2 merged 1 commit into
mainfrom
vp-login
Feb 24, 2026
Merged

feat: add 11 missing pm subcommands (login, logout, whoami, token, audit, dist-tag, deprecate, search, rebuild, fund, ping)#613
fengmk2 merged 1 commit into
mainfrom
vp-login

Conversation

@fengmk2

@fengmk2fengmk2 commented Feb 23, 2026

Copy link
Copy Markdown
Member

Implements the commands from issue #611. Each command follows existing
patterns: "always npm" commands (token, deprecate, search, fund, ping)
hardcode npm as the binary, while PM-specific commands (login, logout,
whoami, audit, dist-tag, rebuild) branch on the detected package manager
with appropriate mappings for pnpm, npm, yarn@1, and yarn@2+.

Includes CLI definitions, dispatch wiring, unit tests for all command
resolution logic, and updated RFC documentation.

closes VP-191

@fengmk2fengmk2 self-assigned this Feb 23, 2026
@fengmk2
fengmk2 marked this pull request as ready for review February 23, 2026 02:54
@linear

linearBot commented Feb 23, 2026

Copy link
Copy Markdown
VP-191 Can't forward `login` cmd

Image

I'd expect that vp pm login works as expected.

@fengmk2
fengmk2 changed the base branch from merge-global-and-local-cli-into-one-v2 to graphite-base/613February 24, 2026 03:16
@graphite-app
graphite-appBot changed the base branch from graphite-base/613 to mainFebruary 24, 2026 03:18
…dit, dist-tag, deprecate, search, rebuild, fund, ping)
Implements the commands from issue #611. Each command follows existing
patterns: "always npm" commands (token, deprecate, search, fund, ping)
hardcode npm as the binary, while PM-specific commands (login, logout,
whoami, audit, dist-tag, rebuild) branch on the detected package manager
with appropriate mappings for pnpm, npm, yarn@1, and yarn@2+.
Includes CLI definitions, dispatch wiring, unit tests for all command
resolution logic, and updated RFC documentation.
@fengmk2Graphite App

fengmk2 commented Feb 24, 2026

Copy link
Copy Markdown
MemberAuthor

Merge activity

  • Feb 24, 3:35 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Feb 24, 3:36 AM UTC: @fengmk2 merged this pull request with Graphite.

@fengmk2
fengmk2 merged commit 018e4ef into mainFeb 24, 2026
17 checks passed
@fengmk2
fengmk2 deleted the vp-login branch February 24, 2026 03:36
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@fengmk2@wan9chi