@serverless-devs/engine 0.1.2-beta.7 → 0.1.2-beta.9
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/lib/actions/index.js +1 -1
- package/package.json +4 -4
package/lib/actions/index.js
CHANGED
|
@@ -309,7 +309,7 @@ You can still use them now, but we suggest to modify them.`);
|
|
|
309
309
|
// Check if the specified command exists for the component.
|
|
310
310
|
if (instance[command]) {
|
|
311
311
|
// 方法存在,执行报错,退出码101
|
|
312
|
-
const newInputs = Object.assign(Object.assign({}, this.record.componentProps), {
|
|
312
|
+
const newInputs = Object.assign(Object.assign({}, this.record.componentProps), { args: (0, lodash_1.filter)(argv.slice(2), o => !(0, lodash_1.includes)([componentName, command], o)) });
|
|
313
313
|
try {
|
|
314
314
|
// Execute the command for the component with the prepared inputs.
|
|
315
315
|
yield instance[command](newInputs);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@serverless-devs/engine",
|
|
3
|
-
"version": "0.1.2-beta.
|
|
3
|
+
"version": "0.1.2-beta.9",
|
|
4
4
|
"description": "a engine lib for serverless-devs",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"author": "xsahxl",
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
"string-argv": "^0.3.2",
|
|
24
24
|
"xstate": "^4.37.2",
|
|
25
25
|
"@serverless-devs/credential": "^0.0.6-beta.1",
|
|
26
|
-
"@serverless-devs/
|
|
27
|
-
"@serverless-devs/load-component": "^0.0.7-beta.2",
|
|
26
|
+
"@serverless-devs/load-component": "^0.0.7-beta.4",
|
|
28
27
|
"@serverless-devs/logger": "^0.0.5-beta.2",
|
|
29
|
-
"@serverless-devs/utils": "^0.0.14"
|
|
28
|
+
"@serverless-devs/utils": "^0.0.14",
|
|
29
|
+
"@serverless-devs/parse-spec": "^0.0.26-beta.3"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/fs-extra": "^11.0.1",
|