Read the app version from package.json everywhere
CI / verify (push) Has been cancelled

The version was duplicated in the server, the About panel and the release
scripts, and had already drifted once. The server health endpoint and the
About panel now take it from package.json, and the help sheet gained an
About section that shows the version alongside the guide details.
This commit is contained in:
2026-12-01 06:02:16 +00:00
parent 5cde6d444b
commit b39cad02fe
3 changed files with 35 additions and 4 deletions
+6 -3
View File
@@ -1,7 +1,10 @@
/**
* Versions shown in the About panel. APP_VERSION mirrors package.json; the
* guide values are bumped when docs/user-guide/guide.html is republished.
* Versions shown in the About panel. APP_VERSION comes straight from
* package.json, so the UI cannot report a version the release did not ship.
* Bump the guide values when docs/user-guide/guide.html is republished.
*/
export const APP_VERSION = '0.5.2';
import { version as APP_VERSION } from '../../package.json';
export { APP_VERSION };
export const GUIDE_VERSION = '0.5';
export const GUIDE_UPDATED = 'November 2026';