Migrate PrimeNG config field assignments to .set()

Proprietary

In PrimeNG 18, fields on the PrimeNG config service like ripple, inputStyle, inputVariant, and csp are WritableSignal<T> rather than plain fields. Direct assignment (service.ripple = true) no longer compiles. This recipe rewrites such assignments to use the signal's set() method (service.ripple.set(true)) when the file imports PrimeNG from primeng/config.

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

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