Skip to content

Commit

Permalink
fix(cdk): remove source-map-support from typescript init templates (#…
Browse files Browse the repository at this point in the history
…32113)

### Issue

Closes #20754
Closes #30231

### Reason for this change

This package is no longer needed and not recommended for users.

### Description of changes

Remove the package from `package.json` and sample code.

### Description of how you validated changes

Tested locally.

### Checklist
- [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
mrgrain authored Nov 14, 2024
1 parent f8415c0 commit d5c0aa2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env node
import 'source-map-support/register';
import * as cdk from 'aws-cdk-lib';
import { %name.PascalCased%Stack } from '../lib/%name%-stack';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
},
"dependencies": {
"aws-cdk-lib": "%cdk-version%",
"constructs": "%constructs-version%",
"source-map-support": "^0.5.21"
"constructs": "%constructs-version%"
}
}
}

0 comments on commit d5c0aa2

Please sign in to comment.