import { resolve } from "node:path"; import { fileURLToPath } from "node:url"; /** Where the catalog, the week table and parsed documents are cached; tests use a temporary one. */ export const DATA = process.env.PSU_DATA_DIR ? resolve(process.env.PSU_DATA_DIR) + "/" : fileURLToPath(new URL("../.data/", import.meta.url));