From a87fc7549440ee362fdf40b06c1b1e9f61bdc287 Mon Sep 17 00:00:00 2001 From: akshay Date: Tue, 18 Apr 2023 08:05:48 -0700 Subject: [PATCH] fix: modelgen regression --- packages/amplify-cli/package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- packages/amplify-util-mock/package.json | 2 +- packages/amplify-util-uibuilder/package.json | 2 +- yarn.lock | 30 +++++++++++++++---- 6 files changed, 29 insertions(+), 11 deletions(-) diff --git a/packages/amplify-cli/package.json b/packages/amplify-cli/package.json index 2e84218bc4d..fb7b496a364 100644 --- a/packages/amplify-cli/package.json +++ b/packages/amplify-cli/package.json @@ -68,7 +68,7 @@ "@aws-amplify/graphql-transformer-core": "1.1.2-ownerfield-pk-fix.0", "@aws-cdk/cloudformation-diff": "~2.68.0", "amplify-cli-core": "4.0.3", - "amplify-codegen": "3.4.0", + "amplify-codegen": "3.4.2", "amplify-dotnet-function-runtime-provider": "1.7.6", "amplify-go-function-runtime-provider": "2.3.16", "amplify-java-function-runtime-provider": "2.3.16", diff --git a/packages/amplify-dotnet-function-template-provider/package.json b/packages/amplify-dotnet-function-template-provider/package.json index 0bbbab47186..c220bf89268 100644 --- a/packages/amplify-dotnet-function-template-provider/package.json +++ b/packages/amplify-dotnet-function-template-provider/package.json @@ -27,7 +27,7 @@ "dependencies": { "@aws-amplify/amplify-function-plugin-interface": "1.10.2", "amplify-cli-core": "4.0.3", - "graphql-transformer-core": "^8.0.1" + "graphql-transformer-core": "8.0.1" }, "devDependencies": { "@types/inquirer": "^6.5.0", diff --git a/packages/amplify-provider-awscloudformation/package.json b/packages/amplify-provider-awscloudformation/package.json index 4c4ac862699..e2b7fd6a1f9 100644 --- a/packages/amplify-provider-awscloudformation/package.json +++ b/packages/amplify-provider-awscloudformation/package.json @@ -37,7 +37,7 @@ "@aws-amplify/graphql-transformer-core": "1.1.2-ownerfield-pk-fix.0", "@aws-amplify/graphql-transformer-interfaces": "^2.1.1", "amplify-cli-core": "4.0.3", - "amplify-codegen": "3.4.0", + "amplify-codegen": "3.4.2", "archiver": "^5.3.0", "aws-cdk-lib": "~2.68.0", "aws-sdk": "^2.1350.0", diff --git a/packages/amplify-util-mock/package.json b/packages/amplify-util-mock/package.json index 443cf21a54c..107371e653d 100644 --- a/packages/amplify-util-mock/package.json +++ b/packages/amplify-util-mock/package.json @@ -40,7 +40,7 @@ "@aws-amplify/amplify-provider-awscloudformation": "8.0.5", "@hapi/topo": "^5.0.0", "amplify-cli-core": "4.0.3", - "amplify-codegen": "3.4.0", + "amplify-codegen": "3.4.2", "amplify-dynamodb-simulator": "2.5.12", "amplify-storage-simulator": "1.7.6", "chokidar": "^3.5.3", diff --git a/packages/amplify-util-uibuilder/package.json b/packages/amplify-util-uibuilder/package.json index 590c50e46c8..9376e40a94b 100644 --- a/packages/amplify-util-uibuilder/package.json +++ b/packages/amplify-util-uibuilder/package.json @@ -18,7 +18,7 @@ "@aws-amplify/codegen-ui": "2.12.1", "@aws-amplify/codegen-ui-react": "2.12.1", "amplify-cli-core": "4.0.3", - "amplify-codegen": "3.4.0", + "amplify-codegen": "3.4.2", "aws-sdk": "^2.1233.0", "fs-extra": "^8.1.0", "ora": "^4.0.3", diff --git a/yarn.lock b/yarn.lock index ce1bf9a744e..75a6ef284ca 100644 --- a/yarn.lock +++ b/yarn.lock @@ -141,7 +141,25 @@ "@aws-amplify/api-graphql" "2.2.18" "@aws-amplify/api-rest" "2.0.29" -"@aws-amplify/appsync-modelgen-plugin@2.4.0", "@aws-amplify/appsync-modelgen-plugin@^2.4.0": +"@aws-amplify/appsync-modelgen-plugin@2.4.1": + version "2.4.1" + resolved "https://registry.npmjs.org/@aws-amplify/appsync-modelgen-plugin/-/appsync-modelgen-plugin-2.4.1.tgz#51893824c8fa65fed1b95e8bcb46a6bdd60b0693" + integrity sha512-qxdZNq2UmKeczwz1OKkYRfmfPHoPYFNwwBV+S59raX+9c3uaemBo0bmeTf52yKdNiova1ZzHoqGagAgGU9ZfBw== + dependencies: + "@graphql-codegen/plugin-helpers" "^1.18.8" + "@graphql-codegen/visitor-plugin-common" "^1.22.0" + "@graphql-tools/utils" "^6.0.18" + "@types/node" "^12.12.6" + "@types/pluralize" "0.0.29" + chalk "^3.0.0" + change-case "^4.1.1" + dart-style "1.3.2-dev" + lower-case-first "^2.0.1" + pluralize "^8.0.0" + strip-indent "^3.0.0" + ts-dedent "^1.1.0" + +"@aws-amplify/appsync-modelgen-plugin@^2.4.0": version "2.4.0" resolved "https://registry.npmjs.org/@aws-amplify/appsync-modelgen-plugin/-/appsync-modelgen-plugin-2.4.0.tgz#0448d2d5938f7fa411ff34bb5b525e17f050bf30" integrity sha512-cOXsQ9qcvc7q31riKJL7kYYQFpriFws6rAO2GG7xRwT+0Dqn5LACSAgPHXBMx8vXI4nQcEYZ/EtxTchD845U6Q== @@ -9065,12 +9083,12 @@ amdefine@>=0.0.4: resolved "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz#4a5282ac164729e93619bcfd3ad151f817ce91f5" integrity sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU= -amplify-codegen@3.4.0: - version "3.4.0" - resolved "https://registry.npmjs.org/amplify-codegen/-/amplify-codegen-3.4.0.tgz#f2d1e813137996b31fc7a73dba39245fb46479fe" - integrity sha512-PQ4GX7c18OK5vaw5aahLO6H3QBTP+lvTG85CgO/SjbwjNeSzI8TL67Hat40q11ys4K+ZFnMB8S8sgyxmWFNdyg== +amplify-codegen@3.4.2: + version "3.4.2" + resolved "https://registry.npmjs.org/amplify-codegen/-/amplify-codegen-3.4.2.tgz#bae6c1edcf2df07de1ceebd326971e5af8fa16c6" + integrity sha512-6N87EvsQ5Q299vw2Ys5yOuLvssvGv2hDm1AkPG3mTVPGQlqj7ObA/eh9a0xvv3t+3IAOn8z5n85dZAJ1qKO/sQ== dependencies: - "@aws-amplify/appsync-modelgen-plugin" "2.4.0" + "@aws-amplify/appsync-modelgen-plugin" "2.4.1" "@aws-amplify/graphql-docs-generator" "3.0.3" "@aws-amplify/graphql-types-generator" "3.0.1" "@graphql-codegen/core" "2.6.6"