2026-06-02
更新内容
React 模板 (vite_react_init)
依赖更新
- @ant-design/icons: 6.2.3 -> 6.2.5
- dayjs: 1.11.20 -> 1.11.21
- react: 19.2.6 -> 19.2.7
- react-dom: 19.2.6 -> 19.2.7
- react-router-dom: 7.15.1 -> 7.16.0
- web-vitals: 5.2.0 -> 5.3.0
- zustand: 5.0.13 -> 5.0.14
- @eslint-react/eslint-plugin: 5.8.4 -> 5.8.9
- @types/react: 19.2.15 -> 19.2.16
- @vitejs/devtools: 0.2.0 -> 0.3.1
- @vitejs/devtools-kit: 0.2.0 -> 0.3.1
- @vitejs/devtools-self-inspect: 0.2.0 -> 0.3.1
- eslint: 10.4.0 -> 10.4.1
- lint-staged: 17.0.5 -> 17.0.7
- react-grab: 0.1.37 -> 0.1.44
- vite: 8.0.14 -> 8.0.16
- pnpm: 11.2.2 -> 11.5.0
文档更新
- README.md: 更新 Vite、React、React Router、Zustand、ESLint、pnpm 版本信息
- AGENTS.md: 增加当前模板技术栈基线,方便 AI 协作时快速对齐版本
- pnpm-lock.yaml: 使用 pnpm 11.5.0 重新生成锁文件
Vue 模板 (vite_vue3_init)
依赖更新
- @zumer/snapdom: 2.12.0 -> 2.12.2
- dayjs: 1.11.20 -> 1.11.21
- element-plus: 2.14.0 -> 2.14.1
- vue: 3.5.34 -> 3.5.35
- vue-router: 5.0.7 -> 5.1.0
- web-vitals: 5.2.0 -> 5.3.0
- @vitejs/devtools: 0.2.0 -> 0.3.1
- @vitejs/devtools-kit: 0.2.0 -> 0.3.1
- @vitejs/devtools-self-inspect: 0.2.0 -> 0.3.1
- eslint: 10.4.0 -> 10.4.1
- lint-staged: 17.0.5 -> 17.0.7
- react-grab: 0.1.37 -> 0.1.44
- vite: 8.0.14 -> 8.0.16
- vue-tsc: 3.3.1 -> 3.3.3
- pnpm: 11.2.2 -> 11.5.0
文档更新
- README.md: 更新 Vue、Vite、Element Plus、Vue Router、Dayjs、pnpm 版本信息
- AGENTS.md: 增加当前模板技术栈基线,方便 AI 协作时快速对齐版本
- pnpm-lock.yaml: 使用 pnpm 11.5.0 重新生成锁文件
注意事项
- 本次升级以 npm registry 当前 latest 版本为准,主要为 patch/minor 版本追平。
- React / Vue 模板均存在 Vite DevTools 相关 peer dependency 提示,原因是部分依赖仍声明
@vitejs/devtools@^0.1.18或vite@^6 || ^7,当前构建验证通过。 - Vue 模板安装时
semver@6.3.1触发 pnpm trust downgrade 检查,已在pnpm-workspace.yaml中通过trustPolicyExclude记录排除项。 - Vue 模板构建时
@vueuse/core产物存在 Rolldown#__PURE__注释位置提示,当前构建验证通过。
