@jahands/dagger-helpers
Version:
dagger.io helpers for my own projects - not meant for public use
12 lines • 409 B
TypeScript
export declare function getRepoRoot(cwd?: string): string;
/**
* Get the path to the dagger module.
*
* Requires `pnpm-lock.yaml` to exist in the repo root.
*
* @param cwd - The current working directory. **Default:** `process.cwd()`
*
* @returns The path to the dagger module relative to the repo root
*/
export declare function getModulePath(cwd?: string): string;
//# sourceMappingURL=path.d.ts.map