Scripts2026年7月18日·1 分钟阅读

Vite+ — Unified Web Development Toolchain

A unified toolchain and entry point for web development that manages your runtime package manager and frontend toolchain in one place.

Agent 就绪

先审查再安装

这个资产需要先审查。复制的指令会要求 Agent dry-run、列出写入项,确认后再继续。

Needs Confirmation · 64/100策略:需确认
Agent 入口
任意 MCP/CLI Agent
类型
Skill
安装
Single
信任
信任等级:Established
入口
Vite+ Overview
先审查命令
npx -y tokrepo@latest install b5d6c896-8282-11f1-9bc6-00163e2b0d79 --target codex

先 dry-run,确认写入项后再运行此命令。

Introduction

Vite+ (Vite Plus) is a unified toolchain by the VoidZero team that wraps runtime management, package installation, and the Vite build system into a single coherent developer experience. Instead of separately managing Node versions, package managers, and build tools, Vite+ handles everything through one CLI.

What Vite+ Does

  • Manages JavaScript runtime versions (Node, Bun, Deno) automatically
  • Handles package installation with an integrated fast package manager
  • Provides the full Vite dev server and build pipeline
  • Offers project scaffolding with curated templates
  • Ensures consistent environments across team members

Architecture Overview

Vite+ is built in Rust for speed and ships as a single binary. It embeds a runtime version manager (similar to fnm/volta), a package resolution engine, and orchestrates Vite under the hood. Project configuration is detected automatically from existing files, requiring zero migration effort for Vite-based projects.

Self-Hosting & Configuration

  • Install via shell script or download pre-built binary
  • Works alongside existing Node installations without conflict
  • Configure preferred runtime and package manager in viteplus.config.ts
  • Pin runtime versions per-project via .viteplus-version file
  • CI-friendly with deterministic resolution and caching

Key Features

  • Single binary replaces nvm + npm/pnpm/yarn + vite CLI
  • Automatic runtime detection and installation
  • Built-in dependency caching for faster installs
  • Seamless migration from existing Vite projects (zero config change)
  • Cross-platform support for macOS, Linux, and Windows

Comparison with Similar Tools

  • Vite — build tool only; Vite+ adds runtime and package management
  • mise — runtime manager without build integration; Vite+ is web-focused end-to-end
  • Turbopack — bundler only; Vite+ manages the full toolchain lifecycle
  • Bun — runtime with bundler but opinionated; Vite+ supports multiple runtimes

FAQ

Q: Does it replace Vite? A: No, it wraps Vite and adds runtime/package management on top.

Q: Can I use it with existing Vite projects? A: Yes. Point it at any Vite project and it works with zero configuration changes.

Q: Which package managers does it support? A: npm, pnpm, yarn, and its own integrated resolver.

Q: Is it stable for production use? A: It is under active development; check the repository for current stability status.

Sources

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产