Migrate PrimeNGConfig to PrimeNG

Proprietary

Renames the PrimeNGConfig import from primeng/api to PrimeNG from primeng/config, renames all identifier usages, and flags injection sites that should be migrated to providePrimeNG() in application providers.

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

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 PrimeNGConfig identifiers to PrimeNG
  2. Change import
  3. Find PrimeNGConfig / PrimeNG service injection