codebaseDir
uses node:path
tcm's own codebase, in the repository (where its tcm commands run).
import { repository } from "#codebase/tcmts/dev"; import path from "node:path"; export const codebaseDir = (): string => path.join(repository(), "codebase")