@wooksjs/event-cli 0.6.4 → 0.6.6
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.d.ts +1 -1
- package/package.json +6 -7
package/dist/index.d.ts
CHANGED
|
@@ -233,7 +233,7 @@ declare function useCliOptions(): Record<string, string | boolean>;
|
|
|
233
233
|
declare function useCliOption(name: string): string | boolean;
|
|
234
234
|
|
|
235
235
|
/** Creates a new async event context for a CLI command invocation. */
|
|
236
|
-
declare function createCliContext(data: Omit<TCliEventData, 'type'>, options: TEventOptions): <T>(cb: (...a:
|
|
236
|
+
declare function createCliContext(data: Omit<TCliEventData, 'type'>, options: TEventOptions): <T>(cb: (...a: unknown[]) => T) => T;
|
|
237
237
|
/**
|
|
238
238
|
* Wrapper on top of useEventContext that provides
|
|
239
239
|
* proper context types for CLI event
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wooksjs/event-cli",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.6",
|
|
4
4
|
"description": "@wooksjs/event-cli",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"api",
|
|
@@ -52,18 +52,17 @@
|
|
|
52
52
|
"@types/minimist": "^1.2.5",
|
|
53
53
|
"typescript": "^5.9.3",
|
|
54
54
|
"vitest": "^3.2.4",
|
|
55
|
-
"@wooksjs/event-core": "^0.6.
|
|
56
|
-
"wooks": "^0.6.
|
|
55
|
+
"@wooksjs/event-core": "^0.6.6",
|
|
56
|
+
"wooks": "^0.6.6"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
59
|
"@prostojs/logger": "^0.4.3",
|
|
60
|
-
"@prostojs/router": "^0.
|
|
61
|
-
"
|
|
62
|
-
"
|
|
60
|
+
"@prostojs/router": "^0.3.1",
|
|
61
|
+
"@wooksjs/event-core": "^0.6.6",
|
|
62
|
+
"wooks": "^0.6.6"
|
|
63
63
|
},
|
|
64
64
|
"scripts": {
|
|
65
65
|
"build": "rolldown -c ../../rolldown.config.mjs",
|
|
66
|
-
"postinstall": "node scripts/setup-skills.js",
|
|
67
66
|
"setup-skills": "node scripts/setup-skills.js"
|
|
68
67
|
}
|
|
69
68
|
}
|