@moostjs/event-cli 0.4.11 → 0.4.13
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/dist/index.cjs +2 -0
- package/dist/index.mjs +2 -0
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
|
@@ -66,6 +66,7 @@ class MoostCli {
|
|
|
66
66
|
callControllerMethod: () => undefined,
|
|
67
67
|
logErrors: this.opts?.debug,
|
|
68
68
|
targetPath: '',
|
|
69
|
+
handlerType: 'CLI',
|
|
69
70
|
})();
|
|
70
71
|
if (response === undefined) {
|
|
71
72
|
this.cliApp.onUnknownCommand(pathParams);
|
|
@@ -107,6 +108,7 @@ class MoostCli {
|
|
|
107
108
|
resolveArgs: opts.resolveArgs,
|
|
108
109
|
logErrors: this.opts?.debug,
|
|
109
110
|
targetPath,
|
|
111
|
+
handlerType: handler.type,
|
|
110
112
|
});
|
|
111
113
|
const meta = getCliMate().read(opts.fakeInstance, opts.method);
|
|
112
114
|
const classMeta = getCliMate().read(opts.fakeInstance);
|
package/dist/index.mjs
CHANGED
|
@@ -65,6 +65,7 @@ class MoostCli {
|
|
|
65
65
|
callControllerMethod: () => undefined,
|
|
66
66
|
logErrors: this.opts?.debug,
|
|
67
67
|
targetPath: '',
|
|
68
|
+
handlerType: 'CLI',
|
|
68
69
|
})();
|
|
69
70
|
if (response === undefined) {
|
|
70
71
|
this.cliApp.onUnknownCommand(pathParams);
|
|
@@ -106,6 +107,7 @@ class MoostCli {
|
|
|
106
107
|
resolveArgs: opts.resolveArgs,
|
|
107
108
|
logErrors: this.opts?.debug,
|
|
108
109
|
targetPath,
|
|
110
|
+
handlerType: handler.type,
|
|
109
111
|
});
|
|
110
112
|
const meta = getCliMate().read(opts.fakeInstance, opts.method);
|
|
111
113
|
const classMeta = getCliMate().read(opts.fakeInstance);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moostjs/event-cli",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.13",
|
|
4
4
|
"description": "@moostjs/event-cli",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
"homepage": "https://github.com/moostjs/moostjs/tree/main/packages/event-cli#readme",
|
|
39
39
|
"peerDependencies": {},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"moost": "0.4.
|
|
42
|
-
"wooks": "^0.5.
|
|
43
|
-
"@wooksjs/event-core": "^0.5.
|
|
44
|
-
"@wooksjs/event-cli": "^0.5.
|
|
41
|
+
"moost": "0.4.13",
|
|
42
|
+
"wooks": "^0.5.11",
|
|
43
|
+
"@wooksjs/event-core": "^0.5.11",
|
|
44
|
+
"@wooksjs/event-cli": "^0.5.11"
|
|
45
45
|
}
|
|
46
46
|
}
|