style: apply prettier across the tree

One-shot prettier pass so the new format:check gate starts from a clean
baseline. Formatting only — no behaviour change. Generator-owned and
vendored artifacts stay untouched via .prettierignore.
This commit is contained in:
Marc-André Bombeck committed 2026-06-19 22:20:31 +02:00
1 parent b3fea2ef59
commit 1f4ba5939d
1000 files changed
+12130 -8385

No files matched your search

+6 -2
View File
@@ -35,7 +35,9 @@ describe("GET /api/version", () => {
it("returns the package.json version", async () => {
const response = await (GET as unknown as () => Promise<Response>)();
const body = (await response.json()) as VersionEnvelope;
expect(body.data.version).toMatch(/^\d+\.\d+\.\d+(\.\d+)?(-[a-z0-9.-]+)?$/i);
expect(body.data.version).toMatch(
/^\d+\.\d+\.\d+(\.\d+)?(-[a-z0-9.-]+)?$/i,
);
expect(body.data.license).toBe("PolyForm-Noncommercial-1.0.0");
expect(body.data.repository).toContain("github.com");
expect(body.data.changelog).toContain("CHANGELOG");
@@ -75,7 +77,9 @@ describe("GET /api/version", () => {
process.env.NEXT_PUBLIC_APP_VERSION = " ";
const response = await (GET as unknown as () => Promise<Response>)();
const body = (await response.json()) as VersionEnvelope;
expect(body.data.version).toMatch(/^\d+\.\d+\.\d+(\.\d+)?(-[a-z0-9.-]+)?$/i);
expect(body.data.version).toMatch(
/^\d+\.\d+\.\d+(\.\d+)?(-[a-z0-9.-]+)?$/i,
);
});
it("reports offlineGeoEnabled=false when the GeoLite2 databases are absent", async () => {