Skip to content

vite:monorepo pnpm template has override option. but it's Deprecation #2034

Description

@bulebrainbrand

Describe the bug

i ran vp create vite:monorepo then select pnpm.
This generated the following pnpm-workspace.yaml:

packages:
  - apps/*
  - packages/*
  - tools/*

catalogMode: prefer

catalog:
  "@types/node": ^24
  typescript: ^5
  vite: npm:@voidzero-dev/vite-plus-core@0.2.2
  vite-plus: 0.2.2
overrides:
  vite: "catalog:"
peerDependencyRules:
  allowAny:
    - vite
  allowedVersions:
    vite: "*"

However, I expected there to be no overrides or catalog entry for vitest.
This appears to be an issue related to the options bug reported in #1884.

Reproduction

none. this bug does not dependence

Steps to reproduce

run vp create vite:monorepo and select pnpm in empty directory.

System Info

PS C:\Users\Owner\created\report\vite-plus-template-bug\eager-statistics> vp -V
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.9.0
  Node.js          v24.18.0 (engines.node)
PS C:\Users\Owner\created\report\vite-plus-template-bug\eager-statistics> vp env current
VITE+ - The Unified Toolchain for the Web

Environment:
  Version       24.18.0
  Source        engines.node
  Source Path   C:\Users\Owner\created\report\vite-plus-template-bug\eager-statistics\package.json
  Project Root  C:\Users\Owner\created\report\vite-plus-template-bug\eager-statistics

Tool Paths:
  node  C:\Users\Owner\.vite-plus\js_runtime\node\24.18.0\node.exe
  npm   C:\Users\Owner\.vite-plus\js_runtime\node\24.18.0\npm.cmd
  npx   C:\Users\Owner\.vite-plus\js_runtime\node\24.18.0\npx.cmd

Package Manager:
  Name          pnpm
  Version       11.9.0
  Source        devEngines.packageManager
  Source Path   C:\Users\Owner\created\report\vite-plus-template-bug\eager-statistics\package.json
  Project Root  C:\Users\Owner\created\report\vite-plus-template-bug\eager-statistics
  Bin Path      C:\Users\Owner\.vite-plus\package_manager\pnpm\11.9.0\pnpm\bin\pnpm.cmd

Used Package Manager

pnpm

Logs

C:\Users\Owner\created\report\vite-plus-template-bug> vp create vite:monorepo
VITE+ - The Unified Toolchain for the Web

◇ Package name:
  eager-statistics

◇ Which package manager would you like to use?
  pnpm

◇ Which coding agent instruction files should Vite+ create?
  none

◇ Which editors are you using?
    Writes editor config files to enable recommended extensions and Oxlint/Oxfmt integrations.
  VSCode

◇ Initialize a git repository?
  No

◇ Set up pre-commit hooks to run formatting, linting, and type checking with auto-fixes?
  No

◇ Scaffolded eager-statistics with Vite+ monorepo
• Node 24.18.0  pnpm 11.9.0
✓ Dependencies installed in 2.0s
→ Next: cd eager-statistics && vp run

Validations

Metadata

Metadata

Assignees

Type

Fields

Priority

None yet

Effort

None yet

Target date

None yet

Start date

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions