git-hashes
Interfaces
| Interface | Description |
|---|---|
| GitHashesEnvOptions | - |
Functions
| Function | Description |
|---|---|
| findProductRoot | Product / workspace root: nearest ancestor with package-lock.json (npm workspaces root). Falls back to the git root enclosing startDir. |
| findSaflibDir | saflib root: this file lives at saflib/docker/src/git-hashes.ts. Prefer that over assuming ./saflib under the git root (submodules / nested monorepos). |
| writeGitHashesEnvFile | - |