chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 13:32:57 +08:00
commit cd420f9332
4811 changed files with 884702 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
import { readdirSync, unlinkSync } from "node:fs";
const DIR = ".server-changes";
const KEEP = new Set(["README.md"]);
const removed = [];
for (const file of readdirSync(DIR)) {
if (!file.endsWith(".md") || KEEP.has(file)) continue;
unlinkSync(`${DIR}/${file}`);
removed.push(file);
}
if (removed.length === 0) {
console.log(`${DIR} already clean, no changes`);
} else {
console.log(`${DIR} cleaned, removed ${removed.length} consumed file(s):`);
removed.forEach((f) => console.log(` - ${f}`));
}