forked from loafle/openapi-generator-original
Correct a dependency resolution failure in generated angular typescript packages for Angular 12 (#10525)
* Update version * Rebuild sample
This commit is contained in:
parent
f5e8f54b21
commit
22d98c177d
@ -293,7 +293,7 @@ public class TypeScriptAngularClientCodegen extends AbstractTypeScriptClientCode
|
|||||||
|
|
||||||
// Set the typescript version compatible to the Angular version
|
// Set the typescript version compatible to the Angular version
|
||||||
if (ngVersion.atLeast("12.0.0")) {
|
if (ngVersion.atLeast("12.0.0")) {
|
||||||
additionalProperties.put("tsVersion", ">=4.2.3 <4.3.0");
|
additionalProperties.put("tsVersion", ">=4.3.0 <4.4.0");
|
||||||
} else if (ngVersion.atLeast("11.0.0")) {
|
} else if (ngVersion.atLeast("11.0.0")) {
|
||||||
additionalProperties.put("tsVersion", ">=4.0.0 <4.1.0");
|
additionalProperties.put("tsVersion", ">=4.0.0 <4.1.0");
|
||||||
} else if (ngVersion.atLeast("10.0.0")) {
|
} else if (ngVersion.atLeast("10.0.0")) {
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
"reflect-metadata": "^0.1.3",
|
"reflect-metadata": "^0.1.3",
|
||||||
"rxjs": "^6.6.0",
|
"rxjs": "^6.6.0",
|
||||||
"tsickle": "^0.43.0",
|
"tsickle": "^0.43.0",
|
||||||
"typescript": ">=4.2.3 <4.3.0",
|
"typescript": ">=4.3.0 <4.4.0",
|
||||||
"zone.js": "^0.11.4"
|
"zone.js": "^0.11.4"
|
||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user