Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(amplify-util-uibuilder): amplify js backwards compatibility #13288

Conversation

letsbelopez
Copy link
Contributor

@letsbelopez letsbelopez commented Sep 29, 2023

Description of changes

Update the StartCodegenJob operation to be backwards compatible for amplify js. StartCodegenJob is now passed the relevant local project dependencies for codegen to know which version of amplify js to codegen.

E.g. If the local project has a dependecy of aws-amplify ^5.0.2, then codegen will generate v5 compatible code. If there are no dependencies yet, codegen will generate the latest code available and recommend to install the dependencies.

Linux threshold increase:

The new aws-sdk version is needed to finish the feature. It also triggered the linux arm compressed threshold to be crossed. This increases the limit so it can pass.

Issue #, if available

NA

Description of how you validated changes

Unit test
Testing against a personal app
Currently running e2e tests, I'll update when they complete here.

Checklist

  • PR description included
  • yarn test passes
  • Tests are changed or added
  • Relevant documentation is changed or added (and PR referenced)
  • New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies
  • Pull request labels are added

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

@letsbelopez letsbelopez requested a review from a team as a code owner September 29, 2023 21:33
@sobolk sobolk merged commit 2db3e18 into aws-amplify:dev Oct 2, 2023
@letsbelopez letsbelopez deleted the amplify-util-uibuilder/amplifyjs-backwards-compat-third-try branch October 2, 2023 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants