declapract-typescript-ehmpathy 0.30.1 → 0.30.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.
|
@@ -9,8 +9,8 @@ plugins:
|
|
|
9
9
|
provider:
|
|
10
10
|
name: aws
|
|
11
11
|
runtime: nodejs16.x
|
|
12
|
-
memorySize: 1024 # optional, in
|
|
13
|
-
timeout:
|
|
12
|
+
memorySize: 1024 # optional, in mb, default is 1024
|
|
13
|
+
timeout: 60 # default timeout to 1min, for resilience against increased cold start times; individual functions can override this
|
|
14
14
|
stage: ${opt:stage}
|
|
15
15
|
stackTags:
|
|
16
16
|
app: @declapract{variable.organizationName}
|
|
@@ -29,6 +29,10 @@ export const fix: FileFixFunction = (contents) => {
|
|
|
29
29
|
.replace(
|
|
30
30
|
' artifact: .artifact/contents.zip\n\nprovider:', // if no plugins at all
|
|
31
31
|
' artifact: .artifact/contents.zip\n\nplugins:\n - serverless-prune-plugin\n\nprovider:', // add the sls prune plugin
|
|
32
|
+
)
|
|
33
|
+
.replace(
|
|
34
|
+
' timeout: 10',
|
|
35
|
+
' timeout: 60 # default timeout to 1min, for resilience against increased cold start times; individual functions can override this', // bump the timeout
|
|
32
36
|
),
|
|
33
37
|
};
|
|
34
38
|
};
|
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.30.
|
|
5
|
+
"version": "0.30.2",
|
|
6
6
|
"main": "src/index.js",
|
|
7
7
|
"repository": "ehmpathy/declapract-typescript-ehmpathy",
|
|
8
8
|
"homepage": "https://github.com/ehmpathy/declapract-typescript-ehmpathy",
|