@moostjs/event-cli 0.2.31 → 0.2.32
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 +4 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.mjs +1 -0
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
|
@@ -311,6 +311,10 @@ const cliHelpInterceptor = (opts) => {
|
|
|
311
311
|
*/
|
|
312
312
|
const CliHelpInterceptor = (...opts) => moost.Intercept(cliHelpInterceptor(...opts));
|
|
313
313
|
|
|
314
|
+
Object.defineProperty(exports, 'useCliContext', {
|
|
315
|
+
enumerable: true,
|
|
316
|
+
get: function () { return eventCli.useCliContext; }
|
|
317
|
+
});
|
|
314
318
|
exports.Cli = Cli;
|
|
315
319
|
exports.CliAlias = CliAlias;
|
|
316
320
|
exports.CliExample = CliExample;
|
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { TInterceptorFn } from 'moost';
|
|
|
3
3
|
import { TMoostAdapter } from 'moost';
|
|
4
4
|
import { TMoostAdapterOptions } from 'moost';
|
|
5
5
|
import { TWooksCliOptions } from '@wooksjs/event-cli';
|
|
6
|
+
import { useCliContext } from '@wooksjs/event-cli';
|
|
6
7
|
import { WooksCli } from '@wooksjs/event-cli';
|
|
7
8
|
|
|
8
9
|
/**
|
|
@@ -209,4 +210,6 @@ export declare interface TMoostCliOpts {
|
|
|
209
210
|
}[];
|
|
210
211
|
}
|
|
211
212
|
|
|
213
|
+
export { useCliContext }
|
|
214
|
+
|
|
212
215
|
export { }
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { getMoostMate, getMoostInfact, defineMoostEventHandler, Resolve, defineInterceptorFn, useControllerContext, TInterceptorPriority, Intercept } from 'moost';
|
|
2
2
|
import { WooksCli, createCliApp, useCliContext, useCliOption, useAutoHelp, useCommandLookupHelp } from '@wooksjs/event-cli';
|
|
3
|
+
export { useCliContext } from '@wooksjs/event-cli';
|
|
3
4
|
|
|
4
5
|
/******************************************************************************
|
|
5
6
|
Copyright (c) Microsoft Corporation.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moostjs/event-cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.32",
|
|
4
4
|
"description": "@moostjs/event-cli",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
},
|
|
29
29
|
"homepage": "https://github.com/moostjs/moostjs/tree/main/packages/event-cli#readme",
|
|
30
30
|
"peerDependencies": {
|
|
31
|
-
"moost": "0.2.
|
|
32
|
-
"wooks": "^0.3.
|
|
33
|
-
"@wooksjs/event-core": "^0.3.
|
|
31
|
+
"moost": "0.2.32",
|
|
32
|
+
"wooks": "^0.3.3",
|
|
33
|
+
"@wooksjs/event-core": "^0.3.3"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@wooksjs/event-cli": "^0.3.
|
|
36
|
+
"@wooksjs/event-cli": "^0.3.3"
|
|
37
37
|
}
|
|
38
38
|
}
|