import { dirname, join } from "node:path"; import { fileURLToPath } from "node:url"; export const repoRoot = dirname(dirname(dirname(fileURLToPath(import.meta.url)))); export function rootPath(...parts: readonly string[]): string { return join(repoRoot, ...parts); }