refactor: move plugin loading into typed registry

This commit is contained in:
sjg
2026-08-01 12:26:29 +02:00
parent 968fb3ea2d
commit 2cbcc23fec
8 changed files with 150 additions and 68 deletions
@@ -11,6 +11,8 @@ const indexPath = new URL("../../assets/web/index.html", import.meta.url);
test("index loads the shared UI before the application", async () => {
const html = await readFile(indexPath, "utf8");
assert.ok(html.indexOf("/ui-core.js") < html.indexOf("/app.js"));
assert.ok(html.indexOf("/plugin-loader.js") < html.indexOf("/app.js"));
assert.equal(html.includes("var pluginScripts"), false);
});
test("startup has no remote script or stylesheet dependencies", async () => {