declapract-typescript-ehmpathy 0.39.1 → 0.39.3
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.
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
},
|
|
7
7
|
"devDependencies": {
|
|
8
8
|
"sql-code-generator": "@declapract{check.minVersion('0.10.1')}",
|
|
9
|
-
"sql-dao-generator": "@declapract{check.minVersion('0.
|
|
9
|
+
"sql-dao-generator": "@declapract{check.minVersion('0.12.0')}",
|
|
10
10
|
"sql-schema-control": "@declapract{check.minVersion('1.5.4')}",
|
|
11
11
|
"sql-schema-generator": "@declapract{check.minVersion('0.25.2')}",
|
|
12
12
|
"@types/yesql": "@declapract{check.minVersion('3.2.2')}",
|
|
@@ -1,2 +1,14 @@
|
|
|
1
1
|
// eslint-disable-next-line no-undef
|
|
2
2
|
jest.setTimeout(90000); // we're calling downstream apis
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* .what = verify that the env has sufficient auth to run the tests; otherwise, fail fast
|
|
6
|
+
* .why =
|
|
7
|
+
* - prevent time wasted waiting on tests to fail due to lack of credentials
|
|
8
|
+
* - prevent time wasted debugging tests which are failing due to hard-to-read missed credential errors
|
|
9
|
+
*/
|
|
10
|
+
const isAuthed = process.env.AWS_PROFILE || process.env.AWS_ACCESS_KEY_ID;
|
|
11
|
+
if (!isAuthed)
|
|
12
|
+
throw new Error(
|
|
13
|
+
'no aws credentials present. please authenticate with aws to run acceptance tests',
|
|
14
|
+
);
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "declapract-typescript-ehmpathy",
|
|
3
3
|
"author": "ehmpathy",
|
|
4
4
|
"description": "declapract best practices declarations for typescript",
|
|
5
|
-
"version": "0.39.
|
|
5
|
+
"version": "0.39.3",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"main": "src/index.js",
|
|
8
8
|
"repository": "ehmpathy/declapract-typescript-ehmpathy",
|