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 — Proposal: `ci` (clean-install) subcommand · Issue #1389 · voidzero-dev/vite-plus

Proposal: ci (clean-install) subcommand #1389

New issue
Copy link
New issue
Copy link
Closed
Feature
#2082
Closed
Proposal: ci (clean-install) subcommand#1389
Feature
#2082
Copy link
Assignees
cpojerfengmk2forehalo
Labels
pending triage
Milestone
RC

Description

@ssssota
ssssota
opened on Apr 15, 2026
Issue body actions

Description

Perform a clean install. This command runs pnpm clean followed by pnpm install --frozen-lockfile.

Designed for CI/CD environments where reproducible builds are critical.

https://pnpm.io/11.x/cli/ci

The main differences between using npm install and npm ci are:

  • The project must have an existing package-lock.json or npm-shrinkwrap.json.
  • If dependencies in the package lock do not match those in package.json, npm ci will exit with an error, instead of updating the package lock.
  • npm ci can only install entire projects at a time: individual dependencies cannot be added with this command.
  • If a node_modules is already present, it will be automatically removed before npm ci begins its install.
  • It will never write to package.json or any of the package-locks: installs are essentially frozen.

https://docs.npmjs.com/cli/v11/commands/npm-ci

Suggested solution

Add ci subcommand like:

  • npm ci: https://docs.npmjs.com/cli/v11/commands/npm-ci
  • pnpm ci: https://pnpm.io/11.x/cli/ci (Added in v11)

Alternative

Run rm -rf node_modules && vp install --frozen-lockfile manually.

Additional context

  • npm ci: https://docs.npmjs.com/cli/v11/commands/npm-ci
  • pnpm ci: https://pnpm.io/11.x/cli/ci

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 Yuhei Yasuda and CatBraaain

Activity

  1. ssssota
    added the
    Feature
    issue type on Apr 15, 2026
  2. ssssota
    added
    pending triage
    on Apr 15, 2026
  3. ssssota
    changed the title [-]`ci` (clean-install) subcommand[/-] [+]Proposal: `ci` (clean-install) subcommand[/+] on Apr 15, 2026
  4. fengmk2 commented on Apr 15, 2026

    @fengmk2
    fengmk2
    on Apr 15, 2026
    Member
    More actions

    It should be a subcommand of vp pm: vp pm ci

    Reacted by JongKyung Lee and stefnotch
  5. fengmk2
    assigned
    cpojer
    on Apr 15, 2026
  6. cpojer commented on Apr 15, 2026

    @cpojer
    cpojer
    on Apr 15, 2026
    Member
    More actions

    I agree, vp pm ci is more than enough for this.

    Reacted by TOMIKAWA Sotaro
  7. ssssota commented on Apr 15, 2026

    @ssssota
    ssssota
    on Apr 15, 2026
    Author
    More actions

    Got it, that makes sense now. I understand the direction.
    Thanks for the explanation!

  8. ssssota
    closed this as completedon Apr 15, 2026
  9. fengmk2 commented on Apr 15, 2026

    @fengmk2
    fengmk2
    on Apr 15, 2026
    Member
    More actions

    Keep it open, we will implement the vp pm ci command later.

    Reacted by TOMIKAWA Sotaro, Gigih Aji Ibrahim, mikkelal and CatBraaain
    Reacted by JongKyung Lee
  10. fengmk2
    self-assigned this
    on Apr 15, 2026
  11. fengmk2
    reopened this on Apr 15, 2026
  12. fengmk2
    added this to the RC milestone on Jul 7, 2026
  13. forehalo commented on Jul 7, 2026

    @forehalo
    forehalo
    on Jul 7, 2026
    Collaborator
    More actions

    I can take a look @fengmk2

    Reacted by MK (fengmk2)
  14. fengmk2
    assigned
    forehalo
    on Jul 7, 2026
  15. fengmk2
    closed this as completedin #2082on Aug 4, 2026
  16. jong-kyung
    added a commit that references this issue on Aug 4, 2026

    feat(pm): add ci subcommand (voidzero-dev#2082)

    This issue will close once commit 95db85b is merged into the 'main' branch.
    95db85b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @cpojer
    cpojer
  • @fengmk2
    fengmk2
  • @forehalo
    forehalo

Labels

pending triage

Type

Feature

Fields

Priority

None yet

Start date

None yet

Target date

None yet

Effort

None yet

Projects

No projects

    Milestone

    • RC

    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.