Skip to content

Commit 19f5630

Browse files
Merge pull request #2 from eduardomourar/feature/rpdk-typescript
Feature/rpdk typescript
2 parents 31566de + 9600fe0 commit 19f5630

32 files changed

+7855
-151
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# DEVELOPER PREVIEW (COMMUNITY DRIVEN)
22

3-
We're excited to share our progress with adding new languages to the CloudFormation CLI! This plugin is an early preview prepared by the community, and not ready for production use.
3+
We're excited to share our progress with adding new languages to the CloudFormation CLI!
4+
> This plugin is an early preview prepared by the community, and not ready for production use.
45
56
## AWS CloudFormation Resource Provider TypeScript Plugin
67

@@ -16,6 +17,7 @@ If you are using this package to build resource providers for CloudFormation, in
1617
**Prerequisites**
1718

1819
- Python version 3.6 or above
20+
- [SAM CLI](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-install.html)
1921
- Your choice of TypeScript IDE
2022

2123
**Installation**
@@ -28,7 +30,7 @@ pip3 install git+https://github.com/eduardomourar/cloudformation-cli-typescript-
2830

2931
Refer to the [CloudFormation CLI User Guide](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-types.html) for the [CloudFormation CLI](https://github.com/aws-cloudformation/cloudformation-cli) for usage instructions.
3032

31-
** Howto**
33+
**Howto**
3234

3335
Example run:
3436

jest.config.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
module.exports = {
2+
preset: 'ts-jest',
3+
testEnvironment: 'node',
4+
globals: {
5+
'ts-jest': {
6+
diagnostics: false, // Necessary to avoid typeschecking error in decorators
7+
}
8+
},
9+
testRegex: '\\.test.ts$',
10+
};

0 commit comments

Comments
 (0)