-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add README.md to typescript init templates
Those files provide useful commands that will be displayed in the terminal after a successful run of `cdk init`.
- Loading branch information
1 parent
6f30057
commit 7ac129d
Showing
4 changed files
with
21 additions
and
3 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"app": "node bin/%name%.js" | ||
} |
11 changes: 11 additions & 0 deletions
11
packages/aws-cdk/lib/init-templates/app/typescript/README.md
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Useful commands | ||
```shell | ||
npm run prepare # Compile the source code | ||
This comment has been minimized.
Sorry, something went wrong. |
||
npm run watch # Watch for file changes and compile automatically | ||
|
||
cdk synth # See the CloudFormation template for this app | ||
cdk diff # See the differences between this app and what is deployed | ||
cdk deploy # Deploy this app to your AWS account | ||
|
||
cdk-beta-npm install # Install new CDK dependencies | ||
``` |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Useful commands | ||
```shell | ||
npm run prepare # Compile the source code | ||
npm run watch # Watch for file changes and compile automatically | ||
|
||
cdk-beta-npm install # Install new CDK dependencies | ||
``` |
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
Don't we want to instruct people on using
cdk-npm
? That's our chance!