From ff69629fd20a643627b0e4033216fa749935d732 Mon Sep 17 00:00:00 2001 From: Elijah Quartey Date: Thu, 27 Jun 2024 08:56:15 -0500 Subject: [PATCH] fix: code review --- .gitattributes | 4 ++++ infra-gen2/backends/api/apiMultiAuth/package.json | 5 +---- infra-gen2/package-lock.json | 9 ++++----- infra-gen2/package.json | 3 ++- 4 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.gitattributes b/.gitattributes index 65a69428c6..9410678d06 100644 --- a/.gitattributes +++ b/.gitattributes @@ -94,3 +94,7 @@ yarn.lock linguist-generated **/dist/*.mjs linguist-generated **/dist/*.cjs linguist-generated **/dist/*.cjs.map linguist-generated + +## Codegen Models +**/example/lib/models/** linguist-generated +**/example/lib/models/gen2/Gen2ModelProvider.dart linguist-generated=false diff --git a/infra-gen2/backends/api/apiMultiAuth/package.json b/infra-gen2/backends/api/apiMultiAuth/package.json index 374fad20f5..94af1924c3 100644 --- a/infra-gen2/backends/api/apiMultiAuth/package.json +++ b/infra-gen2/backends/api/apiMultiAuth/package.json @@ -1,8 +1,5 @@ { "name": "api-multi-auth", "version": "1.0.0", - "main": "index.js", - "dependencies": { - "infra-common": "1.0.0" - } + "main": "index.js" } diff --git a/infra-gen2/package-lock.json b/infra-gen2/package-lock.json index a40ea690da..b7f843250b 100644 --- a/infra-gen2/package-lock.json +++ b/infra-gen2/package-lock.json @@ -13,7 +13,8 @@ "backends/storage/*" ], "dependencies": { - "aws-amplify": "^6.3.6" + "aws-amplify": "^6.3.6", + "infra-common": "1.0.0" }, "devDependencies": { "@aws-amplify/backend": "^1.0.3", @@ -27,10 +28,8 @@ } }, "backends/api/apiMultiAuth": { - "version": "1.0.0", - "dependencies": { - "infra-common": "1.0.0" - } + "name": "api-multi-auth", + "version": "1.0.0" }, "backends/api/defaultMultiAuth": { "name": "default-multi-auth", diff --git a/infra-gen2/package.json b/infra-gen2/package.json index ff47735759..1ab3daa307 100644 --- a/infra-gen2/package.json +++ b/infra-gen2/package.json @@ -9,7 +9,8 @@ "backends/storage/*" ], "dependencies": { - "aws-amplify": "^6.3.6" + "aws-amplify": "^6.3.6", + "infra-common": "1.0.0" }, "devDependencies": { "@aws-amplify/backend": "^1.0.3",