Mark deprecated PrimeNG CSS classes with TODO comments
org.openrewrite.primeng.MarkDeprecatedPrimengCssClasses
For every HTML template that references a CSS class removed in PrimeNG 18 (.p-link, .p-highlight, .p-fluid), inserts a <!-- TODO: ... --> comment immediately before the offending element and writes a row to the ManualMigrationSteps data table. The class itself is left in place — the replacements are context-dependent (component-specific selectors, the new fluid input, etc.) and need a human or AI agent to apply.
Recipe source
This recipe is only available to users of Moderne.
This recipe is available under the Moderne Proprietary License.
Used by
This recipe is used as part of the following composite recipes:
Usage
In order to run JavaScript recipes, you will need to use the Moderne CLI. For JavaScript specific configuration instructions, please see our configuring JavaScript guide.
Once the CLI is installed, you can install this JavaScript recipe package by running the following command:
mod config recipes npm install @openrewrite/recipes-angular
Then, you can run the recipe via:
mod run . --recipe org.openrewrite.primeng.MarkDeprecatedPrimengCssClasses