Rename Sidebar to Drawer

Proprietary

Renames Sidebar and SidebarModule imports from primeng/sidebar to Drawer and DrawerModule from primeng/drawer, and updates all identifier usages. The old names are deprecated in PrimeNG 18.

org.openrewrite.primeng.RenameSidebarToDrawer
mod run . --recipe=org.openrewrite.primeng.RenameSidebarToDrawer

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Rename Sidebar identifiers to Drawer
  2. Change import
  3. Change import