Vite+ 发布新版本-整合前端工具链

一个基于 Vite 8 的统一前端工具链,用一个 vp 命令整合了开发服务器、测试、构建、检查、打包和任务运行

构建工具徐循渐进。Vite 8.1 实验性地支持了全量打包模式;Rolldown 1.0 正式发布,带了新插件系统和性能提升;Oxlint 集成了 React Compiler 的原生 lint 规则;Oxfmt 开始支持 Svelte 格式化;Vitest 新增了 ARIA 快照支持

Vite+ 是 MIT 协议开源项目,不绑定特定框架。安装只需要一行 curl -fsSL https://vite.plus | bash,然后用 vp create 新建项目或 vp migrate 改造已有项目

Dify、Addy Osmani 的 critical、BlockNote 等项目已经在用。

  • Dify: an open-source platform for building LLM apps.
  • critical: Addy Osmani's framework-agnostic critical-path CSS tool.
  • BlockNote: a block-based, Notion-style rich text editor for React.
  • vinext: a drop-in Next.js-compatible framework built on Vite.
  • zerobyte: backup automation for self-hosters, built with TanStack and React.
  • îles: a partial-hydration islands site generator for Vue.
  • agentsview: local-first session search and analytics for coding agents, built with Svelte.
  • Inkline: a UI component library that ships across Vue, React, Svelte, Angular, Solid, Qwik, and Astro.
  • npmx: an open-source npm registry browser built on Nuxt.

vp run 的任务缓存更智能了,不再需要手动声明输入输出和环境变量;vp migrate 能处理更多样的项目结构,还提供 agent 迁移提示

  • vp dev --- start a development server with hot module replacement, powered by Vite 8.
  • vp check --- format your code with Oxfmt, lint it with Oxlint, and type check it at once.
  • vp test --- run unit tests powered by Vitest.
  • vp build --- build your project for production, powered by Vite 8.
  • vp pack --- bundle libraries with best practices baked in, powered by tsdown.
  • vp run --- run any npm script or task through the built-in monorepo-aware task runner with intelligent caching.

参考

Announcing Vite+ Beta | VoidZero

OSCHINA - 开源 × AI · 开发者生态社区

相关推荐
溪语流沙10 分钟前
【每天一个CSS | Day41】开关三连:一套状态机,三种视觉翻译
前端·css·html5·每日一练·按钮
变与不变80617 分钟前
css定位布局精讲
前端·css
FRing0339 分钟前
JavaScript入门到精通三十三(异常处理、call方法、apply方法、bind方法、防抖、节流)
开发语言·前端·javascript
计算机魔术师1 小时前
OpenAI 砍掉 100 亿融资目标,AI 资本市场的温度计变了
前端
jktantan2 小时前
(二)Vue 3 的 attrs 不是响应式:el-form 扩展属性同步的三种方案
前端·javascript·vue.js·element-plus
前端 贾公子2 小时前
第 5 章:Codex 从可运行程序到可交付工具
java·前端·数据库
用户360055579002 小时前
Kestrel_VLLM - 26 · 发射空档三步曲:事件计时 → nsys → 判别实验
前端
echome8883 小时前
JavaScript async/await 错误处理:别让 Promise 静默失败
开发语言·前端·javascript·promise
PedroQue993 小时前
v0.2.0 架构升级:class + reactive 重塑状态管理
前端·uni-app
鶴哥只手遮天3 小时前
Angular 22 源码级深度解析-第 02 章 编译链路总览:从模板字符串到 `ɵɵ` 指令
前端·开源·angular.js