Skip to content

Conversation

@kuhe
Copy link
Contributor

@kuhe kuhe commented Nov 17, 2025

feature: generate well-formatted typescript source code.

  • the format is not identical to eslint + prettier, but is predictable (deterministic) and readable.
  • for non-AWS SDK users this improves the readability of the generated client
  • for AWS SDK usage, this can save many minutes of build time per build

This is assisted by new codegen internal APIs for registering and auto-sorting type vs runtime & relative vs package imports, as well as improved usage of the built-in TypeScriptWriter APIs for indentation and spacing control.

@kuhe kuhe force-pushed the format branch 3 times, most recently from cbb3a21 to 4afd19d Compare November 18, 2025 20:02
@kuhe kuhe changed the title feat(codegen): support type import statements feat(codegen): generate well-formatted TypeScript source code Nov 18, 2025
@kuhe kuhe force-pushed the format branch 2 times, most recently from 09ca46d to 7c4bcb6 Compare November 18, 2025 21:45
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.

1 participant