From 8c7750ac3c24e14eac8dafb46779670db3f0b722 Mon Sep 17 00:00:00 2001 From: MK Date: Fri, 26 Jun 2026 21:12:50 +0800 Subject: [PATCH 1/2] Update --- .vite-hooks/pre-commit | 1 + AGENTS.md | 16 + bench/compare-tools.mjs | 2 +- bench/env.d.ts | 5 + bench/package.json | 2 +- bench/vite.ts | 4 +- docs/env.d.ts | 5 + docs/package.json | 2 +- docs/vite.config.ts | 6 +- editors/vscode/package.json | 3 +- examples/jsx-tsx/src/env.d.ts | 5 + examples/oxlint-vize/.oxlintrc.json | 17 - examples/oxlint-vize/package.json | 3 +- examples/oxlint-vize/vite.config.ts | 28 + examples/vite-musea/package.json | 2 +- npm/builder/rspack/example/src/env.d.ts | 5 + npm/builder/rspack/package.json | 3 +- npm/builder/unplugin/package.json | 3 +- npm/builder/unplugin/src/env.d.ts | 5 + npm/builder/vite-musea/package.json | 2 +- npm/builder/vite-musea/src/env.d.ts | 5 + npm/builder/vite/example/package.json | 2 +- npm/builder/vite/example/src/env.d.ts | 5 + npm/builder/vite/package.json | 2 +- npm/cli/package.json | 3 +- npm/cli/src/env.d.ts | 5 + npm/framework/musea-nuxt/package.json | 2 +- npm/framework/musea-nuxt/src/env.d.ts | 5 + npm/framework/nuxt/package.json | 2 +- npm/framework/nuxt/src/env.d.ts | 5 + npm/fresco/examples/sfc-app/package.json | 2 +- npm/fresco/examples/sfc-app/vite.config.ts | 4 +- npm/fresco/package.json | 3 +- npm/mcp-musea/package.json | 3 +- npm/oxint/package.json | 3 +- package.json | 38 +- playground/package.json | 4 +- pnpm-lock.yaml | 3107 +++++++++----------- pnpm-workspace.yaml | 41 +- tests/env.d.ts | 5 + tools/vite-plus/root-build-task-plugin.ts | 2 +- 41 files changed, 1641 insertions(+), 1726 deletions(-) create mode 100755 .vite-hooks/pre-commit create mode 100644 AGENTS.md create mode 100644 bench/env.d.ts create mode 100644 docs/env.d.ts create mode 100644 examples/jsx-tsx/src/env.d.ts delete mode 100644 examples/oxlint-vize/.oxlintrc.json create mode 100644 examples/oxlint-vize/vite.config.ts create mode 100644 npm/builder/rspack/example/src/env.d.ts create mode 100644 npm/builder/unplugin/src/env.d.ts create mode 100644 npm/builder/vite-musea/src/env.d.ts create mode 100644 npm/builder/vite/example/src/env.d.ts create mode 100644 npm/cli/src/env.d.ts create mode 100644 npm/framework/musea-nuxt/src/env.d.ts create mode 100644 npm/framework/nuxt/src/env.d.ts create mode 100644 tests/env.d.ts diff --git a/.vite-hooks/pre-commit b/.vite-hooks/pre-commit new file mode 100755 index 000000000..85fb65b4f --- /dev/null +++ b/.vite-hooks/pre-commit @@ -0,0 +1 @@ +vp staged diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 000000000..362b82a43 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,16 @@ + + +# Using Vite+, the Unified Toolchain for the Web + +This project is using Vite+, a unified toolchain built on top of Vite, Rolldown, Vitest, tsdown, Oxlint, Oxfmt, and Vite Task. Vite+ wraps runtime management, package management, and frontend tooling in a single global CLI called `vp`. Vite+ is distinct from Vite, and it invokes Vite through `vp dev` and `vp build`. Run `vp help` to print a list of commands and `vp --help` for information about a specific command. + +Docs are local at `node_modules/vite-plus/docs` or online at https://viteplus.dev/guide/. + +## Review Checklist + +- [ ] Run `vp install` after pulling remote changes and before getting started. +- [ ] Run `vp check` and `vp test` to format, lint, type check and test changes. +- [ ] Check if there are `vite.config.ts` tasks or `package.json` scripts necessary for validation, run via `vp run