Migrate PrimeNGConfig to PrimeNG
ProprietaryRenames 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. MigratePrimeNgConfigToPrimeNGmod run . --recipe= org. openrewrite. primeng. MigratePrimeNgConfigToPrimeNGInstall 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.
- Rename
PrimeNGConfigidentifiers toPrimeNG - Change import
- Find
PrimeNGConfig/PrimeNGservice injection