aws-amplify / amplify-cli

The AWS Amplify CLI is a toolchain for simplifying serverless web and mobile development.
Apache License 2.0
2.83k stars 822 forks source link

Gen 2 Migration - convert gen 1 dir to gen2 #13930

Closed abhi7cr closed 2 months ago

abhi7cr commented 2 months ago

Description of changes

Convert Gen1 amplify directory to Gen2 once codegen is complete. Add tsconfig.json to Gen2 amplify dir. Reviewed folder structure with @josefaidt.

Description of how you validated changes

npx @aws-amplify/migrate to-gen-2 generate-code

Folder structure post codegen

amplify folder now points at Gen2 and .amplify/migration/amplify has Gen1 amplify:

image

ran yarn cloud pr

TODO: Integration tests would cover this flow.

Checklist

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.