Add static: false to view queries

Proprietary

Adds static: false to @ViewChild and @ContentChild decorators that don't have the static property. Angular 8 requires an explicit static flag for view query decorators. Using static: false preserves the Angular 7 default behavior (queries resolved after change detection).

org.openrewrite.angular.migration.add-static-false-to-view-queries
mod run . --recipe=org.openrewrite.angular.migration.add-static-false-to-view-queries

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