Angular Modernizer
    Preparing search index...

    Incremental analyzer: detects changed files and re-analyzes only them plus their dependents. Also determines the build scope of a change (IncrementalAnalyzer.getBuildScope).

    Implements

    • IncrementalAnalyzer
    Index

    Constructors

    Methods

    • Determine optimal build scope for validation

      Analyzes changed files and their transitive dependencies to recommend the most efficient build strategy.

      Strategy selection:

      • 0-10 files: affected-only (ng build --configuration production --only-affected)
      • 11-50 files: partial (ng build --configuration production)
      • 50 files: full (ng build --configuration production --force)

      Parameters

      Returns Promise<BuildScope>

      Build scope with strategy and recommendations

    • Get change statistics

      Returns ChangeStats

    • Force full re-analysis (invalidate all)

      Returns void