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 — docs: align the migration prompt with CLI guidance for pnpm dependencies · Issue #2656 · voidzero-dev/vite-plus

docs: align the migration prompt with CLI guidance for pnpm dependencies #2656

New issue
Copy link
New issue
Copy link
Closed
#2660
Closed
docs: align the migration prompt with CLI guidance for pnpm dependencies#2656
#2660
Copy link
Assignees
naokihaba
Labels
documentationImprovements or additions to documentation

Description

@naokihaba
naokihaba
opened on Sep 10, 2026
Issue body actions

Documentation is

  • Missing
  • Outdated
  • Confusing
  • Not sure

Explain in Detail

The migration prompt on the website and the one shown by vp help migrate provide conflicting instructions regarding dependency removal.

The website tells users to remove the old vite, vitest, and @vitest/browser* dependencies after confirming import rewrites. The CLI explicitly tells pnpm users to keep the vite / vitest entries configured by vp migrate.

Since the website prompt also instructs agents to read vp help migrate, following it leads to conflicting instructions.

Verified with Vite+ 0.3.0. This concerns documentation consistency, not a reproduced runtime failure.

Your Suggestion for Changes

Update the website's dependency-removal instruction to include the pnpm exception described in vp help migrate.

Keep the website and CLI migration prompts consistent so users and coding agents receive the same guidance.

❯   vp help migrate
VITE+ - The Unified Toolchain for the Web


Migration Prompt:
  Give this to a coding agent when you want it to drive the migration:

  Migrate this project to Vite+.
  Vite+ replaces the current split tooling around runtime management, package
  management, dev/build/test commands, linting, formatting, and packaging.
  Run `vp help` and `vp help migrate` before making changes.
  Use vp migrate --no-interactive in the workspace root.
  Make sure the project is using Vite 8+ and Vitest 4.1+ before migrating.

  After the migration:
  - Confirm `vite` imports were rewritten to `vite-plus` where needed
  - Confirm `vitest` imports were rewritten to `vite-plus/test` where needed
  - On pnpm, keep the `vite` / `vitest` entries that `vp migrate` aliased to
    the Vite+ packages so the workspace override stays effective; with other
    package managers you can remove them once those rewrites are confirmed
  - Move remaining tool-specific config into the appropriate blocks in
    `vite.config.ts`

  Command mapping:
  - `vp run <script>` is the equivalent of `pnpm run <script>`
  - `vp dev` and `vp test` always run the built-ins; `vp run dev` and
    `vp run test` run the `dev` and `test` scripts from `package.json`
  - `vp install`, `vp add`, and `vp remove` delegate through the package
    manager declared by `packageManager`
  - `vp dev`, `vp build`, `vp preview`, `vp lint`, `vp fmt`, `vp check`,
    and `vp pack` replace the corresponding standalone tools
  - Prefer `vp check` for validation loops

  Finally, verify the migration by running:
  - vp install
  - vp check
  - vp test
  - vp build

  Summarize the migration at the end and report any manual follow-up still
  required.

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

Relevant Page

https://viteplus.dev/guide/migrate#migration-prompt

Reproduction (Optional)

No response

Steps to reproduce (Optional)

  1. Read the “Migration Prompt” section at https://viteplus.dev/guide/migrate.
  2. Run vp help migrate with Vite+ 0.3.0.
  3. Compare the dependency-removal instructions under “After the migration”: the website says to remove the old dependencies, while the CLI includes an exception for pnpm.
Reacted by MK (fengmk2)

Activity

  1. naokihaba
    self-assigned this
    on Sep 10, 2026
  2. naokihaba
    added
    documentationImprovements or additions to documentation
    on Sep 10, 2026
  3. fengmk2
    closed this as completedin #2660on Sep 11, 2026
  4. jong-kyung
    added a commit that references this issue on Sep 11, 2026

    docs: clarify migration dependency retention for pnpm (voidzero-dev#2660

    This issue will close once commit 341cce0 is merged into the 'main' branch.
    341cce0
  5. fengmk2
    added a commit that references this issue on Oct 14, 2026

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

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

Metadata

Metadata

Assignees

  • @naokihaba
    naokihaba

Labels

documentationImprovements or additions to documentation

Type

No type

Fields

Priority

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.