Skip to content

Svelte project defaults to Vite when defaulting a prompt #1605

@blueboy90780

Description

@blueboy90780

Describe the bug

I am doing
Creating a new project with vp create svelte

What I expect is
A new project to be created with tooling and configuration made by the vp CLI.

What is actually happening
Creates a standard Vite project with zero presence of VP or any of it's tooling

Root Cause of Issue
I did a bunch of experimenting around, recreating a svelte project time and time again. What I found is that this issue only occurs if we don't specify anything in the prompt "Where would you like your project to be created?" when bun x sv create --no-install is running. If I don't specify anything and leave it to it's default, the entire project ends up being a standard Vite project as if Vite+ was never ran in the first place.

Reproduction

This is a CLI issue, cannot really reproduce it in a sandbox or through a minimal reproduction repository. The bug must be reproduced via the CLI itself

Steps to reproduce

Already described above, leaving an unspecified default option in the prompt Where would you like your project to be created?

System Info

`vp env current` gives the output
Environment:
  Version  24.15.0
  Source   lts

`vp --version` gives the output
vp v0.1.21

Local vite-plus:
  vite-plus  v0.1.21

Tools:
  vite             v8.0.11
  rolldown         v1.0.0
  vitest           v4.1.5
  oxfmt            v0.48.0
  oxlint           v1.63.0
  oxlint-tsgolint  v0.22.1
  tsdown           v0.22.0

Environment:
  Package manager  bun v1.3.14
  Node.js          v24.15.0

Used Package Manager

bun

Logs

Validations

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

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