Establishes version control for the personal Logseq DB fork before starting the server-client architecture migration and domain features described in docs/agent-guide and the approved implementation plan. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
8 lines
269 B
JavaScript
8 lines
269 B
JavaScript
import { readFileSync, writeFileSync } from "node:fs";
|
|
|
|
const html = readFileSync(new URL("../dist/api-docs.html", import.meta.url), "utf8");
|
|
writeFileSync(
|
|
new URL("../dist/api-docs.generated.mjs", import.meta.url),
|
|
`export default ${JSON.stringify(html)};\n`,
|
|
);
|