aws / aws/aws-cdk

init-template: support esm in typescript init-template or add new init-template with ts and esm

Open
#30,468 1 comment 6 reactions 0 assignees View on GitHub
@aws-cdk/core effort/medium feature-request p3
Dominant language
TypeScript
Stars
12.9k
Forks
4.6k
Avg merge
2d 3h
Merged PRs (30d)
83

Description

### Describe the feature

Hey,

it would be nice to have a typescript init-template with out of the box support for esm

### Use Case

More and more node libraries switch over to ESM.

### Proposed Solution

Create a new init-template for typescript that contains all settings to support esm directly.

### Other Information

_No response_

### Acknowledgements

- [ ] I may be able to implement this feature request
- [ ] This feature might incur a breaking change

### CDK version used

cdk v2

### Environment details (OS name and version, etc.)

MacOS

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by locating the existing TypeScript init-template and its test coverage, then determine the ESM settings needed for a new or updated template. Done means a TypeScript init-template supports ESM out of the box and its behavior is covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.