feat: fuzzy name matcher

- feat: migrate biome to oxc
This commit is contained in:
2026-05-04 15:50:22 +07:00 Unverified
parent e751b9b4b8
commit 17875672c5
32 changed files with 1669 additions and 1608 deletions
+2
View File
@@ -2,7 +2,9 @@ import { afterEach, beforeEach, describe, expect, it } from "bun:test";
import { mkdir, mkdtemp, rm } from "node:fs/promises";
import { tmpdir } from "node:os";
import { join } from "node:path";
import { file, hash } from "bun";
import { AssetManager } from "@/lib/assets";
describe("AssetManager", () => {
+6 -2
View File
@@ -1,11 +1,15 @@
import { beforeAll, describe, expect, it } from "bun:test";
import type { pm, InvalidKey as ik } from "@/lib/auth";
type PermissionManager = typeof pm;
type InvalidKey = typeof ik;
describe("PermissionManager", () => {
const PUBLIC_API_KEY = "public-key";
const PRIVATE_API_KEY = "private-key";
let pm: typeof import("@/lib/auth")["pm"];
let InvalidKey: typeof import("@/lib/auth").InvalidKey;
let pm: PermissionManager;
let InvalidKey: InvalidKey;
beforeAll(async () => {
// Ensure the module reads our test keys when it validates the key list.
+1
View File
@@ -1,4 +1,5 @@
import { describe, expect, it } from "bun:test";
import { Deduplicator } from "@/lib/dedupe";
describe("Deduplicator", () => {