declapract-typescript-ehmpathy 0.33.13 → 0.33.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.
|
@@ -8,6 +8,7 @@ queries: # where to find your queries (each file must `export const query = `...
|
|
|
8
8
|
- 'src/data/dao/**/*.ts'
|
|
9
9
|
- '!src/data/dao/**/index.ts'
|
|
10
10
|
- '!src/data/dao/**/castFromDatabaseObject.ts'
|
|
11
|
+
- '!src/data/dao/**/findByRef.ts'
|
|
11
12
|
- '!src/**/*.test.ts'
|
|
12
13
|
- '!src/**/*.test.integration.ts'
|
|
13
14
|
generates: # where to output the generated code
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"dependencies": {
|
|
3
3
|
"pg": "@declapract{check.minVersion('8.3.0')}",
|
|
4
|
+
"procedure-fns": "@declapract{check.minVersion('1.0.0')}",
|
|
4
5
|
"yesql": "@declapract{check.minVersion('3.2.2')}"
|
|
5
6
|
},
|
|
6
7
|
"devDependencies": {
|
|
7
8
|
"sql-code-generator": "@declapract{check.minVersion('0.10.1')}",
|
|
8
|
-
"sql-dao-generator": "@declapract{check.minVersion('0.
|
|
9
|
+
"sql-dao-generator": "@declapract{check.minVersion('0.10.0')}",
|
|
9
10
|
"sql-schema-control": "@declapract{check.minVersion('1.5.2')}",
|
|
10
11
|
"sql-schema-generator": "@declapract{check.minVersion('0.25.2')}",
|
|
11
12
|
"@types/yesql": "@declapract{check.minVersion('3.2.2')}",
|
|
@@ -18,6 +18,10 @@ export const fix: FileFixFunction = (contents) => {
|
|
|
18
18
|
'## allow invocation of other lambdas',
|
|
19
19
|
'# allow invocation of other lambdas',
|
|
20
20
|
)
|
|
21
|
+
.replace(
|
|
22
|
+
'environment:\n NODE_ENV:',
|
|
23
|
+
'environment:\n TZ: UTC # guarantee that utc timezone will be used explicitly, to facilitate a pit of success\n NODE_ENV:',
|
|
24
|
+
)
|
|
21
25
|
.replace(
|
|
22
26
|
'NODE_ENV: ${self:custom.stageToNodeEnvMapping.${self:provider.stage}}\n deploymentBucket',
|
|
23
27
|
'NODE_ENV: ${self:custom.stageToNodeEnvMapping.${self:provider.stage}}\n AWS_NODEJS_CONNECTION_REUSE_ENABLED: true # https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/node-reusing-connections.html\n deploymentBucket',
|
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.33.
|
|
5
|
+
"version": "0.33.15",
|
|
6
6
|
"main": "src/index.js",
|
|
7
7
|
"repository": "ehmpathy/declapract-typescript-ehmpathy",
|
|
8
8
|
"homepage": "https://github.com/ehmpathy/declapract-typescript-ehmpathy",
|
|
@@ -67,6 +67,7 @@
|
|
|
67
67
|
"husky": "8.0.3",
|
|
68
68
|
"jest": "29.3.1",
|
|
69
69
|
"prettier": "2.8.1",
|
|
70
|
+
"test-fns": "1.4.2",
|
|
70
71
|
"ts-jest": "29.1.3",
|
|
71
72
|
"ts-node": "10.9.2",
|
|
72
73
|
"type-fns": "0.8.1",
|