Skip to content

vp create with non-global package manager #1239

@cavivie

Description

@cavivie

Description

vp create works perfectly when I have a global package manager. Conversely, if I try to create a project using vp create and then install a package manager for per-project mode using methods like mise, it fails.

The experience would be much better if I could start working without a pre-installed package manager, as I've always installed package managers per-project mode without a global package manager (except for npm).

Suggested solution

  1. During vp create when selecting a package manager:
  • It may check if the user has a global package manager, and provides their selections.
  • If no other global package manager exists, it will fall back to the npm package manager.
  1. When vp acts as a package manager:
  • It provides a padding for vp, providing the functionality to download a package manager.
  • vp itself is a package manager (requiring vp to implement functions similar to npm, pnpm, yarn, etc.).

Alternative

No response

Additional context

No response

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.

Metadata

Metadata

Assignees

No one assigned

    Priority

    None yet

    Start date

    None yet

    Target date

    None yet

    Effort

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions