fix: make it regular ts
Node.js CI / Lint and Test (push) Successful in 1m22s

This commit is contained in:
2025-07-14 14:23:51 -07:00
parent 15b4626f8d
commit 0fd4218e31
7 changed files with 15 additions and 18649 deletions
+11 -2
View File
@@ -68,9 +68,18 @@ const results = await Promise.all(
const flat = results.flat();
const string = `/**
* @copyright nhcarrigan
* @license Naomi's Public License
* @author Naomi Carrigan
*/
export const documentationData = ${JSON.stringify(flat, null, 2)};
`;
await fs.writeFile(
path.resolve(process.cwd(), "src", "data", "docs.json"),
JSON.stringify(flat, null, 2)
path.resolve(process.cwd(), "src", "data", "docs.ts"),
string
);
await fs.rm(docsDirectory, { recursive: true, force: true });