We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generator typescript-angular delivers incompatible versions for Angular 10.x in package.json. This causes npm run build to fail.
New dependencies in Angular Compiler requires TypeScript >=4.0.0 and <4.1.0.
v4.3.1 / The last stable version of OpenAPITools/openapi-generator using openapi-generator-cli
openapi-generator-cli generate -i petstore.yaml -g typescript-angular -o petstore --additional-properties="npmName=petstore,npmVersion=0.9.0,withInterfaces=true,providedInRoot=true,ngVersion=10.2.0"
Expected result:
Update typescript version in package.json from "typescript": ">=3.6.0 <3.8.0", to "typescript": ">=3.9.2 <=4.1.0"
The text was updated successfully, but these errors were encountered:
this is already implemented and will be released in version 5.0.0. it is already part of version 5.0.0-beta3
https://github.com/OpenAPITools/openapi-generator/blob/master/samples/client/petstore/typescript-angular-v10-provided-in-root/builds/with-npm/package.json#L19-L28
Sorry, something went wrong.
No branches or pull requests
Bug Report Checklist
Description
Generator typescript-angular delivers incompatible versions for Angular 10.x in package.json. This causes npm run build to fail.
New dependencies in Angular Compiler requires TypeScript >=4.0.0 and <4.1.0.
openapi-generator version
v4.3.1 / The last stable version of OpenAPITools/openapi-generator using openapi-generator-cli
OpenAPI declaration file content or url
Example: https://github.com/OAI/OpenAPI-Specification/edit/master/examples/v3.0/petstore.yamlCommand line used for generation
openapi-generator-cli generate -i petstore.yaml -g typescript-angular -o petstore --additional-properties="npmName=petstore,npmVersion=0.9.0,withInterfaces=true,providedInRoot=true,ngVersion=10.2.0"
Generation Details
Steps to reproduce
ERROR: The Angular Compiler requires TypeScript >=3.9.2 and <4.1.0 but 3.7.5 was found instead.
Expected result:
Suggest a fix
Update typescript version in package.json from "typescript": ">=3.6.0 <3.8.0", to "typescript": ">=3.9.2 <=4.1.0"
The text was updated successfully, but these errors were encountered: