@cenk1cenk2/oclif-common 3.7.0 → 3.7.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.d.ts CHANGED
@@ -332,7 +332,7 @@ declare class Command<Ctx extends ListrContext = ListrContext, Flags extends Rec
332
332
  * Deconstruct the class if you dont want to extend finally or catch.
333
333
  */
334
334
  shouldRunAfter(_ctx?: Ctx): void | Promise<void>;
335
- run<T = void>(): Promise<T>;
335
+ run(): Promise<any>;
336
336
  _run<T>(): Promise<T | undefined>;
337
337
  exit(code?: number): void;
338
338
  /** Run all tasks from task manager. */
@@ -382,7 +382,7 @@ declare class ConfigCommand<CommandChoices extends string = string, LockFile = a
382
382
  annotation(text: string, annotation: string): void;
383
383
  flush(ms?: number): Promise<void>;
384
384
  };
385
- run<T = void>(): Promise<T>;
385
+ run(): Promise<any>;
386
386
  setup(): ConfigCommandSetup<CommandChoices, LockFile> | Promise<ConfigCommandSetup<CommandChoices, LockFile>>;
387
387
  protected table(...options: Parameters<typeof CliUx.ux.table>): void;
388
388
  protected select(): Promise<string>;
package/dist/index.js CHANGED
@@ -1040,7 +1040,7 @@ var Command = class extends import_core3.Command {
1040
1040
  this.args = {};
1041
1041
  }
1042
1042
  static get globalFlags() {
1043
- return { CLI_FLAGS, ...this._globalFlags };
1043
+ return { ...CLI_FLAGS, ...this._globalFlags };
1044
1044
  }
1045
1045
  static set globalFlags(flags) {
1046
1046
  this._globalFlags = Object.assign({}, this.globalFlags, flags);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cenk1cenk2/oclif-common",
3
- "version": "3.7.0",
3
+ "version": "3.7.1",
4
4
  "description": "Oclif common package for oclif2 projects.",
5
5
  "repository": "https://gitlab.kilic.dev/libraries/oclif-tools",
6
6
  "author": {