diff --git a/interface/package.json b/interface/package.json index e4893f594..d447d09a2 100644 --- a/interface/package.json +++ b/interface/package.json @@ -47,14 +47,14 @@ }, "devDependencies": { "@babel/core": "^7.28.5", - "@eslint/js": "^9.38.0", + "@eslint/js": "^9.39.0", "@preact/preset-vite": "^2.10.2", "@trivago/prettier-plugin-sort-imports": "^5.2.2", "@types/node": "^24.9.2", "@types/react": "^19.2.2", "@types/react-dom": "^19.2.2", "concurrently": "^9.2.1", - "eslint": "^9.38.0", + "eslint": "^9.39.0", "eslint-config-prettier": "^10.1.8", "prettier": "^3.6.2", "rollup-plugin-visualizer": "^6.0.5", diff --git a/interface/pnpm-lock.yaml b/interface/pnpm-lock.yaml index 4a09812a0..74530c973 100644 --- a/interface/pnpm-lock.yaml +++ b/interface/pnpm-lock.yaml @@ -79,8 +79,8 @@ importers: specifier: ^7.28.5 version: 7.28.5 '@eslint/js': - specifier: ^9.38.0 - version: 9.38.0 + specifier: ^9.39.0 + version: 9.39.0 '@preact/preset-vite': specifier: ^2.10.2 version: 2.10.2(@babel/core@7.28.5)(preact@10.27.2)(vite@7.1.12(@types/node@24.9.2)(terser@5.44.0)) @@ -100,11 +100,11 @@ importers: specifier: ^9.2.1 version: 9.2.1 eslint: - specifier: ^9.38.0 - version: 9.38.0 + specifier: ^9.39.0 + version: 9.39.0 eslint-config-prettier: specifier: ^10.1.8 - version: 10.1.8(eslint@9.38.0) + version: 10.1.8(eslint@9.39.0) prettier: specifier: ^3.6.2 version: 3.6.2 @@ -116,7 +116,7 @@ importers: version: 5.44.0 typescript-eslint: specifier: ^8.46.2 - version: 8.46.2(eslint@9.38.0)(typescript@5.9.3) + version: 8.46.2(eslint@9.39.0)(typescript@5.9.3) vite: specifier: ^7.1.12 version: 7.1.12(@types/node@24.9.2)(terser@5.44.0) @@ -468,10 +468,6 @@ packages: resolution: {integrity: sha512-gBrxN88gOIf3R7ja5K9slwNayVcZgK6SOUORm2uBzTeIEfeVaIhOpCtTox3P6R7o2jLFwLFTLnC7kU/RGcYEgw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@eslint/core@0.16.0': - resolution: {integrity: sha512-nmC8/totwobIiFcGkDza3GIKfAw1+hLiYVrh3I1nIomQ8PEr5cxg34jnkmGawul/ep52wGRAcyeDCNtWKSOj4Q==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@eslint/core@0.17.0': resolution: {integrity: sha512-yL/sLrpmtDaFEiUj1osRP4TI2MDz1AddJL+jZ7KSqvBuliN4xqYY54IfdN8qD8Toa6g1iloph1fxQNkjOxrrpQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -480,8 +476,8 @@ packages: resolution: {integrity: sha512-gtF186CXhIl1p4pJNGZw8Yc6RlshoePRvE0X91oPGb3vZ8pM3qOS9W9NGPat9LziaBV7XrJWGylNQXkGcnM3IQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@eslint/js@9.38.0': - resolution: {integrity: sha512-UZ1VpFvXf9J06YG9xQBdnzU+kthors6KjhMAl6f4gH4usHyh31rUf2DLGInT8RFYIReYXNSydgPY0V2LuWgl7A==} + '@eslint/js@9.39.0': + resolution: {integrity: sha512-BIhe0sW91JGPiaF1mOuPy5v8NflqfjIcDNpC+LbW9f609WVRX1rArrhi6Z2ymvrAry9jw+5POTj4t2t62o8Bmw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@eslint/object-schema@2.1.7': @@ -1021,8 +1017,8 @@ packages: base64-js@1.5.1: resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==} - baseline-browser-mapping@2.8.22: - resolution: {integrity: sha512-/tk9kky/d8T8CTXIQYASLyhAxR5VwL3zct1oAoVTaOUHwrmsGnfbRwNdEq+vOl2BN8i3PcDdP0o4Q+jjKQoFbQ==} + baseline-browser-mapping@2.8.23: + resolution: {integrity: sha512-616V5YX4bepJFzNyOfce5Fa8fDJMfoxzOIzDCZwaGL8MKVpFrXqfNUoIpRn9YMI5pXf/VKgzjB4htFMsFKKdiQ==} hasBin: true bin-build@3.0.0: @@ -1522,8 +1518,8 @@ packages: resolution: {integrity: sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - eslint@9.38.0: - resolution: {integrity: sha512-t5aPOpmtJcZcz5UJyY2GbvpDlsK5E8JqRqoKtfiKE3cNh437KIqfJr3A3AKf5k64NPx6d0G3dno6XDY05PqPtw==} + eslint@9.39.0: + resolution: {integrity: sha512-iy2GE3MHrYTL5lrCtMZ0X1KLEKKUjmK0kzwcnefhR66txcEmXZD2YWgR5GNdcEwkNx3a0siYkSvl0vIC+Svjmg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} hasBin: true peerDependencies: @@ -3388,9 +3384,9 @@ snapshots: '@esbuild/win32-x64@0.25.11': optional: true - '@eslint-community/eslint-utils@4.9.0(eslint@9.38.0)': + '@eslint-community/eslint-utils@4.9.0(eslint@9.39.0)': dependencies: - eslint: 9.38.0 + eslint: 9.39.0 eslint-visitor-keys: 3.4.3 '@eslint-community/regexpp@4.12.2': {} @@ -3407,10 +3403,6 @@ snapshots: dependencies: '@eslint/core': 0.17.0 - '@eslint/core@0.16.0': - dependencies: - '@types/json-schema': 7.0.15 - '@eslint/core@0.17.0': dependencies: '@types/json-schema': 7.0.15 @@ -3429,7 +3421,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@eslint/js@9.38.0': {} + '@eslint/js@9.39.0': {} '@eslint/object-schema@2.1.7': {} @@ -3796,15 +3788,15 @@ snapshots: dependencies: '@types/node': 24.9.2 - '@typescript-eslint/eslint-plugin@8.46.2(@typescript-eslint/parser@8.46.2(eslint@9.38.0)(typescript@5.9.3))(eslint@9.38.0)(typescript@5.9.3)': + '@typescript-eslint/eslint-plugin@8.46.2(@typescript-eslint/parser@8.46.2(eslint@9.39.0)(typescript@5.9.3))(eslint@9.39.0)(typescript@5.9.3)': dependencies: '@eslint-community/regexpp': 4.12.2 - '@typescript-eslint/parser': 8.46.2(eslint@9.38.0)(typescript@5.9.3) + '@typescript-eslint/parser': 8.46.2(eslint@9.39.0)(typescript@5.9.3) '@typescript-eslint/scope-manager': 8.46.2 - '@typescript-eslint/type-utils': 8.46.2(eslint@9.38.0)(typescript@5.9.3) - '@typescript-eslint/utils': 8.46.2(eslint@9.38.0)(typescript@5.9.3) + '@typescript-eslint/type-utils': 8.46.2(eslint@9.39.0)(typescript@5.9.3) + '@typescript-eslint/utils': 8.46.2(eslint@9.39.0)(typescript@5.9.3) '@typescript-eslint/visitor-keys': 8.46.2 - eslint: 9.38.0 + eslint: 9.39.0 graphemer: 1.4.0 ignore: 7.0.5 natural-compare: 1.4.0 @@ -3813,14 +3805,14 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@8.46.2(eslint@9.38.0)(typescript@5.9.3)': + '@typescript-eslint/parser@8.46.2(eslint@9.39.0)(typescript@5.9.3)': dependencies: '@typescript-eslint/scope-manager': 8.46.2 '@typescript-eslint/types': 8.46.2 '@typescript-eslint/typescript-estree': 8.46.2(typescript@5.9.3) '@typescript-eslint/visitor-keys': 8.46.2 debug: 4.4.3 - eslint: 9.38.0 + eslint: 9.39.0 typescript: 5.9.3 transitivePeerDependencies: - supports-color @@ -3843,13 +3835,13 @@ snapshots: dependencies: typescript: 5.9.3 - '@typescript-eslint/type-utils@8.46.2(eslint@9.38.0)(typescript@5.9.3)': + '@typescript-eslint/type-utils@8.46.2(eslint@9.39.0)(typescript@5.9.3)': dependencies: '@typescript-eslint/types': 8.46.2 '@typescript-eslint/typescript-estree': 8.46.2(typescript@5.9.3) - '@typescript-eslint/utils': 8.46.2(eslint@9.38.0)(typescript@5.9.3) + '@typescript-eslint/utils': 8.46.2(eslint@9.39.0)(typescript@5.9.3) debug: 4.4.3 - eslint: 9.38.0 + eslint: 9.39.0 ts-api-utils: 2.1.0(typescript@5.9.3) typescript: 5.9.3 transitivePeerDependencies: @@ -3873,13 +3865,13 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@8.46.2(eslint@9.38.0)(typescript@5.9.3)': + '@typescript-eslint/utils@8.46.2(eslint@9.39.0)(typescript@5.9.3)': dependencies: - '@eslint-community/eslint-utils': 4.9.0(eslint@9.38.0) + '@eslint-community/eslint-utils': 4.9.0(eslint@9.39.0) '@typescript-eslint/scope-manager': 8.46.2 '@typescript-eslint/types': 8.46.2 '@typescript-eslint/typescript-estree': 8.46.2(typescript@5.9.3) - eslint: 9.38.0 + eslint: 9.39.0 typescript: 5.9.3 transitivePeerDependencies: - supports-color @@ -3951,7 +3943,7 @@ snapshots: base64-js@1.5.1: {} - baseline-browser-mapping@2.8.22: {} + baseline-browser-mapping@2.8.23: {} bin-build@3.0.0: dependencies: @@ -4008,7 +4000,7 @@ snapshots: browserslist@4.27.0: dependencies: - baseline-browser-mapping: 2.8.22 + baseline-browser-mapping: 2.8.23 caniuse-lite: 1.0.30001752 electron-to-chromium: 1.5.244 node-releases: 2.0.27 @@ -4498,9 +4490,9 @@ snapshots: escape-string-regexp@4.0.0: {} - eslint-config-prettier@10.1.8(eslint@9.38.0): + eslint-config-prettier@10.1.8(eslint@9.39.0): dependencies: - eslint: 9.38.0 + eslint: 9.39.0 eslint-scope@8.4.0: dependencies: @@ -4511,15 +4503,15 @@ snapshots: eslint-visitor-keys@4.2.1: {} - eslint@9.38.0: + eslint@9.39.0: dependencies: - '@eslint-community/eslint-utils': 4.9.0(eslint@9.38.0) + '@eslint-community/eslint-utils': 4.9.0(eslint@9.39.0) '@eslint-community/regexpp': 4.12.2 '@eslint/config-array': 0.21.1 '@eslint/config-helpers': 0.4.2 - '@eslint/core': 0.16.0 + '@eslint/core': 0.17.0 '@eslint/eslintrc': 3.3.1 - '@eslint/js': 9.38.0 + '@eslint/js': 9.39.0 '@eslint/plugin-kit': 0.4.1 '@humanfs/node': 0.16.7 '@humanwhocodes/module-importer': 1.0.1 @@ -5901,13 +5893,13 @@ snapshots: dependencies: typescript: 5.9.3 - typescript-eslint@8.46.2(eslint@9.38.0)(typescript@5.9.3): + typescript-eslint@8.46.2(eslint@9.39.0)(typescript@5.9.3): dependencies: - '@typescript-eslint/eslint-plugin': 8.46.2(@typescript-eslint/parser@8.46.2(eslint@9.38.0)(typescript@5.9.3))(eslint@9.38.0)(typescript@5.9.3) - '@typescript-eslint/parser': 8.46.2(eslint@9.38.0)(typescript@5.9.3) + '@typescript-eslint/eslint-plugin': 8.46.2(@typescript-eslint/parser@8.46.2(eslint@9.39.0)(typescript@5.9.3))(eslint@9.39.0)(typescript@5.9.3) + '@typescript-eslint/parser': 8.46.2(eslint@9.39.0)(typescript@5.9.3) '@typescript-eslint/typescript-estree': 8.46.2(typescript@5.9.3) - '@typescript-eslint/utils': 8.46.2(eslint@9.38.0)(typescript@5.9.3) - eslint: 9.38.0 + '@typescript-eslint/utils': 8.46.2(eslint@9.39.0)(typescript@5.9.3) + eslint: 9.39.0 typescript: 5.9.3 transitivePeerDependencies: - supports-color diff --git a/interface/vite.config.ts b/interface/vite.config.ts index 1dd1da6b6..a013b6990 100644 --- a/interface/vite.config.ts +++ b/interface/vite.config.ts @@ -2,7 +2,7 @@ import preact from '@preact/preset-vite'; import fs from 'fs'; import path from 'path'; import { visualizer } from 'rollup-plugin-visualizer'; -import { defineConfig, Plugin } from 'vite'; +import { Plugin, defineConfig } from 'vite'; import viteImagemin from 'vite-plugin-imagemin'; import viteTsconfigPaths from 'vite-tsconfig-paths'; import zlib from 'zlib'; @@ -80,7 +80,9 @@ const bundleSizeReporter = (): Plugin => { console.log(REPEAT_CHAR.repeat(REPEAT_COUNT)); console.log(`📊 Total Bundle Size: ${(totalSize / KB_DIVISOR).toFixed(2)} KB`); - console.log(`🗜️ Total Gzipped Size: ${(totalGzipSize / KB_DIVISOR).toFixed(2)} KB`); + console.log( + `🗜️ Total Gzipped Size: ${(totalGzipSize / KB_DIVISOR).toFixed(2)} KB` + ); console.log(`📈 Compression Ratio: ${compressionRatio.toFixed(1)}%`); console.log(REPEAT_CHAR.repeat(REPEAT_COUNT)); } @@ -95,11 +97,11 @@ const createPreactPlugin = (devToolsEnabled: boolean) => }); // Common base plugins -const createBasePlugins = (devToolsEnabled: boolean, includeBundleReporter = true) => { - const plugins = [ - createPreactPlugin(devToolsEnabled), - viteTsconfigPaths() - ]; +const createBasePlugins = ( + devToolsEnabled: boolean, + includeBundleReporter = true +) => { + const plugins = [createPreactPlugin(devToolsEnabled), viteTsconfigPaths()]; if (includeBundleReporter) { plugins.push(bundleSizeReporter()); } @@ -214,10 +216,7 @@ export default defineConfig( if (command === 'serve') { console.log(`Preparing for standalone build with server, mode=${mode}`); return { - plugins: [ - ...createBasePlugins(true, true), - mockServer() - ], + plugins: [...createBasePlugins(true, true), mockServer()], resolve: { alias: RESOLVE_ALIASES }, diff --git a/project-words.txt b/project-words.txt index ee977b90d..5dad68d19 100644 --- a/project-words.txt +++ b/project-words.txt @@ -1433,4 +1433,5 @@ bedsingle beddouble teddybear washingmachine -switchprogram \ No newline at end of file +switchprogram +brotlin \ No newline at end of file