import { dirname, resolve } from "node:path"; import { fileURLToPath } from "node:url"; /** Absolute path to the @garaje/base package root, resolved from this file. */ export function packageRoot(): string { // this file lives at /lib/base-paths.ts return resolve(dirname(fileURLToPath(import.meta.url)), ".."); }