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(type-safe-api): add commitGeneratedCode option to control generated code #814

Merged
merged 1 commit into from
Aug 6, 2024

Commits on Aug 1, 2024

  1. feat(type-safe-api): add commitGeneratedCode option to control genera…

    …ted code
    
    This commit introduces a new `commitGeneratedCode` option to the
    TypeSafeApiProject, which allows controlling whether generated code should be
    committed or ignored for all generated projects.
    
    The main changes include:
    
    - Add a `commitGeneratedCode` option to the TypeSafeApiProject and related
    options interfaces.
    - Set the default value of `commitGeneratedCode` to `false`.
    - Conditionally add patterns to .gitignore based on the `commitGeneratedCode`
    option for all generated projects.
    - Update tests to cover the new `commitGeneratedCode` option.
    
    By default, the generated code will be ignored in the repository, except for
    Python projects where it will be included to allow for easier distribution and
    deployment of the generated artifacts using Poetry.
    
    Fixes: aws#813
    jstrunk committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    5a93d6a View commit details
    Browse the repository at this point in the history