From d41da8d565fe812cb8510aabb6a4c17c02c73840 Mon Sep 17 00:00:00 2001 From: Karl von Randow Date: Thu, 23 Nov 2023 13:26:46 +1300 Subject: [PATCH] Upgrade core types --- .changeset/moody-pumas-work.md | 21 +++++ package.json | 2 +- packages/generator-common/package.json | 2 +- packages/handlebars-templates/package.json | 2 +- packages/java-cxf-cdi-server/package.json | 2 +- packages/java-cxf-client/package.json | 2 +- packages/java-cxf-spring-server/package.json | 2 +- packages/java-jaxrs-client/package.json | 2 +- packages/java-jaxrs-common/package.json | 2 +- packages/java-jaxrs-server/package.json | 2 +- packages/java-like/package.json | 2 +- packages/java-retrofit-client/package.json | 2 +- packages/plain-documentation/package.json | 2 +- packages/typescript-common/package.json | 2 +- .../package.json | 2 +- packages/typescript-fetch-client/package.json | 2 +- .../typescript-fetch-client2/package.json | 2 +- .../typescript-fetch-node-client/package.json | 2 +- .../typescript-fetch-rn-client/package.json | 2 +- pnpm-lock.yaml | 92 +++++++++---------- 20 files changed, 85 insertions(+), 64 deletions(-) create mode 100644 .changeset/moody-pumas-work.md diff --git a/.changeset/moody-pumas-work.md b/.changeset/moody-pumas-work.md new file mode 100644 index 00000000..f29bb087 --- /dev/null +++ b/.changeset/moody-pumas-work.md @@ -0,0 +1,21 @@ +--- +"@openapi-generator-plus/typescript-express-example-server-generator": patch +"@openapi-generator-plus/typescript-fetch-node-client-generator": patch +"@openapi-generator-plus/typescript-fetch-rn-client-generator": patch +"@openapi-generator-plus/typescript-fetch-client-generator2": patch +"@openapi-generator-plus/typescript-fetch-client-generator": patch +"@openapi-generator-plus/java-cxf-spring-server-generator": patch +"@openapi-generator-plus/handlebars-templates": patch +"@openapi-generator-plus/java-retrofit-client-generator": patch +"@openapi-generator-plus/java-cxf-cdi-server-generator": patch +"@openapi-generator-plus/plain-documentation-generator": patch +"@openapi-generator-plus/java-jaxrs-client-generator": patch +"@openapi-generator-plus/java-jaxrs-generator-common": patch +"@openapi-generator-plus/java-jaxrs-server-generator": patch +"@openapi-generator-plus/typescript-generator-common": patch +"@openapi-generator-plus/generator-common": patch +"@openapi-generator-plus/java-cxf-client-generator": patch +"@openapi-generator-plus/java-like-generator-helper": patch +--- + +Upgrade core types diff --git a/package.json b/package.json index 415f6c91..219a29a6 100644 --- a/package.json +++ b/package.json @@ -33,6 +33,6 @@ "typescript": "^5.3.2" }, "dependencies": { - "@openapi-generator-plus/testing": "^2.7.0" + "@openapi-generator-plus/testing": "^2.8.0" } } diff --git a/packages/generator-common/package.json b/packages/generator-common/package.json index 3757916f..c67842e4 100644 --- a/packages/generator-common/package.json +++ b/packages/generator-common/package.json @@ -22,7 +22,7 @@ }, "homepage": "https://github.com/karlvr/openapi-generator-plus-generators/tree/master/packages/generator-common#readme", "dependencies": { - "@openapi-generator-plus/types": "^2.6.0", + "@openapi-generator-plus/types": "^2.7.0", "@openapi-generator-plus/utils": "^1.0.1", "pluralize": "^8.0.0", "url-parse": "^1.5.10" diff --git a/packages/handlebars-templates/package.json b/packages/handlebars-templates/package.json index 12fa4838..876d4757 100644 --- a/packages/handlebars-templates/package.json +++ b/packages/handlebars-templates/package.json @@ -23,7 +23,7 @@ "dependencies": { "@openapi-generator-plus/generator-common": "1.3.4", "@openapi-generator-plus/indexed-type": "^1.0.0", - "@openapi-generator-plus/types": "^2.6.0", + "@openapi-generator-plus/types": "^2.7.0", "change-case": "^4.1.2", "handlebars": "^4.7.8", "marked": "^10.0.0", diff --git a/packages/java-cxf-cdi-server/package.json b/packages/java-cxf-cdi-server/package.json index 8dc0c5bd..01d4d3d7 100644 --- a/packages/java-cxf-cdi-server/package.json +++ b/packages/java-cxf-cdi-server/package.json @@ -35,7 +35,7 @@ "@openapi-generator-plus/handlebars-templates": "1.3.0", "@openapi-generator-plus/java-jaxrs-generator-common": "2.5.0", "@openapi-generator-plus/java-jaxrs-server-generator": "2.2.6", - "@openapi-generator-plus/types": "^2.6.0" + "@openapi-generator-plus/types": "^2.7.0" }, "publishConfig": { "access": "public" diff --git a/packages/java-cxf-client/package.json b/packages/java-cxf-client/package.json index 346fe825..05c4e0a0 100644 --- a/packages/java-cxf-client/package.json +++ b/packages/java-cxf-client/package.json @@ -35,7 +35,7 @@ "@openapi-generator-plus/handlebars-templates": "1.3.0", "@openapi-generator-plus/java-jaxrs-generator-common": "2.5.0", "@openapi-generator-plus/java-jaxrs-client-generator": "2.2.5", - "@openapi-generator-plus/types": "^2.6.0" + "@openapi-generator-plus/types": "^2.7.0" }, "publishConfig": { "access": "public" diff --git a/packages/java-cxf-spring-server/package.json b/packages/java-cxf-spring-server/package.json index 01d4f000..8028bc6d 100644 --- a/packages/java-cxf-spring-server/package.json +++ b/packages/java-cxf-spring-server/package.json @@ -36,7 +36,7 @@ "@openapi-generator-plus/handlebars-templates": "1.3.0", "@openapi-generator-plus/java-jaxrs-generator-common": "2.5.0", "@openapi-generator-plus/java-jaxrs-server-generator": "2.2.6", - "@openapi-generator-plus/types": "^2.6.0" + "@openapi-generator-plus/types": "^2.7.0" }, "publishConfig": { "access": "public" diff --git a/packages/java-jaxrs-client/package.json b/packages/java-jaxrs-client/package.json index 4dec7db3..73051645 100644 --- a/packages/java-jaxrs-client/package.json +++ b/packages/java-jaxrs-client/package.json @@ -34,7 +34,7 @@ "@openapi-generator-plus/handlebars-templates": "1.3.0", "@openapi-generator-plus/java-jaxrs-generator-common": "2.5.0", "@openapi-generator-plus/java-like-generator-helper": "2.1.5", - "@openapi-generator-plus/types": "^2.6.0", + "@openapi-generator-plus/types": "^2.7.0", "change-case": "^4.1.2" }, "publishConfig": { diff --git a/packages/java-jaxrs-common/package.json b/packages/java-jaxrs-common/package.json index 03491f7c..2ebb973d 100644 --- a/packages/java-jaxrs-common/package.json +++ b/packages/java-jaxrs-common/package.json @@ -33,7 +33,7 @@ "@openapi-generator-plus/generator-common": "1.3.4", "@openapi-generator-plus/handlebars-templates": "1.3.0", "@openapi-generator-plus/java-like-generator-helper": "2.1.5", - "@openapi-generator-plus/types": "^2.6.0", + "@openapi-generator-plus/types": "^2.7.0", "change-case": "^4.1.2", "handlebars": "^4.7.8" }, diff --git a/packages/java-jaxrs-server/package.json b/packages/java-jaxrs-server/package.json index 9e5f39e6..b0317494 100644 --- a/packages/java-jaxrs-server/package.json +++ b/packages/java-jaxrs-server/package.json @@ -35,7 +35,7 @@ "@openapi-generator-plus/handlebars-templates": "1.3.0", "@openapi-generator-plus/java-jaxrs-generator-common": "2.5.0", "@openapi-generator-plus/java-like-generator-helper": "2.1.5", - "@openapi-generator-plus/types": "^2.6.0", + "@openapi-generator-plus/types": "^2.7.0", "change-case": "^4.1.2" }, "publishConfig": { diff --git a/packages/java-like/package.json b/packages/java-like/package.json index 2873422d..f5dd711f 100644 --- a/packages/java-like/package.json +++ b/packages/java-like/package.json @@ -23,7 +23,7 @@ "homepage": "https://github.com/karlvr/openapi-generator-plus-generators/tree/master/packages/java-like#readme", "dependencies": { "@openapi-generator-plus/generator-common": "1.3.4", - "@openapi-generator-plus/types": "^2.6.0", + "@openapi-generator-plus/types": "^2.7.0", "change-case": "^4.1.2" }, "publishConfig": { diff --git a/packages/java-retrofit-client/package.json b/packages/java-retrofit-client/package.json index bcafb8bd..76c21b92 100644 --- a/packages/java-retrofit-client/package.json +++ b/packages/java-retrofit-client/package.json @@ -32,7 +32,7 @@ "dependencies": { "@openapi-generator-plus/handlebars-templates": "1.3.0", "@openapi-generator-plus/java-jaxrs-client-generator": "2.2.5", - "@openapi-generator-plus/types": "^2.6.0" + "@openapi-generator-plus/types": "^2.7.0" }, "publishConfig": { "access": "public" diff --git a/packages/plain-documentation/package.json b/packages/plain-documentation/package.json index 43023ad3..a7562dda 100644 --- a/packages/plain-documentation/package.json +++ b/packages/plain-documentation/package.json @@ -31,7 +31,7 @@ "@openapi-generator-plus/generator-common": "1.3.4", "@openapi-generator-plus/handlebars-templates": "1.3.0", "@openapi-generator-plus/java-like-generator-helper": "2.1.5", - "@openapi-generator-plus/types": "^2.6.0", + "@openapi-generator-plus/types": "^2.7.0", "handlebars": "^4.7.8", "less": "^4.2.0" }, diff --git a/packages/typescript-common/package.json b/packages/typescript-common/package.json index a7000d71..478ec769 100644 --- a/packages/typescript-common/package.json +++ b/packages/typescript-common/package.json @@ -24,7 +24,7 @@ "@openapi-generator-plus/generator-common": "1.3.4", "@openapi-generator-plus/handlebars-templates": "1.3.0", "@openapi-generator-plus/java-like-generator-helper": "2.1.5", - "@openapi-generator-plus/types": "^2.6.0", + "@openapi-generator-plus/types": "^2.7.0", "handlebars": "^4.7.8", "pluralize": "^8.0.0" }, diff --git a/packages/typescript-express-example-server/package.json b/packages/typescript-express-example-server/package.json index ed472f98..0044d086 100644 --- a/packages/typescript-express-example-server/package.json +++ b/packages/typescript-express-example-server/package.json @@ -33,7 +33,7 @@ "dependencies": { "@openapi-generator-plus/generator-common": "1.3.4", "@openapi-generator-plus/handlebars-templates": "1.3.0", - "@openapi-generator-plus/types": "^2.6.0", + "@openapi-generator-plus/types": "^2.7.0", "@openapi-generator-plus/typescript-generator-common": "1.6.0" }, "publishConfig": { diff --git a/packages/typescript-fetch-client/package.json b/packages/typescript-fetch-client/package.json index 12d2aef7..789f4a9a 100644 --- a/packages/typescript-fetch-client/package.json +++ b/packages/typescript-fetch-client/package.json @@ -34,7 +34,7 @@ "@openapi-generator-plus/generator-common": "1.3.4", "@openapi-generator-plus/handlebars-templates": "1.3.0", "@openapi-generator-plus/indexed-type": "^1.0.0", - "@openapi-generator-plus/types": "^2.6.0", + "@openapi-generator-plus/types": "^2.7.0", "@openapi-generator-plus/typescript-generator-common": "1.6.0", "change-case": "^4.1.2" }, diff --git a/packages/typescript-fetch-client2/package.json b/packages/typescript-fetch-client2/package.json index 908f8451..05c4f5d0 100644 --- a/packages/typescript-fetch-client2/package.json +++ b/packages/typescript-fetch-client2/package.json @@ -34,7 +34,7 @@ "@openapi-generator-plus/generator-common": "1.3.4", "@openapi-generator-plus/handlebars-templates": "1.3.0", "@openapi-generator-plus/indexed-type": "^1.0.0", - "@openapi-generator-plus/types": "^2.6.0", + "@openapi-generator-plus/types": "^2.7.0", "@openapi-generator-plus/typescript-generator-common": "1.6.0", "change-case": "^4.1.2" }, diff --git a/packages/typescript-fetch-node-client/package.json b/packages/typescript-fetch-node-client/package.json index fcd61f0c..944e8f13 100644 --- a/packages/typescript-fetch-node-client/package.json +++ b/packages/typescript-fetch-node-client/package.json @@ -34,7 +34,7 @@ "dependencies": { "@openapi-generator-plus/generator-common": "1.3.4", "@openapi-generator-plus/handlebars-templates": "1.3.0", - "@openapi-generator-plus/types": "^2.6.0", + "@openapi-generator-plus/types": "^2.7.0", "@openapi-generator-plus/typescript-fetch-client-generator": "1.5.1", "@openapi-generator-plus/typescript-generator-common": "1.6.0" }, diff --git a/packages/typescript-fetch-rn-client/package.json b/packages/typescript-fetch-rn-client/package.json index 2e35e429..cd6d7025 100644 --- a/packages/typescript-fetch-rn-client/package.json +++ b/packages/typescript-fetch-rn-client/package.json @@ -32,7 +32,7 @@ "homepage": "https://github.com/karlvr/openapi-generator-plus-generators/tree/master/packages/typescript-fetch-rn-client#readme", "dependencies": { "@openapi-generator-plus/handlebars-templates": "1.3.0", - "@openapi-generator-plus/types": "^2.6.0", + "@openapi-generator-plus/types": "^2.7.0", "@openapi-generator-plus/typescript-fetch-client-generator": "1.5.1", "@openapi-generator-plus/typescript-generator-common": "1.6.0" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1eae2662..b54c04af 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,8 +9,8 @@ importers: .: dependencies: '@openapi-generator-plus/testing': - specifier: ^2.7.0 - version: 2.7.0(openapi-types@12.1.3) + specifier: ^2.8.0 + version: 2.8.0(openapi-types@12.1.3) devDependencies: '@changesets/cli': specifier: ^2.26.2 @@ -70,8 +70,8 @@ importers: packages/generator-common: dependencies: '@openapi-generator-plus/types': - specifier: ^2.6.0 - version: 2.6.0 + specifier: ^2.7.0 + version: 2.7.0 '@openapi-generator-plus/utils': specifier: ^1.0.1 version: 1.0.1 @@ -91,8 +91,8 @@ importers: specifier: ^1.0.0 version: 1.0.0 '@openapi-generator-plus/types': - specifier: ^2.6.0 - version: 2.6.0 + specifier: ^2.7.0 + version: 2.7.0 change-case: specifier: ^4.1.2 version: 4.1.2 @@ -121,8 +121,8 @@ importers: specifier: 2.2.6 version: link:../java-jaxrs-server '@openapi-generator-plus/types': - specifier: ^2.6.0 - version: 2.6.0 + specifier: ^2.7.0 + version: 2.7.0 packages/java-cxf-client: dependencies: @@ -139,8 +139,8 @@ importers: specifier: 2.5.0 version: link:../java-jaxrs-common '@openapi-generator-plus/types': - specifier: ^2.6.0 - version: 2.6.0 + specifier: ^2.7.0 + version: 2.7.0 packages/java-cxf-spring-server: dependencies: @@ -157,8 +157,8 @@ importers: specifier: 2.2.6 version: link:../java-jaxrs-server '@openapi-generator-plus/types': - specifier: ^2.6.0 - version: 2.6.0 + specifier: ^2.7.0 + version: 2.7.0 packages/java-jaxrs-client: dependencies: @@ -175,8 +175,8 @@ importers: specifier: 2.1.5 version: link:../java-like '@openapi-generator-plus/types': - specifier: ^2.6.0 - version: 2.6.0 + specifier: ^2.7.0 + version: 2.7.0 change-case: specifier: ^4.1.2 version: 4.1.2 @@ -193,8 +193,8 @@ importers: specifier: 2.1.5 version: link:../java-like '@openapi-generator-plus/types': - specifier: ^2.6.0 - version: 2.6.0 + specifier: ^2.7.0 + version: 2.7.0 change-case: specifier: ^4.1.2 version: 4.1.2 @@ -217,8 +217,8 @@ importers: specifier: 2.1.5 version: link:../java-like '@openapi-generator-plus/types': - specifier: ^2.6.0 - version: 2.6.0 + specifier: ^2.7.0 + version: 2.7.0 change-case: specifier: ^4.1.2 version: 4.1.2 @@ -229,8 +229,8 @@ importers: specifier: 1.3.4 version: link:../generator-common '@openapi-generator-plus/types': - specifier: ^2.6.0 - version: 2.6.0 + specifier: ^2.7.0 + version: 2.7.0 change-case: specifier: ^4.1.2 version: 4.1.2 @@ -244,8 +244,8 @@ importers: specifier: 2.2.5 version: link:../java-jaxrs-client '@openapi-generator-plus/types': - specifier: ^2.6.0 - version: 2.6.0 + specifier: ^2.7.0 + version: 2.7.0 packages/plain-documentation: dependencies: @@ -259,8 +259,8 @@ importers: specifier: 2.1.5 version: link:../java-like '@openapi-generator-plus/types': - specifier: ^2.6.0 - version: 2.6.0 + specifier: ^2.7.0 + version: 2.7.0 handlebars: specifier: ^4.7.8 version: 4.7.8 @@ -280,8 +280,8 @@ importers: specifier: 2.1.5 version: link:../java-like '@openapi-generator-plus/types': - specifier: ^2.6.0 - version: 2.6.0 + specifier: ^2.7.0 + version: 2.7.0 handlebars: specifier: ^4.7.8 version: 4.7.8 @@ -298,8 +298,8 @@ importers: specifier: 1.3.0 version: link:../handlebars-templates '@openapi-generator-plus/types': - specifier: ^2.6.0 - version: 2.6.0 + specifier: ^2.7.0 + version: 2.7.0 '@openapi-generator-plus/typescript-generator-common': specifier: 1.6.0 version: link:../typescript-common @@ -316,8 +316,8 @@ importers: specifier: ^1.0.0 version: 1.0.0 '@openapi-generator-plus/types': - specifier: ^2.6.0 - version: 2.6.0 + specifier: ^2.7.0 + version: 2.7.0 '@openapi-generator-plus/typescript-generator-common': specifier: 1.6.0 version: link:../typescript-common @@ -337,8 +337,8 @@ importers: specifier: ^1.0.0 version: 1.0.0 '@openapi-generator-plus/types': - specifier: ^2.6.0 - version: 2.6.0 + specifier: ^2.7.0 + version: 2.7.0 '@openapi-generator-plus/typescript-generator-common': specifier: 1.6.0 version: link:../typescript-common @@ -355,8 +355,8 @@ importers: specifier: 1.3.0 version: link:../handlebars-templates '@openapi-generator-plus/types': - specifier: ^2.6.0 - version: 2.6.0 + specifier: ^2.7.0 + version: 2.7.0 '@openapi-generator-plus/typescript-fetch-client-generator': specifier: 1.5.1 version: link:../typescript-fetch-client @@ -374,8 +374,8 @@ importers: specifier: 1.3.0 version: link:../handlebars-templates '@openapi-generator-plus/types': - specifier: ^2.6.0 - version: 2.6.0 + specifier: ^2.7.0 + version: 2.7.0 '@openapi-generator-plus/typescript-fetch-client-generator': specifier: 1.5.1 version: link:../typescript-fetch-client @@ -1306,12 +1306,12 @@ packages: fastq: 1.15.0 dev: true - /@openapi-generator-plus/core@2.7.0(openapi-types@12.1.3): - resolution: {integrity: sha512-Q73l1HRCfkks05DDZjPNuYFZntdhJGDKaDxnp3HCsOSafAPSOSRvtPP9PPw4mszTnT/5U3zqLmQqI6FTCxMW4Q==} + /@openapi-generator-plus/core@2.8.0(openapi-types@12.1.3): + resolution: {integrity: sha512-8qI4REChart+le+WvB0UbpKnkr7ssMfWw7zFLeoftZvAnk9qifTwNO1w8ImwmFK52OGp9FhQfy0oU2zB1Ee9MA==} dependencies: '@openapi-generator-plus/indexed-type': 1.0.0 '@openapi-generator-plus/swagger-parser': 10.1.0(openapi-types@12.1.3) - '@openapi-generator-plus/types': 2.6.0 + '@openapi-generator-plus/types': 2.7.0 '@openapi-generator-plus/utils': 1.0.1 lodash: 4.17.21 transitivePeerDependencies: @@ -1346,25 +1346,25 @@ packages: openapi-types: 12.1.3 dev: false - /@openapi-generator-plus/testing@2.7.0(openapi-types@12.1.3): - resolution: {integrity: sha512-JXTRUdrBogrVyrMoAjEyczBJXyhjBP4dh70P8ezAv1Kb4d8LNo+yWpF60enSxQJ/QqKERHiePAqHkpQPIpb+zw==} + /@openapi-generator-plus/testing@2.8.0(openapi-types@12.1.3): + resolution: {integrity: sha512-v88Y5Ip6UA1mQGbRtTWeiC4etDHHzkQXBgYl3NT/iwyVySoCBjFTaxSSdK4gPrue1NzpTnFMlaaBchMKuhZzfw==} dependencies: - '@openapi-generator-plus/core': 2.7.0(openapi-types@12.1.3) + '@openapi-generator-plus/core': 2.8.0(openapi-types@12.1.3) '@openapi-generator-plus/indexed-type': 1.0.0 - '@openapi-generator-plus/types': 2.6.0 + '@openapi-generator-plus/types': 2.7.0 transitivePeerDependencies: - openapi-types dev: false - /@openapi-generator-plus/types@2.6.0: - resolution: {integrity: sha512-hqC5tsdpeYzoZBKWipepyjEEvs1FkN5VsiI2qbE9yiuMlnD0oH5Cm9ZZLfKp/0LMEmu8CAfuatw9/0kUDOn9Xw==} + /@openapi-generator-plus/types@2.7.0: + resolution: {integrity: sha512-CvQJXtaQ08dFfIrJpzGnApwEPiKkbtk0J0wEglLZ4+I6kk2szmZE9xaoTo8hvv8tJD5s/rbjz1EfCJXg+O5iSg==} dev: false /@openapi-generator-plus/utils@1.0.1: resolution: {integrity: sha512-WceEoFbMmhdqnj2qzdsZTb7ZXH5boNp9LYJHNwD+7A0Y3UfHOh+KHMrKrO6+3K8O0g6dxjYWvG2/ZNLX8VbybA==} dependencies: '@openapi-generator-plus/indexed-type': 1.0.0 - '@openapi-generator-plus/types': 2.6.0 + '@openapi-generator-plus/types': 2.7.0 dev: false /@sinclair/typebox@0.27.8: