Skip to content

@saflib/docker


git-hashes

Interfaces

InterfaceDescription
GitHashesEnvOptions-

Functions

FunctionDescription
findProductRootProduct / workspace root: nearest ancestor with package-lock.json (npm workspaces root). Falls back to the git root enclosing startDir.
findSaflibDirsaflib root: this file lives at saflib/docker/src/git-hashes.ts. Prefer that over assuming ./saflib under the git root (submodules / nested monorepos).
writeGitHashesEnvFile-