clerc 1.0.0-beta.20 → 1.0.0-beta.22

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +2 -2
  2. package/package.json +8 -8
package/dist/index.d.ts CHANGED
@@ -54,11 +54,11 @@ interface TypeFunction<T = unknown> {
54
54
  */
55
55
  display?: string;
56
56
  }
57
- type FlagType<T = unknown> = TypeFunction<T> | readonly [TypeFunction<T>];
57
+ type TypeValue<T = unknown> = TypeFunction<T> | readonly [TypeFunction<T>];
58
58
  //#endregion
59
59
  //#region ../plugin-help/src/types.d.ts
60
60
  interface Formatters {
61
- formatFlagType: (type: FlagType) => string;
61
+ formatTypeValue: (type: TypeValue) => string;
62
62
  formatFlagDefault: <T>(value: FlagDefaultValue<T>) => string;
63
63
  }
64
64
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clerc",
3
- "version": "1.0.0-beta.20",
3
+ "version": "1.0.0-beta.22",
4
4
  "author": "Ray <i@mk1.io> (https://github.com/so1ve)",
5
5
  "type": "module",
6
6
  "description": "Clerc: The full-featured cli library.",
@@ -44,12 +44,12 @@
44
44
  "access": "public"
45
45
  },
46
46
  "dependencies": {
47
- "@clerc/plugin-completions": "1.0.0-beta.20",
48
- "@clerc/plugin-friendly-error": "1.0.0-beta.20",
49
- "@clerc/core": "1.0.0-beta.20",
50
- "@clerc/plugin-help": "1.0.0-beta.20",
51
- "@clerc/plugin-not-found": "1.0.0-beta.20",
52
- "@clerc/plugin-strict-flags": "1.0.0-beta.20",
53
- "@clerc/plugin-version": "1.0.0-beta.20"
47
+ "@clerc/core": "1.0.0-beta.22",
48
+ "@clerc/plugin-completions": "1.0.0-beta.22",
49
+ "@clerc/plugin-friendly-error": "1.0.0-beta.22",
50
+ "@clerc/plugin-help": "1.0.0-beta.22",
51
+ "@clerc/plugin-not-found": "1.0.0-beta.22",
52
+ "@clerc/plugin-strict-flags": "1.0.0-beta.22",
53
+ "@clerc/plugin-version": "1.0.0-beta.22"
54
54
  }
55
55
  }