/** * Dependency management utilities */ /** * Executes a command in a directory and returns a promise */ export declare function execCommand(command: string, cwd: string): Promise; /** * Configuration for dependency update operations */ export interface DependencyUpdateConfig { /** Paths to server/app package.json files by category */ packagePaths: { backend?: string[]; frontend?: string[]; mobile?: string[]; }; /** Packages to check and update */ packagesToCheck: string[]; /** Root directory of the monorepo */ rootDir: string; } /** * Default packages to check for @common-stack based monorepos */ export declare const DEFAULT_COMMON_STACK_PACKAGES: string[]; /** * Updates dependencies in a target package.json from a source package.json */ export declare function updateDependencies(targetPackagePath: string, sourcePackagePath: string): Promise; /** * Gets the target package paths based on the package name */ export declare function getTargetPathsForPackage(packageName: string, config: DependencyUpdateConfig): string[]; /** * Runs npm-check-updates for @common-stack packages */ export declare function runNcuUpdate(rootDir: string): Promise; /** * Runs yarn install from the root directory */ export declare function runYarnInstall(rootDir: string): Promise; /** * Runs the complete dependency update workflow */ export declare function runUpdateDependenciesWorkflow(config: DependencyUpdateConfig): Promise; //# sourceMappingURL=dependencies.d.ts.map