aws / aws/aws-cdk

(aws-cdk-lib): release source maps and files

Open
#20,561 10 comments 38 reactions 0 assignees View on GitHub
effort/large feature-request p2
Dominant language
TypeScript
Stars
12.9k
Forks
4.6k
Avg merge
2d 3h
Merged PRs (30d)
83

Description

### Describe the feature

See reduce module size [RFC](https://github.com/aws/aws-cdk-rfcs/pull/430) and https://github.com/aws/aws-cdk/issues/20320#issuecomment-1140181014.

Submitting a tracking issue for the following feature:

```
Releasing an additional 2.X.Y-debug package with every release, that will
contain the source maps and source files. In addition to reducing the size of
the aws-cdk-lib package, we want to reduce the volume of artifacts we publish
to npm and other package managers in total. This would be in direct conflict
with that goal by doubling the amount of content that is published on each
release. And, there is currently no demonstrated customer need for a debug
package like this.
```

### Use Case

Today, there's no way to access the typescript source files from the package downloaded from npm. We haven't heard from the community that this is a feature that users want to see, but we haven't been asking either. Please add your +1s and/or comment additional thoughts on this issue.

### Proposed Solution

_No response_

### Other Information

_No response_

### Acknowledgements

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

### CDK version used

2.X

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

MacOs

Contributor guide

Open the contributing guide

Research direction

Read the reduce module size RFC (PR 430) and the linked issue discussion first; the issue does not name implementation files or tests. Define what the aws-cdk-lib release process would need to publish a separate 2.X.Y-debug package containing source maps and TypeScript source files, and confirm the package contents and release behavior before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
build-system, release
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.