Describe the bug
Description
On Windows, running vp create vite:application in a monorepo with a scoped package name (e.g. core) causes two issues:
-
If the target directory (packages/core) doesn't exist, the command fails with:
-
A folder packagescore is created at the monorepo root instead of packages/@primex/core.
Expected Behavior
- CLI should auto-create the target directory if missing
- Scoped package names should map to nested folders correctly on Windows
Reproduction
.
Steps to reproduce
vp create vite:monorepo
vp create vite:application
- Target folder:
packages/
- Package name:
core
System Info
VITE+ - The Unified Toolchain for the Web
vp v0.1.11
Local vite-plus:
vite-plus v0.1.11
Tools:
vite v8.0.0
rolldown v1.0.0-rc.9
vitest v4.1.0
oxfmt v0.40.0
oxlint v1.55.0
oxlint-tsgolint v0.16.0
tsdown v0.21.2
Used Package Manager
pnpm
Logs
Validations
Describe the bug
Description
On Windows, running
vp create vite:applicationin a monorepo with a scoped package name (e.g.core) causes two issues:If the target directory (
packages/core) doesn't exist, the command fails with:A folder
packagescoreis created at the monorepo root instead ofpackages/@primex/core.Expected Behavior
Reproduction
.
Steps to reproduce
vp create vite:monorepovp create vite:applicationpackages/coreSystem Info
VITE+ - The Unified Toolchain for the Web vp v0.1.11 Local vite-plus: vite-plus v0.1.11 Tools: vite v8.0.0 rolldown v1.0.0-rc.9 vitest v4.1.0 oxfmt v0.40.0 oxlint v1.55.0 oxlint-tsgolint v0.16.0 tsdown v0.21.2Used Package Manager
pnpm
Logs
Validations