hubDir
uses node:path
Where the hub's own codebase is: $TCM_HUB_CODEBASE, else .tcm/data/hub.
import path from "node:path"; export const hubDir = (): string => process.env.TCM_HUB_CODEBASE || path.join(process.cwd(), ".tcm", "data", "hub")
uses node:path
Where the hub's own codebase is: $TCM_HUB_CODEBASE, else .tcm/data/hub.
import path from "node:path"; export const hubDir = (): string => process.env.TCM_HUB_CODEBASE || path.join(process.cwd(), ".tcm", "data", "hub")