renovate
Version:
Automated dependency updates. Flexible so you don't need to be.
12 lines (11 loc) • 927 B
TypeScript
import type { AllConfig, RenovateConfig } from '../../../config/types';
import type { RepoFileConfig } from './types';
export declare function detectConfigFile(): Promise<string | null>;
export declare function detectRepoFileConfig(branchName?: string): Promise<RepoFileConfig>;
export declare function checkForRepoConfigError(repoConfig: RepoFileConfig): void;
export declare function mergeRenovateConfig(config: RenovateConfig, branchName?: string): Promise<RenovateConfig>;
/** needed when using portal secrets for npmToken */
export declare function setNpmTokenInNpmrc(config: RenovateConfig): void;
export declare function resolveStaticRepoConfig(config: AllConfig, filename: string | undefined): Promise<AllConfig>;
export declare function tryReadStaticRepoFileConfig(staticRepoConfigFile: string): Promise<AllConfig>;
export declare function mergeStaticConfig(config: AllConfig, staticRepoConfig: AllConfig): AllConfig;