@kravc/serverless 0.9.0 → 0.10.0
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/package.json +3 -3
- package/src/build.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kravc/serverless",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"description": "Serverless configuration builder and deployment tool for @kravc/dos service.",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"repository": {
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"author": "Alexander Kravets <a@kra.vc>",
|
|
20
20
|
"license": "ISC",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"config": "^
|
|
22
|
+
"config": "^4.1.0",
|
|
23
23
|
"js-yaml": "^4.1.0",
|
|
24
24
|
"lodash": "^4.17.21",
|
|
25
|
-
"serverless": "^4.
|
|
25
|
+
"serverless": "^4.17.2"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@eslint/eslintrc": "^3.2.0",
|
package/src/build.js
CHANGED
|
@@ -10,7 +10,7 @@ const { name, version } = require(`${ROOT_PATH}/package.json`)
|
|
|
10
10
|
const [ MAJOR_VERSION ] = version.split('.')
|
|
11
11
|
const DEFAULT_SERVICE = name.replace('@', '').replace('/', '-') + `-v${MAJOR_VERSION}`
|
|
12
12
|
const DEFAULT_TABLE = name.replace('@', '').replace('/', '-')
|
|
13
|
-
const DEFAULT_RUNTIME = '
|
|
13
|
+
const DEFAULT_RUNTIME = 'nodejs22.x'
|
|
14
14
|
|
|
15
15
|
const build = config => {
|
|
16
16
|
const AWS = get(config, 'aws', {})
|