breadc 0.8.7 → 0.8.8

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 +1 -1
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -68,7 +68,7 @@ type ExtractOptionType<T extends string> = T extends `-${Letter}, --${infer R} <
68
68
  * + const t2: ExtractOption<'-r, --root'> = 'root'
69
69
  * + const t3: ExtractOption<'--page-index'> = 'pageIndex'
70
70
  */
71
- type ExtractOptionRawName<T extends string> = T extends `-${Letter}, --${infer R} <${infer U}>` ? R : T extends `-${Letter}, --${infer R}` ? R : T extends `--${infer R} <${infer U}>` ? R : T extends `--${infer R}` ? R : never;
71
+ type ExtractOptionRawName<T extends string> = T extends `-${Letter}, --${infer R} <${infer U}>` ? R : T extends `-${Letter}, --no-${infer R}` ? R : T extends `-${Letter}, --${infer R}` ? R : T extends `--${infer R} <${infer U}>` ? R : T extends `--no-${infer R}` ? R : T extends `--${infer R}` ? R : never;
72
72
  /**
73
73
  * Extrat camel case option name
74
74
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "breadc",
3
- "version": "0.8.7",
3
+ "version": "0.8.8",
4
4
  "description": "Yet another Command Line Application Framework with fully strong TypeScript support",
5
5
  "keywords": [
6
6
  "breadc",
@@ -34,7 +34,7 @@
34
34
  "dist"
35
35
  ],
36
36
  "dependencies": {
37
- "@breadc/color": "0.8.7"
37
+ "@breadc/color": "0.8.8"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@types/node": "^18.14.1",