@cenk1cenk2/oclif-common 3.9.0 → 3.9.2

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.
@@ -1,4 +1,4 @@
1
1
  export { notFoundHook } from './not-found.hook.js';
2
2
  export { updateNotifierHook } from './update-notifier.hook.js';
3
- export { s as storeHook } from '../store.hook-d02c3547.js';
3
+ export { s as storeHook } from '../store.hook-519df5f8.js';
4
4
  import '@oclif/core';
@@ -1,2 +1,2 @@
1
1
  import '@oclif/core';
2
- export { s as storeHook } from '../store.hook-d02c3547.js';
2
+ export { s as storeHook } from '../store.hook-519df5f8.js';
package/dist/index.d.ts CHANGED
@@ -4,8 +4,8 @@ import { Logger as Logger$2, ListrTaskWrapper, ListrContext, Manager, PromptOpti
4
4
  import { Logger as Logger$1, LeveledLogMethod } from 'winston';
5
5
  import fs from 'fs-extra';
6
6
  export { default as fs } from 'fs-extra';
7
- import { S as StoreService } from './store.hook-d02c3547.js';
8
- export { D as DataStore, S as StoreService, s as storeHook } from './store.hook-d02c3547.js';
7
+ import { S as StoreService } from './store.hook-519df5f8.js';
8
+ export { D as DataStore, S as StoreService, s as storeHook } from './store.hook-519df5f8.js';
9
9
  import { ClassTransformOptions } from 'class-transformer';
10
10
  import { ValidatorOptions } from 'class-validator';
11
11
  import { InferredFlags, FlagInput } from '@oclif/core/lib/interfaces';
@@ -350,7 +350,7 @@ declare class Command<Ctx extends ListrContext = ListrContext, Flags extends Rec
350
350
  runTasks<C extends Ctx = Ctx>(): Promise<C>;
351
351
  /** Gets prompt from user. */
352
352
  prompt<T = any>(options: PromptOptions): Promise<T>;
353
- protected setCtxDefaults(...defaults: SetCtxDefaultsOptions<Ctx>[]): void;
353
+ protected setCtxDefaults<T extends Ctx = Ctx>(...defaults: SetCtxDefaultsOptions<T>[]): void;
354
354
  protected setCtxAssign<K = Record<PropertyKey, any>>(...assigns: SetCtxAssignOptions<K>[]): void;
355
355
  /** Initial functions / constructor */
356
356
  protected init(): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cenk1cenk2/oclif-common",
3
- "version": "3.9.0",
3
+ "version": "3.9.2",
4
4
  "description": "Oclif common package for oclif2 projects.",
5
5
  "repository": "https://gitlab.kilic.dev/libraries/oclif-tools",
6
6
  "author": {
@@ -45,7 +45,7 @@
45
45
  "execa": ">= 5",
46
46
  "fs-extra": ">= 10",
47
47
  "listr2": ">= 4",
48
- "update-notifier": "^5"
48
+ "update-notifier": "^5 || ^6.0.0"
49
49
  },
50
50
  "peerDependenciesMeta": {
51
51
  "execa": {
@@ -63,17 +63,17 @@
63
63
  "through": "^2.3.8",
64
64
  "update-notifier": "^5",
65
65
  "winston": "^3.8.2",
66
- "yaml": "^2.1.1"
66
+ "yaml": "^2.1.3"
67
67
  },
68
68
  "devDependencies": {
69
- "@oclif/core": "^1.16.1",
69
+ "@oclif/core": "^1.20.4",
70
70
  "@types/fs-extra": "^9.0.13",
71
71
  "@types/through": "^0.0.30",
72
- "@types/update-notifier": "^5",
72
+ "@types/update-notifier": "^6",
73
73
  "class-transformer": "^0.5.1",
74
74
  "class-validator": "^0.13.2",
75
75
  "enquirer": "^2.3.6",
76
- "execa": "^5",
76
+ "execa": "^6",
77
77
  "fs-extra": "^10.1.0",
78
78
  "listr2": "^5.0.5"
79
79
  }