The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.
TypeScript budget-trackercollaborativedockeritinerarymcp-serveroffline-firstopen-sourceopenstreetmappacking-listpwareal-timeself-hostedselfhostedtraveltravel-apptravel-journaltravel-plannertripitwanderlog
chore(packages): add test coverage support to plugin sdk and shared package
jubnl4548743874de
diff --git a/.github/workflows/test.yml b/.github/workflows/test.ymlindex a19cbbc3b..4bb2ddf79 100644--- a/.github/workflows/test.yml+++ b/.github/workflows/test.yml@@ -78,7 +78,50 @@ jobs:run: cd shared && npm run typecheck- name: Run tests- run: cd shared && npm test+ run: cd shared && npm run test:coverage++ - name: Upload coverage+ if: success()+ uses: actions/upload-artifact@v6+ with:+ name: shared-coverage+ path: shared/coverage/+ retention-days: 7++ plugin-sdk-tests:+ name: Plugin SDK Tests+ runs-on: ubuntu-latest+ defaults:+ run:+ working-directory: plugin-sdk++ steps:+ - uses: actions/checkout@v6++ - uses: actions/setup-node@v6+ with:+ # 22 matches the TREK server runtime and has node:sqlite, which the+ # dev-server tests exercise (same choice as publish-plugin-sdk.yml).+ node-version: 22++ # plugin-sdk is standalone (own lockfile, not a root workspace), so it+ # installs from its own directory.+ - name: Install dependencies+ run: npm ci++ - name: Typecheck+ run: npm run typecheck++ - name: Run tests+ run: npm run test:coverage++ - name: Upload coverage+ if: success()+ uses: actions/upload-artifact@v6+ with:+ name: plugin-sdk-coverage+ path: plugin-sdk/coverage/+ retention-days: 7server-tests:name: Server Testsdiff --git a/CLAUDE.md b/CLAUDE.mdindex 09b59e87d..9fa2d44b9 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -34,7 +34,7 @@ npm run test:unit --workspace=server # tests/unit onlynpm run test:integration --workspace=servernpm run test:ws --workspace=server # websocket testsnpm run test:e2e # server e2e (boots Nest against temp SQLite)-npm run test:cov # coverage, server + client+npm run test:cov # coverage (lcov), all four packages incl. shared + plugin-sdkcd client && npm run test # client vitest runcd client && npm run e2e # Playwrightcd client && npm run lint:pages # enforce the Page pattern (see below)diff --git a/package-lock.json b/package-lock.jsonindex af2d2c247..1aaf669eb 100644--- a/package-lock.json+++ b/package-lock.json@@ -22084,6 +22084,7 @@"devDependencies": {"@eslint/js": "^10.0.1","@trivago/prettier-plugin-sort-imports": "^6.0.2",+ "@vitest/coverage-v8": "^4.1.9","eslint": "^10.3.0","eslint-config-flat-gitignore": "^2.3.0","eslint-config-prettier": "^10.1.8",diff --git a/package.json b/package.jsonindex 2ec6b820e..6edfff3c9 100644--- a/package.json+++ b/package.json@@ -18,7 +18,7 @@"dev": "npm run build --workspace=shared && concurrently --names shared,server,client \"npm run build:watch --workspace=shared\" \"npm run dev --workspace=server\" \"npm run dev --workspace=client\"","build": "npm run build --workspace=shared && npm run build --workspace=server && npm run build --workspace=client","test": "npm run test --workspace=shared && npm run test --workspace=server && npm run test --workspace=client",- "test:cov": "npm run test:coverage --workspace=server && npm run test:coverage --workspace=client",+ "test:cov": "npm run test:coverage --workspace=shared && npm run test:coverage --workspace=server && npm run test:coverage --workspace=client && npm run test:coverage --prefix plugin-sdk","test:e2e": "npm run test:e2e --workspace=server","lint": "npm run lint --workspace=shared && npm run lint --workspace=server && npm run lint --workspace=client","format": "npm run format --workspace=shared && npm run format --workspace=server && npm run format --workspace=client",diff --git a/plugin-sdk/package-lock.json b/plugin-sdk/package-lock.jsonindex 22129add8..5642370e9 100644--- a/plugin-sdk/package-lock.json+++ b/plugin-sdk/package-lock.json@@ -22,6 +22,7 @@"@types/node": "^22.20.0","@types/semver": "^7.7.1","@types/update-notifier": "^6.0.8",+ "@vitest/coverage-v8": "^4.1.9","typescript": "^5.9.3","vitest": "^4.1.9"},@@ -29,6 +30,66 @@"node": ">=18"}},+ "node_modules/@babel/helper-string-parser": {+ "version": "7.29.7",+ "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.29.7.tgz",+ "integrity": "sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "node_modules/@babel/helper-validator-identifier": {+ "version": "7.29.7",+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.7.tgz",+ "integrity": "sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "node_modules/@babel/parser": {+ "version": "7.29.8",+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.8.tgz",+ "integrity": "sha512-E8lTAYNB1KW+FH+VGJuZM1ioAx2E6oVlvQFRrf5P8ZZmsiJXYAD9vTFV7yyEURNzgh1dFqMZuO6tUwcARbqFCA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@babel/types": "^7.29.8"+ },+ "bin": {+ "parser": "bin/babel-parser.js"+ },+ "engines": {+ "node": ">=6.0.0"+ }+ },+ "node_modules/@babel/types": {+ "version": "7.29.8",+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.8.tgz",+ "integrity": "sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@babel/helper-string-parser": "^7.29.7",+ "@babel/helper-validator-identifier": "^7.29.7"+ },+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "node_modules/@bcoe/v8-coverage": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-1.0.2.tgz",+ "integrity": "sha512-6zABk/ECA/QYSCQ1NGiVwwbQerUCZ+TQbp64Q3AgmfNvurHH0j8TtXa1qbShXA6qqkpAj4V5W8pP6mLe1mcMqA==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=18"+ }+ },"node_modules/@clack/core": {"version": "1.4.3","resolved": "https://registry.npmjs.org/@clack/core/-/core-1.4.3.tgz",@@ -57,38 +118,14 @@"node": ">= 20.12.0"}},- "node_modules/@emnapi/core": {- "version": "1.11.1",- "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.11.1.tgz",- "integrity": "sha512-RSvbQmHzdKzNsLYa/wHrbc3KN4sYLKAdPZxqiM2HATqv/SBk2/ENSHpvXGaLOMcsAyz0poEGqkmmKYG3OWiJEQ==",+ "node_modules/@jridgewell/resolve-uri": {+ "version": "3.1.2",+ "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz",+ "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==","dev": true,"license": "MIT",- "optional": true,- "dependencies": {- "@emnapi/wasi-threads": "1.2.2",- "tslib": "^2.4.0"- }- },- "node_modules/@emnapi/runtime": {- "version": "1.11.1",- "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.11.1.tgz",- "integrity": "sha512-vgj7R3y3Wgx24IQaGPA/R6YFXLHVMOZ0uVEyIQPaWs+rd1AzfEMXlAC22FYwO1XkKR6NPsq7mUandH8oIRdZFw==",- "dev": true,- "license": "MIT",- "optional": true,- "dependencies": {- "tslib": "^2.4.0"- }- },- "node_modules/@emnapi/wasi-threads": {- "version": "1.2.2",- "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.2.2.tgz",- "integrity": "sha512-c95qOXkHdydNKhscBTebqEC1CVAZpyqOfVfBzQ1qgzyl3gfeldUjIggDbIZgDKsHLgnsM+igH7TJ/eAasaVuMA==",- "dev": true,- "license": "MIT",- "optional": true,- "dependencies": {- "tslib": "^2.4.0"+ "engines": {+ "node": ">=6.0.0"}},"node_modules/@jridgewell/sourcemap-codec": {@@ -98,29 +135,21 @@"dev": true,"license": "MIT"},- "node_modules/@napi-rs/wasm-runtime": {- "version": "1.1.6",- "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.1.6.tgz",- "integrity": "sha512-ZLv/JdUfkvOy9eCnnBaGfiO+XimbjebAeO+MRQqD/B+FR1tnRN0tpKSJHRbE8sFfS6aqsXZ67TQjfwfsxULVbg==",+ "node_modules/@jridgewell/trace-mapping": {+ "version": "0.3.31",+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz",+ "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==","dev": true,"license": "MIT",- "optional": true,"dependencies": {- "@tybys/wasm-util": "^0.10.3"- },- "funding": {- "type": "github",- "url": "https://github.com/sponsors/Brooooooklyn"- },- "peerDependencies": {- "@emnapi/core": "^1.7.1",- "@emnapi/runtime": "^1.7.1"+ "@jridgewell/resolve-uri": "^3.1.0",+ "@jridgewell/sourcemap-codec": "^1.4.14"}},"node_modules/@oxc-project/types": {- "version": "0.138.0",- "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.138.0.tgz",- "integrity": "sha512-1a7ZKmrRTCoN1XMZ4L0PyyqrMnrNlLyPuOkdSX2MZg7IiIGRUyurNhAm73ptDOraoBcIordsIGKNPKUzy3ZmfA==",+ "version": "0.146.0",+ "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.146.0.tgz",+ "integrity": "sha512-XC0QsnnhVe7sLIWmYmdPw7x5P0h4W8vUU3Nv1ySgWXtvCz8NizoAEpGXA0sOYoJQV2Rl13LgURAHQ5cI5ILCSA==","dev": true,"license": "MIT","funding": {@@ -168,10 +197,27 @@"node": ">=12"}},+ "node_modules/@rolldown/binding-android-arm-eabi": {+ "version": "1.2.5",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm-eabi/-/binding-android-arm-eabi-1.2.5.tgz",+ "integrity": "sha512-DLe/i+l8ynIBY7XEQ191TeZvCoowIGa18R+dIV30GW7DiOtp74i/xX8hs8GUjW5ARV7VZuie3d6AumSmCwbeRA==",+ "cpu": [+ "arm"+ ],+ "dev": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "android"+ ],+ "engines": {+ "node": "^20.19.0 || >=22.12.0"+ }+ },"node_modules/@rolldown/binding-android-arm64": {- "version": "1.1.4",- "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.1.4.tgz",- "integrity": "sha512-EZLpf/8y7GXkkra90ML47kzik/GMP3EMcE9bPyHmRfxLC6z9+aW5A8poCsoxjrT5GfEcNAAvWwUHjvP1pUQkfw==",+ "version": "1.2.5",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.2.5.tgz",+ "integrity": "sha512-zXcwKlQApYAOELHd8PwKDFkagYF9Wy4e0RJ+0qnzl9Pjnpj75TEG8ufv40p2J7kCEfwZAsNiuzRIyNNMWT38ig==","cpu": ["arm64"],@@ -186,9 +232,9 @@}},"node_modules/@rolldown/binding-darwin-arm64": {- "version": "1.1.4",- "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.1.4.tgz",- "integrity": "sha512-aUi+HBvmYb7j8krl1+qJgkG8C17fO79gk3c+jPw4S8glRFc1DTija9S3EyaTSQUm5GJXYKDAsugBEhFHH2vYiQ==",+ "version": "1.2.5",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.2.5.tgz",+ "integrity": "sha512-dK4QakI42nzWgJT5sm4y4y/O//D4OxM75/cH28RLV+nzIN9AY+YsbuUVrUTjlLjXR6vpyxFbSsbmNuJ6BP9sww==","cpu": ["arm64"],@@ -203,9 +249,9 @@}},"node_modules/@rolldown/binding-darwin-x64": {- "version": "1.1.4",- "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.1.4.tgz",- "integrity": "sha512-F7hHC3gwY11+vByKPRWqwGbeXWVgKmL+pTGCinaEhdihzBV2aQ0fvZOch9cXYUOKuKKq429HeYXOqQLc7wFCEg==",+ "version": "1.2.5",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.2.5.tgz",+ "integrity": "sha512-fqSALaUu1Wjd1nK2uW2kJDWdLCc8lx1IcY+MTY26Aurfdx19anlzhqXOgCFbBFQnlFDTn4TC1/7Nz4Bl2mLP3A==","cpu": ["x64"],@@ -220,9 +266,9 @@}},"node_modules/@rolldown/binding-freebsd-x64": {- "version": "1.1.4",- "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.1.4.tgz",- "integrity": "sha512-sI5yw+7s92SK6odiEhD5lKCBlWcpjHS5qyqpVQbZAJ0fIzEUXrmbl3DH2ybR3PZogulNJF+COLtmA8hUfvkCCQ==",+ "version": "1.2.5",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.2.5.tgz",+ "integrity": "sha512-/vCnNxlkxs9tKxNDcyWUePpJ/PgTzxIaVhoM5SmG8UV+GR/IcPam4VYxi7GIMo7PSDuNqlJqvprqii9NqqVCMw==","cpu": ["x64"],@@ -237,9 +283,9 @@}},"node_modules/@rolldown/binding-linux-arm-gnueabihf": {- "version": "1.1.4",- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.1.4.tgz",- "integrity": "sha512-mCi0OKgEieFircrtVYmQAFGszRtMnZ6fpZAXrxanXAu7lqZcsK1E1RAaZNG0uKAnxox3B1f4EyQNnoyMfN1vAA==",+ "version": "1.2.5",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.2.5.tgz",+ "integrity": "sha512-abk0NLA519LxRCszmbE0jYKuQ9YPocOXTiOXOo6Yr+YAT95VH+PtqYAjOJvGKt3viEd/x4qzabAlwd5bHOOARg==","cpu": ["arm"],@@ -254,13 +300,16 @@}},"node_modules/@rolldown/binding-linux-arm64-gnu": {- "version": "1.1.4",- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.1.4.tgz",- "integrity": "sha512-B9Ial3Kv5sh0SHnB1g/QWcUQCEvCF6QKGAl4zXypYj65mVI+B4AhFBwPtSN7pDrJeIx8Z7zdy4ntx+wQABom7w==",+ "version": "1.2.5",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.2.5.tgz",+ "integrity": "sha512-Y7eALiJ8lr0M2HH103Js+g7V34wf6snlpZLAsHI90uLhr3PVlNsbFVAXJC9d/V6BnPyKtpSwI+NcB/RLxsQxuA==","cpu": ["arm64"],"dev": true,+ "libc": [+ "glibc"+ ],"license": "MIT","optional": true,"os": [@@ -271,13 +320,16 @@}},"node_modules/@rolldown/binding-linux-arm64-musl": {- "version": "1.1.4",- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.1.4.tgz",- "integrity": "sha512-lZVym0PuHE1KZ22gmFTC15lAkrg9iTszR617oYRB/iPY1A56ywoJzVKOJBKaot5RiikCObmur6pogpse3gRcng==",+ "version": "1.2.5",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.2.5.tgz",+ "integrity": "sha512-xMvZgnbZg4YVnR/AX2b3oOPDTFYJvUVaJg5FedA/LuvexAtXibZQej4cnTkw3rjsJ/ggUROB64TdtETiim+FYA==","cpu": ["arm64"],"dev": true,+ "libc": [+ "musl"+ ],"license": "MIT","optional": true,"os": [@@ -288,13 +340,16 @@}},"node_modules/@rolldown/binding-linux-ppc64-gnu": {- "version": "1.1.4",- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.1.4.tgz",- "integrity": "sha512-t2DNiLJWNTbnEHyUzTumldML6ET4/g16467LZoDDJ3tSxGvguL5/NyC2lCsNKuyRycg9XeDQF5SSv+TNOhQEXg==",+ "version": "1.2.5",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.2.5.tgz",+ "integrity": "sha512-GRjeqTUDHTo5GwntsLaAMcBahG3nlpjftXWZLN73HiYQlhwEowvarFgQnRnQZtIp4keXX7quXFbG38uPZBa2EA==","cpu": ["ppc64"],"dev": true,+ "libc": [+ "glibc"+ ],"license": "MIT","optional": true,"os": [@@ -305,13 +360,16 @@}},"node_modules/@rolldown/binding-linux-s390x-gnu": {- "version": "1.1.4",- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.1.4.tgz",- "integrity": "sha512-0WIRnL1Uw4BvTZRLQt+PVgo6ZKTJadlC2btP+/EOXv2f/DWbY0rEgl+y834mIVwP1FkTlWVTrGGJXf12lru7EQ==",+ "version": "1.2.5",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.2.5.tgz",+ "integrity": "sha512-vLNTR45F2Uwc8AufkNXPmB4VliaXs+FvcheEogIzOXzO4l+LzieXF5A/TWxLy5HtqpsRCHUfd0lPVrrdgXdLHQ==","cpu": ["s390x"],"dev": true,+ "libc": [+ "glibc"+ ],"license": "MIT","optional": true,"os": [@@ -322,13 +380,16 @@}},"node_modules/@rolldown/binding-linux-x64-gnu": {- "version": "1.1.4",- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.1.4.tgz",- "integrity": "sha512-JWtGshGfX+oENAKonoNkqEJX+7hC8yfhi9GUyPX1VX4mdh1y5r+ZiJLR5XzAB0aoP6s/PcILsGjKq8O0mm24bw==",+ "version": "1.2.5",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.2.5.tgz",+ "integrity": "sha512-Mgj59/HTuYeK9Gz2MA+mBWKnHsAgkBSec15ZMb1st3oIfFbX7gCjOae7GydHhzcyQi9Z/7M1QuN9bR3oFqF0jQ==","cpu": ["x64"],"dev": true,+ "libc": [+ "glibc"+ ],"license": "MIT","optional": true,"os": [@@ -339,13 +400,16 @@}},"node_modules/@rolldown/binding-linux-x64-musl": {- "version": "1.1.4",- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.1.4.tgz",- "integrity": "sha512-rT6yQcxUuXs4CnbofqwHRRV0iem349rLMYpTjkgQGLjrY4ado/eDzwPZPTCgTOlF6Nkp8NEv70yLMTn6qkWxsQ==",+ "version": "1.2.5",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.2.5.tgz",+ "integrity": "sha512-mY8AP0/ichsbhAxGnLa3d3+MwV0EfgrPND2bplI3Ym8T6R2pJ0N87bvrKVwNXmdy3jnr6eQBecdqx/HMknBmpA==","cpu": ["x64"],"dev": true,+ "libc": [+ "musl"+ ],"license": "MIT","optional": true,"os": [@@ -356,9 +420,9 @@}},"node_modules/@rolldown/binding-openharmony-arm64": {- "version": "1.1.4",- "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.1.4.tgz",- "integrity": "sha512-KXMGoboq5cyaCQjDA4GLuRiOwBQ0EyFnJoVViLeZ45/3rFItRODEr+NdsBcVpll40hhNArlm/speWGRvj08LzA==",+ "version": "1.2.5",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.2.5.tgz",+ "integrity": "sha512-8SLssA2oweAxyRgDp789ACfRb/3P+zNRJpzZxSizxF9m8NUDQ4+3xjo8ttjhVGGw6Qxb70oZiEtIjaKikCO7Yw==","cpu": ["arm64"],@@ -372,29 +436,10 @@"node": "^20.19.0 || >=22.12.0"}},- "node_modules/@rolldown/binding-wasm32-wasi": {- "version": "1.1.4",- "resolved": "https://registry.npmjs.org/@rolldown/binding-wasm32-wasi/-/binding-wasm32-wasi-1.1.4.tgz",- "integrity": "sha512-5K83rb36oJiY7BCyE9zLZtGcPV4g5wvq+xwdO0XPIwDVZI8cyB/AUjkNXGb92/rnmezEkjMOpgY61rtwjQtFwg==",- "cpu": [- "wasm32"- ],- "dev": true,- "license": "MIT",- "optional": true,- "dependencies": {- "@emnapi/core": "1.11.1",- "@emnapi/runtime": "1.11.1",- "@napi-rs/wasm-runtime": "^1.1.6"- },- "engines": {- "node": "^20.19.0 || >=22.12.0"- }- },"node_modules/@rolldown/binding-win32-arm64-msvc": {- "version": "1.1.4",- "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.1.4.tgz",- "integrity": "sha512-PnWBtw3TV5KOg69HQQDR0mnQuyCmSGR2pAB4DC1rPF808fgKeTUMj2EOEyKATpgiuxuR5APQmiDO7PDgEjTFSA==",+ "version": "1.2.5",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.2.5.tgz",+ "integrity": "sha512-vGbruD5zquhoc8D9SViXgN2FBJtNdTyQ4DtG+SWiEGlJiAzoKcZ2xp+xuXCffhubVdt0NJlTZqkeRuERy7g8Cw==","cpu": ["arm64"],@@ -409,9 +454,9 @@}},"node_modules/@rolldown/binding-win32-x64-msvc": {- "version": "1.1.4",- "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.1.4.tgz",- "integrity": "sha512-M1lpniBePobTfsa7Ks9a199e1akxsXn+GYBUKsEzv3YFzOm1HJAMNwKI3qr0Zq+mxwx9gOZoTdP1yXRYsZUocQ==",+ "version": "1.2.5",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.2.5.tgz",+ "integrity": "sha512-e/SXpgISz+IoqVcSSI0rx/d/he8zqLex+/rCWpnHpmVfmPIUjag9H6P7zotf0gJHwPUhQxZ/mF8tr6acebT9yw==","cpu": ["x64"],@@ -439,17 +484,6 @@"dev": true,"license": "MIT"},- "node_modules/@tybys/wasm-util": {- "version": "0.10.3",- "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.3.tgz",- "integrity": "sha512-F3fo1MYrRJYL3zER0OUOmkutjr1Vp23m7OsSgp7nq4SP6OqX6C/56XFIPAl5bt3zaBRjmW7SGz3u/6LwFpYcOg==",- "dev": true,- "license": "MIT",- "optional": true,- "dependencies": {- "tslib": "^2.4.0"- }- },"node_modules/@types/chai": {"version": "5.2.3","resolved": "https://registry.npmjs.org/@types/chai/-/chai-5.2.3.tgz",@@ -618,17 +652,48 @@"url": "https://github.com/chalk/wrap-ansi?sponsor=1"}},+ "node_modules/@vitest/coverage-v8": {+ "version": "4.1.11",+ "resolved": "https://registry.npmjs.org/@vitest/coverage-v8/-/coverage-v8-4.1.11.tgz",+ "integrity": "sha512-8MVGEFnJIcdGjcbfKmeq8z0pZHH0JlVtoVZH9Q/qwUp6wyFnEJUBMrw9DCaj+ra3vShGmhavjalMIhPNxZAUcw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@bcoe/v8-coverage": "^1.0.2",+ "@vitest/utils": "4.1.11",+ "ast-v8-to-istanbul": "^1.0.0",+ "istanbul-lib-coverage": "^3.2.2",+ "istanbul-lib-report": "^3.0.1",+ "istanbul-reports": "^3.2.0",+ "magicast": "^0.5.2",+ "obug": "^2.1.1",+ "std-env": "^4.0.0-rc.1",+ "tinyrainbow": "^3.1.0"+ },+ "funding": {+ "url": "https://opencollective.com/vitest"+ },+ "peerDependencies": {+ "@vitest/browser": "4.1.11",+ "vitest": "4.1.11"+ },+ "peerDependenciesMeta": {+ "@vitest/browser": {+ "optional": true+ }+ }+ },"node_modules/@vitest/expect": {- "version": "4.1.9",- "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-4.1.9.tgz",- "integrity": "sha512-vl/rYsUKcBr3SnQn166+XR5ZQcgMx3DQhFWdfli/cWpLnLUmbxZvyrJZotLFUryib+LtArYMSTJ5RbQ57ZqrlA==",+ "version": "4.1.11",+ "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-4.1.11.tgz",+ "integrity": "sha512-VX2x5vNJXET47KAFzwERI+KRMtTTCSWTfSMKsW7JsUsXV4psq++e3DvZpuTDOpHcxytiDs6p2nhVb2tVDiiUYw==","dev": true,"license": "MIT","dependencies": {"@standard-schema/spec": "^1.1.0","@types/chai": "^5.2.2",- "@vitest/spy": "4.1.9",- "@vitest/utils": "4.1.9",+ "@vitest/spy": "4.1.11",+ "@vitest/utils": "4.1.11","chai": "^6.2.2","tinyrainbow": "^3.1.0"},@@ -637,13 +702,13 @@}},"node_modules/@vitest/mocker": {- "version": "4.1.9",- "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-4.1.9.tgz",- "integrity": "sha512-EVkXzBjrPGM+cK8/ANWgBrkUCfJfb38/EfTSO8h7pWvKkyPkpWxvR7BkD2MyItMF62C97zAEoqdpUixwR/e+Rw==",+ "version": "4.1.11",+ "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-4.1.11.tgz",+ "integrity": "sha512-2XJVD55d1o5AZous5CCGKS74g/riOj9odEt2bQpCVZeblHyHdnMeFl4jl0XjU21stf4mbjUkew2eXQZt65g5CQ==","dev": true,"license": "MIT","dependencies": {- "@vitest/spy": "4.1.9",+ "@vitest/spy": "4.1.11","estree-walker": "^3.0.3","magic-string": "^0.30.21"},@@ -664,9 +729,9 @@}},"node_modules/@vitest/pretty-format": {- "version": "4.1.9",- "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-4.1.9.tgz",- "integrity": "sha512-s0iufns3iIFitdgm+YR7g1whCAaGtXz459VS9/PqyKDEEFgYIhsHOQmXgIgDuYCt7DeQmiZT0Qe2OA2p4ZPu5A==",+ "version": "4.1.11",+ "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-4.1.11.tgz",+ "integrity": "sha512-yiZzPbGTS9Sr/JpFl8zHrcIkAofNbFV6k21vIgQN/cY/oxZeXhJv5sc/MBJ5jFKWmWs+oJHw0UXLZjmf931+Vw==","dev": true,"license": "MIT","dependencies": {@@ -677,13 +742,13 @@}},"node_modules/@vitest/runner": {- "version": "4.1.9",- "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-4.1.9.tgz",- "integrity": "sha512-KXLMDtc7oe70+3mJfGrPUWPesswH+3sTxAMAMl8DG7I8IUQT4XW718dY5ID3vPUcmlu27CcKfY4P3h3I29SLJg==",+ "version": "4.1.11",+ "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-4.1.11.tgz",+ "integrity": "sha512-LztvUgdwMNJMIkj3hQnnxiC2Xy1zNxq928W/xhjCLaNCzqTZOudjwbQf6v9IntZGPw132i2Lq2rgTRZHD3JHNw==","dev": true,"license": "MIT","dependencies": {- "@vitest/utils": "4.1.9",+ "@vitest/utils": "4.1.11","pathe": "^2.0.3"},"funding": {@@ -691,14 +756,14 @@}},"node_modules/@vitest/snapshot": {- "version": "4.1.9",- "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-4.1.9.tgz",- "integrity": "sha512-Jc7RKGNBo8Z28WYIm0Niej4xdSPByRf6mU58VpHQkd6Zh05rlnA+twjbK5HyeIGHxrzsc3mJgS43uM0CZKzaIA==",+ "version": "4.1.11",+ "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-4.1.11.tgz",+ "integrity": "sha512-pN7ikn1ON7h8ee4gIAp4AzyK+zBtJPzVbqOgu5LCEh4VaJVbPQcgYQYJIMGQPXVeJJq1fnfazis7a5pFNPahog==","dev": true,"license": "MIT","dependencies": {- "@vitest/pretty-format": "4.1.9",- "@vitest/utils": "4.1.9",+ "@vitest/pretty-format": "4.1.11",+ "@vitest/utils": "4.1.11","magic-string": "^0.30.21","pathe": "^2.0.3"},@@ -707,9 +772,9 @@}},"node_modules/@vitest/spy": {- "version": "4.1.9",- "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-4.1.9.tgz",- "integrity": "sha512-fHpsS6mIi+PiEW+vcRVOMkX1oSaPKne3VOclSFICPcGOmfKgXPU5iAah+wcNcj2xPrCCmfq99IDGf+EojhhvhA==",+ "version": "4.1.11",+ "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-4.1.11.tgz",+ "integrity": "sha512-apNa/prQy2qCeywhnixOHPRCgGNhvg7T4Dapfl1GahLp/R+uhBm5cPyFoNVyqsNd2h1nJxL6BqqdIjiABL60YA==","dev": true,"license": "MIT","funding": {@@ -717,13 +782,13 @@}},"node_modules/@vitest/utils": {- "version": "4.1.9",- "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-4.1.9.tgz",- "integrity": "sha512-A51o8ymO5PpqlWNnBP9ZHPXDIpuMtTLlGSjN7la4US+LJzoUMyhwjA5QXlm39JexgwHKW4Xjs8Z2d3dLCXOeuA==",+ "version": "4.1.11",+ "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-4.1.11.tgz",+ "integrity": "sha512-zTCVGpyFsGWBhllOyKlTw/vnr6D9qxsfSDyfbyZmTyjHw5N/VuvzHpHoQjm2ZJzn4RJgx5w4r7V0er69CmLgPQ==","dev": true,"license": "MIT","dependencies": {- "@vitest/pretty-format": "4.1.9",+ "@vitest/pretty-format": "4.1.11","convert-source-map": "^2.0.0","tinyrainbow": "^3.1.0"},@@ -815,6 +880,18 @@"node": ">=12"}},+ "node_modules/ast-v8-to-istanbul": {+ "version": "1.0.5",+ "resolved": "https://registry.npmjs.org/ast-v8-to-istanbul/-/ast-v8-to-istanbul-1.0.5.tgz",+ "integrity": "sha512-UPAgKJFSEGMWSDr3LX4tqnAb4f7KGT8O40Tyx8wbYmmZ/yn58lNCm8h3svs3eXgiGd5AXxz8NDOvXWvicq+rJA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@jridgewell/trace-mapping": "^0.3.31",+ "estree-walker": "^3.0.3",+ "js-tokens": "^10.0.0"+ }+ },"node_modules/atomically": {"version": "2.1.1","resolved": "https://registry.npmjs.org/atomically/-/atomically-2.1.1.tgz",@@ -1110,6 +1187,23 @@"integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==","license": "ISC"},+ "node_modules/has-flag": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/html-escaper": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz",+ "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==",+ "dev": true,+ "license": "MIT"+ },"node_modules/ini": {"version": "4.1.1","resolved": "https://registry.npmjs.org/ini/-/ini-4.1.1.tgz",@@ -1183,6 +1277,52 @@"url": "https://github.com/sponsors/sindresorhus"}},+ "node_modules/istanbul-lib-coverage": {+ "version": "3.2.2",+ "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz",+ "integrity": "sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==",+ "dev": true,+ "license": "BSD-3-Clause",+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/istanbul-lib-report": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz",+ "integrity": "sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==",+ "dev": true,+ "license": "BSD-3-Clause",+ "dependencies": {+ "istanbul-lib-coverage": "^3.0.0",+ "make-dir": "^4.0.0",+ "supports-color": "^7.1.0"+ },+ "engines": {+ "node": ">=10"+ }+ },+ "node_modules/istanbul-reports": {+ "version": "3.2.0",+ "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.2.0.tgz",+ "integrity": "sha512-HGYWWS/ehqTV3xN10i23tkPkpH46MLCIMFNCaaKNavAXTF1RkqxawEPtnjnGZ6XKSInBKkiOA5BKS+aZiY3AvA==",+ "dev": true,+ "license": "BSD-3-Clause",+ "dependencies": {+ "html-escaper": "^2.0.0",+ "istanbul-lib-report": "^3.0.0"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/js-tokens": {+ "version": "10.0.0",+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-10.0.0.tgz",+ "integrity": "sha512-lM/UBzQmfJRo9ABXbPWemivdCW8V2G8FHaHdypQaIy523snUjog0W71ayWXTjiR+ixeMyVHN2XcpnTd/liPg/Q==",+ "dev": true,+ "license": "MIT"+ },"node_modules/ky": {"version": "1.14.3","resolved": "https://registry.npmjs.org/ky/-/ky-1.14.3.tgz",@@ -1211,9 +1351,9 @@}},"node_modules/lightningcss": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.32.0.tgz",- "integrity": "sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==",+ "version": "1.33.0",+ "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.33.0.tgz",+ "integrity": "sha512-WkUDrojuJs0xkgGf2udWxa3yGBRxPtxUkB79i6aCZLRgc7PM8fZe9TosfPDcvEpQZbuFASnHYmRLBLUbmLOIIA==","dev": true,"license": "MPL-2.0","dependencies": {@@ -1227,23 +1367,23 @@"url": "https://opencollective.com/parcel"},"optionalDependencies": {- "lightningcss-android-arm64": "1.32.0",- "lightningcss-darwin-arm64": "1.32.0",- "lightningcss-darwin-x64": "1.32.0",- "lightningcss-freebsd-x64": "1.32.0",- "lightningcss-linux-arm-gnueabihf": "1.32.0",- "lightningcss-linux-arm64-gnu": "1.32.0",- "lightningcss-linux-arm64-musl": "1.32.0",- "lightningcss-linux-x64-gnu": "1.32.0",- "lightningcss-linux-x64-musl": "1.32.0",- "lightningcss-win32-arm64-msvc": "1.32.0",- "lightningcss-win32-x64-msvc": "1.32.0"+ "lightningcss-android-arm64": "1.33.0",+ "lightningcss-darwin-arm64": "1.33.0",+ "lightningcss-darwin-x64": "1.33.0",+ "lightningcss-freebsd-x64": "1.33.0",+ "lightningcss-linux-arm-gnueabihf": "1.33.0",+ "lightningcss-linux-arm64-gnu": "1.33.0",+ "lightningcss-linux-arm64-musl": "1.33.0",+ "lightningcss-linux-x64-gnu": "1.33.0",+ "lightningcss-linux-x64-musl": "1.33.0",+ "lightningcss-win32-arm64-msvc": "1.33.0",+ "lightningcss-win32-x64-msvc": "1.33.0"}},"node_modules/lightningcss-android-arm64": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss-android-arm64/-/lightningcss-android-arm64-1.32.0.tgz",- "integrity": "sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg==",+ "version": "1.33.0",+ "resolved": "https://registry.npmjs.org/lightningcss-android-arm64/-/lightningcss-android-arm64-1.33.0.tgz",+ "integrity": "sha512-gEpRTalKdosp4Bb8qWtc2iOgE5SeIHlpS1up9bFq2wAyYhl1UdTObYiHe98zEM9SQvSoqQZ1IQD0JNpg3Ml5pg==","cpu": ["arm64"],@@ -1262,9 +1402,9 @@}},"node_modules/lightningcss-darwin-arm64": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.32.0.tgz",- "integrity": "sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ==",+ "version": "1.33.0",+ "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.33.0.tgz",+ "integrity": "sha512-Sciaz8eenNTKn9b3t7+xr0ipTp9YxKQY4npwQ3mrRuL0BAVHBLyZxofhaKBAVtzmtRZ/zTyo0/to4B1uWG/Djg==","cpu": ["arm64"],@@ -1283,9 +1423,9 @@}},"node_modules/lightningcss-darwin-x64": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.32.0.tgz",- "integrity": "sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w==",+ "version": "1.33.0",+ "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.33.0.tgz",+ "integrity": "sha512-Z5UPAxzrjlWNNyGy6i65cJzzvgJ5D3T6wMvs+gWpY9d7qRhANrxqAp6LhxIgZhWEw18RfJTGcRxjuLIBr+m8XQ==","cpu": ["x64"],@@ -1304,9 +1444,9 @@}},"node_modules/lightningcss-freebsd-x64": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.32.0.tgz",- "integrity": "sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig==",+ "version": "1.33.0",+ "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.33.0.tgz",+ "integrity": "sha512-QQM/Ti/hQajJwCY+RiWuCZ9sdtI/XQk7nDK5vC8kkdwixezOlDgvDx7+RT+QjK6FcFT4MpsuoBnHIo/O3StRRg==","cpu": ["x64"],@@ -1325,9 +1465,9 @@}},"node_modules/lightningcss-linux-arm-gnueabihf": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.32.0.tgz",- "integrity": "sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw==",+ "version": "1.33.0",+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.33.0.tgz",+ "integrity": "sha512-N7FVBe6iS24MlM6R/4RBTxGhQheZGs7tiQ9U32UtF75NzP5Q7xWPRqLBCKxlRQRk3rY1jCIPLzx7WzOhuUIRLQ==","cpu": ["arm"],@@ -1346,13 +1486,16 @@}},"node_modules/lightningcss-linux-arm64-gnu": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.32.0.tgz",- "integrity": "sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ==",+ "version": "1.33.0",+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.33.0.tgz",+ "integrity": "sha512-j2v/itmy4HlNxlc6voKXYgBqNi0Ng2LShg4z7GufpEgs05P+2suBVyi9I6YHq5uoVFx9ETin3eCEhLVyXGQnKg==","cpu": ["arm64"],"dev": true,+ "libc": [+ "glibc"+ ],"license": "MPL-2.0","optional": true,"os": [@@ -1367,13 +1510,16 @@}},"node_modules/lightningcss-linux-arm64-musl": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.32.0.tgz",- "integrity": "sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg==",+ "version": "1.33.0",+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.33.0.tgz",+ "integrity": "sha512-yiO5ROMuYQgXbC60yjZU5CYSFZGKXL0HFATXt9mHJn1+zW55oCtMI9NfcVhYLMFDL7gV7oBPon/EmMMGg2OvtQ==","cpu": ["arm64"],"dev": true,+ "libc": [+ "musl"+ ],"license": "MPL-2.0","optional": true,"os": [@@ -1388,13 +1534,16 @@}},"node_modules/lightningcss-linux-x64-gnu": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.32.0.tgz",- "integrity": "sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA==",+ "version": "1.33.0",+ "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.33.0.tgz",+ "integrity": "sha512-ar+Ju7LmcN0Jo4FpL4hpFybwNG9/3A/Br5KW2n2jyODg3MEZXaDYADdemoNS+BDNfMgKvylJLj4S5tyRActuAg==","cpu": ["x64"],"dev": true,+ "libc": [+ "glibc"+ ],"license": "MPL-2.0","optional": true,"os": [@@ -1409,13 +1558,16 @@}},"node_modules/lightningcss-linux-x64-musl": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.32.0.tgz",- "integrity": "sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg==",+ "version": "1.33.0",+ "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.33.0.tgz",+ "integrity": "sha512-RYiYbkokw0trfKqqzfF55lginwEPrD3OJDfTuJzFs1MK6iFnDenaz1fqLLtX4ITG3OktJQXOeTaw1awrBAlZPw==","cpu": ["x64"],"dev": true,+ "libc": [+ "musl"+ ],"license": "MPL-2.0","optional": true,"os": [@@ -1430,9 +1582,9 @@}},"node_modules/lightningcss-win32-arm64-msvc": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.32.0.tgz",- "integrity": "sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw==",+ "version": "1.33.0",+ "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.33.0.tgz",+ "integrity": "sha512-1K+MPfLSFVpphzpdbfkhlWk6wBrTObBzS2T6db10PNOZgR9GoVsAWzwNyuhUYYbTp23j+4RrncfujZ4uAzXvwA==","cpu": ["arm64"],@@ -1451,9 +1603,9 @@}},"node_modules/lightningcss-win32-x64-msvc": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.32.0.tgz",- "integrity": "sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q==",+ "version": "1.33.0",+ "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.33.0.tgz",+ "integrity": "sha512-OlEICDx/Xl0FqSp4bry8zFnCvGpig3Gl4gCquvYwHuqJKEC1+n9NgDniFvqHGmMv1ZkqDJrDqKKSykTDX+ehuA==","cpu": ["x64"],@@ -1481,6 +1633,34 @@"@jridgewell/sourcemap-codec": "^1.5.5"}},+ "node_modules/magicast": {+ "version": "0.5.4",+ "resolved": "https://registry.npmjs.org/magicast/-/magicast-0.5.4.tgz",+ "integrity": "sha512-llBEhWm1SacoRwgHUoQJYtwp4PBLF4faQi5TCpIGyGs9n4y5+juI0tDgyKIfpqxckRHaHzouUEph3THklWh03w==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@babel/parser": "^7.29.7",+ "@babel/types": "^7.29.7",+ "source-map-js": "^1.2.1"+ }+ },+ "node_modules/make-dir": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz",+ "integrity": "sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "semver": "^7.5.3"+ },+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },"node_modules/minimist": {"version": "1.2.8","resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz",@@ -1491,9 +1671,9 @@}},"node_modules/nanoid": {- "version": "3.3.16",- "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.16.tgz",- "integrity": "sha512-bzlKTyNJ7+LdGIIwy8ijFpIqEQIvafahV7eYykJ8Cvh42EdJeODoJ6gUJXpQJvej1BddH8OqTXZNE/KfbWAu8Q==",+ "version": "3.3.18",+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.18.tgz",+ "integrity": "sha512-DTg4MJbGMWkfi6VZFdNt2/caMbQy4Ou+Op/hJQvGEWcnVfoA1QA+xzRKAzw9jD6+GVOOeYr/mIcuDSdug6F6+w==","dev": true,"funding": [{@@ -1556,9 +1736,9 @@"license": "ISC"},"node_modules/picomatch": {- "version": "4.0.5",- "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.5.tgz",- "integrity": "sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A==",+ "version": "4.0.7",+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.7.tgz",+ "integrity": "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==","dev": true,"license": "MIT","engines": {@@ -1569,9 +1749,9 @@}},"node_modules/postcss": {- "version": "8.5.23",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.23.tgz",- "integrity": "sha512-g50586zr4bZmwFiTlflMu8E0bDTb5I5gertgwAKmsdUlTQIhZtunzUlD1WSzwcVWPoAVpsrA6vlfCD7oXvRwgg==",+ "version": "8.5.26",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.26.tgz",+ "integrity": "sha512-u82N74LFzG8ca+dD8puPnplTXoGH4fTPpVGuIbt36G3qvNlkvfD0lEAZSxaly3KX8TS/L1A1gsCEmvKmBcVbkQ==","dev": true,"funding": [{@@ -1589,7 +1769,7 @@],"license": "MIT","dependencies": {- "nanoid": "^3.3.16",+ "nanoid": "^3.3.17","picocolors": "^1.1.1","source-map-js": "^1.2.1"},@@ -1667,13 +1847,13 @@}},"node_modules/rolldown": {- "version": "1.1.4",- "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.1.4.tgz",- "integrity": "sha512-IjZYiLxZwpnhwhdBH2ugdTGVSdhCQUmLxLoqyjiL0JxYjyRst+5a0P3xfrTxJ5F638j4Mvvw5FAX5XE6eHpXbA==",+ "version": "1.2.5",+ "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.2.5.tgz",+ "integrity": "sha512-VD2IE5PUG4Oj8zz2VGykiYd5wbnjdIiSsNQb8Qu5B+noEp+A78mu2iVvpp27g8es14Tk9rofNs5Tku9iQCS4fA==","dev": true,"license": "MIT","dependencies": {- "@oxc-project/types": "=0.138.0",+ "@oxc-project/types": "=0.146.0","@rolldown/pluginutils": "^1.0.0"},"bin": {@@ -1683,21 +1863,21 @@"node": "^20.19.0 || >=22.12.0"},"optionalDependencies": {- "@rolldown/binding-android-arm64": "1.1.4",- "@rolldown/binding-darwin-arm64": "1.1.4",- "@rolldown/binding-darwin-x64": "1.1.4",- "@rolldown/binding-freebsd-x64": "1.1.4",- "@rolldown/binding-linux-arm-gnueabihf": "1.1.4",- "@rolldown/binding-linux-arm64-gnu": "1.1.4",- "@rolldown/binding-linux-arm64-musl": "1.1.4",- "@rolldown/binding-linux-ppc64-gnu": "1.1.4",- "@rolldown/binding-linux-s390x-gnu": "1.1.4",- "@rolldown/binding-linux-x64-gnu": "1.1.4",- "@rolldown/binding-linux-x64-musl": "1.1.4",- "@rolldown/binding-openharmony-arm64": "1.1.4",- "@rolldown/binding-wasm32-wasi": "1.1.4",- "@rolldown/binding-win32-arm64-msvc": "1.1.4",- "@rolldown/binding-win32-x64-msvc": "1.1.4"+ "@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"}},"node_modules/semver": {@@ -1805,6 +1985,19 @@"integrity": "sha512-zOh9jPYI+xrNOyisSelgym4tolKTJCQd5GBhK0+0xJvcYDcwlOoxF/rnFKQ2KRZknXSG9jWAp66fwP6AxN9STg==","license": "MIT"},+ "node_modules/supports-color": {+ "version": "7.2.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "has-flag": "^4.0.0"+ },+ "engines": {+ "node": ">=8"+ }+ },"node_modules/tinybench": {"version": "2.9.0","resolved": "https://registry.npmjs.org/tinybench/-/tinybench-2.9.0.tgz",@@ -1849,14 +2042,6 @@"node": ">=14.0.0"}},- "node_modules/tslib": {- "version": "2.8.1",- "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",- "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",- "dev": true,- "license": "0BSD",- "optional": true- },"node_modules/type-fest": {"version": "4.41.0","resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz",@@ -1915,16 +2100,16 @@}},"node_modules/vite": {- "version": "8.1.3",- "resolved": "https://registry.npmjs.org/vite/-/vite-8.1.3.tgz",- "integrity": "sha512-Ds+gBRbj0lwRO2Y5hwnUBdxSwlAve9LeRyU4sNnAr0ewW0gWF0n5bgXgUzbgZ49MV9BVUAQUFYVcDUcilUExMA==",+ "version": "8.2.2",+ "resolved": "https://registry.npmjs.org/vite/-/vite-8.2.2.tgz",+ "integrity": "sha512-cFKLV/PRgAUlIRm5WjMjJ86jrftzpqcgH+Us+DS8mI3CDNiH30Whrz8uHL3+MOLPAgqbMBAqWdAHAphOAM+z/Q==","dev": true,"license": "MIT","dependencies": {- "lightningcss": "^1.32.0",- "picomatch": "^4.0.4",- "postcss": "^8.5.16",- "rolldown": "~1.1.3",+ "lightningcss": "^1.33.0",+ "picomatch": "^4.0.5",+ "postcss": "^8.5.26",+ "rolldown": "~1.2.4","tinyglobby": "^0.2.17"},"bin": {@@ -1941,7 +2126,7 @@},"peerDependencies": {"@types/node": "^20.19.0 || >=22.12.0",- "@vitejs/devtools": "^0.3.0",+ "@vitejs/devtools": "^0.4.0 || ^0.5.0","esbuild": "^0.27.0 || ^0.28.0","jiti": ">=1.21.0","less": "^4.0.0",@@ -1993,19 +2178,19 @@}},"node_modules/vitest": {- "version": "4.1.9",- "resolved": "https://registry.npmjs.org/vitest/-/vitest-4.1.9.tgz",- "integrity": "sha512-nE3/LEyc0z87uHYLZebqCUOaJr2hdtuPp7BQ4BosVFnfltxgAvMG08NyrSGlPpOUWvR27c5flSmYFTNr78L9GQ==",+ "version": "4.1.11",+ "resolved": "https://registry.npmjs.org/vitest/-/vitest-4.1.11.tgz",+ "integrity": "sha512-fhACrNXUidIbGSBr5FlbuBkO7VWC1ZyLl0DO4CU2DrQoAPxX84Ysxs+HeGQpii5lZWV1Q4gBZTTu49mF+A6Edw==","dev": true,"license": "MIT","dependencies": {- "@vitest/expect": "4.1.9",- "@vitest/mocker": "4.1.9",- "@vitest/pretty-format": "4.1.9",- "@vitest/runner": "4.1.9",- "@vitest/snapshot": "4.1.9",- "@vitest/spy": "4.1.9",- "@vitest/utils": "4.1.9",+ "@vitest/expect": "4.1.11",+ "@vitest/mocker": "4.1.11",+ "@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.0.0","expect-type": "^1.3.0","magic-string": "^0.30.21",@@ -2033,12 +2218,12 @@"@edge-runtime/vm": "*","@opentelemetry/api": "^1.9.0","@types/node": "^20.0.0 || ^22.0.0 || >=24.0.0",- "@vitest/browser-playwright": "4.1.9",- "@vitest/browser-preview": "4.1.9",- "@vitest/browser-webdriverio": "4.1.9",- "@vitest/coverage-istanbul": "4.1.9",- "@vitest/coverage-v8": "4.1.9",- "@vitest/ui": "4.1.9",+ "@vitest/browser-playwright": "4.1.11",+ "@vitest/browser-preview": "4.1.11",+ "@vitest/browser-webdriverio": "4.1.11",+ "@vitest/coverage-istanbul": "4.1.11",+ "@vitest/coverage-v8": "4.1.11",+ "@vitest/ui": "4.1.11","happy-dom": "*","jsdom": "*","vite": "^6.0.0 || ^7.0.0 || ^8.0.0"diff --git a/plugin-sdk/package.json b/plugin-sdk/package.jsonindex 11ea5a9ed..3e3008c5c 100644--- a/plugin-sdk/package.json+++ b/plugin-sdk/package.json@@ -71,12 +71,14 @@"build": "tsc -p tsconfig.json && tsc -p tsconfig.cjs.json && node scripts/finish-cjs.mjs","typecheck": "tsc -p tsconfig.json --noEmit","test": "vitest run",+ "test:coverage": "vitest run --coverage","prepublishOnly": "npm run build && npm test"},"devDependencies": {"@types/node": "^22.20.0","@types/semver": "^7.7.1","@types/update-notifier": "^6.0.8",+ "@vitest/coverage-v8": "^4.1.9","typescript": "^5.9.3","vitest": "^4.1.9"},diff --git a/plugin-sdk/vitest.config.ts b/plugin-sdk/vitest.config.tsnew file mode 100644index 000000000..9b4cb8759--- /dev/null+++ b/plugin-sdk/vitest.config.ts@@ -0,0 +1,20 @@+import { defineConfig } from 'vitest/config';++export default defineConfig({+ test: {+ coverage: {+ provider: 'v8',+ reporter: ['lcov', 'text'],+ reportsDirectory: './coverage',+ include: ['src/**/*.ts'],+ // Mirrored in the repo root's sonar.coverage.exclusions — a file skipped+ // here emits no lcov entry, so Sonar must not count it as uncovered either.+ exclude: [+ // Machine-written by server/scripts/gen-plugin-facts.ts.+ 'src/generated/**',+ // Generated snapshot (scripts/gen-lucide-icon-names.mjs) — pure data.+ 'src/lucide-icon-names.ts',+ ],+ },+ },+});diff --git a/shared/package.json b/shared/package.jsonindex f5a36556f..bb2ea14ab 100644--- a/shared/package.json+++ b/shared/package.json@@ -54,6 +54,7 @@"build:watch": "tsdown --watch --no-clean","test": "vitest run","test:watch": "vitest",+ "test:coverage": "vitest run --coverage","typecheck": "tsc --noEmit","format": "prettier --write \"src/**/*.ts\"","format:check": "prettier --check \"src/**/*.ts\"",@@ -68,6 +69,7 @@"devDependencies": {"@eslint/js": "^10.0.1","@trivago/prettier-plugin-sort-imports": "^6.0.2",+ "@vitest/coverage-v8": "^4.1.9","eslint": "^10.3.0","eslint-config-flat-gitignore": "^2.3.0","eslint-config-prettier": "^10.1.8",diff --git a/shared/vitest.config.ts b/shared/vitest.config.tsnew file mode 100644index 000000000..dc98ad27c--- /dev/null+++ b/shared/vitest.config.ts@@ -0,0 +1,22 @@+import { defineConfig } from 'vitest/config';++export default defineConfig({+ test: {+ coverage: {+ provider: 'v8',+ reporter: ['lcov', 'text'],+ reportsDirectory: './coverage',+ include: ['src/**/*.ts'],+ // Mirrored in sonar.coverage.exclusions — a file skipped here emits no+ // lcov entry, so Sonar must not count it as uncovered either.+ exclude: [+ // Machine-generated by server/scripts/gen-plugin-facts.ts.+ 'src/plugin-permissions.ts',+ // Per-locale string tables are data, not executable code; the parity+ // specs import every locale, which would report them as 100% covered+ // and inflate the package number.+ 'src/i18n/*/**',+ ],+ },+ },+});diff --git a/sonar-project.properties b/sonar-project.propertiesindex c59c0caad..ae3b3511c 100644--- a/sonar-project.properties+++ b/sonar-project.properties@@ -30,14 +30,17 @@ sonar.exclusions=\**/*.spec.ts,\**/*.d.ts-# Coverage — lcov paths relative to repo root.-# shared/ and plugin-sdk/ have test suites but don't emit lcov (no coverage-# reporter configured); their sources are coverage-excluded below until they do.+# Coverage — lcov paths relative to repo root, one per package+# (each package's vitest config emits lcov to <pkg>/coverage/).sonar.javascript.lcov.reportPaths=\server/coverage/lcov.info,\- client/coverage/lcov.info+ client/coverage/lcov.info,\+ shared/coverage/lcov.info,\+ plugin-sdk/coverage/lcov.info-# Infrastructure/bootstrap files and packages without coverage instrumentation+# Infrastructure/bootstrap files plus generated/data files the vitest configs+# exclude from instrumentation (a file absent from lcov would otherwise count+# as 0% covered here — keep these in sync with each package's vitest.config.ts)sonar.coverage.exclusions=\server/src/index.ts,\server/src/config.ts,\@@ -48,8 +51,10 @@ sonar.coverage.exclusions=\server/src/nest/plugins/runtime/plugin-host-entry.ts,\client/src/main.tsx,\client/src/types.ts,\- shared/src/**,\- plugin-sdk/src/**+ shared/src/plugin-permissions.ts,\+ shared/src/i18n/*/**,\+ plugin-sdk/src/generated/**,\+ plugin-sdk/src/lucide-icon-names.ts# Locale files are large near-identical literal objects — keep them out of duplication metricssonar.cpd.exclusions=shared/src/i18n/**