au-rogue
Version:
Conservative Aurelia 1 to 2 codemods. Changes only what is safe, reports everything.
16 lines (15 loc) • 556 B
TypeScript
import { Project } from 'ts-morph';
import { Reporter } from '../types.js';
/**
* Transforms Aurelia 1 bootstrap patterns to Aurelia 2
*
* Key transformations:
* 1. Converts aurelia-app attribute to explicit bootstrap
* 2. Updates main.ts to use new registration system
* 3. Handles plugin configuration migration
*/
export declare function transformBootstrap(project: Project, reporter: Reporter): void;
/**
* Generate compatibility package suggestions
*/
export declare function suggestCompatPackage(project: Project, reporter: Reporter): void;