@papiro/cdk 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -0
- package/cdk.context.json +5 -0
- package/jest.config.js +8 -0
- package/package.json +24 -0
- package/tsconfig.json +32 -0
package/README.md
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Welcome to your CDK TypeScript Construct Library project
|
|
2
|
+
|
|
3
|
+
You should explore the contents of this project. It demonstrates a CDK Construct Library that includes a construct (`Cdk`)
|
|
4
|
+
which contains an Amazon SQS queue that is subscribed to an Amazon SNS topic.
|
|
5
|
+
|
|
6
|
+
The construct defines an interface (`CdkProps`) to configure the visibility timeout of the queue.
|
|
7
|
+
|
|
8
|
+
## Useful commands
|
|
9
|
+
|
|
10
|
+
* `npm run build` compile typescript to js
|
|
11
|
+
* `npm run watch` watch for changes and compile
|
|
12
|
+
* `npm run test` perform the jest unit tests
|
package/cdk.context.json
ADDED
package/jest.config.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@papiro/cdk",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"main": "lib/index.js",
|
|
5
|
+
"types": "lib/index.d.ts",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"build": "tsc",
|
|
8
|
+
"watch": "tsc -w",
|
|
9
|
+
"test": "jest"
|
|
10
|
+
},
|
|
11
|
+
"devDependencies": {
|
|
12
|
+
"@types/jest": "^29.5.14",
|
|
13
|
+
"@types/node": "22.7.9",
|
|
14
|
+
"aws-cdk-lib": "2.215.0",
|
|
15
|
+
"constructs": "^10.0.0",
|
|
16
|
+
"jest": "^29.7.0",
|
|
17
|
+
"ts-jest": "^29.2.5",
|
|
18
|
+
"typescript": "~5.6.3"
|
|
19
|
+
},
|
|
20
|
+
"peerDependencies": {
|
|
21
|
+
"aws-cdk-lib": "2.215.0",
|
|
22
|
+
"constructs": "^10.0.0"
|
|
23
|
+
}
|
|
24
|
+
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "ES2022",
|
|
4
|
+
"module": "NodeNext",
|
|
5
|
+
"moduleResolution": "NodeNext",
|
|
6
|
+
"lib": [
|
|
7
|
+
"es2022"
|
|
8
|
+
],
|
|
9
|
+
"declaration": true,
|
|
10
|
+
"strict": true,
|
|
11
|
+
"noImplicitAny": true,
|
|
12
|
+
"strictNullChecks": true,
|
|
13
|
+
"noImplicitThis": true,
|
|
14
|
+
"alwaysStrict": true,
|
|
15
|
+
"noUnusedLocals": false,
|
|
16
|
+
"noUnusedParameters": false,
|
|
17
|
+
"noImplicitReturns": true,
|
|
18
|
+
"noFallthroughCasesInSwitch": false,
|
|
19
|
+
"inlineSourceMap": true,
|
|
20
|
+
"inlineSources": true,
|
|
21
|
+
"experimentalDecorators": true,
|
|
22
|
+
"strictPropertyInitialization": false,
|
|
23
|
+
"skipLibCheck": true,
|
|
24
|
+
"typeRoots": [
|
|
25
|
+
"./node_modules/@types"
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
"exclude": [
|
|
29
|
+
"node_modules",
|
|
30
|
+
"cdk.out"
|
|
31
|
+
]
|
|
32
|
+
}
|