Rename PrimeNG selectors in HTML templates to their v18 equivalents
Recipe ID
org.openrewrite.primeng.RenameTemplateSelectorsArtifact@openrewrite/recipes-angularRenames v17 PrimeNG component selectors in .html templates to their v18 names: <p-calendar> → <p-datepicker>, <p-dropdown> → <p-select>, <p-inputSwitch> → <p-toggleSwitch>, <p-overlayPanel> → <p-popover>, <p-sidebar> → <p-drawer>. Both opening and closing tags are rewritten.
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.RenameTemplateSelectorsIf the recipe isn’t available locally, install it with:
mod config recipes npm install @openrewrite/recipes-angular