UNPKG

@delta-base/observability

Version:

Observability framework for delta-base applications

20 lines (18 loc) 847 B
interface BuildInfoOptions { /** Path to the directory containing package.json (defaults to current working directory) */ packageJsonDir?: string; /** Path to the output directory (defaults to src/) */ outputDir?: string; /** Name of the output file (defaults to build-info.ts) */ outputFileName?: string; /** Default service name if not found in package.json */ defaultServiceName?: string; /** Whether to include git information */ includeGitInfo?: boolean; /** Whether to include CI/CD information */ includeCiInfo?: boolean; /** Additional custom build info fields */ customFields?: Record<string, string | number | boolean>; } declare function collectBuildInfo(options?: BuildInfoOptions): Record<string, string | number | boolean>; export { type BuildInfoOptions, collectBuildInfo };