Replace defaultCollection with schematicCollections

Proprietary

Replaces the cli.defaultCollection option in angular.json with cli.schematicCollections, which takes a list of collections. Angular 14 deprecated defaultCollection. Matches the replace-default-collection-option schematic.

org.openrewrite.angular.migration.replace-default-collection
mod run . --recipe=org.openrewrite.angular.migration.replace-default-collection

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