Migrate @Input() to signal-based input()

Proprietary

Converts @Input() decorated properties in Angular classes to signal-based input() declarations. For example, @Input() name: string becomes name = input<string>(), and @Input({ required: true }) name!: string becomes name = input.required<string>().

org.openrewrite.angular.migration.migrate-input-to-signal
mod run . --recipe=org.openrewrite.angular.migration.migrate-input-to-signal

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