@h3ravel/musket 0.1.5 → 0.1.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.cjs CHANGED
@@ -800,7 +800,7 @@ var Musket = class Musket {
800
800
  //#endregion
801
801
  //#region package.json
802
802
  var name = "@h3ravel/musket";
803
- var version = "0.1.5";
803
+ var version = "0.1.6";
804
804
  var description = "Musket CLI is a framework-agnostic CLI framework designed to allow you build artisan-like CLI apps and for use in the H3ravel framework.";
805
805
  var type = "module";
806
806
  var exports$1 = {
package/dist/index.d.cts CHANGED
@@ -74,7 +74,7 @@ interface InitConfig {
74
74
  * @param met
75
75
  * @returns
76
76
  */
77
- resolver?: <X extends Command>(cmd: X, met: string) => Promise<X>;
77
+ resolver?: <X extends Command>(cmd: X, met: any) => Promise<X>;
78
78
  /**
79
79
  * If we need to programmatically run the tsdown build command, we will use this config.
80
80
  */
@@ -251,7 +251,7 @@ declare class Musket {
251
251
  cliName: string;
252
252
  private config;
253
253
  private commands;
254
- constructor(app: Application, kernel: Kernel, baseCommands?: Command[], resolver?: (<X extends Command>(cmd: X, met: string) => Promise<X>) | undefined, tsDownConfig?: Options);
254
+ constructor(app: Application, kernel: Kernel, baseCommands?: Command[], resolver?: NonNullable<InitConfig["resolver"]> | undefined, tsDownConfig?: Options);
255
255
  build(): Promise<Command$1>;
256
256
  private loadBaseCommands;
257
257
  /**
package/dist/index.d.ts CHANGED
@@ -74,7 +74,7 @@ interface InitConfig {
74
74
  * @param met
75
75
  * @returns
76
76
  */
77
- resolver?: <X extends Command>(cmd: X, met: string) => Promise<X>;
77
+ resolver?: <X extends Command>(cmd: X, met: any) => Promise<X>;
78
78
  /**
79
79
  * If we need to programmatically run the tsdown build command, we will use this config.
80
80
  */
@@ -251,7 +251,7 @@ declare class Musket {
251
251
  cliName: string;
252
252
  private config;
253
253
  private commands;
254
- constructor(app: Application, kernel: Kernel, baseCommands?: Command[], resolver?: (<X extends Command>(cmd: X, met: string) => Promise<X>) | undefined, tsDownConfig?: Options);
254
+ constructor(app: Application, kernel: Kernel, baseCommands?: Command[], resolver?: NonNullable<InitConfig["resolver"]> | undefined, tsDownConfig?: Options);
255
255
  build(): Promise<Command$1>;
256
256
  private loadBaseCommands;
257
257
  /**
package/dist/index.js CHANGED
@@ -770,7 +770,7 @@ var Musket = class Musket {
770
770
  //#endregion
771
771
  //#region package.json
772
772
  var name = "@h3ravel/musket";
773
- var version = "0.1.5";
773
+ var version = "0.1.6";
774
774
  var description = "Musket CLI is a framework-agnostic CLI framework designed to allow you build artisan-like CLI apps and for use in the H3ravel framework.";
775
775
  var type = "module";
776
776
  var exports = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@h3ravel/musket",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Musket CLI is a framework-agnostic CLI framework designed to allow you build artisan-like CLI apps and for use in the H3ravel framework.",
5
5
  "type": "module",
6
6
  "exports": {