[BUG] TypeScript version not compatible with Angular 12
Created by: bsreddy125
Description
Typescript script version is not compatible with angular version 12.1.2, giving below error while doing ng build, × Compiling with Angular in legacy View Engine compilation mode. The Angular Compiler requires TypeScript >=4.2.3 and <4.4.0 but 4.0.8 was found instead.bar
openapi-generator version
5.2.0
${project.basedir}/target/openapi.json typescript-angular OpenAPI declaration file content or url
<!-- Config Options: https://openapi-generator.tech/docs/generators/typescript-angular/ -->
<output>${project.basedir}/eap-group-services-client-angular</output>
<configOptions>
<npmName>@anthem/eap-groups-angular-client</npmName> <!-- npmName when set generates a package.json file as long as the .openapi-generator-ignore
file isn't set to ignore package.json -->
<npmRepository>------------</npmRepository>
<providedInRoot>true</providedInRoot>
<apiModulePrefix>EAPGroupsService</apiModulePrefix>
<ngVersion>12.1.2</ngVersion>
<stringEnums>true</stringEnums>
</configOptions>.
-->
Command line used for generation
Steps to reproduce
Open api generated package.json "peerDependencies": { "@angular/core": "^12.1.2", "rxjs": "^6.6.0" }, "devDependencies": { "@angular/common": "^12.1.2", "@angular/compiler": "^12.1.2", "@angular/compiler-cli": "^12.1.2", "@angular/core": "^12.1.2", "@angular/platform-browser": "^12.1.2", "ng-packagr": "^11.0.2", "reflect-metadata": "^0.1.3", "rxjs": "^6.6.0", "tsickle": "^0.39.1", "typescript": ">=4.0.0 <4.1.0", "zone.js": "^0.11.3" },
My dependencies:
// Spring Docs implementation 'org.springdoc:springdoc-openapi-webflux-ui:1.5.10'