@moostjs/event-cli 0.3.44 → 0.4.1

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 CHANGED
@@ -36,6 +36,7 @@ const CONTEXT_TYPE = 'CLI';
36
36
  class MoostCli {
37
37
  constructor(opts) {
38
38
  this.opts = opts;
39
+ this.name = 'cli';
39
40
  this.optionTypes = {};
40
41
  const cliAppOpts = opts?.wooksCli;
41
42
  if (cliAppOpts && cliAppOpts instanceof eventCli.WooksCli) {
package/dist/index.d.ts CHANGED
@@ -128,6 +128,7 @@ interface TMoostCliOpts {
128
128
  */
129
129
  declare class MoostCli implements TMoostAdapter<TCliHandlerMeta> {
130
130
  protected opts?: TMoostCliOpts | undefined;
131
+ readonly name = "cli";
131
132
  protected cliApp: WooksCli;
132
133
  protected optionTypes: Record<string, TFunction[]>;
133
134
  constructor(opts?: TMoostCliOpts | undefined);
package/dist/index.mjs CHANGED
@@ -35,6 +35,7 @@ const CONTEXT_TYPE = 'CLI';
35
35
  class MoostCli {
36
36
  constructor(opts) {
37
37
  this.opts = opts;
38
+ this.name = 'cli';
38
39
  this.optionTypes = {};
39
40
  const cliAppOpts = opts?.wooksCli;
40
41
  if (cliAppOpts && cliAppOpts instanceof WooksCli) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moostjs/event-cli",
3
- "version": "0.3.44",
3
+ "version": "0.4.1",
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.3.44",
42
- "wooks": "^0.4.35",
43
- "@wooksjs/event-core": "^0.4.35",
44
- "@wooksjs/event-cli": "^0.4.35"
41
+ "moost": "0.4.1",
42
+ "wooks": "^0.5.1",
43
+ "@wooksjs/event-core": "^0.5.1",
44
+ "@wooksjs/event-cli": "^0.5.1"
45
45
  }
46
46
  }