Angular Modernizer
    Preparing search index...

    Coordinates the library extraction pipeline:

    1. Pre-condition validation.
    2. Angular library creation via the Angular CLI.
    3. Artifact migration (file moves, templateUrl/styleUrls rewriting).
    4. Import path rewriting across the project.
    5. Secondary entry point creation.
    6. Build configuration updates (tsconfig paths, ng-package.json).
    7. Post-condition validation (failed checks become warnings).

    Options (LibraryExtractionOptions) are read from the @angular-modernizer/plugin-angular key of context.config.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Runs the pipeline. With dryRun only a preview result is returned.

      Parameters

      Returns Promise<TransformResult>

      Result with metadata (library path, migrated and failed artifacts, updated imports, post-validation warnings). On error the source file text is restored and modified is false; files already written to disk are not removed.