@todesktop/cli 1.1.1 → 1.1.4
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 +59 -0
- package/build/commands/build.js +117 -4740
- package/build/commands/build.js.map +1 -1
- package/build/commands/builds.js +109 -4224
- package/build/commands/builds.js.map +1 -1
- package/build/commands/logout.js +57 -2511
- package/build/commands/logout.js.map +1 -1
- package/build/commands/release.js +89 -3606
- package/build/commands/release.js.map +1 -1
- package/build/commands/whoami.js +57 -2511
- package/build/commands/whoami.js.map +1 -1
- package/build/commands.json +27 -27
- package/package.json +12 -5
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": "Release a build",
|
|
23
32
|
"positionalArgs": [
|
|
24
33
|
"id"
|
|
25
34
|
],
|
|
@@ -27,36 +36,35 @@
|
|
|
27
36
|
{
|
|
28
37
|
"key": "id",
|
|
29
38
|
"type": "string",
|
|
30
|
-
"description": "
|
|
39
|
+
"description": "A specific build ID to release",
|
|
31
40
|
"isRequired": false,
|
|
32
41
|
"aliases": [],
|
|
33
42
|
"positional": true
|
|
34
43
|
},
|
|
44
|
+
{
|
|
45
|
+
"key": "force",
|
|
46
|
+
"type": "boolean",
|
|
47
|
+
"description": "Skips interactive confirmation step",
|
|
48
|
+
"isRequired": false,
|
|
49
|
+
"aliases": [],
|
|
50
|
+
"positional": false
|
|
51
|
+
},
|
|
35
52
|
{
|
|
36
53
|
"key": "latest",
|
|
37
54
|
"type": "boolean",
|
|
38
|
-
"description": "
|
|
55
|
+
"description": "Release the latest build",
|
|
39
56
|
"isRequired": false,
|
|
40
57
|
"aliases": [],
|
|
41
58
|
"positional": false
|
|
42
59
|
}
|
|
43
60
|
],
|
|
44
61
|
"isIndex": false,
|
|
45
|
-
"name": "
|
|
46
|
-
"path": "
|
|
47
|
-
"subCommands": []
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"description": "",
|
|
51
|
-
"positionalArgs": [],
|
|
52
|
-
"args": [],
|
|
53
|
-
"isIndex": false,
|
|
54
|
-
"name": "logout",
|
|
55
|
-
"path": "logout.js",
|
|
62
|
+
"name": "release",
|
|
63
|
+
"path": "release.js",
|
|
56
64
|
"subCommands": []
|
|
57
65
|
},
|
|
58
66
|
{
|
|
59
|
-
"description": "
|
|
67
|
+
"description": "View your builds",
|
|
60
68
|
"positionalArgs": [
|
|
61
69
|
"id"
|
|
62
70
|
],
|
|
@@ -64,31 +72,23 @@
|
|
|
64
72
|
{
|
|
65
73
|
"key": "id",
|
|
66
74
|
"type": "string",
|
|
67
|
-
"description": "
|
|
75
|
+
"description": "View a specific build by ID",
|
|
68
76
|
"isRequired": false,
|
|
69
77
|
"aliases": [],
|
|
70
78
|
"positional": true
|
|
71
79
|
},
|
|
72
|
-
{
|
|
73
|
-
"key": "force",
|
|
74
|
-
"type": "boolean",
|
|
75
|
-
"description": "Skips interactive confirmation step",
|
|
76
|
-
"isRequired": false,
|
|
77
|
-
"aliases": [],
|
|
78
|
-
"positional": false
|
|
79
|
-
},
|
|
80
80
|
{
|
|
81
81
|
"key": "latest",
|
|
82
82
|
"type": "boolean",
|
|
83
|
-
"description": "
|
|
83
|
+
"description": "View the latest build",
|
|
84
84
|
"isRequired": false,
|
|
85
85
|
"aliases": [],
|
|
86
86
|
"positional": false
|
|
87
87
|
}
|
|
88
88
|
],
|
|
89
89
|
"isIndex": false,
|
|
90
|
-
"name": "
|
|
91
|
-
"path": "
|
|
90
|
+
"name": "builds",
|
|
91
|
+
"path": "builds.js",
|
|
92
92
|
"subCommands": []
|
|
93
93
|
},
|
|
94
94
|
{
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
6
|
"name": "@todesktop/cli",
|
|
7
|
-
"version": "1.1.
|
|
7
|
+
"version": "1.1.4",
|
|
8
8
|
"license": "MIT",
|
|
9
9
|
"author": "Dave Jeffery <dave@todesktop.com> (http://www.todesktop.com/)",
|
|
10
10
|
"homepage": "https://todesktop.com/cli",
|
|
@@ -18,7 +18,6 @@
|
|
|
18
18
|
"node": ">=12"
|
|
19
19
|
},
|
|
20
20
|
"scripts": {
|
|
21
|
-
"prepare": "npx force-resolutions",
|
|
22
21
|
"dev": "cp-cli dev.env .env && pastel dev",
|
|
23
22
|
"dev:prod": "cp-cli prod.env .env && pastel dev",
|
|
24
23
|
"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",
|
|
@@ -37,6 +36,7 @@
|
|
|
37
36
|
"README.md"
|
|
38
37
|
],
|
|
39
38
|
"dependencies": {
|
|
39
|
+
"@babel/runtime": "^7.18.9",
|
|
40
40
|
"@sentry/node": "^5.27.2",
|
|
41
41
|
"ajv": "^6.12.6",
|
|
42
42
|
"analytics-node": "^4.0.1",
|
|
@@ -61,9 +61,9 @@
|
|
|
61
61
|
"ink": "^3.2.0",
|
|
62
62
|
"ink-gradient": "^2.0.0",
|
|
63
63
|
"ink-link": "^2.0.0",
|
|
64
|
-
"ink-progress-bar": "^3.0.0",
|
|
65
64
|
"ink-select-input": "^4.2.1",
|
|
66
65
|
"ink-text-input": "^4.0.1",
|
|
66
|
+
"is-ci": "^3.0.1",
|
|
67
67
|
"is-installed-globally": "^0.3.2",
|
|
68
68
|
"latest-version": "^5.1.0",
|
|
69
69
|
"lodash.throttle": "^4.1.1",
|
|
@@ -105,7 +105,6 @@
|
|
|
105
105
|
"extract-zip": "^2.0.1",
|
|
106
106
|
"fs-extra": "^9.0.1",
|
|
107
107
|
"husky": "^4.3.0",
|
|
108
|
-
"is-ci": "^2.0.0",
|
|
109
108
|
"lint-staged": "^10.2.11",
|
|
110
109
|
"pastel": "^1.1.1",
|
|
111
110
|
"prettier": "^2.1.2",
|
|
@@ -137,7 +136,7 @@
|
|
|
137
136
|
"overrides": {
|
|
138
137
|
"pastel": {
|
|
139
138
|
"parcel-bundler": {
|
|
140
|
-
"deasync": "0.1.
|
|
139
|
+
"deasync": "0.1.27"
|
|
141
140
|
}
|
|
142
141
|
}
|
|
143
142
|
},
|
|
@@ -145,5 +144,13 @@
|
|
|
145
144
|
"pastel/parcel-bundler/deasync": "0.1.24",
|
|
146
145
|
"ink": "3.2.0",
|
|
147
146
|
"react": "17.0.2"
|
|
147
|
+
},
|
|
148
|
+
"packageExtensions": {
|
|
149
|
+
"ink-progress-bar@*": {
|
|
150
|
+
"dependencies": {
|
|
151
|
+
"react": "*",
|
|
152
|
+
"ink": "*"
|
|
153
|
+
}
|
|
154
|
+
}
|
|
148
155
|
}
|
|
149
156
|
}
|