Files
Live_RC/package.json
larssand fd6efe2c7e Add track layout tracking so lap-time stats stay comparable
Clubs that reconfigure their track (e.g. running indoors in the same
building) can now add named track layouts under Settings, each with
just a start date/time - layouts are contiguous, so a layout's end is
implicitly the next one's start, with no separate field to keep in
sync. Every session freezes which layout was active when it started,
so the "track record" audio cue and the Results Archive (which now
shows each session's layout) only compare laps run on the same
physical track. With no layouts configured, everything behaves
exactly as before - the feature is fully inert until a club uses it.

Design settled through conversation with the user: global scope (not
per class), start-date-only (no redundant stop date), and no changes
needed to driver/transponder mapping, since that's already fully
independent of track geometry in this app.

Deliberately out of scope for this pass: the mobile/driver training
profile's own cross-session personal-best trend stats still compare
across a driver's whole lap ledger regardless of layout - logged in
ROADMAP.md as a real remaining gap for a later pass.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-10 14:17:06 +02:00

35 lines
1.2 KiB
JSON

{
"name": "rc-racecore",
"version": "1.9.0",
"private": true,
"description": "RC RaceCore live timing and race control with AMMC ingest and SQLite persistence",
"engines": {
"node": ">=22 <27",
"npm": ">=10"
},
"allowScripts": {
"better-sqlite3": true
},
"scripts": {
"preinstall": "node scripts/preinstall.js",
"postinstall": "node scripts/verify-install.js",
"start": "node scripts/serverctl.js start",
"start:fg": "node server.js",
"stop": "node scripts/serverctl.js stop",
"status": "node scripts/serverctl.js status",
"restart": "node scripts/serverctl.js restart",
"update": "node scripts/serverctl.js update",
"verify": "node scripts/verify-install.js",
"backup:restore": "node scripts/restore-backup.js",
"audit:prod": "npm audit --omit=dev",
"test": "node --experimental-default-type=module tests/run.js",
"test:browser": "node --experimental-default-type=module tests/browser_smoke.js",
"setup:windows": "powershell -NoProfile -ExecutionPolicy Bypass -File windows/setup.ps1"
},
"dependencies": {
"better-sqlite3": "^12.11.1",
"express": "5.2.1",
"qrcode": "^1.5.4"
}
}