Rush StackShopBlogEvents
Skip to main content

Home > @microsoft/rush-lib > ProjectChangeAnalyzer

ProjectChangeAnalyzer class​

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

Signature:

export declare class ProjectChangeAnalyzer 

Constructors​

Constructor

Modifiers

Description

(constructor)(rushConfiguration)

(BETA) Constructs a new instance of the ProjectChangeAnalyzer class

Methods​

Method

Modifiers

Description

getChangedProjectsAsync(options)

(BETA) 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.

getChangesByProject(lookup, changedFiles)

protected

(BETA)