Files
Live_RC/package.json
larssand 71b3451b13 Show update-available link in the sidebar, not only in Settings
The update card lived inside Settings, easy to miss on an app people
mostly leave on the Dashboard or Timing view. A small link now sits
next to the version number in the sidebar footer, on every view, and
appears automatically from the same startup update check Settings
already used - no new endpoint. Clicking it jumps straight into
Settings with the update ready to run.

Verified with a real headless-browser run against a throwaway git
clone: the link appears on its own without ever opening Settings,
names the real new version, survives navigating to another view, and
clicking it lands on Settings with the update already available there.

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

35 lines
1.2 KiB
JSON

{
"name": "rc-racecore",
"version": "1.10.1",
"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"
}
}