@jobgetapp/rush-needs-deploy-plugin
Version:
Utility to list all deployable projects with changes.
24 lines • 1.1 kB
TypeScript
import { ITerminal } from '@rushstack/node-core-library';
import { RushConfiguration } from '@rushstack/rush-sdk';
import { ChangeManager } from '@rushstack/rush-sdk/lib/logic/ChangeManager';
import { ChangedProjectContract, GetChangedProjectsOptionsContract } from '../contracts';
/**
* Service for managing project change state
*/
export declare class ChangeService {
protected readonly rushConfiguration: RushConfiguration;
protected readonly changeManager: ChangeManager;
protected readonly terminal: ITerminal;
/**
* Create new ChangeService
* @param rushConfiguration - Rush repo configuration
* @param changeManager - Rush internal change management service
*/
constructor(rushConfiguration: RushConfiguration, changeManager: ChangeManager, terminal: ITerminal);
/**
* Get all changed projects in the rush repo meeting the provided conditions
* @param options - Options to filter projects
*/
getChangedProjects(options?: GetChangedProjectsOptionsContract): Promise<ChangedProjectContract[]>;
}
//# sourceMappingURL=change.d.ts.map