The plugin ships inside the server image but shared the app's CalVer, so an app-only release marked every paired reader as needing a plugin update. It also let the version drift: the 2026.10.09 release still reported 2026.09.25. - read the plugin version from const.lua at startup so LATEST_PLUGIN_VERSION cannot diverge from the packaged plugin - keep MIN_COVER_PLUGIN_VERSION and MIN_INCREMENTAL_PLUGIN_VERSION as independent compatibility floors instead of copies of the app version - add scripts/version.mjs (check by default, --write to sync) with a dependency-free zip reader; npm test now fails on a drifted version string or a stale public/kovi-plugin.zip - bump the app version to 2026.11.13
20 lines
519 B
JSON
20 lines
519 B
JSON
{
|
|
"name": "kovi",
|
|
"version": "2026.11.13",
|
|
"private": true,
|
|
"license": "GPL-3.0-only",
|
|
"type": "module",
|
|
"description": "A safe, polished self-hosted KOReader reading dashboard.",
|
|
"engines": {
|
|
"node": ">=22"
|
|
},
|
|
"scripts": {
|
|
"start": "node server.mjs",
|
|
"dev": "node --watch server.mjs",
|
|
"test": "node --test tests/*.test.mjs",
|
|
"fixture": "node scripts/make-fixture.mjs",
|
|
"version:check": "node scripts/version.mjs",
|
|
"version:write": "node scripts/version.mjs --write"
|
|
}
|
|
}
|