chore: import upstream snapshot with attribution
Build documentation / build (push) Failing after 0s
Unit tests / build (18) (push) Has been cancelled
Unit tests / build (20) (push) Has been cancelled
Unit tests / build (22) (push) Has been cancelled

This commit is contained in:
wehub-resource-sync
2026-07-13 12:44:39 +08:00
commit 311a3666c4
703 changed files with 71017 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
import { existsSync, mkdirSync, rmSync } from "node:fs";
export default function prepareOutDir(dir) {
if (existsSync(dir)) {
rmSync(dir, { recursive: true, force: true });
}
mkdirSync(dir, { recursive: true });
}