mirror of
https://github.com/Kpa-clawbot/meshcore-analyzer.git
synced 2026-03-30 20:35:40 +00:00
## Summary Removes all deprecated Node.js backend server code. The Go server (`cmd/server/`) has been the production backend — the Node.js server was kept "just in case" but is no longer needed. ### Removed (19 files, -11,291 lines) **Backend server (6 files):** `server.js`, `db.js`, `decoder.js`, `server-helpers.js`, `packet-store.js`, `iata-coords.js` **Backend tests (9 files):** `test-decoder.js`, `test-decoder-spec.js`, `test-server-helpers.js`, `test-server-routes.js`, `test-packet-store.js`, `test-db.js`, `test-db-migration.js`, `test-regional-filter.js`, `test-regional-integration.js` **Backend tooling (4 files):** `tools/e2e-test.js`, `tools/frontend-test.js`, `benchmark.js`, `benchmark-ab.sh` ### Updated - `AGENTS.md` — Rewritten architecture section for Go, explicit deprecation warnings - `test-all.sh` — Only runs frontend tests - `package.json` — Updated test:unit - `scripts/validate.sh` — Removed Node.js server syntax check - `docker/supervisord.conf` — Points to Go binary ### NOT touched - `public/` (active frontend) ✅ - `test-e2e-playwright.js` (frontend E2E tests) ✅ - Frontend test files (`test-packet-filter.js`, `test-aging.js`, `test-frontend-helpers.js`) ✅ - `package.json` / Playwright deps ✅ ### Follow-up - Server-only npm deps (express, better-sqlite3, mqtt, ws, supertest) can be cleaned from package.json separately - `Dockerfile.node` can be removed separately --------- Co-authored-by: you <you@example.com>
27 lines
946 B
JSON
27 lines
946 B
JSON
{
|
|
"name": "meshcore-analyzer",
|
|
"version": "3.0.0",
|
|
"description": "Community-run alternative to the closed-source `analyzer.letsmesh.net`. MQTT packet collection + open-source web analyzer for the Bay Area MeshCore mesh.",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"test": "npx c8 --reporter=text --reporter=text-summary sh test-all.sh",
|
|
"test:unit": "node test-packet-filter.js && node test-aging.js && node test-frontend-helpers.js",
|
|
"test:coverage": "npx c8 --reporter=text --reporter=html sh test-all.sh",
|
|
"test:full-coverage": "sh scripts/combined-coverage.sh"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"@michaelhart/meshcore-decoder": "^0.2.7",
|
|
"better-sqlite3": "^12.8.0",
|
|
"express": "^5.2.1",
|
|
"mqtt": "^5.15.0",
|
|
"ws": "^8.19.0"
|
|
},
|
|
"devDependencies": {
|
|
"nyc": "^18.0.0",
|
|
"playwright": "^1.58.2",
|
|
"supertest": "^7.2.2"
|
|
}
|
|
} |