@glicogh/healthcare-cdk 0.1.13 → 0.1.15
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 +4 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -135,10 +135,11 @@ cdk init app --language typescript
|
|
|
135
135
|
# install package as a dependency
|
|
136
136
|
npm i @glicogh/healthcare-cdk
|
|
137
137
|
# copy env
|
|
138
|
-
cp node_modules/@glicogh/healthcare-cdk/.env.example .env.
|
|
139
|
-
|
|
138
|
+
cp node_modules/@glicogh/healthcare-cdk/.env.example .env.example
|
|
139
|
+
# copy CDK initialization file
|
|
140
|
+
cp node_modules/@glicogh/healthcare-cdk/cdk.example.ts bin/cdk.ts
|
|
140
141
|
```
|
|
141
142
|
|
|
142
|
-
Now you can
|
|
143
|
+
Now you can clone the file `.env.example` for each of target environments (for example, `.env.uat`) and edit the variables appropriately for the target environment.
|
|
143
144
|
|
|
144
145
|
> For the laravel-based projects, the [package](https://github.com/glicogh/healthcare-laravel-package) is able to perform all the steps/commands for you by running `php artisan glico:healthcare:microservice:cdk`
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glicogh/healthcare-cdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.15",
|
|
4
4
|
"description": "CDK automations",
|
|
5
5
|
"bin": {
|
|
6
6
|
"cdk": "bin/cdk.js"
|
|
7
7
|
},
|
|
8
8
|
"scripts": {
|
|
9
|
-
"build": "rm -rf ./dist && tsc && cp -r ./scripts ./dist/scripts",
|
|
9
|
+
"build": "rm -rf ./dist && tsc && cp -r ./scripts ./dist/scripts && cp ./cdk.example.ts ./dist",
|
|
10
10
|
"watch": "tsc -w",
|
|
11
11
|
"test": "jest",
|
|
12
12
|
"cdk": "cdk",
|