Mark deprecated PrimeNG components with TODO comments
Recipe ID
org.openrewrite.primeng.MarkDeprecatedPrimengComponentsArtifact@openrewrite/recipes-angularFor every TS file that imports a component / module deprecated in PrimeNG 18 (TabMenu, Steps, InlineMessage, TabView, pDefer), prepends a TODO comment to the import describing the recommended v18 replacement and writes a row to the ManualMigrationSteps data table. The import itself is left intact — these modules still exist in v18 but their replacements have different APIs that require manual migration.
Single recipeProprietary
Usage
This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.
mod run . --recipe org.openrewrite.primeng.MarkDeprecatedPrimengComponentsIf the recipe isn’t available locally, install it with:
mod config recipes npm install @openrewrite/recipes-angular