refactor a lot
Some checks failed
Code quality checks / biome (push) Failing after 7s

This commit is contained in:
Seth 2025-05-04 20:47:19 -04:00
parent cf21a56d7a
commit deb223c642
27 changed files with 401 additions and 381 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -1,17 +0,0 @@
import { Glob } from "bun";
const woff2 = new Glob("./*.woff2");
for await (const file of woff2.scan(".")) {
const font = Bun.file(file);
const name = font.name?.split("-")[1];
await Bun.write(`./${name}`, await font.arrayBuffer());
console.log(`Renamed ${file} to ${name}`);
await font.delete();
console.log(`Deleted original font file: ${file}`);
}
console.log("Done")