import fs from "fs/promises"; import path from "path"; import type { AstroIntegration } from "astro"; import fm from "front-matter"; import satori from "satori"; import { Resvg } from "@resvg/resvg-js"; // eslint-disable-next-line @typescript-eslint/naming-convention const __dirname = path.dirname(new URL(import.meta.url).pathname); const getStaticPaths = (): string[] => { const posts = Object.key