Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ packages/amplify-opensearch-simulator/emulator
packages/graphql*/lib
packages/amplify-graphql-transformer-*/lib
packages/amplify-cli/lib
packages/amplify-cli/src/commands/gen2-migration/amplify-gen2-migration-codegen-dg/lib
packages/amplify-cli-npm/lib
packages/amplify-cli-core/lib
packages/amplify-cli-core-vNext/lib
Expand Down
3 changes: 3 additions & 0 deletions packages/amplify-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@
},
"devDependencies": {
"@aws-amplify/amplify-function-plugin-interface": "1.12.1",
"@aws-sdk/client-cognito-identity-provider": "^3.624.0",
"@aws-sdk/client-lambda": "^3.624.0",
"@aws-sdk/client-s3": "^3.624.0",
"@types/archiver": "^5.3.1",
"@types/columnify": "^1.5.1",
"@types/folder-hash": "^4.0.1",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// Auth adapter - converts Gen 1 auth config to intermediate format
// Logic from amplify-gen1-codegen-auth-adapter
export const adaptAuthConfig = async (gen1AuthConfig: any) => {
// Convert Gen 1 auth configuration to intermediate format
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// Data adapter - converts Gen 1 GraphQL/DynamoDB config to intermediate format
// Logic from amplify-gen1-codegen-data-adapter
export const adaptDataConfig = async (gen1DataConfig: any) => {
// Convert Gen 1 data configuration to intermediate format
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// Functions adapter - converts Gen 1 Lambda functions to intermediate format
// Logic from amplify-gen1-codegen-function-adapter
export const adaptFunctionsConfig = async (gen1FunctionsConfig: any[]) => {
// Convert Gen 1 functions configuration to intermediate format
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// Project adapter - handles Gen 1 project detection and parsing
// Logic from amplify-migration
export const detectGen1Project = async (projectPath: string) => {
// Detect if project is Gen 1
// Parse amplify directory structure
// Extract project metadata
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// Storage adapter - converts Gen 1 S3 storage config to intermediate format
// Logic from amplify-gen1-codegen-storage-adapter
export const adaptStorageConfig = async (gen1StorageConfig: any) => {
// Convert Gen 1 storage configuration to intermediate format
};
Loading
Loading