chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 12:28:55 +08:00
commit db42b91b75
6397 changed files with 146012 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/usr/bin/env bun
import { generate } from "../src/generate";
import path from "path";
import { ZodError } from "zod";
try {
const result = await generate(
path.join(import.meta.dirname, "..", "..", "..", "providers"),
);
console.log(JSON.stringify(result, null, 2));
} catch (e: any) {
if (e instanceof ZodError) {
console.error("Validation error:", e.errors);
console.error("When parsing:", e.cause);
process.exit(1);
}
throw e;
}