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

fix: move data schema generator to separate package #2426

Closed
wants to merge 5 commits into from

Conversation

dpilch
Copy link
Member

@dpilch dpilch commented Apr 5, 2024

Description of changes

Move TS data schema generator to a separate package. The TS dependency is significantly increasing the CLI binary size. The TS data schema generator functionality is not supported on the Gen 1 CLI.

This will be a breaking change on the @aws-amplify/graphql-schema-generator package. This package is not intended to be directly used by customers. The API category and the CLI will NOT incur a breaking change.

Gen 2 will need to be updated to use the new package: https://github.com/aws-amplify/amplify-backend/blob/54c69c44e1dbc1a897da09e5576891aa7ad8185c/packages/schema-generator/package.json#L20

CDK / CloudFormation Parameters Changed

N/A

Issue #, if available

aws-amplify/amplify-cli#13681

Description of how you validated changes

  • Unit tests
  • E2E tests

Checklist

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

dpilch added 2 commits April 5, 2024 08:48
Remove the typescript dep

BREAKING CHANGE: Data schema functionality removed.
@dpilch dpilch force-pushed the data-schema-generator branch from c54b0ab to 9403889 Compare April 5, 2024 15:05
@dpilch dpilch marked this pull request as ready for review April 17, 2024 17:55
@dpilch dpilch requested review from a team as code owners April 17, 2024 17:55
@dpilch dpilch marked this pull request as draft April 25, 2024 13:59
@dpilch dpilch closed this Apr 26, 2024
@palpatim palpatim deleted the data-schema-generator branch November 25, 2024 22:12
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.

2 participants