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 — Support npm dist-tags in `vp env pin` (e.g. `pnpm@latest-10`) · Issue #3034 · voidzero-dev/vite-plus

Support npm dist-tags in vp env pin (e.g. pnpm@latest-10) #3034

New issue
Copy link
New issue
Copy link
Closed
Feature
#3047
Closed
Support npm dist-tags in vp env pin (e.g. pnpm@latest-10)#3034
Feature
#3047
Copy link
Assignees
liangmiQwQ
Labels
enhancementNew feature or request

Description

@hyunbinseo
hyunbinseo
opened on Oct 13, 2026
Issue body actions

Description

I want to pin the latest stable release of a package manager major, e.g. pnpm 10. pnpm publishes this as the latest-10 dist-tag:

$ npm view pnpm dist-tags
latest-10: 10.34.6   # stable
next-10:   10.34.7   # newer, not yet promoted to latest-10

vp env pin pnpm@10 can't express this. It picks the highest semver match (10.34.7, the next channel), or a cached version. Dist-tags aren't accepted:

$ vp env pin pnpm@latest-10
Error: Install error: Invalid argument: invalid pnpm version "latest-10": expected semver 'major.minor.patch' or a semver range

Suggested solution

Treat a non-semver version as a dist-tag and resolve it via the registry, then pin the exact version. latest already works this way (source), so this generalizes it to any tag.

$ vp env pin pnpm@latest-10
✓ Pinned package manager to [email protected]

Alternative

vp env pin "pnpm@$(npm view pnpm@latest-10 version)"

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

Activity

  1. jong-kyung
    added
    enhancementNew feature or request
    on Oct 13, 2026
  2. jong-kyung
    added the
    Feature
    issue type on Oct 13, 2026
  3. jong-kyung
    assigned
    liangmiQwQ
    on Oct 13, 2026
  4. fengmk2
    closed this as completedin #3047on Oct 16, 2026
  5. fengmk2
    added a commit that references this issue on Oct 16, 2026

    feat(env): support dist-tags for package manager versions (voidzero-d…

    This issue will close once commit 7ffb37b is merged into the 'main' branch.
    7ffb37b
  6. fengmk2
    added 3 commits that reference this issue on Nov 12, 2026

    chore(deps): update npm packages (#3392)

    655627b

    chore(deps): update rust crates (#3460)

    acfb16e

    chore(deps): update rust crates (#3541)

    ba6aefb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @liangmiQwQ
    liangmiQwQ

Labels

enhancementNew feature or request

Type

Feature

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

    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.