Skip to main content

mappy (internal)

What this is: the Underwood-Inc/mappy-internal repo — authoritative maintainer tree for mappy (package.json v1.81.1, appId inc.underwood.mappy). Same product as public mappy; public releases ship from Underwood-Inc/mappy, not this clone URL.

Offline-first MapLibre map platform: marker corpus, search, measure, progress filters, static files only (no app backend). Production installers bundle a white-label synthetic demo; Official Map Packs and .mappymap imports ship separately.

Runtime entry​

  • HTML: index.html → /src/main.ts
  • Bootstrap: src/main.ts — boot placeholder, i18n (initMappyI18nAsync), persistent KV, Tauri shell (installTauriMappyShellIfPresent), registerMappyUi + registerMappyAppRootElement
  • Bundler: vite.config.ts — Svelte + React islands, PWA (vite-plugin-pwa), version from MAPPY_APP_VERSION or package.json
  • Desktop primary: Tauri 2 (pnpm tauri:dev, src-tauri/) — Workbox skipped on Tauri webview to avoid stale precache
  • Legacy: Electron wrapper (electron/main.mjs, pnpm electron:dev)

Prerequisites (README.md)​

Node ≥22, pnpm ≥10, Rust for Tauri, public/ git submodule (pnpm submodule:public).

Maintainer scripts (selected)​

ScriptRole
pnpm devVite at http://127.0.0.1:5173
pnpm tauri:dist:winSigned NSIS desktop build
pnpm official-maps:publishOfficial map pack publish pipeline
pnpm verifycheck:static + Vitest

Traceability: requirements/ registry (182 IDs per README), .traceability.yaml, pnpm trace:audit.

Failure modes​

IssueCheck
Empty map tilespublic/ submodule init
Stale UI on Tauri rebuildPWA registration intentionally skipped in src/main.ts for Tauri
CI quality gate.github/workflows/quality-gate.yml

Public carousel / downloads: mappy showcase. CDN catalog: mappy-maps-cdn.


Sources (audited): mappy-internal/package.json, mappy-internal/index.html, mappy-internal/src/main.ts, mappy-internal/vite.config.ts, mappy-internal/README.md