Find the removed unprefixed CDK portal selectors

Proprietary

Finds .html templates that use the portal or portalHost attribute, which only the TemplatePortalDirective and PortalHostDirective that CDK 21 removed matched. These names are too generic to rename blindly, so confirm they are the CDK directives and rename them to cdkPortal and cdkPortalOutlet.

org.openrewrite.angular.cdk.FindUnprefixedPortalSelectors
mod run . --recipe=org.openrewrite.angular.cdk.FindUnprefixedPortalSelectors

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