New initial commit
CI / quality (push) Has been cancelled

This commit is contained in:
matt committed 2026-04-22 16:28:11 -07:00
commit bc02d72576
64 files changed
+9366

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
import { copyFileSync, existsSync, mkdirSync } from "node:fs";
import { dirname, join } from "node:path";
import { fileURLToPath } from "node:url";
const root = join(dirname(fileURLToPath(import.meta.url)), "..");
const copies = [
["src/data/gallery.defaults.json", "src/data/gallery.json"],
["docs/IMPLEMENTATION_DECISIONS.example.md", "docs/IMPLEMENTATION_DECISIONS.md"],
["PRDs/PRD.template.md", "PRDs/PRD.md"],
];
mkdirSync(join(root, "public/gallery/user"), { recursive: true });
for (const [from, to] of copies) {
const dest = join(root, to);
if (existsSync(dest)) {
console.log(`skip (exists): ${to}`);
continue;
}
copyFileSync(join(root, from), dest);
console.log(`created: ${to}`);
}