diff --git a/nyuchi-docs-mcp-worker/package.json b/nyuchi-docs-mcp-worker/package.json index 8bb6dad..147f3c9 100644 --- a/nyuchi-docs-mcp-worker/package.json +++ b/nyuchi-docs-mcp-worker/package.json @@ -20,7 +20,7 @@ "@cloudflare/vite-plugin": "^1.54.2", "@cloudflare/workers-types": "^5.20260830.1", "typescript": "^7.0.2", - "vite": "^7.3.6", + "vite": "^8.2.2", "vite-plus": "^0.3.0", "vitest": "^4.1.11", "wrangler": "^4.127.1" diff --git a/nyuchi-docs-mcp-worker/vite.config.ts b/nyuchi-docs-mcp-worker/vite.config.ts index f5849fc..ac29cb5 100644 --- a/nyuchi-docs-mcp-worker/vite.config.ts +++ b/nyuchi-docs-mcp-worker/vite.config.ts @@ -14,8 +14,20 @@ import { defineConfig } from "vite-plus"; import { cloudflare } from "@cloudflare/vite-plugin"; +// @ts-expect-error TS2321: comparing this config against vite-plus's UserConfig +// exceeds TS's structural-comparison depth. Root cause: cloudflare() returns +// Plugin[] typed against the raw `vite` package, while vite-plus vendors its +// own independently-declared (structurally near-identical, nominally distinct) +// Plugin type via @voidzero-dev/vite-plus-core — comparing two large, deeply +// generic hook interfaces from different packages is exactly what exceeds +// TS's depth limit. Confirmed harmless at runtime: vite-plus's plugin +// pipeline accepts real vite.Plugin objects regardless of which package +// declared the type. Revisit if vite-plus's vendored core types converge with +// vite 8's Plugin shape. export default defineConfig({ - plugins: [cloudflare()], + // Spread, not nest: cloudflare() already returns Plugin[]; nesting it as + // `[cloudflare()]` would produce Plugin[][] on top of the issue above. + plugins: [...cloudflare()], // Type checking is OPT-IN in Vite+. Without these two lines `vp check` runs // oxlint only and reports "pass" on `const x: number = "nope"` — verified // against tsc, which flags TS2322 on that exact line. Adopting the unified diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 36d1fdf..6219b84 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -44,7 +44,7 @@ importers: devDependencies: '@cloudflare/vite-plugin': specifier: ^1.54.2 - version: 1.54.2(@types/node@24.13.3)(vite@7.3.6(@types/node@24.13.3)(lightningcss@1.33.0)(tsx@4.22.3))(wrangler@4.127.1(@cloudflare/workers-types@5.20260830.1)(@types/node@24.13.3)) + version: 1.54.2(@types/node@24.13.3)(vite@8.2.2(@types/node@24.13.3)(esbuild@0.28.2)(tsx@4.22.3))(wrangler@4.127.1(@cloudflare/workers-types@5.20260830.1)(@types/node@24.13.3)) '@cloudflare/workers-types': specifier: ^5.20260830.1 version: 5.20260830.1 @@ -52,14 +52,14 @@ importers: specifier: ^6.0.0 version: 6.0.3 vite: - specifier: ^7.3.6 - version: 7.3.6(@types/node@24.13.3)(lightningcss@1.33.0)(tsx@4.22.3) + specifier: ^8.2.2 + version: 8.2.2(@types/node@24.13.3)(esbuild@0.28.2)(tsx@4.22.3) vite-plus: specifier: ^0.3.0 - version: 0.3.0(@types/node@24.13.3)(esbuild@0.28.2)(jsdom@30.0.1)(publint@0.3.24)(svelte@5.57.0)(tsx@4.22.3)(typescript@6.0.3)(vite@7.3.6(@types/node@24.13.3)(lightningcss@1.33.0)(tsx@4.22.3)) + version: 0.3.0(@types/node@24.13.3)(esbuild@0.28.2)(jsdom@30.0.1)(publint@0.3.24)(svelte@5.57.0)(tsx@4.22.3)(typescript@6.0.3)(vite@8.2.2(@types/node@24.13.3)(esbuild@0.28.2)(tsx@4.22.3)) vitest: specifier: ^4.1.11 - version: 4.1.11(@types/node@24.13.3)(@vitest/browser-preview@4.1.11)(jsdom@30.0.1)(vite@7.3.6(@types/node@24.13.3)(lightningcss@1.33.0)(tsx@4.22.3)) + version: 4.1.11(@types/node@24.13.3)(@vitest/browser-preview@4.1.11)(jsdom@30.0.1)(vite@8.2.2(@types/node@24.13.3)(esbuild@0.28.2)(tsx@4.22.3)) wrangler: specifier: ^4.127.1 version: 4.127.1(@cloudflare/workers-types@5.20260830.1)(@types/node@24.13.3) @@ -116,7 +116,7 @@ importers: devDependencies: '@cloudflare/vite-plugin': specifier: ^1.54.2 - version: 1.54.2(@types/node@24.13.3)(vite@7.3.6(@types/node@24.13.3)(lightningcss@1.33.0)(tsx@4.22.3))(wrangler@4.127.1(@cloudflare/workers-types@5.20260830.1)(@types/node@24.13.3)) + version: 1.54.2(@types/node@24.13.3)(vite@8.2.2(@types/node@24.13.3)(esbuild@0.28.2)(tsx@4.22.3))(wrangler@4.127.1(@cloudflare/workers-types@5.20260830.1)(@types/node@24.13.3)) '@cloudflare/workers-types': specifier: ^5.20260830.1 version: 5.20260830.1 @@ -124,14 +124,14 @@ importers: specifier: ^6.0.0 version: 6.0.3 vite: - specifier: ^7.3.6 - version: 7.3.6(@types/node@24.13.3)(lightningcss@1.33.0)(tsx@4.22.3) + specifier: ^8.2.2 + version: 8.2.2(@types/node@24.13.3)(esbuild@0.28.2)(tsx@4.22.3) vite-plus: specifier: ^0.3.0 - version: 0.3.0(@types/node@24.13.3)(esbuild@0.28.2)(jsdom@30.0.1)(publint@0.3.24)(svelte@5.57.0)(tsx@4.22.3)(typescript@6.0.3)(vite@7.3.6(@types/node@24.13.3)(lightningcss@1.33.0)(tsx@4.22.3)) + version: 0.3.0(@types/node@24.13.3)(esbuild@0.28.2)(jsdom@30.0.1)(publint@0.3.24)(svelte@5.57.0)(tsx@4.22.3)(typescript@6.0.3)(vite@8.2.2(@types/node@24.13.3)(esbuild@0.28.2)(tsx@4.22.3)) vitest: specifier: ^4.1.11 - version: 4.1.11(@types/node@24.13.3)(@vitest/browser-preview@4.1.11)(jsdom@30.0.1)(vite@7.3.6(@types/node@24.13.3)(lightningcss@1.33.0)(tsx@4.22.3)) + version: 4.1.11(@types/node@24.13.3)(@vitest/browser-preview@4.1.11)(jsdom@30.0.1)(vite@8.2.2(@types/node@24.13.3)(esbuild@0.28.2)(tsx@4.22.3)) wrangler: specifier: ^4.127.1 version: 4.127.1(@cloudflare/workers-types@5.20260830.1)(@types/node@24.13.3) @@ -1103,13 +1103,6 @@ packages: '@mdx-js/mdx@3.1.1': resolution: {integrity: sha512-f6ZO2ifpwAQIpzGWaBQT2TXxPv6z3RBzQKpVftEWN78Vl/YweF1uwussDx8ECAXVtr3Rs89fKyG9YlzUs9DyGQ==} - '@napi-rs/lzma-linux-x64-gnu@1.5.1': - resolution: {integrity: sha512-oTXEIha4SsuXdTA4Iyskj0kpdx2yVXdhd75c2v3xGrHFfVMsbhTPZU/nMPL4sWKo4pBHm3aucLaqGlF696dTyQ==} - engines: {node: ^22.20 || ^24.12 || >=25} - cpu: [x64] - os: [linux] - libc: [glibc] - '@napi-rs/wasm-runtime@1.2.3': resolution: {integrity: sha512-UMduMbqO5s5zF2NkNacMT/yK5Y5QiKvWr2+50bzIIxFDwVJ2h49b+oyjaCGPhJxd2/gC2x39EHv/gHVuu36x2Q==} engines: {node: ^20.19.0 || ^22.13.0 || >=23.5.0} @@ -1127,6 +1120,9 @@ packages: '@oxc-project/types@0.146.0': resolution: {integrity: sha512-XC0QsnnhVe7sLIWmYmdPw7x5P0h4W8vUU3Nv1ySgWXtvCz8NizoAEpGXA0sOYoJQV2Rl13LgURAHQ5cI5ILCSA==} + '@oxc-project/types@0.148.0': + resolution: {integrity: sha512-Nm4s/jB+4FpFsPhWGEC4h7rzksesmtnMXomo6rCMcg/b8zLQuOziRgkCS1fxDCXOlJB/6Q8oABOZ/OP6RIPj9A==} + '@oxfmt/binding-android-arm-eabi@0.64.0': resolution: {integrity: sha512-o6uzh/jTOQeAY5TdkAeXdqv7MBRcPxiRA08zrcBtkKj5cSu/FMu0Hl7Q6Fi1KCKyCWZ6lJVjBzdsJvsKltUsGQ==} engines: {node: ^20.19.0 || >=22.12.0} @@ -1459,98 +1455,98 @@ packages: resolution: {integrity: sha512-4EDEmvxWtgsCnnVeBvtFIFZtUhPPt1+bA9JrSwU4Sa//6oKtzCSlGGXYJr44OD9aGISymbieJ4mCKHUygUDU+g==} engines: {node: '>=18'} - '@rolldown/binding-android-arm-eabi@1.2.5': - resolution: {integrity: sha512-DLe/i+l8ynIBY7XEQ191TeZvCoowIGa18R+dIV30GW7DiOtp74i/xX8hs8GUjW5ARV7VZuie3d6AumSmCwbeRA==} + '@rolldown/binding-android-arm-eabi@1.2.7': + resolution: {integrity: sha512-EypzgnYCwyVY4NDHKzGmNJT5b+XaQEBniHxsMdeIQLB/tcCzZnhqrzHpZFbX9iaxx+5RiB8caATBtfvZP7zVxQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [android] - '@rolldown/binding-android-arm64@1.2.5': - resolution: {integrity: sha512-zXcwKlQApYAOELHd8PwKDFkagYF9Wy4e0RJ+0qnzl9Pjnpj75TEG8ufv40p2J7kCEfwZAsNiuzRIyNNMWT38ig==} + '@rolldown/binding-android-arm64@1.2.7': + resolution: {integrity: sha512-l17HE9EweWaqJZhuUuNBN/FzM62xw+DECVnJyvMsxn8vJFAGLy5QfLDoYAcronkAN8VxKZHezDpulHDPx95vFw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [android] - '@rolldown/binding-darwin-arm64@1.2.5': - resolution: {integrity: sha512-dK4QakI42nzWgJT5sm4y4y/O//D4OxM75/cH28RLV+nzIN9AY+YsbuUVrUTjlLjXR6vpyxFbSsbmNuJ6BP9sww==} + '@rolldown/binding-darwin-arm64@1.2.7': + resolution: {integrity: sha512-8ED8ELFvHXc6OCETIn4gXObPiaR6bckM/ipXtbzlPVDRMBfEGjCKgO90F9YtfdpDatVx/ZQw7aZ1vUMf/+T3Mw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [darwin] - '@rolldown/binding-darwin-x64@1.2.5': - resolution: {integrity: sha512-fqSALaUu1Wjd1nK2uW2kJDWdLCc8lx1IcY+MTY26Aurfdx19anlzhqXOgCFbBFQnlFDTn4TC1/7Nz4Bl2mLP3A==} + '@rolldown/binding-darwin-x64@1.2.7': + resolution: {integrity: sha512-/WPripjtiAIZ2tWY7ddijORT0Ujg87wxWW/qcoFVCKAWVDPhtY0xr7Dj0M3GyNGz60jGwTElhro/mkF9dT7dDQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [darwin] - '@rolldown/binding-freebsd-x64@1.2.5': - resolution: {integrity: sha512-/vCnNxlkxs9tKxNDcyWUePpJ/PgTzxIaVhoM5SmG8UV+GR/IcPam4VYxi7GIMo7PSDuNqlJqvprqii9NqqVCMw==} + '@rolldown/binding-freebsd-x64@1.2.7': + resolution: {integrity: sha512-14DI4NcqpvbICxSnGLx3PmtDaWqRP/KGSGb6C+JLLVPeZRl6dKdHba3pGsqT3vpdTqhEYIPG0MMQ8c0xYqoJxA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [freebsd] - '@rolldown/binding-linux-arm-gnueabihf@1.2.5': - resolution: {integrity: sha512-abk0NLA519LxRCszmbE0jYKuQ9YPocOXTiOXOo6Yr+YAT95VH+PtqYAjOJvGKt3viEd/x4qzabAlwd5bHOOARg==} + '@rolldown/binding-linux-arm-gnueabihf@1.2.7': + resolution: {integrity: sha512-bxrWIRvHWQvbJwi+VIie/kDJmQxcNE6xxWwZdqF/ExVAigtHkv54WTLQPb+QsZdnFy18fg7JPfWGL0RH6vwIlQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [linux] - '@rolldown/binding-linux-arm64-gnu@1.2.5': - resolution: {integrity: sha512-Y7eALiJ8lr0M2HH103Js+g7V34wf6snlpZLAsHI90uLhr3PVlNsbFVAXJC9d/V6BnPyKtpSwI+NcB/RLxsQxuA==} + '@rolldown/binding-linux-arm64-gnu@1.2.7': + resolution: {integrity: sha512-toOY2BChBZyuxU7OYX6Tn389di4IzAqPTycVcci0O7FSfBqzRB3RZn+K5Is6ANf4tmgRd/K1yZTsNTXbkXsnLg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] libc: [glibc] - '@rolldown/binding-linux-arm64-musl@1.2.5': - resolution: {integrity: sha512-xMvZgnbZg4YVnR/AX2b3oOPDTFYJvUVaJg5FedA/LuvexAtXibZQej4cnTkw3rjsJ/ggUROB64TdtETiim+FYA==} + '@rolldown/binding-linux-arm64-musl@1.2.7': + resolution: {integrity: sha512-lAIXTH/aiLRLxsTgQvfhjo4K1ydWIp00+V0voOr9beb/9ZmkUFrSIb03dXNFRgMNvkE6oGsF10ioQ6UsI+vS5Q==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] libc: [musl] - '@rolldown/binding-linux-ppc64-gnu@1.2.5': - resolution: {integrity: sha512-GRjeqTUDHTo5GwntsLaAMcBahG3nlpjftXWZLN73HiYQlhwEowvarFgQnRnQZtIp4keXX7quXFbG38uPZBa2EA==} + '@rolldown/binding-linux-ppc64-gnu@1.2.7': + resolution: {integrity: sha512-kdnwS28Pkenp/mZMRwjXXXwxQ7pIsm+bF919LUK93BOyhcLsrVKdP2p9fxpiPNPAbNuch8ypQt0pm2P2LYCAGg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [ppc64] os: [linux] libc: [glibc] - '@rolldown/binding-linux-s390x-gnu@1.2.5': - resolution: {integrity: sha512-vLNTR45F2Uwc8AufkNXPmB4VliaXs+FvcheEogIzOXzO4l+LzieXF5A/TWxLy5HtqpsRCHUfd0lPVrrdgXdLHQ==} + '@rolldown/binding-linux-s390x-gnu@1.2.7': + resolution: {integrity: sha512-516OdsyLdr5E65paF3yBF55t8mfm9+gmtCsK3xI7XKXIT7EfRlHhxL8K/NR6Hu8BWSgF5+1w74lTL0+nxcc8Qw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [s390x] os: [linux] libc: [glibc] - '@rolldown/binding-linux-x64-gnu@1.2.5': - resolution: {integrity: sha512-Mgj59/HTuYeK9Gz2MA+mBWKnHsAgkBSec15ZMb1st3oIfFbX7gCjOae7GydHhzcyQi9Z/7M1QuN9bR3oFqF0jQ==} + '@rolldown/binding-linux-x64-gnu@1.2.7': + resolution: {integrity: sha512-r8/z8n7GFaYRln3xmP1Cxy0HH/HLM0uBUPkEuSVEfKGDA89M0FsZRZJRSwe/tJjRx+fpH/gjorfhB8tmEbSFLA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] libc: [glibc] - '@rolldown/binding-linux-x64-musl@1.2.5': - resolution: {integrity: sha512-mY8AP0/ichsbhAxGnLa3d3+MwV0EfgrPND2bplI3Ym8T6R2pJ0N87bvrKVwNXmdy3jnr6eQBecdqx/HMknBmpA==} + '@rolldown/binding-linux-x64-musl@1.2.7': + resolution: {integrity: sha512-pAsE8iiDxUg1xBqdhrTfg45AVDVpirjz00sblEYClGNNcMnDb+e8beQgqIAw6LvauX/APvgxUnwrgun/YYGBhw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] libc: [musl] - '@rolldown/binding-openharmony-arm64@1.2.5': - resolution: {integrity: sha512-8SLssA2oweAxyRgDp789ACfRb/3P+zNRJpzZxSizxF9m8NUDQ4+3xjo8ttjhVGGw6Qxb70oZiEtIjaKikCO7Yw==} + '@rolldown/binding-openharmony-arm64@1.2.7': + resolution: {integrity: sha512-lTcIYmmnQQA8Or/2DatS6oSqcdLHvendjS+zLu+FwgToynWMRSmQdpM65fTANJgIS4mjbMOo5KT2lnT9SAb96w==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [openharmony] - '@rolldown/binding-win32-arm64-msvc@1.2.5': - resolution: {integrity: sha512-vGbruD5zquhoc8D9SViXgN2FBJtNdTyQ4DtG+SWiEGlJiAzoKcZ2xp+xuXCffhubVdt0NJlTZqkeRuERy7g8Cw==} + '@rolldown/binding-win32-arm64-msvc@1.2.7': + resolution: {integrity: sha512-e3Gu3WxbNk/UqQhxqU7YIYO+9ZBvWNz3U+h/qRFosscMFzdRPbXYSaSWgSnklv2fz1TgzBTcti2z35c/7irsHw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [win32] - '@rolldown/binding-win32-x64-msvc@1.2.5': - resolution: {integrity: sha512-e/SXpgISz+IoqVcSSI0rx/d/he8zqLex+/rCWpnHpmVfmPIUjag9H6P7zotf0gJHwPUhQxZ/mF8tr6acebT9yw==} + '@rolldown/binding-win32-x64-msvc@1.2.7': + resolution: {integrity: sha512-W/jg5qoRSqjsEv0+dZi4e687mcHqmVuU0P4fK6qS/xjetW2Gmc1W8j//z5nAeNcC8Ttm0hV46IjcYeuVwYhuiw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [win32] @@ -1558,144 +1554,6 @@ packages: '@rolldown/pluginutils@1.0.1': resolution: {integrity: sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw==} - '@rollup/rollup-android-arm-eabi@4.63.0': - resolution: {integrity: sha512-70TeIFezKKy65LgAVyQh+w94/gjWhvPWaLaGGeMEgVrPkQhuj/M5bAYYZzIFUj9Y69oHyTm5Um/R6gcLh4A8JA==} - cpu: [arm] - os: [android] - - '@rollup/rollup-android-arm64@4.63.0': - resolution: {integrity: sha512-YC86tYIHK6M1IV+wbzO+Bxk8RCBr6ZyWYgWxUCzaZD8mc8rrFoIJDNzDrkHBYRc/wKdrsIXmm6/F7NzrAO+OrA==} - cpu: [arm64] - os: [android] - - '@rollup/rollup-darwin-arm64@4.63.0': - resolution: {integrity: sha512-oI+ECtUcli0y0fi4xpW82GdPIXdTkI8G8DSjG2LRuw09fPAGykaWYH/hXxiKuTxiAjiPSTIIuYUqof5Z2hShWw==} - cpu: [arm64] - os: [darwin] - - '@rollup/rollup-darwin-x64@4.63.0': - resolution: {integrity: sha512-NwV+1s7TiKrMe4owHyKB/dTLD7ZJD0YEBEhIz+hvav1Cu1GReJjF+rsdNwjzENQeIAbE/CoNiaAc5Vz2h5DPAA==} - cpu: [x64] - os: [darwin] - - '@rollup/rollup-freebsd-arm64@4.63.0': - resolution: {integrity: sha512-tWtHBTu5gOPK4u4Urtk4qAHW3zZ9rQAmbssO8gp7ELvGTGI3aCiq6NqyTQ0PCIg7KbHJF2UkGDDs77YZGxfjCA==} - cpu: [arm64] - os: [freebsd] - - '@rollup/rollup-freebsd-x64@4.63.0': - resolution: {integrity: sha512-2qPoJiwTvtHQ27NnYvTnsgk8laXWYuVmNESG8WFZBcEPKLfZ3I27qBJarjVRQtwGeYyRfq5ZowHXih9lm2BItw==} - cpu: [x64] - os: [freebsd] - - '@rollup/rollup-linux-arm-gnueabihf@4.63.0': - resolution: {integrity: sha512-FQwsTRvLNuHoTdICABJQfbPUSEueISGmnpT06tXTMpfprf5NiKLSXKA0A+w45wJnCmZAnzgqBwbt6ARFuyOi5w==} - cpu: [arm] - os: [linux] - libc: [glibc] - - '@rollup/rollup-linux-arm-musleabihf@4.63.0': - resolution: {integrity: sha512-BBVTXziw8mY1a4ZbWME9tZyfzqXCDPqaC7Z3heQ29p5dkvXzwL0NwelO8zLa8c3RBKvl3YTuSnBgsBhYBtwjIw==} - cpu: [arm] - os: [linux] - libc: [musl] - - '@rollup/rollup-linux-arm64-gnu@4.63.0': - resolution: {integrity: sha512-w2Iyy9+RqKwx3d9qWMKsJg0FfRBsY0/pXNv0mCQ3ueRvJI6+QAScfD4nrMlzFLs2HNVW6Ew+mtZfDl9b7Ew5/Q==} - cpu: [arm64] - os: [linux] - libc: [glibc] - - '@rollup/rollup-linux-arm64-musl@4.63.0': - resolution: {integrity: sha512-YK++KtrFRHYE0P6/RtYEAy9t8F37znP+K03RrIuLPYOL6SVlObRumf/0OE4V/h63xL9DwkWbNssZfmA9hawuDA==} - cpu: [arm64] - os: [linux] - libc: [musl] - - '@rollup/rollup-linux-loong64-gnu@4.63.0': - resolution: {integrity: sha512-aBfOG6fP7YkkPmTqPwufRJeFyz7WPpECv9XNbnsk9+vg7rxdih0lbtEel7jcRng4LZrrmU3FfitCFyEj4BWDWg==} - cpu: [loong64] - os: [linux] - libc: [glibc] - - '@rollup/rollup-linux-loong64-musl@4.63.0': - resolution: {integrity: sha512-LGaHEOeHNAag9VuS1Crs5DFg4RrU9MPi2nVnNJk9DTePx/B6RRYKVmrIXt2h7YOJlwjaFJ6lwtFDliZxScTLrQ==} - cpu: [loong64] - os: [linux] - libc: [musl] - - '@rollup/rollup-linux-ppc64-gnu@4.63.0': - resolution: {integrity: sha512-jClvk+J0FC3b7Udvegiw5/4hErbHtmsNsQgENnKXDWtNCJXsJYZH5WURvu7imDOO38xYml24eeh5x3A04ppwCw==} - cpu: [ppc64] - os: [linux] - libc: [glibc] - - '@rollup/rollup-linux-ppc64-musl@4.63.0': - resolution: {integrity: sha512-0OJlaGK+8+B777Ql5okIpD7ua5Ro9+VB9Ve0OKa28OQJZ1RbuUBVNHK/e3pr4BROqsyPl1JrPO1ZxJseCNffcA==} - cpu: [ppc64] - os: [linux] - libc: [musl] - - '@rollup/rollup-linux-riscv64-gnu@4.63.0': - resolution: {integrity: sha512-Ygsx+HoNH7afwi1bTIXbnTvVnsO+zurPLSYxybV1hHFVU72OWOCl6v05ql/z0hkpAPx+DK7Kn9Bi7MayCcjLTA==} - cpu: [riscv64] - os: [linux] - libc: [glibc] - - '@rollup/rollup-linux-riscv64-musl@4.63.0': - resolution: {integrity: sha512-pDQxtMGb+OvG3fLwR2OkZlSd47hW+kWg4BYMG/++sR6RqorQccwPTDsxda5hPwiIeIErAnCF9ma3SAU06bdQtQ==} - cpu: [riscv64] - os: [linux] - libc: [musl] - - '@rollup/rollup-linux-s390x-gnu@4.63.0': - resolution: {integrity: sha512-0BnUG9mS8I4SSHr3XsxVhuCMEiu+rX61xxZF5vujso4LaiAGFZFxvDjg6Xn6tLPNTUAfuCvQYas4LMQMVsKRSQ==} - cpu: [s390x] - os: [linux] - libc: [glibc] - - '@rollup/rollup-linux-x64-gnu@4.63.0': - resolution: {integrity: sha512-Adu/VttB1dpPNW+FEacrZ+xVm9tFty84+RrFzsqlFaPxoJB+9XXyDGtp5dCOoBwGBIEVH0To7lExFXEx0BIF4A==} - cpu: [x64] - os: [linux] - libc: [glibc] - - '@rollup/rollup-linux-x64-musl@4.63.0': - resolution: {integrity: sha512-NQ3bDvjUbFKmP23671xUlXtKmqVsUBd6M4PQCvbmNtOy06hnQIdKHy8oG/6S3R/S6He1JgPk6A5VT+prAJMYEw==} - cpu: [x64] - os: [linux] - libc: [musl] - - '@rollup/rollup-openbsd-x64@4.63.0': - resolution: {integrity: sha512-u2eDAl4+0aFvA13GxlGBtTI3SS3sdgwgtV0HyjZ0QaQVCgNE+jqNGey+GtxWiq+wxr/UycAx/OnfJzApCFamvA==} - cpu: [x64] - os: [openbsd] - - '@rollup/rollup-openharmony-arm64@4.63.0': - resolution: {integrity: sha512-XvRb5vfW3wAZQ+ZUG21AnHHDKtNcw99eigzEhjr//NZ3u7SoBaPP0seSc7FgP7p1epAEdAoZckMW9WY/+4w70w==} - cpu: [arm64] - os: [openharmony] - - '@rollup/rollup-win32-arm64-msvc@4.63.0': - resolution: {integrity: sha512-iZPmniy4kNBf5yo2RezbkYNNK5HPbXE9+g+twnbqSng7dtLEJy1SKoxiE/ni4FDacjyuZpEeb9U054N4EoKHYw==} - cpu: [arm64] - os: [win32] - - '@rollup/rollup-win32-ia32-msvc@4.63.0': - resolution: {integrity: sha512-mFBBd+LF37fnE8JnYUOH+imj0aPFPK30vpar4ehJkgnLj9sZn8ZxiRENmLtgIwxK7TC8klF6N57fxdNBwQoqOA==} - cpu: [ia32] - os: [win32] - - '@rollup/rollup-win32-x64-gnu@4.63.0': - resolution: {integrity: sha512-ujeqEY3B+zbGn3Z4Q03cUBG/LGWnBJncVT36WER31LcOsQk9+1dmINKKtvmmfChUvRbK1G0R8OhMWFgHgaZtAw==} - cpu: [x64] - os: [win32] - - '@rollup/rollup-win32-x64-msvc@4.63.0': - resolution: {integrity: sha512-hncn90N4sOky0L2LKE5oESKLbxCPeVo4eLA2LSMoDzM+879ml4WSr+Rr4DWknNIVVvS1Hirkc9hx02W6YxS8rQ==} - cpu: [x64] - os: [win32] - '@shikijs/core@4.4.3': resolution: {integrity: sha512-QCR4q2ZO/ILJEuwiBMel4wdcTDb1JGwfjKTxPDF6x8ixOaluPrVqIn06C99AcRPhmYlBR56d/Fb+GN58GzExpg==} engines: {node: '>=20'} @@ -3290,16 +3148,11 @@ packages: retext@9.0.0: resolution: {integrity: sha512-sbMDcpHCNjvlheSgMfEcVrZko3cDzdbe1x/e7G66dFp0Ff7Mldvi2uv6JkJQzdRcvLYE8CA8Oe8siQx8ZOgTcA==} - rolldown@1.2.5: - resolution: {integrity: sha512-VD2IE5PUG4Oj8zz2VGykiYd5wbnjdIiSsNQb8Qu5B+noEp+A78mu2iVvpp27g8es14Tk9rofNs5Tku9iQCS4fA==} + rolldown@1.2.7: + resolution: {integrity: sha512-g0EtLvBjTUB7jhyV0S/TCup3v/XSVl45vUIGbOGU4QPiyjTenCe4mKuFvW9fEgYmS2Fo42AUssRmNuMziXdrig==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true - rollup@4.63.0: - resolution: {integrity: sha512-T5vnZ2y4QqC3/4P+w2+JO+Q/OVdnPsv4XcSYJYMEn0R9/jjl5AgLwO9LAZMzP2lN71O6pypn91rB7lDstUkfrQ==} - engines: {node: '>=18.0.0', npm: '>=8.0.0'} - hasBin: true - sade@1.8.1: resolution: {integrity: sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==} engines: {node: '>=6'} @@ -3644,46 +3497,6 @@ packages: '@vitest/browser-webdriverio': optional: true - vite@7.3.6: - resolution: {integrity: sha512-4XP60spRGjSZFf1qYH+dJIkK2znL3zQfl9KkOV9MkkRR/3Dls0dxaBsQPTloEc5BLXWPL9vsOxopxyKoMmDueg==} - engines: {node: ^20.19.0 || >=22.12.0} - hasBin: true - peerDependencies: - '@types/node': ^20.19.0 || >=22.12.0 - jiti: '>=1.21.0' - less: ^4.0.0 - lightningcss: ^1.21.0 - sass: ^1.70.0 - sass-embedded: ^1.70.0 - stylus: '>=0.54.8' - sugarss: ^5.0.0 - terser: ^5.16.0 - tsx: ^4.8.1 - yaml: ^2.4.2 - peerDependenciesMeta: - '@types/node': - optional: true - jiti: - optional: true - less: - optional: true - lightningcss: - optional: true - sass: - optional: true - sass-embedded: - optional: true - stylus: - optional: true - sugarss: - optional: true - terser: - optional: true - tsx: - optional: true - yaml: - optional: true - vite@8.2.2: resolution: {integrity: sha512-cFKLV/PRgAUlIRm5WjMjJ86jrftzpqcgH+Us+DS8mI3CDNiH30Whrz8uHL3+MOLPAgqbMBAqWdAHAphOAM+z/Q==} engines: {node: ^20.19.0 || >=22.12.0} @@ -4353,12 +4166,12 @@ snapshots: optionalDependencies: workerd: 1.20260828.1 - '@cloudflare/vite-plugin@1.54.2(@types/node@24.13.3)(vite@7.3.6(@types/node@24.13.3)(lightningcss@1.33.0)(tsx@4.22.3))(wrangler@4.127.1(@cloudflare/workers-types@5.20260830.1)(@types/node@24.13.3))': + '@cloudflare/vite-plugin@1.54.2(@types/node@24.13.3)(vite@8.2.2(@types/node@24.13.3)(esbuild@0.28.2)(tsx@4.22.3))(wrangler@4.127.1(@cloudflare/workers-types@5.20260830.1)(@types/node@24.13.3))': dependencies: '@cloudflare/unenv-preset': 2.16.1(unenv@2.0.0-rc.24)(workerd@1.20260828.1) miniflare: 5.20260828.0-alpha(@types/node@24.13.3) unenv: 2.0.0-rc.24 - vite: 7.3.6(@types/node@24.13.3)(lightningcss@1.33.0)(tsx@4.22.3) + vite: 8.2.2(@types/node@24.13.3)(esbuild@0.28.2)(tsx@4.22.3) workerd: 1.20260828.1 wrangler: 4.127.1(@cloudflare/workers-types@5.20260830.1)(@types/node@24.13.3) ws: 8.21.0 @@ -4780,9 +4593,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@napi-rs/lzma-linux-x64-gnu@1.5.1': - optional: true - '@napi-rs/wasm-runtime@1.2.3(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)': dependencies: '@emnapi/core': 1.11.1 @@ -4803,6 +4613,8 @@ snapshots: '@oxc-project/types@0.146.0': {} + '@oxc-project/types@0.148.0': {} + '@oxfmt/binding-android-arm-eabi@0.64.0': optional: true @@ -4978,128 +4790,53 @@ snapshots: dependencies: tinyexec: 1.3.0 - '@rolldown/binding-android-arm-eabi@1.2.5': + '@rolldown/binding-android-arm-eabi@1.2.7': optional: true - '@rolldown/binding-android-arm64@1.2.5': + '@rolldown/binding-android-arm64@1.2.7': optional: true - '@rolldown/binding-darwin-arm64@1.2.5': + '@rolldown/binding-darwin-arm64@1.2.7': optional: true - '@rolldown/binding-darwin-x64@1.2.5': + '@rolldown/binding-darwin-x64@1.2.7': optional: true - '@rolldown/binding-freebsd-x64@1.2.5': + '@rolldown/binding-freebsd-x64@1.2.7': optional: true - '@rolldown/binding-linux-arm-gnueabihf@1.2.5': + '@rolldown/binding-linux-arm-gnueabihf@1.2.7': optional: true - '@rolldown/binding-linux-arm64-gnu@1.2.5': + '@rolldown/binding-linux-arm64-gnu@1.2.7': optional: true - '@rolldown/binding-linux-arm64-musl@1.2.5': + '@rolldown/binding-linux-arm64-musl@1.2.7': optional: true - '@rolldown/binding-linux-ppc64-gnu@1.2.5': + '@rolldown/binding-linux-ppc64-gnu@1.2.7': optional: true - '@rolldown/binding-linux-s390x-gnu@1.2.5': + '@rolldown/binding-linux-s390x-gnu@1.2.7': optional: true - '@rolldown/binding-linux-x64-gnu@1.2.5': + '@rolldown/binding-linux-x64-gnu@1.2.7': optional: true - '@rolldown/binding-linux-x64-musl@1.2.5': + '@rolldown/binding-linux-x64-musl@1.2.7': optional: true - '@rolldown/binding-openharmony-arm64@1.2.5': + '@rolldown/binding-openharmony-arm64@1.2.7': optional: true - '@rolldown/binding-win32-arm64-msvc@1.2.5': + '@rolldown/binding-win32-arm64-msvc@1.2.7': optional: true - '@rolldown/binding-win32-x64-msvc@1.2.5': + '@rolldown/binding-win32-x64-msvc@1.2.7': optional: true '@rolldown/pluginutils@1.0.1': {} - '@rollup/rollup-android-arm-eabi@4.63.0': - optional: true - - '@rollup/rollup-android-arm64@4.63.0': - optional: true - - '@rollup/rollup-darwin-arm64@4.63.0': - optional: true - - '@rollup/rollup-darwin-x64@4.63.0': - optional: true - - '@rollup/rollup-freebsd-arm64@4.63.0': - optional: true - - '@rollup/rollup-freebsd-x64@4.63.0': - optional: true - - '@rollup/rollup-linux-arm-gnueabihf@4.63.0': - optional: true - - '@rollup/rollup-linux-arm-musleabihf@4.63.0': - optional: true - - '@rollup/rollup-linux-arm64-gnu@4.63.0': - optional: true - - '@rollup/rollup-linux-arm64-musl@4.63.0': - optional: true - - '@rollup/rollup-linux-loong64-gnu@4.63.0': - optional: true - - '@rollup/rollup-linux-loong64-musl@4.63.0': - optional: true - - '@rollup/rollup-linux-ppc64-gnu@4.63.0': - optional: true - - '@rollup/rollup-linux-ppc64-musl@4.63.0': - optional: true - - '@rollup/rollup-linux-riscv64-gnu@4.63.0': - optional: true - - '@rollup/rollup-linux-riscv64-musl@4.63.0': - optional: true - - '@rollup/rollup-linux-s390x-gnu@4.63.0': - optional: true - - '@rollup/rollup-linux-x64-gnu@4.63.0': - optional: true - - '@rollup/rollup-linux-x64-musl@4.63.0': - optional: true - - '@rollup/rollup-openbsd-x64@4.63.0': - optional: true - - '@rollup/rollup-openharmony-arm64@4.63.0': - optional: true - - '@rollup/rollup-win32-arm64-msvc@4.63.0': - optional: true - - '@rollup/rollup-win32-ia32-msvc@4.63.0': - optional: true - - '@rollup/rollup-win32-x64-gnu@4.63.0': - optional: true - - '@rollup/rollup-win32-x64-msvc@4.63.0': - optional: true - '@shikijs/core@4.4.3': dependencies: '@shikijs/primitive': 4.4.3 @@ -5290,18 +5027,6 @@ snapshots: '@ungap/structured-clone@1.4.0': {} - '@vitest/browser-preview@4.1.11(vite@7.3.6(@types/node@24.13.3)(lightningcss@1.33.0)(tsx@4.22.3))(vitest@4.1.11)': - dependencies: - '@testing-library/dom': 10.4.1 - '@testing-library/user-event': 14.6.6(@testing-library/dom@10.4.1) - '@vitest/browser': 4.1.11(vite@7.3.6(@types/node@24.13.3)(lightningcss@1.33.0)(tsx@4.22.3))(vitest@4.1.11) - vitest: 4.1.11(@types/node@24.13.3)(@vitest/browser-preview@4.1.11)(jsdom@30.0.1)(vite@7.3.6(@types/node@24.13.3)(lightningcss@1.33.0)(tsx@4.22.3)) - transitivePeerDependencies: - - bufferutil - - msw - - utf-8-validate - - vite - '@vitest/browser-preview@4.1.11(vite@8.2.2(@types/node@24.13.3)(esbuild@0.28.2)(tsx@4.22.3))(vitest@4.1.11)': dependencies: '@testing-library/dom': 10.4.1 @@ -5314,23 +5039,6 @@ snapshots: - utf-8-validate - vite - '@vitest/browser@4.1.11(vite@7.3.6(@types/node@24.13.3)(lightningcss@1.33.0)(tsx@4.22.3))(vitest@4.1.11)': - dependencies: - '@blazediff/core': 1.9.1 - '@vitest/mocker': 4.1.11(vite@7.3.6(@types/node@24.13.3)(lightningcss@1.33.0)(tsx@4.22.3)) - '@vitest/utils': 4.1.11 - magic-string: 0.30.21 - pngjs: 7.0.0 - sirv: 3.0.2 - tinyrainbow: 3.1.1 - vitest: 4.1.11(@types/node@24.13.3)(@vitest/browser-preview@4.1.11)(jsdom@30.0.1)(vite@7.3.6(@types/node@24.13.3)(lightningcss@1.33.0)(tsx@4.22.3)) - ws: 8.21.3 - transitivePeerDependencies: - - bufferutil - - msw - - utf-8-validate - - vite - '@vitest/browser@4.1.11(vite@8.2.2(@types/node@24.13.3)(esbuild@0.28.2)(tsx@4.22.3))(vitest@4.1.11)': dependencies: '@blazediff/core': 1.9.1 @@ -5357,14 +5065,6 @@ snapshots: chai: 6.2.2 tinyrainbow: 3.1.1 - '@vitest/mocker@4.1.11(vite@7.3.6(@types/node@24.13.3)(lightningcss@1.33.0)(tsx@4.22.3))': - dependencies: - '@vitest/spy': 4.1.11 - estree-walker: 3.0.3 - magic-string: 0.30.21 - optionalDependencies: - vite: 7.3.6(@types/node@24.13.3)(lightningcss@1.33.0)(tsx@4.22.3) - '@vitest/mocker@4.1.11(vite@8.2.2(@types/node@24.13.3)(esbuild@0.28.2)(tsx@4.22.3))': dependencies: '@vitest/spy': 4.1.11 @@ -6061,10 +5761,6 @@ snapshots: dependencies: fast-string-width: 3.0.2 - fdir@6.5.0(picomatch@4.0.5): - optionalDependencies: - picomatch: 4.0.5 - fdir@6.5.0(picomatch@4.0.7): optionalDependencies: picomatch: 4.0.7 @@ -6981,32 +6677,6 @@ snapshots: regex: 6.1.0 regex-recursion: 6.0.2 - oxfmt@0.64.0(svelte@5.57.0)(vite-plus@0.3.0(@types/node@24.13.3)(esbuild@0.28.2)(jsdom@30.0.1)(publint@0.3.24)(svelte@5.57.0)(tsx@4.22.3)(typescript@6.0.3)(vite@7.3.6(@types/node@24.13.3)(lightningcss@1.33.0)(tsx@4.22.3))): - dependencies: - tinypool: 2.1.0 - optionalDependencies: - '@oxfmt/binding-android-arm-eabi': 0.64.0 - '@oxfmt/binding-android-arm64': 0.64.0 - '@oxfmt/binding-darwin-arm64': 0.64.0 - '@oxfmt/binding-darwin-x64': 0.64.0 - '@oxfmt/binding-freebsd-x64': 0.64.0 - '@oxfmt/binding-linux-arm-gnueabihf': 0.64.0 - '@oxfmt/binding-linux-arm-musleabihf': 0.64.0 - '@oxfmt/binding-linux-arm64-gnu': 0.64.0 - '@oxfmt/binding-linux-arm64-musl': 0.64.0 - '@oxfmt/binding-linux-ppc64-gnu': 0.64.0 - '@oxfmt/binding-linux-riscv64-gnu': 0.64.0 - '@oxfmt/binding-linux-riscv64-musl': 0.64.0 - '@oxfmt/binding-linux-s390x-gnu': 0.64.0 - '@oxfmt/binding-linux-x64-gnu': 0.64.0 - '@oxfmt/binding-linux-x64-musl': 0.64.0 - '@oxfmt/binding-openharmony-arm64': 0.64.0 - '@oxfmt/binding-win32-arm64-msvc': 0.64.0 - '@oxfmt/binding-win32-ia32-msvc': 0.64.0 - '@oxfmt/binding-win32-x64-msvc': 0.64.0 - svelte: 5.57.0 - vite-plus: 0.3.0(@types/node@24.13.3)(esbuild@0.28.2)(jsdom@30.0.1)(publint@0.3.24)(svelte@5.57.0)(tsx@4.22.3)(typescript@6.0.3)(vite@7.3.6(@types/node@24.13.3)(lightningcss@1.33.0)(tsx@4.22.3)) - oxfmt@0.64.0(svelte@5.57.0)(vite-plus@0.3.0(@types/node@24.13.3)(esbuild@0.28.2)(jsdom@30.0.1)(publint@0.3.24)(svelte@5.57.0)(tsx@4.22.3)(typescript@6.0.3)(vite@8.2.2(@types/node@24.13.3)(esbuild@0.28.2)(tsx@4.22.3))): dependencies: tinypool: 2.1.0 @@ -7042,30 +6712,6 @@ snapshots: '@oxlint-tsgolint/win32-arm64': 7.0.2001 '@oxlint-tsgolint/win32-x64': 7.0.2001 - oxlint@1.79.0(oxlint-tsgolint@7.0.2001)(vite-plus@0.3.0(@types/node@24.13.3)(esbuild@0.28.2)(jsdom@30.0.1)(publint@0.3.24)(svelte@5.57.0)(tsx@4.22.3)(typescript@6.0.3)(vite@7.3.6(@types/node@24.13.3)(lightningcss@1.33.0)(tsx@4.22.3))): - optionalDependencies: - '@oxlint/binding-android-arm-eabi': 1.79.0 - '@oxlint/binding-android-arm64': 1.79.0 - '@oxlint/binding-darwin-arm64': 1.79.0 - '@oxlint/binding-darwin-x64': 1.79.0 - '@oxlint/binding-freebsd-x64': 1.79.0 - '@oxlint/binding-linux-arm-gnueabihf': 1.79.0 - '@oxlint/binding-linux-arm-musleabihf': 1.79.0 - '@oxlint/binding-linux-arm64-gnu': 1.79.0 - '@oxlint/binding-linux-arm64-musl': 1.79.0 - '@oxlint/binding-linux-ppc64-gnu': 1.79.0 - '@oxlint/binding-linux-riscv64-gnu': 1.79.0 - '@oxlint/binding-linux-riscv64-musl': 1.79.0 - '@oxlint/binding-linux-s390x-gnu': 1.79.0 - '@oxlint/binding-linux-x64-gnu': 1.79.0 - '@oxlint/binding-linux-x64-musl': 1.79.0 - '@oxlint/binding-openharmony-arm64': 1.79.0 - '@oxlint/binding-win32-arm64-msvc': 1.79.0 - '@oxlint/binding-win32-ia32-msvc': 1.79.0 - '@oxlint/binding-win32-x64-msvc': 1.79.0 - oxlint-tsgolint: 7.0.2001 - vite-plus: 0.3.0(@types/node@24.13.3)(esbuild@0.28.2)(jsdom@30.0.1)(publint@0.3.24)(svelte@5.57.0)(tsx@4.22.3)(typescript@6.0.3)(vite@7.3.6(@types/node@24.13.3)(lightningcss@1.33.0)(tsx@4.22.3)) - oxlint@1.79.0(oxlint-tsgolint@7.0.2001)(vite-plus@0.3.0(@types/node@24.13.3)(esbuild@0.28.2)(jsdom@30.0.1)(publint@0.3.24)(svelte@5.57.0)(tsx@4.22.3)(typescript@6.0.3)(vite@8.2.2(@types/node@24.13.3)(esbuild@0.28.2)(tsx@4.22.3))): optionalDependencies: '@oxlint/binding-android-arm-eabi': 1.79.0 @@ -7387,58 +7033,26 @@ snapshots: retext-stringify: 4.0.0 unified: 11.0.5 - rolldown@1.2.5: + rolldown@1.2.7: dependencies: - '@oxc-project/types': 0.146.0 + '@oxc-project/types': 0.148.0 '@rolldown/pluginutils': 1.0.1 optionalDependencies: - '@rolldown/binding-android-arm-eabi': 1.2.5 - '@rolldown/binding-android-arm64': 1.2.5 - '@rolldown/binding-darwin-arm64': 1.2.5 - '@rolldown/binding-darwin-x64': 1.2.5 - '@rolldown/binding-freebsd-x64': 1.2.5 - '@rolldown/binding-linux-arm-gnueabihf': 1.2.5 - '@rolldown/binding-linux-arm64-gnu': 1.2.5 - '@rolldown/binding-linux-arm64-musl': 1.2.5 - '@rolldown/binding-linux-ppc64-gnu': 1.2.5 - '@rolldown/binding-linux-s390x-gnu': 1.2.5 - '@rolldown/binding-linux-x64-gnu': 1.2.5 - '@rolldown/binding-linux-x64-musl': 1.2.5 - '@rolldown/binding-openharmony-arm64': 1.2.5 - '@rolldown/binding-win32-arm64-msvc': 1.2.5 - '@rolldown/binding-win32-x64-msvc': 1.2.5 - - rollup@4.63.0: - dependencies: - '@types/estree': 1.0.9 - optionalDependencies: - '@napi-rs/lzma-linux-x64-gnu': 1.5.1 - '@rollup/rollup-android-arm-eabi': 4.63.0 - '@rollup/rollup-android-arm64': 4.63.0 - '@rollup/rollup-darwin-arm64': 4.63.0 - '@rollup/rollup-darwin-x64': 4.63.0 - '@rollup/rollup-freebsd-arm64': 4.63.0 - '@rollup/rollup-freebsd-x64': 4.63.0 - '@rollup/rollup-linux-arm-gnueabihf': 4.63.0 - '@rollup/rollup-linux-arm-musleabihf': 4.63.0 - '@rollup/rollup-linux-arm64-gnu': 4.63.0 - '@rollup/rollup-linux-arm64-musl': 4.63.0 - '@rollup/rollup-linux-loong64-gnu': 4.63.0 - '@rollup/rollup-linux-loong64-musl': 4.63.0 - '@rollup/rollup-linux-ppc64-gnu': 4.63.0 - '@rollup/rollup-linux-ppc64-musl': 4.63.0 - '@rollup/rollup-linux-riscv64-gnu': 4.63.0 - '@rollup/rollup-linux-riscv64-musl': 4.63.0 - '@rollup/rollup-linux-s390x-gnu': 4.63.0 - '@rollup/rollup-linux-x64-gnu': 4.63.0 - '@rollup/rollup-linux-x64-musl': 4.63.0 - '@rollup/rollup-openbsd-x64': 4.63.0 - '@rollup/rollup-openharmony-arm64': 4.63.0 - '@rollup/rollup-win32-arm64-msvc': 4.63.0 - '@rollup/rollup-win32-ia32-msvc': 4.63.0 - '@rollup/rollup-win32-x64-gnu': 4.63.0 - '@rollup/rollup-win32-x64-msvc': 4.63.0 - fsevents: 2.3.3 + '@rolldown/binding-android-arm-eabi': 1.2.7 + '@rolldown/binding-android-arm64': 1.2.7 + '@rolldown/binding-darwin-arm64': 1.2.7 + '@rolldown/binding-darwin-x64': 1.2.7 + '@rolldown/binding-freebsd-x64': 1.2.7 + '@rolldown/binding-linux-arm-gnueabihf': 1.2.7 + '@rolldown/binding-linux-arm64-gnu': 1.2.7 + '@rolldown/binding-linux-arm64-musl': 1.2.7 + '@rolldown/binding-linux-ppc64-gnu': 1.2.7 + '@rolldown/binding-linux-s390x-gnu': 1.2.7 + '@rolldown/binding-linux-x64-gnu': 1.2.7 + '@rolldown/binding-linux-x64-musl': 1.2.7 + '@rolldown/binding-openharmony-arm64': 1.2.7 + '@rolldown/binding-win32-arm64-msvc': 1.2.7 + '@rolldown/binding-win32-x64-msvc': 1.2.7 sade@1.8.1: dependencies: @@ -7650,8 +7264,8 @@ snapshots: tinyglobby@0.2.17: dependencies: - fdir: 6.5.0(picomatch@4.0.5) - picomatch: 4.0.5 + fdir: 6.5.0(picomatch@4.0.7) + picomatch: 4.0.7 tinypool@2.1.0: {} @@ -7797,64 +7411,6 @@ snapshots: '@types/unist': 3.0.3 vfile-message: 4.0.3 - vite-plus@0.3.0(@types/node@24.13.3)(esbuild@0.28.2)(jsdom@30.0.1)(publint@0.3.24)(svelte@5.57.0)(tsx@4.22.3)(typescript@6.0.3)(vite@7.3.6(@types/node@24.13.3)(lightningcss@1.33.0)(tsx@4.22.3)): - dependencies: - '@oxc-project/types': 0.146.0 - '@oxlint/plugins': 1.79.0 - '@vitest/browser': 4.1.11(vite@7.3.6(@types/node@24.13.3)(lightningcss@1.33.0)(tsx@4.22.3))(vitest@4.1.11) - '@vitest/browser-preview': 4.1.11(vite@7.3.6(@types/node@24.13.3)(lightningcss@1.33.0)(tsx@4.22.3))(vitest@4.1.11) - '@vitest/expect': 4.1.11 - '@vitest/mocker': 4.1.11(vite@7.3.6(@types/node@24.13.3)(lightningcss@1.33.0)(tsx@4.22.3)) - '@vitest/pretty-format': 4.1.11 - '@vitest/runner': 4.1.11 - '@vitest/snapshot': 4.1.11 - '@vitest/spy': 4.1.11 - '@vitest/utils': 4.1.11 - '@voidzero-dev/vite-plus-core': 0.3.0(@types/node@24.13.3)(esbuild@0.28.2)(publint@0.3.24)(tsx@4.22.3)(typescript@6.0.3) - oxfmt: 0.64.0(svelte@5.57.0)(vite-plus@0.3.0(@types/node@24.13.3)(esbuild@0.28.2)(jsdom@30.0.1)(publint@0.3.24)(svelte@5.57.0)(tsx@4.22.3)(typescript@6.0.3)(vite@7.3.6(@types/node@24.13.3)(lightningcss@1.33.0)(tsx@4.22.3))) - oxlint: 1.79.0(oxlint-tsgolint@7.0.2001)(vite-plus@0.3.0(@types/node@24.13.3)(esbuild@0.28.2)(jsdom@30.0.1)(publint@0.3.24)(svelte@5.57.0)(tsx@4.22.3)(typescript@6.0.3)(vite@7.3.6(@types/node@24.13.3)(lightningcss@1.33.0)(tsx@4.22.3))) - oxlint-tsgolint: 7.0.2001 - vitest: 4.1.11(@types/node@24.13.3)(@vitest/browser-preview@4.1.11)(jsdom@30.0.1)(vite@7.3.6(@types/node@24.13.3)(lightningcss@1.33.0)(tsx@4.22.3)) - optionalDependencies: - '@voidzero-dev/vite-plus-darwin-arm64': 0.3.0 - '@voidzero-dev/vite-plus-darwin-x64': 0.3.0 - '@voidzero-dev/vite-plus-linux-arm64-gnu': 0.3.0 - '@voidzero-dev/vite-plus-linux-arm64-musl': 0.3.0 - '@voidzero-dev/vite-plus-linux-x64-gnu': 0.3.0 - '@voidzero-dev/vite-plus-linux-x64-musl': 0.3.0 - '@voidzero-dev/vite-plus-win32-arm64-msvc': 0.3.0 - '@voidzero-dev/vite-plus-win32-x64-msvc': 0.3.0 - transitivePeerDependencies: - - '@arethetypeswrong/core' - - '@edge-runtime/vm' - - '@opentelemetry/api' - - '@types/node' - - '@vitejs/devtools' - - '@vitest/coverage-istanbul' - - '@vitest/coverage-v8' - - '@vitest/ui' - - bufferutil - - esbuild - - happy-dom - - jiti - - jsdom - - less - - msw - - publint - - sass - - sass-embedded - - stylus - - sugarss - - svelte - - terser - - tsx - - typescript - - unplugin-unused - - unrun - - utf-8-validate - - vite - - yaml - vite-plus@0.3.0(@types/node@24.13.3)(esbuild@0.28.2)(jsdom@30.0.1)(publint@0.3.24)(svelte@5.57.0)(tsx@4.22.3)(typescript@6.0.3)(vite@8.2.2(@types/node@24.13.3)(esbuild@0.28.2)(tsx@4.22.3)): dependencies: '@oxc-project/types': 0.146.0 @@ -7913,26 +7469,12 @@ snapshots: - vite - yaml - vite@7.3.6(@types/node@24.13.3)(lightningcss@1.33.0)(tsx@4.22.3): - dependencies: - esbuild: 0.28.2 - fdir: 6.5.0(picomatch@4.0.5) - picomatch: 4.0.5 - postcss: 8.5.26 - rollup: 4.63.0 - tinyglobby: 0.2.17 - optionalDependencies: - '@types/node': 24.13.3 - fsevents: 2.3.3 - lightningcss: 1.33.0 - tsx: 4.22.3 - vite@8.2.2(@types/node@24.13.3)(esbuild@0.28.2)(tsx@4.22.3): dependencies: lightningcss: 1.33.0 - picomatch: 4.0.5 + picomatch: 4.0.7 postcss: 8.5.26 - rolldown: 1.2.5 + rolldown: 1.2.7 tinyglobby: 0.2.17 optionalDependencies: '@types/node': 24.13.3 @@ -7944,35 +7486,6 @@ snapshots: optionalDependencies: vite: 8.2.2(@types/node@24.13.3)(esbuild@0.28.2)(tsx@4.22.3) - vitest@4.1.11(@types/node@24.13.3)(@vitest/browser-preview@4.1.11)(jsdom@30.0.1)(vite@7.3.6(@types/node@24.13.3)(lightningcss@1.33.0)(tsx@4.22.3)): - dependencies: - '@vitest/expect': 4.1.11 - '@vitest/mocker': 4.1.11(vite@7.3.6(@types/node@24.13.3)(lightningcss@1.33.0)(tsx@4.22.3)) - '@vitest/pretty-format': 4.1.11 - '@vitest/runner': 4.1.11 - '@vitest/snapshot': 4.1.11 - '@vitest/spy': 4.1.11 - '@vitest/utils': 4.1.11 - es-module-lexer: 2.3.2 - expect-type: 1.4.0 - magic-string: 0.30.21 - obug: 2.1.4 - pathe: 2.0.3 - picomatch: 4.0.5 - std-env: 4.2.0 - tinybench: 2.9.0 - tinyexec: 1.3.0 - tinyglobby: 0.2.17 - tinyrainbow: 3.1.1 - vite: 7.3.6(@types/node@24.13.3)(lightningcss@1.33.0)(tsx@4.22.3) - why-is-node-running: 2.3.0 - optionalDependencies: - '@types/node': 24.13.3 - '@vitest/browser-preview': 4.1.11(vite@7.3.6(@types/node@24.13.3)(lightningcss@1.33.0)(tsx@4.22.3))(vitest@4.1.11) - jsdom: 30.0.1 - transitivePeerDependencies: - - msw - vitest@4.1.11(@types/node@24.13.3)(@vitest/browser-preview@4.1.11)(jsdom@30.0.1)(vite@8.2.2(@types/node@24.13.3)(esbuild@0.28.2)(tsx@4.22.3)): dependencies: '@vitest/expect': 4.1.11 diff --git a/shamwari-docs-ai/package.json b/shamwari-docs-ai/package.json index 2ed4177..78b5133 100644 --- a/shamwari-docs-ai/package.json +++ b/shamwari-docs-ai/package.json @@ -17,7 +17,7 @@ "@cloudflare/vite-plugin": "^1.54.2", "@cloudflare/workers-types": "^5.20260830.1", "typescript": "^7.0.2", - "vite": "^7.3.6", + "vite": "^8.2.2", "vite-plus": "^0.3.0", "vitest": "^4.1.11", "wrangler": "^4.127.1" diff --git a/shamwari-docs-ai/vite.config.ts b/shamwari-docs-ai/vite.config.ts index f5849fc..ac29cb5 100644 --- a/shamwari-docs-ai/vite.config.ts +++ b/shamwari-docs-ai/vite.config.ts @@ -14,8 +14,20 @@ import { defineConfig } from "vite-plus"; import { cloudflare } from "@cloudflare/vite-plugin"; +// @ts-expect-error TS2321: comparing this config against vite-plus's UserConfig +// exceeds TS's structural-comparison depth. Root cause: cloudflare() returns +// Plugin[] typed against the raw `vite` package, while vite-plus vendors its +// own independently-declared (structurally near-identical, nominally distinct) +// Plugin type via @voidzero-dev/vite-plus-core — comparing two large, deeply +// generic hook interfaces from different packages is exactly what exceeds +// TS's depth limit. Confirmed harmless at runtime: vite-plus's plugin +// pipeline accepts real vite.Plugin objects regardless of which package +// declared the type. Revisit if vite-plus's vendored core types converge with +// vite 8's Plugin shape. export default defineConfig({ - plugins: [cloudflare()], + // Spread, not nest: cloudflare() already returns Plugin[]; nesting it as + // `[cloudflare()]` would produce Plugin[][] on top of the issue above. + plugins: [...cloudflare()], // Type checking is OPT-IN in Vite+. Without these two lines `vp check` runs // oxlint only and reports "pass" on `const x: number = "nope"` — verified // against tsc, which flags TS2322 on that exact line. Adopting the unified