Mark <p-drawer> / <p-sidebar> size usages with TODO comments
Recipe ID
org.openrewrite.primeng.MarkDrawerSizeArtifact@openrewrite/recipes-angularInserts an HTML <!-- TODO: ... --> comment before any <p-drawer> or <p-sidebar> element that binds the removed size input, and records the site in the ManualMigrationSteps data table. Both [size]="..." and size="..." attribute forms are matched. The attribute is left untouched — the v18 replacement (responsive CSS via [style] / styleClass) depends on the desired layout and needs manual review.
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.MarkDrawerSizeIf the recipe isn’t available locally, install it with:
mod config recipes npm install @openrewrite/recipes-angular