From 6eaa42f7970a1a774abf89e2ad4685bd1ee535e1 Mon Sep 17 00:00:00 2001 From: Jakob Niggel Date: Wed, 31 Aug 2022 23:06:04 +0200 Subject: [PATCH] fix: downgrade typescriptt because of issue with swagger-typescript-api --- package.json | 4 +- packages/cli/package.json | 2 +- packages/common/package.json | 2 +- packages/create-flux/package.json | 2 +- packages/integration-tests/package.json | 2 +- playground/child-process/package.json | 2 +- playground/template-prisma/package.json | 2 +- pnpm-lock.yaml | 102 ++++++++++++------------ 8 files changed, 59 insertions(+), 59 deletions(-) diff --git a/package.json b/package.json index dd442cc6..fa8a487e 100644 --- a/package.json +++ b/package.json @@ -14,8 +14,8 @@ "private": true, "repository": "git@github.com:fluxapi/fluxapi.git", "devDependencies": { - "@commitlint/cli": "^17.1.2", - "@commitlint/config-conventional": "^17.1.0", + "@commitlint/cli": "17.1.2", + "@commitlint/config-conventional": "17.1.0", "husky": "^8.0.1", "standard-version": "^9.5.0" }, diff --git a/packages/cli/package.json b/packages/cli/package.json index dc84dd8d..37cf093c 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -32,7 +32,7 @@ "swagger-typescript-api": "^9.3.1", "ts-json-schema-generator": "^1.0.0", "ts-morph": "^15.1.0", - "typescript": "4.8.2" + "typescript": "4.7.4" }, "devDependencies": { "@types/fs-extra": "^9.0.13", diff --git a/packages/common/package.json b/packages/common/package.json index 7e62752f..79b1cccf 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -21,7 +21,7 @@ "esbuild-jest": "^0.5.0", "fastify": "~4.5.3", "jest": "^29.0.1", - "typescript": "4.8.2" + "typescript": "4.7.4" }, "peerDependencies": { "@fastify/swagger": "7.x", diff --git a/packages/create-flux/package.json b/packages/create-flux/package.json index e0fab100..d9e52777 100644 --- a/packages/create-flux/package.json +++ b/packages/create-flux/package.json @@ -27,7 +27,7 @@ "@types/node": "^18.7.14", "jest": "^29.0.1", "ts-jest": "^28.0.8", - "typescript": "4.8.2" + "typescript": "4.7.4" }, "files": [ "cli.js", diff --git a/packages/integration-tests/package.json b/packages/integration-tests/package.json index e2204e7a..c11449dc 100644 --- a/packages/integration-tests/package.json +++ b/packages/integration-tests/package.json @@ -35,7 +35,7 @@ "jest": "29.0.1", "pino-pretty": "^9.1.0", "prisma": "^4.3.0", - "typescript": "4.8.2" + "typescript": "4.7.4" }, "jest": { "transform": { diff --git a/playground/child-process/package.json b/playground/child-process/package.json index 88effe74..0f0e4b4a 100644 --- a/playground/child-process/package.json +++ b/playground/child-process/package.json @@ -23,6 +23,6 @@ "devDependencies": { "@types/node": "18.7.14", "fastify-flux-cli": "*", - "typescript": "4.8.2" + "typescript": "4.7.4" } } diff --git a/playground/template-prisma/package.json b/playground/template-prisma/package.json index f6089d0a..2b69c1aa 100644 --- a/playground/template-prisma/package.json +++ b/playground/template-prisma/package.json @@ -37,7 +37,7 @@ "jest": "^29.0.1", "pino-pretty": "^9.1.0", "prisma": "^4.3.0", - "typescript": "4.8.2" + "typescript": "4.7.4" }, "jest": { "transform": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 98976cf0..2fea01bb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4,8 +4,8 @@ importers: .: specifiers: - '@commitlint/cli': ^17.1.2 - '@commitlint/config-conventional': ^17.1.0 + '@commitlint/cli': 17.1.2 + '@commitlint/config-conventional': 17.1.0 husky: ^8.0.1 standard-version: ^9.5.0 devDependencies: @@ -37,7 +37,7 @@ importers: ts-jest: ^28.0.8 ts-json-schema-generator: ^1.0.0 ts-morph: ^15.1.0 - typescript: 4.8.2 + typescript: 4.7.4 dependencies: '@apidevtools/json-schema-ref-parser': 9.0.9 '@types/lodash': 4.14.184 @@ -55,13 +55,13 @@ importers: swagger-typescript-api: 9.3.1 ts-json-schema-generator: 1.0.0 ts-morph: 15.1.0 - typescript: 4.8.2 + typescript: 4.7.4 devDependencies: '@types/fs-extra': 9.0.13 '@types/jest': 29.0.0 '@types/node': 18.7.14 jest: 29.0.1_@types+node@18.7.14 - ts-jest: 28.0.8_nghjeqlsvabc3kzmmlqowghile + ts-jest: 28.0.8_txh5xr3didfgzpbljzv6rsu2we packages/common: specifiers: @@ -73,7 +73,7 @@ importers: fastify-plugin: ^4.2.1 jest: ^29.0.1 lodash: ^4.17.21 - typescript: 4.8.2 + typescript: 4.7.4 dependencies: fastify-plugin: 4.2.1 lodash: 4.17.21 @@ -84,7 +84,7 @@ importers: esbuild-jest: 0.5.0 fastify: 4.5.3 jest: 29.0.1 - typescript: 4.8.2 + typescript: 4.7.4 packages/create-flux: specifiers: @@ -98,7 +98,7 @@ importers: jest: ^29.0.1 source-map-support: ^0.5.21 ts-jest: ^28.0.8 - typescript: 4.8.2 + typescript: 4.7.4 dependencies: chalk: 5.0.1 commander: 9.4.0 @@ -110,8 +110,8 @@ importers: '@types/jest': 29.0.0 '@types/node': 18.7.14 jest: 29.0.1_@types+node@18.7.14 - ts-jest: 28.0.8_zkbnlten3vqoiybfdtguywcl7u - typescript: 4.8.2 + ts-jest: 28.0.8_vszm6l22fbqhxdt7qzsjaoys6y + typescript: 4.7.4 packages/integration-tests: specifiers: @@ -132,7 +132,7 @@ importers: prisma: ^4.3.0 source-map-support: 0.5.21 tsconfig-paths: 4.1.0 - typescript: 4.8.2 + typescript: 4.7.4 dependencies: '@fastify/swagger': 7.4.1 fastify: 4.5.3 @@ -142,8 +142,8 @@ importers: devDependencies: '@types/jest': 29.0.0 '@types/node': 18.7.14 - '@typescript-eslint/eslint-plugin': 5.36.1_lbwfnm54o3pmr3ypeqp3btnera - '@typescript-eslint/parser': 5.36.1_yqf6kl63nyoq5megxukfnom5rm + '@typescript-eslint/eslint-plugin': 5.36.1_uoznksvaqimddkvahx6c3yyzku + '@typescript-eslint/parser': 5.36.1_sorwav4hsh5vncerguqybud76i axios: 0.27.2 esbuild: 0.15.6 esbuild-jest: 0.5.0_esbuild@0.15.6 @@ -152,7 +152,7 @@ importers: jest: 29.0.1_@types+node@18.7.14 pino-pretty: 9.1.0 prisma: 4.3.0 - typescript: 4.8.2 + typescript: 4.7.4 playground/child-process: specifiers: @@ -160,14 +160,14 @@ importers: fastify-flux-cli: '*' source-map-support: 0.5.21 tsconfig-paths: 4.1.0 - typescript: 4.8.2 + typescript: 4.7.4 dependencies: source-map-support: 0.5.21 tsconfig-paths: 4.1.0 devDependencies: '@types/node': 18.7.14 fastify-flux-cli: link:../../packages/cli - typescript: 4.8.2 + typescript: 4.7.4 playground/template-prisma: specifiers: @@ -189,7 +189,7 @@ importers: prisma: ^4.3.0 source-map-support: 0.5.21 tsconfig-paths: 4.1.0 - typescript: 4.8.2 + typescript: 4.7.4 dependencies: '@fastify/swagger': 7.4.1 '@prisma/client': 4.3.0_prisma@4.3.0 @@ -200,8 +200,8 @@ importers: devDependencies: '@types/jest': 29.0.0 '@types/node': 18.7.14 - '@typescript-eslint/eslint-plugin': 5.36.1_lbwfnm54o3pmr3ypeqp3btnera - '@typescript-eslint/parser': 5.36.1_yqf6kl63nyoq5megxukfnom5rm + '@typescript-eslint/eslint-plugin': 5.36.1_uoznksvaqimddkvahx6c3yyzku + '@typescript-eslint/parser': 5.36.1_sorwav4hsh5vncerguqybud76i axios: 0.27.2 esbuild: 0.15.6 esbuild-jest: 0.5.0_esbuild@0.15.6 @@ -210,7 +210,7 @@ importers: jest: 29.0.1_@types+node@18.7.14 pino-pretty: 9.1.0 prisma: 4.3.0 - typescript: 4.8.2 + typescript: 4.7.4 packages: @@ -923,7 +923,7 @@ packages: lodash: 4.17.21 resolve-from: 5.0.0 ts-node: 10.9.1_ys5ibmf2vqsgufkwyky27zwkd4 - typescript: 4.8.2 + typescript: 4.7.4 transitivePeerDependencies: - '@swc/core' - '@swc/wasm' @@ -1651,7 +1651,7 @@ packages: '@types/yargs-parser': 21.0.0 dev: true - /@typescript-eslint/eslint-plugin/5.36.1_lbwfnm54o3pmr3ypeqp3btnera: + /@typescript-eslint/eslint-plugin/5.36.1_uoznksvaqimddkvahx6c3yyzku: resolution: {integrity: sha512-iC40UK8q1tMepSDwiLbTbMXKDxzNy+4TfPWgIL661Ym0sD42vRcQU93IsZIrmi+x292DBr60UI/gSwfdVYexCA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -1662,23 +1662,23 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/parser': 5.36.1_yqf6kl63nyoq5megxukfnom5rm + '@typescript-eslint/parser': 5.36.1_sorwav4hsh5vncerguqybud76i '@typescript-eslint/scope-manager': 5.36.1 - '@typescript-eslint/type-utils': 5.36.1_yqf6kl63nyoq5megxukfnom5rm - '@typescript-eslint/utils': 5.36.1_yqf6kl63nyoq5megxukfnom5rm + '@typescript-eslint/type-utils': 5.36.1_sorwav4hsh5vncerguqybud76i + '@typescript-eslint/utils': 5.36.1_sorwav4hsh5vncerguqybud76i debug: 4.3.4 eslint: 8.23.0 functional-red-black-tree: 1.0.1 ignore: 5.2.0 regexpp: 3.2.0 semver: 7.3.7 - tsutils: 3.21.0_typescript@4.8.2 - typescript: 4.8.2 + tsutils: 3.21.0_typescript@4.7.4 + typescript: 4.7.4 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/parser/5.36.1_yqf6kl63nyoq5megxukfnom5rm: + /@typescript-eslint/parser/5.36.1_sorwav4hsh5vncerguqybud76i: resolution: {integrity: sha512-/IsgNGOkBi7CuDfUbwt1eOqUXF9WGVBW9dwEe1pi+L32XrTsZIgmDFIi2RxjzsvB/8i+MIf5JIoTEH8LOZ368A==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -1690,10 +1690,10 @@ packages: dependencies: '@typescript-eslint/scope-manager': 5.36.1 '@typescript-eslint/types': 5.36.1 - '@typescript-eslint/typescript-estree': 5.36.1_typescript@4.8.2 + '@typescript-eslint/typescript-estree': 5.36.1_typescript@4.7.4 debug: 4.3.4 eslint: 8.23.0 - typescript: 4.8.2 + typescript: 4.7.4 transitivePeerDependencies: - supports-color dev: true @@ -1706,7 +1706,7 @@ packages: '@typescript-eslint/visitor-keys': 5.36.1 dev: true - /@typescript-eslint/type-utils/5.36.1_yqf6kl63nyoq5megxukfnom5rm: + /@typescript-eslint/type-utils/5.36.1_sorwav4hsh5vncerguqybud76i: resolution: {integrity: sha512-xfZhfmoQT6m3lmlqDvDzv9TiCYdw22cdj06xY0obSznBsT///GK5IEZQdGliXpAOaRL34o8phEvXzEo/VJx13Q==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -1716,12 +1716,12 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 5.36.1_typescript@4.8.2 - '@typescript-eslint/utils': 5.36.1_yqf6kl63nyoq5megxukfnom5rm + '@typescript-eslint/typescript-estree': 5.36.1_typescript@4.7.4 + '@typescript-eslint/utils': 5.36.1_sorwav4hsh5vncerguqybud76i debug: 4.3.4 eslint: 8.23.0 - tsutils: 3.21.0_typescript@4.8.2 - typescript: 4.8.2 + tsutils: 3.21.0_typescript@4.7.4 + typescript: 4.7.4 transitivePeerDependencies: - supports-color dev: true @@ -1731,7 +1731,7 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /@typescript-eslint/typescript-estree/5.36.1_typescript@4.8.2: + /@typescript-eslint/typescript-estree/5.36.1_typescript@4.7.4: resolution: {integrity: sha512-ih7V52zvHdiX6WcPjsOdmADhYMDN15SylWRZrT2OMy80wzKbc79n8wFW0xpWpU0x3VpBz/oDgTm2xwDAnFTl+g==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -1746,13 +1746,13 @@ packages: globby: 11.1.0 is-glob: 4.0.3 semver: 7.3.7 - tsutils: 3.21.0_typescript@4.8.2 - typescript: 4.8.2 + tsutils: 3.21.0_typescript@4.7.4 + typescript: 4.7.4 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/utils/5.36.1_yqf6kl63nyoq5megxukfnom5rm: + /@typescript-eslint/utils/5.36.1_sorwav4hsh5vncerguqybud76i: resolution: {integrity: sha512-lNj4FtTiXm5c+u0pUehozaUWhh7UYKnwryku0nxJlYUEWetyG92uw2pr+2Iy4M/u0ONMKzfrx7AsGBTCzORmIg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -1761,7 +1761,7 @@ packages: '@types/json-schema': 7.0.11 '@typescript-eslint/scope-manager': 5.36.1 '@typescript-eslint/types': 5.36.1 - '@typescript-eslint/typescript-estree': 5.36.1_typescript@4.8.2 + '@typescript-eslint/typescript-estree': 5.36.1_typescript@4.7.4 eslint: 8.23.0 eslint-scope: 5.1.1 eslint-utils: 3.0.0_eslint@8.23.0 @@ -2666,7 +2666,7 @@ packages: '@types/node': 14.18.26 cosmiconfig: 7.0.1 ts-node: 10.9.1_ys5ibmf2vqsgufkwyky27zwkd4 - typescript: 4.8.2 + typescript: 4.7.4 dev: true /cosmiconfig/7.0.1: @@ -6388,7 +6388,7 @@ packages: prettier: 2.7.1 swagger-schema-official: 2.0.0-bab6bed swagger2openapi: 7.0.8 - typescript: 4.8.2 + typescript: 4.7.4 transitivePeerDependencies: - debug - encoding @@ -6518,7 +6518,7 @@ packages: engines: {node: '>=8'} dev: true - /ts-jest/28.0.8_nghjeqlsvabc3kzmmlqowghile: + /ts-jest/28.0.8_txh5xr3didfgzpbljzv6rsu2we: resolution: {integrity: sha512-5FaG0lXmRPzApix8oFG8RKjAz4ehtm8yMKOTy5HX3fY6W8kmvOrmcY0hKDElW52FJov+clhUbrKAqofnj4mXTg==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} hasBin: true @@ -6548,11 +6548,11 @@ packages: lodash.memoize: 4.1.2 make-error: 1.3.6 semver: 7.3.7 - typescript: 4.8.2 + typescript: 4.7.4 yargs-parser: 21.1.1 dev: true - /ts-jest/28.0.8_zkbnlten3vqoiybfdtguywcl7u: + /ts-jest/28.0.8_vszm6l22fbqhxdt7qzsjaoys6y: resolution: {integrity: sha512-5FaG0lXmRPzApix8oFG8RKjAz4ehtm8yMKOTy5HX3fY6W8kmvOrmcY0hKDElW52FJov+clhUbrKAqofnj4mXTg==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} hasBin: true @@ -6581,7 +6581,7 @@ packages: lodash.memoize: 4.1.2 make-error: 1.3.6 semver: 7.3.7 - typescript: 4.8.2 + typescript: 4.7.4 yargs-parser: 21.1.1 dev: true @@ -6631,7 +6631,7 @@ packages: create-require: 1.1.1 diff: 4.0.2 make-error: 1.3.6 - typescript: 4.8.2 + typescript: 4.7.4 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 dev: true @@ -6649,14 +6649,14 @@ packages: resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==} dev: true - /tsutils/3.21.0_typescript@4.8.2: + /tsutils/3.21.0_typescript@4.7.4: resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} engines: {node: '>= 6'} peerDependencies: typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta' dependencies: tslib: 1.14.1 - typescript: 4.8.2 + typescript: 4.7.4 dev: true /type-check/0.4.0: @@ -6712,8 +6712,8 @@ packages: hasBin: true dev: false - /typescript/4.8.2: - resolution: {integrity: sha512-C0I1UsrrDHo2fYI5oaCGbSejwX4ch+9Y5jTQELvovfmFkK3HHSZJB8MSJcWLmCUBzQBchCrZ9rMRV6GuNrvGtw==} + /typescript/4.7.4: + resolution: {integrity: sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==} engines: {node: '>=4.2.0'} hasBin: true