feat(common): extend RuntimeConfig for WebUI listener settings
Add webuiHost / webuiTls.enabled / trustProxy to RuntimeConfig as the shared system-settings model for WebUI Wave A1 (HTTPS + self-config panel). Refactor load into pure, tested normalizeRuntimeConfig + resolveRuntimeEnvOverrides (env wins, in-memory only; SNOWLUMA_WEBUI_HOST added alongside the existing PORT/TRUST_PROXY overrides). loadRuntimeConfig backfills older runtime.json with the new defaults. Adds vitest to @snowluma/common (was typecheck-only).
This commit is contained in:
5 files changed
+182
-91
No files matched your search
@@ -45,10 +45,12 @@
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"typecheck": "tsc --noEmit"
|
||||
"typecheck": "tsc --noEmit",
|
||||
"test": "vitest run"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^24.12.2",
|
||||
"typescript": "catalog:"
|
||||
"typescript": "catalog:",
|
||||
"vitest": "^4.1.4"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user