Skip to content

Commit d5c0aa2

Browse files
authored
fix(cdk): remove source-map-support from typescript init templates (#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*
1 parent f8415c0 commit d5c0aa2

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

packages/aws-cdk/lib/init-templates/app/typescript/bin/%name%.template.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/usr/bin/env node
2-
import 'source-map-support/register';
32
import * as cdk from 'aws-cdk-lib';
43
import { %name.PascalCased%Stack } from '../lib/%name%-stack';
54

packages/aws-cdk/lib/init-templates/app/typescript/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
},
2222
"dependencies": {
2323
"aws-cdk-lib": "%cdk-version%",
24-
"constructs": "%constructs-version%",
25-
"source-map-support": "^0.5.21"
24+
"constructs": "%constructs-version%"
2625
}
27-
}
26+
}

0 commit comments

Comments
 (0)