build: add frontend TypeScript toolchain

This commit is contained in:
sjg
2026-08-01 11:52:47 +02:00
parent 860760ecfc
commit 888f793eb8
56 changed files with 43175 additions and 23 deletions
@@ -0,0 +1,12 @@
// SPDX-FileCopyrightText: 2026 Stan Grams <sjg@haxx.space>
//
// SPDX-License-Identifier: GPL-2.0-or-later
import assert from "node:assert/strict";
import test from "node:test";
import { readFile } from "node:fs/promises";
test("index loads the shared UI before the application", async () => {
const html = await readFile(new URL("../../assets/web/index.html", import.meta.url), "utf8");
assert.ok(html.indexOf("/ui-core.js") < html.indexOf("/app.js"));
});