@todesktop/cli 1.1.5 → 1.2.0
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 +17 -0
- package/build/commands/build.js +2 -2
- package/build/commands/build.js.map +1 -1
- package/build/commands/builds.js +2 -2
- package/build/commands/builds.js.map +1 -1
- package/build/commands/logout.js +2 -2
- package/build/commands/logout.js.map +1 -1
- package/build/commands/release.js +2 -2
- package/build/commands/release.js.map +1 -1
- package/build/commands/whoami.js +2 -2
- package/build/commands/whoami.js.map +1 -1
- package/build/commands.json +27 -27
- package/package.json +2 -1
package/build/commands.json
CHANGED
|
@@ -19,7 +19,16 @@
|
|
|
19
19
|
"subCommands": []
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
|
-
"description": "
|
|
22
|
+
"description": "",
|
|
23
|
+
"positionalArgs": [],
|
|
24
|
+
"args": [],
|
|
25
|
+
"isIndex": false,
|
|
26
|
+
"name": "logout",
|
|
27
|
+
"path": "logout.js",
|
|
28
|
+
"subCommands": []
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"description": "View your builds",
|
|
23
32
|
"positionalArgs": [
|
|
24
33
|
"id"
|
|
25
34
|
],
|
|
@@ -27,35 +36,27 @@
|
|
|
27
36
|
{
|
|
28
37
|
"key": "id",
|
|
29
38
|
"type": "string",
|
|
30
|
-
"description": "
|
|
39
|
+
"description": "View a specific build by ID",
|
|
31
40
|
"isRequired": false,
|
|
32
41
|
"aliases": [],
|
|
33
42
|
"positional": true
|
|
34
43
|
},
|
|
35
|
-
{
|
|
36
|
-
"key": "force",
|
|
37
|
-
"type": "boolean",
|
|
38
|
-
"description": "Skips interactive confirmation step",
|
|
39
|
-
"isRequired": false,
|
|
40
|
-
"aliases": [],
|
|
41
|
-
"positional": false
|
|
42
|
-
},
|
|
43
44
|
{
|
|
44
45
|
"key": "latest",
|
|
45
46
|
"type": "boolean",
|
|
46
|
-
"description": "
|
|
47
|
+
"description": "View the latest build",
|
|
47
48
|
"isRequired": false,
|
|
48
49
|
"aliases": [],
|
|
49
50
|
"positional": false
|
|
50
51
|
}
|
|
51
52
|
],
|
|
52
53
|
"isIndex": false,
|
|
53
|
-
"name": "
|
|
54
|
-
"path": "
|
|
54
|
+
"name": "builds",
|
|
55
|
+
"path": "builds.js",
|
|
55
56
|
"subCommands": []
|
|
56
57
|
},
|
|
57
58
|
{
|
|
58
|
-
"description": "
|
|
59
|
+
"description": "Release a build",
|
|
59
60
|
"positionalArgs": [
|
|
60
61
|
"id"
|
|
61
62
|
],
|
|
@@ -63,23 +64,31 @@
|
|
|
63
64
|
{
|
|
64
65
|
"key": "id",
|
|
65
66
|
"type": "string",
|
|
66
|
-
"description": "
|
|
67
|
+
"description": "A specific build ID to release",
|
|
67
68
|
"isRequired": false,
|
|
68
69
|
"aliases": [],
|
|
69
70
|
"positional": true
|
|
70
71
|
},
|
|
72
|
+
{
|
|
73
|
+
"key": "force",
|
|
74
|
+
"type": "boolean",
|
|
75
|
+
"description": "Skips interactive confirmation step",
|
|
76
|
+
"isRequired": false,
|
|
77
|
+
"aliases": [],
|
|
78
|
+
"positional": false
|
|
79
|
+
},
|
|
71
80
|
{
|
|
72
81
|
"key": "latest",
|
|
73
82
|
"type": "boolean",
|
|
74
|
-
"description": "
|
|
83
|
+
"description": "Release the latest build",
|
|
75
84
|
"isRequired": false,
|
|
76
85
|
"aliases": [],
|
|
77
86
|
"positional": false
|
|
78
87
|
}
|
|
79
88
|
],
|
|
80
89
|
"isIndex": false,
|
|
81
|
-
"name": "
|
|
82
|
-
"path": "
|
|
90
|
+
"name": "release",
|
|
91
|
+
"path": "release.js",
|
|
83
92
|
"subCommands": []
|
|
84
93
|
},
|
|
85
94
|
{
|
|
@@ -90,15 +99,6 @@
|
|
|
90
99
|
"name": "whoami",
|
|
91
100
|
"path": "whoami.js",
|
|
92
101
|
"subCommands": []
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"description": "",
|
|
96
|
-
"positionalArgs": [],
|
|
97
|
-
"args": [],
|
|
98
|
-
"isIndex": false,
|
|
99
|
-
"name": "logout",
|
|
100
|
-
"path": "logout.js",
|
|
101
|
-
"subCommands": []
|
|
102
102
|
}
|
|
103
103
|
]
|
|
104
104
|
}
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
6
|
"name": "@todesktop/cli",
|
|
7
|
-
"version": "1.
|
|
7
|
+
"version": "1.2.0",
|
|
8
8
|
"license": "MIT",
|
|
9
9
|
"author": "Dave Jeffery <dave@todesktop.com> (http://www.todesktop.com/)",
|
|
10
10
|
"homepage": "https://todesktop.com/cli",
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
"node": ">=12"
|
|
19
19
|
},
|
|
20
20
|
"scripts": {
|
|
21
|
+
"prepublishOnly": "npx force-resolutions",
|
|
21
22
|
"dev": "cp-cli dev.env .env && pastel dev",
|
|
22
23
|
"dev:prod": "cp-cli prod.env .env && pastel dev",
|
|
23
24
|
"build": "cross-env NODE_ENV=production pastel build && cp-cli prod.env .env && cp node_modules/pastel/boot.js build/boot.js && sed -i'.bak' 's@pastel\\/boot@.\\/boot@g' build/cli.js",
|