Rush StackShopBlogEvents
Skip to main content

Home > @microsoft/rush-lib > ProjectChangeAnalyzer > getChangedProjectsAsync

ProjectChangeAnalyzer.getChangedProjectsAsync() method

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Gets a list of projects that have changed in the current state of the repo when compared to the specified branch, optionally taking the shrinkwrap and settings in the rush-project.json file into consideration.

Signature:

getChangedProjectsAsync(options: IGetChangedProjectsOptions): Promise<Set<RushConfigurationProject>>;

Parameters

ParameterTypeDescription
optionsIGetChangedProjectsOptions

Returns:

Promise<Set<RushConfigurationProject>>