Skip to content

Commit e243b11

Browse files
mrgrainiankhou
andauthored
chore(toolkit-lib): include declaration maps so that API extractor can locate the source file (#592)
With this change ``` "fileUrlPath": "lib/payloads/hotswap.d.ts", ``` becomes ``` "fileUrlPath": "lib/payloads/hotswap.ts", ``` in `toolkit-lib.api.json`. --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license Co-authored-by: Ian Hou <[email protected]>
1 parent 5c4ce36 commit e243b11

File tree

4 files changed

+3
-9
lines changed

4 files changed

+3
-9
lines changed

.projenrc.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -808,6 +808,7 @@ const toolkitLib = configureProject(
808808
lib: ['es2022', 'esnext.disposable'],
809809
module: 'NodeNext',
810810
isolatedModules: true,
811+
declarationMap: true,
811812
},
812813
},
813814
tsJestOptions: {

packages/@aws-cdk/toolkit-lib/tsconfig.dev.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk/toolkit-lib/tsconfig.dts.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

packages/@aws-cdk/toolkit-lib/tsconfig.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)