-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(aws-cdk): use ts-node for TypeScript templates (#2527)
Update sample-app with ts-node in a backwards compatible way (`npm run build` still compiles the code). Closes #1532
- Loading branch information
1 parent
8e3c4ca
commit 4f7b48d
Showing
4 changed files
with
4 additions
and
2 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
packages/aws-cdk/lib/init-templates/app/typescript/cdk.template.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"app": "node bin/%name%.js" | ||
"app": "./node_modules/.bin/ts-node bin/%name%.ts" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/aws-cdk/lib/init-templates/sample-app/typescript/cdk.template.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"app": "node bin/%name%.js" | ||
"app": "./node_modules/.bin/ts-node bin/%name%.ts" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters