* feat(protobufs): sync to firmware-current and consume workspace package Sync the vendored .proto sources to firmware-current (v2.7.25+48), regenerate the v2 TS bindings, and consume the workspace @meshtastic/protobufs (workspace:*) in place of the stale JSR 2.7.20 — finishing the monorepo migration (core was already workspace:*). Includes the one required breaking-change fix: admin nodedb_reset changed int32 to bool, so resetNodes() now sends value: true. * build(protobufs): vendor generated bindings for workspace consumers The package is consumed via workspace:* — its exports point at the TS source, which imports ./dist/meshtastic/*_pb.ts — so the generated output must exist at build time. CI builds web/core with no codegen step and the runners have no buf CLI, so the bindings are vendored here (kept gitignored; lint/format skip them). Regenerate with: pnpm --filter @meshtastic/protobufs gen * fix(protobufs): clean script removes the actual generated output dir buf writes bindings to packages/ts/dist, but clean was removing a non-existent root dist — so it never cleaned stale output. Addresses Copilot review feedback. * refactor: move web app packages/web -> apps/web Aligns the web app with the apps/web layout (matching the Vercel web-test Root Directory and the SDK-migration direction). Pure directory move plus root config: pnpm-workspace (adds apps/*), vitest projects, root tsconfig reference, and the pr/release-web/nightly workflows. vercel.json moved with the app. Build + 36 validation tests green. * feat: config fields, module pages, key verification, telemetry capture Incorporates the firmware-current feature work onto the protobuf foundation: new config fields (Display message bubbles; LoRa fem_lna_mode + serial_hal_only; Telemetry air_quality_screen_enabled); 4 new ModuleConfig pages (TrafficManagement, StatusMessage, TAK, RemoteHardware); the manual Key Verification flow (sendKeyVerification + ClientNotificationDialog stages + Verify Key button); live telemetry capture (nodeDB addDeviceMetrics) and admin hardening (toggleMutedNode, graceful PortNum default); plus the sdk-preview ConfigEditor demo and store/config tests. Build + lint + format + 131 tests green. * chore: drop #1062 (unsaved-change-detection) to match upstream revert #1062 was merged to main by accident (per @danditomaso) and is being reverted. Reverse-applied its diff here via 3-way so #1097 stays consistent with where main is headed, while keeping the feature changes layered on the same files (deviceStore/changeRegistry). Build + 131 tests + lint + format green. * fix(nodes): clean up SNR display in node table and map popup SNR is a ratio measured in dB, not dBm (which is absolute power); the node table and map popup both mislabeled it and crammed three values together: '0dBm/50%/50raw'. The trailing '%/raw' pair was the same heuristic ((snr+10)*5) shown twice — once clamped, once not. Render SNR in dB rounded to one decimal, color-coded by a 0-100% signal-quality heuristic (green/yellow/red), with the quality percentage as a muted secondary. Drop the redundant raw value. Adds unit.db; this matches the existing SNRTooltip, which already renders dB.
124 lines
4.1 KiB
JSON
124 lines
4.1 KiB
JSON
{
|
|
"name": "meshtastic-web",
|
|
"version": "2.6.6-0",
|
|
"type": "module",
|
|
"description": "Meshtastic web client",
|
|
"license": "GPL-3.0-only",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/meshtastic/web.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/meshtastic/web/issues"
|
|
},
|
|
"homepage": "https://meshtastic.org",
|
|
"scripts": {
|
|
"preinstall": "npx only-allow pnpm",
|
|
"setup:certs": "mkcert localhost 127.0.0.1 ::1",
|
|
"build": "vite build",
|
|
"build:analyze": "BUNDLE_ANALYZE=true pnpm run build",
|
|
"lint": "oxlint",
|
|
"lint:fix": "oxlint --fix",
|
|
"format": "oxfmt --check .",
|
|
"format:fix": "oxfmt .",
|
|
"check": "pnpm lint && pnpm format",
|
|
"check:fix": "pnpm lint:fix && pnpm format:fix",
|
|
"dev": "vite",
|
|
"dev:https": "USE_HTTPS=true vite",
|
|
"test": "vitest",
|
|
"typecheck": "pnpm run tsc --noEmit",
|
|
"preview": "vite preview",
|
|
"docker:build": "docker build -t meshtastic-web:latest -f ./infra/Containerfile .",
|
|
"package": "gzipper c -i html,js,css,png,ico,svg,json,webmanifest,txt dist dist/output && tar -cvf dist/build.tar -C ./dist/output/ ."
|
|
},
|
|
"dependencies": {
|
|
"@hookform/resolvers": "^5.2.2",
|
|
"@meshtastic/core": "workspace:*",
|
|
"@meshtastic/transport-http": "workspace:*",
|
|
"@meshtastic/transport-web-bluetooth": "workspace:*",
|
|
"@meshtastic/transport-web-serial": "workspace:*",
|
|
"@noble/curves": "^1.9.2",
|
|
"@preact/signals-core": "^1.8.0",
|
|
"better-result": "^1.0.0",
|
|
"@radix-ui/react-accordion": "^1.2.12",
|
|
"@radix-ui/react-alert-dialog": "^1.1.15",
|
|
"@radix-ui/react-checkbox": "^1.3.3",
|
|
"@radix-ui/react-dialog": "^1.1.15",
|
|
"@radix-ui/react-dropdown-menu": "^2.1.16",
|
|
"@radix-ui/react-label": "^2.1.7",
|
|
"@radix-ui/react-menubar": "^1.1.16",
|
|
"@radix-ui/react-popover": "^1.1.15",
|
|
"@radix-ui/react-scroll-area": "^1.2.10",
|
|
"@radix-ui/react-select": "^2.2.6",
|
|
"@radix-ui/react-separator": "^1.1.7",
|
|
"@radix-ui/react-slider": "^1.3.6",
|
|
"@radix-ui/react-switch": "^1.2.6",
|
|
"@radix-ui/react-tabs": "^1.1.13",
|
|
"@radix-ui/react-toast": "^1.2.15",
|
|
"@radix-ui/react-toggle-group": "^1.1.11",
|
|
"@radix-ui/react-tooltip": "^1.2.8",
|
|
"@radix-ui/react-visually-hidden": "^1.2.3",
|
|
"@tailwindcss/vite": "^4.1.14",
|
|
"@tanstack/react-router": "^1.170.15",
|
|
"@tanstack/react-router-devtools": "^1.167.0",
|
|
"@tanstack/router-cli": "^1.167.17",
|
|
"@tanstack/router-devtools": "^1.167.0",
|
|
"@turf/turf": "^7.2.0",
|
|
"@types/node": "^24.7.0",
|
|
"@types/web-bluetooth": "^0.0.21",
|
|
"base64-js": "^1.5.1",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"cmdk": "^1.1.1",
|
|
"crypto-random-string": "^5.0.0",
|
|
"i18next": "^25.5.3",
|
|
"i18next-browser-languagedetector": "^8.2.0",
|
|
"i18next-http-backend": "^4.0.0",
|
|
"idb-keyval": "^6.2.2",
|
|
"immer": "^11.1.8",
|
|
"js-cookie": "^3.0.7",
|
|
"lucide-react": "^1.17.0",
|
|
"maplibre-gl": "5.8.0",
|
|
"react": "^19.2.0",
|
|
"react-dom": "^19.2.0",
|
|
"react-error-boundary": "^6.0.0",
|
|
"react-hook-form": "^7.78.0",
|
|
"react-i18next": "^17.0.8",
|
|
"react-map-gl": "8.1.0",
|
|
"react-qrcode-logo": "^4.0.0",
|
|
"rfc4648": "^1.5.4",
|
|
"vite": "^7.3.2",
|
|
"vite-plugin-html": "^3.2.2",
|
|
"vite-plugin-pwa": "^1.3.0",
|
|
"zod": "^4.1.12",
|
|
"zustand": "5.0.8"
|
|
},
|
|
"devDependencies": {
|
|
"@tanstack/router-plugin": "^1.168.18",
|
|
"@testing-library/jest-dom": "^6.9.1",
|
|
"@testing-library/react": "^16.3.0",
|
|
"@testing-library/user-event": "^14.6.1",
|
|
"@types/chrome": "^0.1.22",
|
|
"@types/geojson": "^7946.0.16",
|
|
"@types/js-cookie": "^3.0.6",
|
|
"@types/react": "^19.2.1",
|
|
"@types/react-dom": "^19.2.0",
|
|
"@types/serviceworker": "^0.0.158",
|
|
"@types/w3c-web-serial": "^1.0.8",
|
|
"@vitejs/plugin-basic-ssl": "^2.1.0",
|
|
"@vitejs/plugin-react": "^5.0.4",
|
|
"autoprefixer": "^10.4.21",
|
|
"gzipper": "^8.2.1",
|
|
"happy-dom": "^20.8.9",
|
|
"oxfmt": "^0.16.0",
|
|
"oxlint": "^1.41.0",
|
|
"tailwind-merge": "^3.3.1",
|
|
"tailwindcss": "^4.1.14",
|
|
"tailwindcss-animate": "^1.0.7",
|
|
"tar": "^7.5.11",
|
|
"testing-library": "^0.0.2",
|
|
"typescript": "^5.9.3",
|
|
"vitest": "^4.1.8"
|
|
}
|
|
}
|