@glicogh/healthcare-cdk 0.1.0
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 +14 -0
- package/lib/laravel-based-microservice-stack.ts +11 -0
- package/package.json +37 -0
package/README.md
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Welcome to your CDK TypeScript project
|
|
2
|
+
|
|
3
|
+
This is a blank project for CDK development with TypeScript.
|
|
4
|
+
|
|
5
|
+
The `cdk.json` file tells the CDK Toolkit how to execute your app.
|
|
6
|
+
|
|
7
|
+
## Useful commands
|
|
8
|
+
|
|
9
|
+
* `npm run build` compile typescript to js
|
|
10
|
+
* `npm run watch` watch for changes and compile
|
|
11
|
+
* `npm run test` perform the jest unit tests
|
|
12
|
+
* `npx cdk deploy` deploy this stack to your default AWS account/region
|
|
13
|
+
* `npx cdk diff` compare deployed stack with current state
|
|
14
|
+
* `npx cdk synth` emits the synthesized CloudFormation template
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as cdk from 'aws-cdk-lib';
|
|
2
|
+
import { Construct } from 'constructs';
|
|
3
|
+
import { BuildConfig } from '../@types/common';
|
|
4
|
+
|
|
5
|
+
export class LaravelBasedMicroserviceStack extends cdk.Stack {
|
|
6
|
+
constructor(scope: Construct, id: string, buildConfig: BuildConfig, props?: cdk.StackProps) {
|
|
7
|
+
super(scope, id, props);
|
|
8
|
+
|
|
9
|
+
new cdk.CfnOutput(this, 'buildConfig', {value: JSON.stringify(buildConfig)})
|
|
10
|
+
}
|
|
11
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@glicogh/healthcare-cdk",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "CDK automations",
|
|
5
|
+
"bin": {
|
|
6
|
+
"cdk": "bin/cdk.js"
|
|
7
|
+
},
|
|
8
|
+
"scripts": {
|
|
9
|
+
"build": "tsc",
|
|
10
|
+
"watch": "tsc -w",
|
|
11
|
+
"test": "jest",
|
|
12
|
+
"cdk": "cdk"
|
|
13
|
+
},
|
|
14
|
+
"devDependencies": {
|
|
15
|
+
"@types/jest": "^29.5.12",
|
|
16
|
+
"@types/node": "20.14.9",
|
|
17
|
+
"aws-cdk": "2.155.0",
|
|
18
|
+
"jest": "^29.7.0",
|
|
19
|
+
"ts-jest": "^29.1.5",
|
|
20
|
+
"ts-node": "^10.9.2",
|
|
21
|
+
"typescript": "~5.5.3"
|
|
22
|
+
},
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"aws-cdk-lib": "2.155.0",
|
|
25
|
+
"constructs": "^10.0.0",
|
|
26
|
+
"dotenv": "^16.4.5",
|
|
27
|
+
"source-map-support": "^0.5.21"
|
|
28
|
+
},
|
|
29
|
+
"repository": {
|
|
30
|
+
"type": "git",
|
|
31
|
+
"url": "git+https://github.com/glicogh/healthcare-automations.git",
|
|
32
|
+
"directory": "cdk"
|
|
33
|
+
},
|
|
34
|
+
"files": [
|
|
35
|
+
"lib/*"
|
|
36
|
+
]
|
|
37
|
+
}
|