@magic/cli 0.0.48 → 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 +11 -1
- package/package.json +8 -8
- package/src/index.js +1 -0
- package/types/index.d.ts +1 -0
package/README.md
CHANGED
|
@@ -562,6 +562,16 @@ update dependencies
|
|
|
562
562
|
|
|
563
563
|
- types changed to allow correct props when calling /src/index.js cli function
|
|
564
564
|
|
|
565
|
-
##### 0.0.49
|
|
565
|
+
##### 0.0.49
|
|
566
|
+
|
|
567
|
+
- update dependencies
|
|
568
|
+
|
|
569
|
+
##### 0.0.50
|
|
570
|
+
|
|
571
|
+
- remove empty test file
|
|
572
|
+
- types: add single to ParseProps
|
|
573
|
+
- update dependencies
|
|
574
|
+
|
|
575
|
+
##### 0.0.51 - unreleased
|
|
566
576
|
|
|
567
577
|
- ...
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@magic/cli",
|
|
3
|
-
"version": "0.0.
|
|
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": {
|
|
@@ -36,11 +36,11 @@
|
|
|
36
36
|
"declarative"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@magic/cases": "0.0.
|
|
40
|
-
"@magic/deep": "0.1.
|
|
41
|
-
"@magic/error": "0.0.
|
|
42
|
-
"@magic/log": "0.1.
|
|
43
|
-
"@magic/types": "0.1.
|
|
39
|
+
"@magic/cases": "0.0.11",
|
|
40
|
+
"@magic/deep": "0.1.20",
|
|
41
|
+
"@magic/error": "0.0.21",
|
|
42
|
+
"@magic/log": "0.1.21",
|
|
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.
|
|
53
|
-
"@magic/test": "0.2.
|
|
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
|