@magic/cli 0.0.49 → 0.0.50

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/README.md CHANGED
@@ -568,6 +568,8 @@ update dependencies
568
568
 
569
569
  ##### 0.0.50
570
570
 
571
+ - remove empty test file
572
+ - types: add single to ParseProps
571
573
  - update dependencies
572
574
 
573
575
  ##### 0.0.51 - unreleased
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magic/cli",
3
- "version": "0.0.49",
3
+ "version": "0.0.50",
4
4
  "homepage": "https://magic.github.io/cli",
5
5
  "description": "declarative command line interfaces with aliasing, commands and environment sanitization",
6
6
  "scripts": {
@@ -40,7 +40,7 @@
40
40
  "@magic/deep": "0.1.20",
41
41
  "@magic/error": "0.0.21",
42
42
  "@magic/log": "0.1.21",
43
- "@magic/types": "0.1.30"
43
+ "@magic/types": "0.1.31"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@magic-modules/git-badges": "0.0.12",
@@ -49,8 +49,8 @@
49
49
  "@magic-modules/pre": "0.0.12",
50
50
  "@magic-themes/docs": "0.0.15",
51
51
  "@magic/core": "0.0.156",
52
- "@magic/format": "0.0.68",
53
- "@magic/test": "0.2.25",
52
+ "@magic/format": "0.0.69",
53
+ "@magic/test": "0.2.28",
54
54
  "typescript": "5.9.3"
55
55
  },
56
56
  "author": "Wizards & Witches",
package/src/index.js CHANGED
@@ -18,6 +18,7 @@ import { prompt as promptUser } from './prompt.js'
18
18
  * @property {boolean} [pureEnv]
19
19
  * @property {boolean} [pureArgv]
20
20
  * @property {boolean} [pureCommands]
21
+ * @property {string[]} [single]
21
22
  * @property {Array<string|string[]>} [commands]
22
23
  * @property {Array<[string[], string, string]>} [env]
23
24
  * @property {Array<string|string[]>} [required]
package/types/index.d.ts CHANGED
@@ -39,6 +39,7 @@ export type ParseProps = {
39
39
  pureEnv?: boolean | undefined
40
40
  pureArgv?: boolean | undefined
41
41
  pureCommands?: boolean | undefined
42
+ single?: string[] | undefined
42
43
  commands?: (string | string[])[] | undefined
43
44
  env?: [string[], string, string][] | undefined
44
45
  required?: (string | string[])[] | undefined