@moostjs/event-cli 0.6.42 → 0.6.44

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
@@ -243,6 +243,7 @@ const LOGGER_TITLE = "moost-cli";
243
243
  });
244
244
  }
245
245
  };
246
+ /** Names this adapter for DI independently of class identity (see `MOOST_ADAPTER_BRAND`). */ _define_property$1(MoostCli, moost.MOOST_ADAPTER_BRAND, "@moostjs/event-cli/MoostCli");
246
247
  const aliasTypes = [
247
248
  "CLI",
248
249
  "CLI-alias",
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { WooksCli, TWooksCliOptions } from '@wooksjs/event-cli';
2
2
  export { cliKind } from '@wooksjs/event-cli';
3
3
  import * as moost from 'moost';
4
- import { TFunction, TMoostAdapter, Moost, TMoostAdapterOptions } from 'moost';
4
+ import { TFunction, TMoostAdapter, MOOST_ADAPTER_BRAND, Moost, TMoostAdapterOptions } from 'moost';
5
5
  export { Controller, Description, Intercept, Optional, Param, TInterceptorPriority, defineAfterInterceptor, defineBeforeInterceptor, defineInterceptor } from 'moost';
6
6
 
7
7
  /**
@@ -129,6 +129,8 @@ interface TMoostCliOpts {
129
129
  */
130
130
  declare class MoostCli implements TMoostAdapter<TCliHandlerMeta> {
131
131
  protected opts?: TMoostCliOpts | undefined;
132
+ /** Names this adapter for DI independently of class identity (see `MOOST_ADAPTER_BRAND`). */
133
+ static readonly [MOOST_ADAPTER_BRAND] = "@moostjs/event-cli/MoostCli";
132
134
  readonly name = "cli";
133
135
  protected cliApp: WooksCli;
134
136
  protected optionTypes: Record<string, TFunction[]>;
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { Controller, Description, Intercept, Intercept as Intercept$1, Moost, Optional, Param, Resolve, TInterceptorPriority, defineAfterInterceptor, defineBeforeInterceptor, defineBeforeInterceptor as defineBeforeInterceptor$1, defineInterceptor, defineMoostEventHandler, getMoostMate, setInfactLoggingOptions, useControllerContext } from "moost";
1
+ import { Controller, Description, Intercept, Intercept as Intercept$1, MOOST_ADAPTER_BRAND, Moost, Optional, Param, Resolve, TInterceptorPriority, defineAfterInterceptor, defineBeforeInterceptor, defineBeforeInterceptor as defineBeforeInterceptor$1, defineInterceptor, defineMoostEventHandler, getMoostMate, setInfactLoggingOptions, useControllerContext } from "moost";
2
2
  import { WooksCli, cliKind, cliKind as cliKind$1, createCliApp, useAutoHelp, useCliOption, useCommandLookupHelp } from "@wooksjs/event-cli";
3
3
  import { current } from "@wooksjs/event-core";
4
4
 
@@ -242,6 +242,7 @@ const LOGGER_TITLE = "moost-cli";
242
242
  });
243
243
  }
244
244
  };
245
+ /** Names this adapter for DI independently of class identity (see `MOOST_ADAPTER_BRAND`). */ _define_property$1(MoostCli, MOOST_ADAPTER_BRAND, "@moostjs/event-cli/MoostCli");
245
246
  const aliasTypes = [
246
247
  "CLI",
247
248
  "CLI-alias",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moostjs/event-cli",
3
- "version": "0.6.42",
3
+ "version": "0.6.44",
4
4
  "description": "@moostjs/event-cli",
5
5
  "keywords": [
6
6
  "composables",
@@ -38,15 +38,15 @@
38
38
  }
39
39
  },
40
40
  "dependencies": {
41
- "@wooksjs/event-cli": "^0.7.25"
41
+ "@wooksjs/event-cli": "^0.7.26"
42
42
  },
43
43
  "devDependencies": {
44
44
  "vitest": "3.2.7"
45
45
  },
46
46
  "peerDependencies": {
47
- "@wooksjs/event-core": "^0.7.25",
48
- "wooks": "^0.7.25",
49
- "moost": "^0.6.42"
47
+ "@wooksjs/event-core": "^0.7.26",
48
+ "wooks": "^0.7.26",
49
+ "moost": "^0.6.44"
50
50
  },
51
51
  "scripts": {
52
52
  "pub": "pnpm publish --access public",