Angular Modernizer
    Preparing search index...

    Interface TransformCodeConfig

    Configuration for transform-code tool.

    interface TransformCodeConfig {
        apiStyle?: ApiStyle;
        autoRollback?: boolean;
        backupDir?: string;
        buildCheck?: boolean;
        createBackup?: boolean;
        diffFormat?: DiffFormat;
        orchestration?: OrchestrationConfig;
        rollbackOnBuildFailure?: boolean;
        rollbackStrategy?: ConfigRollbackStrategy;
        streaming?: boolean;
        validateBeforeTransform?: boolean;
        validateBuild?: boolean;
        validateTransformation?: boolean;
    }
    Index

    Properties

    apiStyle?: ApiStyle

    API style for transformation execution.

    'fluent'
    
    autoRollback?: boolean

    Automatically rollback on validation failure.

    true
    
    backupDir?: string

    Custom backup directory (optional).

    buildCheck?: boolean

    Enable build validation after transformation (fluent API only).

    false
    
    createBackup?: boolean

    Create backup before transformation.

    true
    
    diffFormat?: DiffFormat

    Diff format for transformation output.

    'structured'
    
    orchestration?: OrchestrationConfig

    Orchestration options.

    rollbackOnBuildFailure?: boolean

    Automatically rollback on build failure.

    true
    
    rollbackStrategy?: ConfigRollbackStrategy

    Rollback strategy.

    'all-or-nothing'
    
    streaming?: boolean

    Enable streaming mode for real-time progress updates.

    true
    
    validateBeforeTransform?: boolean

    Validate code before applying transformation.

    true
    
    validateBuild?: boolean

    Run the project build after transformation (the transformed file is type-checked either way).

    false
    
    validateTransformation?: boolean

    Validate transformation results.

    true