From 8c377cd25e3cb829e07b7513317e6e08ed2c4dea Mon Sep 17 00:00:00 2001 From: Lulin Yang Date: Sat, 16 Nov 2024 14:06:55 +1300 Subject: [PATCH] Remove amplify folder --- .gitignore | 1 + amplify/.config/project-config.json | 13 ----- amplify/README.md | 8 --- .../auth/swiftcompcef33b9d/cli-inputs.json | 48 ----------------- amplify/backend/backend-config.json | 30 ----------- amplify/backend/tags.json | 10 ---- .../amplify-dependent-resources-ref.d.ts | 13 ----- amplify/cli.json | 53 ------------------- amplify/hooks/README.md | 7 --- amplify/team-provider-info.json | 21 -------- ios/Runner.xcodeproj/project.pbxproj | 2 +- 11 files changed, 2 insertions(+), 204 deletions(-) delete mode 100644 amplify/.config/project-config.json delete mode 100644 amplify/README.md delete mode 100644 amplify/backend/auth/swiftcompcef33b9d/cli-inputs.json delete mode 100644 amplify/backend/backend-config.json delete mode 100644 amplify/backend/tags.json delete mode 100644 amplify/backend/types/amplify-dependent-resources-ref.d.ts delete mode 100644 amplify/cli.json delete mode 100644 amplify/hooks/README.md delete mode 100644 amplify/team-provider-info.json diff --git a/.gitignore b/.gitignore index ca32dc3..9b02e94 100644 --- a/.gitignore +++ b/.gitignore @@ -83,3 +83,4 @@ ios/fastlane/metadata iOS/fastlane/screenshots ios/Runner/GoogleService-Info.plist android/app/google-services.json +ios/Flutter/Secret.xcconfig diff --git a/amplify/.config/project-config.json b/amplify/.config/project-config.json deleted file mode 100644 index f360075..0000000 --- a/amplify/.config/project-config.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "projectName": "swiftcomp", - "version": "3.1", - "frontend": "flutter", - "flutter": { - "config": { - "ResDir": "./lib/" - } - }, - "providers": [ - "awscloudformation" - ] -} \ No newline at end of file diff --git a/amplify/README.md b/amplify/README.md deleted file mode 100644 index 7c0a9e2..0000000 --- a/amplify/README.md +++ /dev/null @@ -1,8 +0,0 @@ -# Getting Started with Amplify CLI -This directory was generated by [Amplify CLI](https://docs.amplify.aws/cli). - -Helpful resources: -- Amplify documentation: https://docs.amplify.aws -- Amplify CLI documentation: https://docs.amplify.aws/cli -- More details on this folder & generated files: https://docs.amplify.aws/cli/reference/files -- Join Amplify's community: https://amplify.aws/community/ diff --git a/amplify/backend/auth/swiftcompcef33b9d/cli-inputs.json b/amplify/backend/auth/swiftcompcef33b9d/cli-inputs.json deleted file mode 100644 index d084129..0000000 --- a/amplify/backend/auth/swiftcompcef33b9d/cli-inputs.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "version": "1", - "cognitoConfig": { - "identityPoolName": "swiftcompcef33b9d_identitypool_cef33b9d", - "allowUnauthenticatedIdentities": false, - "resourceNameTruncated": "swiftccef33b9d", - "userPoolName": "swiftcompcef33b9d_userpool_cef33b9d", - "autoVerifiedAttributes": [ - "email" - ], - "mfaConfiguration": "OFF", - "mfaTypes": [ - "SMS Text Message" - ], - "smsAuthenticationMessage": "Your authentication code is {####}", - "smsVerificationMessage": "Your verification code is {####}", - "emailVerificationSubject": "Your verification code", - "emailVerificationMessage": "Your verification code is {####}", - "defaultPasswordPolicy": false, - "passwordPolicyMinLength": 8, - "passwordPolicyCharacters": [], - "requiredAttributes": [ - "email" - ], - "aliasAttributes": [], - "userpoolClientGenerateSecret": false, - "userpoolClientRefreshTokenValidity": 30, - "userpoolClientWriteAttributes": [ - "email" - ], - "userpoolClientReadAttributes": [ - "email" - ], - "userpoolClientLambdaRole": "swiftccef33b9d_userpoolclient_lambda_role", - "userpoolClientSetAttributes": false, - "sharedId": "cef33b9d", - "resourceName": "swiftcompcef33b9d", - "authSelections": "identityPoolAndUserPool", - "useDefault": "default", - "usernameAttributes": [ - "email" - ], - "userPoolGroupList": [], - "serviceName": "Cognito", - "usernameCaseSensitive": false, - "useEnabledMfas": true - } -} \ No newline at end of file diff --git a/amplify/backend/backend-config.json b/amplify/backend/backend-config.json deleted file mode 100644 index 4dbb530..0000000 --- a/amplify/backend/backend-config.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "auth": { - "swiftcompcef33b9d": { - "service": "Cognito", - "providerPlugin": "awscloudformation", - "dependsOn": [], - "customAuth": false, - "frontendAuthConfig": { - "socialProviders": [], - "usernameAttributes": [ - "EMAIL" - ], - "signupAttributes": [ - "EMAIL" - ], - "passwordProtectionSettings": { - "passwordPolicyMinLength": 8, - "passwordPolicyCharacters": [] - }, - "mfaConfiguration": "OFF", - "mfaTypes": [ - "SMS" - ], - "verificationMechanisms": [ - "EMAIL" - ] - } - } - } -} \ No newline at end of file diff --git a/amplify/backend/tags.json b/amplify/backend/tags.json deleted file mode 100644 index b9321d7..0000000 --- a/amplify/backend/tags.json +++ /dev/null @@ -1,10 +0,0 @@ -[ - { - "Key": "user:Stack", - "Value": "{project-env}" - }, - { - "Key": "user:Application", - "Value": "{project-name}" - } -] \ No newline at end of file diff --git a/amplify/backend/types/amplify-dependent-resources-ref.d.ts b/amplify/backend/types/amplify-dependent-resources-ref.d.ts deleted file mode 100644 index 5edd046..0000000 --- a/amplify/backend/types/amplify-dependent-resources-ref.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -export type AmplifyDependentResourcesAttributes = { - "auth": { - "swiftcompcef33b9d": { - "IdentityPoolId": "string", - "IdentityPoolName": "string", - "UserPoolId": "string", - "UserPoolArn": "string", - "UserPoolName": "string", - "AppClientIDWeb": "string", - "AppClientID": "string" - } - } -} \ No newline at end of file diff --git a/amplify/cli.json b/amplify/cli.json deleted file mode 100644 index 507bd57..0000000 --- a/amplify/cli.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "features": { - "graphqltransformer": { - "addmissingownerfields": true, - "improvepluralization": false, - "validatetypenamereservedwords": true, - "useexperimentalpipelinedtransformer": true, - "enableiterativegsiupdates": true, - "secondarykeyasgsi": true, - "skipoverridemutationinputtypes": true, - "transformerversion": 2, - "suppressschemamigrationprompt": true, - "securityenhancementnotification": false, - "showfieldauthnotification": false - }, - "frontend-ios": { - "enablexcodeintegration": true - }, - "auth": { - "enablecaseinsensitivity": true, - "useinclusiveterminology": true, - "breakcirculardependency": true, - "forcealiasattributes": false, - "useenabledmfas": true - }, - "codegen": { - "useappsyncmodelgenplugin": true, - "usedocsgeneratorplugin": true, - "usetypesgeneratorplugin": true, - "cleangeneratedmodelsdirectory": true, - "retaincasestyle": true, - "addtimestampfields": true, - "handlelistnullabilitytransparently": true, - "emitauthprovider": true, - "generateindexrules": true, - "enabledartnullsafety": true - }, - "appsync": { - "generategraphqlpermissions": true - }, - "latestregionsupport": { - "pinpoint": 1, - "translate": 1, - "transcribe": 1, - "rekognition": 1, - "textract": 1, - "comprehend": 1 - }, - "project": { - "overrides": true - } - } -} \ No newline at end of file diff --git a/amplify/hooks/README.md b/amplify/hooks/README.md deleted file mode 100644 index 8fb601e..0000000 --- a/amplify/hooks/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# Command Hooks - -Command hooks can be used to run custom scripts upon Amplify CLI lifecycle events like pre-push, post-add-function, etc. - -To get started, add your script files based on the expected naming convention in this directory. - -Learn more about the script file naming convention, hook parameters, third party dependencies, and advanced configurations at https://docs.amplify.aws/cli/usage/command-hooks diff --git a/amplify/team-provider-info.json b/amplify/team-provider-info.json deleted file mode 100644 index f970f37..0000000 --- a/amplify/team-provider-info.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "dev": { - "awscloudformation": { - "AuthRoleName": "amplify-swiftcomp-dev-232904-authRole", - "UnauthRoleArn": "arn:aws:iam::744339513723:role/amplify-swiftcomp-dev-232904-unauthRole", - "AuthRoleArn": "arn:aws:iam::744339513723:role/amplify-swiftcomp-dev-232904-authRole", - "Region": "us-east-1", - "DeploymentBucketName": "amplify-swiftcomp-dev-232904-deployment", - "UnauthRoleName": "amplify-swiftcomp-dev-232904-unauthRole", - "StackName": "amplify-swiftcomp-dev-232904", - "StackId": "arn:aws:cloudformation:us-east-1:744339513723:stack/amplify-swiftcomp-dev-232904/d9f35a50-9261-11ec-afe5-0a7e59e04d9f", - "AmplifyAppId": "d1bwa7wx7b1cii" - }, - "categories": { - "auth": { - "swiftcomp4a3f9b1f": {}, - "swiftcompcef33b9d": {} - } - } - } -} \ No newline at end of file diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index 0cdc8c8..f6716a4 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -34,7 +34,7 @@ 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; 2165F7651D3A67965C93AB30 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; }; 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; - 411B8A022CE821BD00B9B7E6 /* Secret.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Secret.xcconfig; path = /Users/luliny/Desktop/Secret.xcconfig; sourceTree = ""; }; + 411B8A022CE821BD00B9B7E6 /* Secret.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Secret.xcconfig; path = Flutter/Secret.xcconfig; sourceTree = ""; }; 5F392F2D47C5629766A586E4 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; }; 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };