declapract-typescript-ehmpathy 0.22.1 → 0.22.2
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/dist/practices/cicd-deploy-service/best-practice/.github/workflows/.terraform.yml +1 -1
- package/dist/practices/persist-with-dynamodb/best-practice/jest.integration.env.ts +5 -0
- package/dist/practices/persist-with-dynamodb/best-practice/jest.integration.env.ts.declapract.ts +3 -0
- package/dist/practices/persist-with-dynamodb/best-practice/provision/aws/environments/test/main.tf +3 -0
- package/dist/practices/persist-with-dynamodb/best-practice/provision/aws/environments/test/main.tf.declapract.ts +3 -0
- package/dist/practices/terraform/best-practice/provision/aws/environments/test/main.tf +0 -4
- package/dist/practices/testing/best-practice/jest.integration.env.ts +0 -6
- package/dist/practices/typescript/best-practice/tsconfig.json +1 -0
- package/package.json +1 -1
|
@@ -67,7 +67,7 @@ jobs:
|
|
|
67
67
|
|
|
68
68
|
- name: terraform plan
|
|
69
69
|
id: plan
|
|
70
|
-
run: terraform plan | tee ./plan.log
|
|
70
|
+
run: terraform plan -detailed-exitcode | tee ./plan.log
|
|
71
71
|
env:
|
|
72
72
|
GITHUB_TOKEN: ${{ secrets.github-token }} # allow specifying a github token to pass to the terraform command
|
|
73
73
|
|
|
@@ -10,9 +10,3 @@ jest.setTimeout(90000); // since we're calling downstream apis
|
|
|
10
10
|
*/
|
|
11
11
|
if (stage !== Stage.TEST && process.env.I_KNOW_WHAT_IM_DOING !== 'true')
|
|
12
12
|
throw new Error(`integration-test is not targeting stage 'test'`);
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* specify that dynamodb should use the local dynamodb database, if running in test env
|
|
16
|
-
*/
|
|
17
|
-
if (stage === Stage.TEST)
|
|
18
|
-
process.env.USE_CUSTOM_DYNAMODB_ENDPOINT = 'http://localhost:7337';
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
"noPropertyAccessFromIndexSignature": false,
|
|
6
6
|
"noUnusedLocals": false, // this is something a linter should warn on, not something a compiler should fail on
|
|
7
7
|
"noUnusedParameters": false, // this is something a linter should warn on, not something a compiler should fail on
|
|
8
|
+
"exactOptionalPropertyTypes": false, // too clunky when `{ name?: string }` !== `{ name?: string | undefined }`. too rare of a cause of issue to be worth it
|
|
8
9
|
"noImplicitOverride": false,
|
|
9
10
|
"resolveJsonModule": true,
|
|
10
11
|
"sourceMap": true,
|
package/package.json
CHANGED