Migrate to solution-style tsconfig
Recipe ID
org.openrewrite.angular.migration.migrate-to-solution-style-tsconfigArtifact@openrewrite/recipes-angularMigrates a project to use a solution-style tsconfig.json. The original tsconfig.json content is moved to tsconfig.base.json (with project-specific fields removed), and tsconfig.json is replaced with a solution-style config that references the project's TypeScript configurations. Other tsconfig files that extend ./tsconfig.json are updated to extend ./tsconfig.base.json.
Single recipeProprietary
Usage
This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.
mod run . --recipe org.openrewrite.angular.migration.migrate-to-solution-style-tsconfigIf the recipe isn’t available locally, install it with:
mod config recipes npm install @openrewrite/recipes-angular