@todesktop/cli 0.28.0 → 1.1.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 +97 -0
- package/build/commands/build.js +22 -22
- package/build/commands/build.js.map +1 -1
- package/build/commands/builds.js +17 -17
- package/build/commands/builds.js.map +1 -1
- package/build/commands/logout.js +10 -10
- package/build/commands/logout.js.map +1 -1
- package/build/commands/release.js +16 -16
- package/build/commands/release.js.map +1 -1
- package/build/commands/whoami.js +10 -10
- package/build/commands/whoami.js.map +1 -1
- package/build/commands.json +36 -36
- package/package.json +10 -7
package/build/commands.json
CHANGED
|
@@ -1,23 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"commands": [
|
|
3
|
-
{
|
|
4
|
-
"description": "",
|
|
5
|
-
"positionalArgs": [],
|
|
6
|
-
"args": [],
|
|
7
|
-
"isIndex": false,
|
|
8
|
-
"name": "logout",
|
|
9
|
-
"path": "logout.js",
|
|
10
|
-
"subCommands": []
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
"description": "",
|
|
14
|
-
"positionalArgs": [],
|
|
15
|
-
"args": [],
|
|
16
|
-
"isIndex": false,
|
|
17
|
-
"name": "whoami",
|
|
18
|
-
"path": "whoami.js",
|
|
19
|
-
"subCommands": []
|
|
20
|
-
},
|
|
21
3
|
{
|
|
22
4
|
"description": "Build an Electron app with native installers, code signing baked-in, etc. but without releasing it (existing users won't get an auto-update). For quicker builds, you can append `--code-sign=false` to disable code-signing and notarization.",
|
|
23
5
|
"positionalArgs": [],
|
|
@@ -37,7 +19,16 @@
|
|
|
37
19
|
"subCommands": []
|
|
38
20
|
},
|
|
39
21
|
{
|
|
40
|
-
"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",
|
|
41
32
|
"positionalArgs": [
|
|
42
33
|
"id"
|
|
43
34
|
],
|
|
@@ -45,27 +36,44 @@
|
|
|
45
36
|
{
|
|
46
37
|
"key": "id",
|
|
47
38
|
"type": "string",
|
|
48
|
-
"description": "
|
|
39
|
+
"description": "A specific build ID to release",
|
|
49
40
|
"isRequired": false,
|
|
50
41
|
"aliases": [],
|
|
51
42
|
"positional": true
|
|
52
43
|
},
|
|
44
|
+
{
|
|
45
|
+
"key": "force",
|
|
46
|
+
"type": "boolean",
|
|
47
|
+
"description": "Skips interactive confirmation step",
|
|
48
|
+
"isRequired": false,
|
|
49
|
+
"aliases": [],
|
|
50
|
+
"positional": false
|
|
51
|
+
},
|
|
53
52
|
{
|
|
54
53
|
"key": "latest",
|
|
55
54
|
"type": "boolean",
|
|
56
|
-
"description": "
|
|
55
|
+
"description": "Release the latest build",
|
|
57
56
|
"isRequired": false,
|
|
58
57
|
"aliases": [],
|
|
59
58
|
"positional": false
|
|
60
59
|
}
|
|
61
60
|
],
|
|
62
61
|
"isIndex": false,
|
|
63
|
-
"name": "
|
|
64
|
-
"path": "
|
|
62
|
+
"name": "release",
|
|
63
|
+
"path": "release.js",
|
|
65
64
|
"subCommands": []
|
|
66
65
|
},
|
|
67
66
|
{
|
|
68
|
-
"description": "
|
|
67
|
+
"description": "",
|
|
68
|
+
"positionalArgs": [],
|
|
69
|
+
"args": [],
|
|
70
|
+
"isIndex": false,
|
|
71
|
+
"name": "whoami",
|
|
72
|
+
"path": "whoami.js",
|
|
73
|
+
"subCommands": []
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"description": "View your builds",
|
|
69
77
|
"positionalArgs": [
|
|
70
78
|
"id"
|
|
71
79
|
],
|
|
@@ -73,31 +81,23 @@
|
|
|
73
81
|
{
|
|
74
82
|
"key": "id",
|
|
75
83
|
"type": "string",
|
|
76
|
-
"description": "
|
|
84
|
+
"description": "View a specific build by ID",
|
|
77
85
|
"isRequired": false,
|
|
78
86
|
"aliases": [],
|
|
79
87
|
"positional": true
|
|
80
88
|
},
|
|
81
|
-
{
|
|
82
|
-
"key": "force",
|
|
83
|
-
"type": "boolean",
|
|
84
|
-
"description": "Skips interactive confirmation step",
|
|
85
|
-
"isRequired": false,
|
|
86
|
-
"aliases": [],
|
|
87
|
-
"positional": false
|
|
88
|
-
},
|
|
89
89
|
{
|
|
90
90
|
"key": "latest",
|
|
91
91
|
"type": "boolean",
|
|
92
|
-
"description": "
|
|
92
|
+
"description": "View the latest build",
|
|
93
93
|
"isRequired": false,
|
|
94
94
|
"aliases": [],
|
|
95
95
|
"positional": false
|
|
96
96
|
}
|
|
97
97
|
],
|
|
98
98
|
"isIndex": false,
|
|
99
|
-
"name": "
|
|
100
|
-
"path": "
|
|
99
|
+
"name": "builds",
|
|
100
|
+
"path": "builds.js",
|
|
101
101
|
"subCommands": []
|
|
102
102
|
}
|
|
103
103
|
]
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
6
|
"name": "@todesktop/cli",
|
|
7
|
-
"version": "
|
|
7
|
+
"version": "1.1.0",
|
|
8
8
|
"license": "MIT",
|
|
9
9
|
"author": "Dave Jeffery <dave@todesktop.com> (http://www.todesktop.com/)",
|
|
10
10
|
"homepage": "https://todesktop.com/cli",
|
|
@@ -15,14 +15,15 @@
|
|
|
15
15
|
"todesktop": "./build/cli.js"
|
|
16
16
|
},
|
|
17
17
|
"engines": {
|
|
18
|
-
"node": ">=
|
|
18
|
+
"node": ">=12"
|
|
19
19
|
},
|
|
20
20
|
"scripts": {
|
|
21
|
+
"preinstall": "npx force-resolutions",
|
|
21
22
|
"dev": "cp-cli dev.env .env && pastel dev",
|
|
22
|
-
"build": "cross-env NODE_ENV=production pastel build && cp-cli prod.env .env && cp node_modules/pastel/boot.js build/boot.js && sed -i
|
|
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",
|
|
23
24
|
"lint": "eslint .",
|
|
24
25
|
"lint--fix": "eslint . --fix",
|
|
25
|
-
"release": "npm run build && npx np --
|
|
26
|
+
"release": "npm run build && npx np --tag=latest",
|
|
26
27
|
"release-beta": "npm run build && npx np --any-branch --no-tests --tag=beta",
|
|
27
28
|
"test": "npm run build && ava",
|
|
28
29
|
"test--watch": "npm test -- --watch"
|
|
@@ -39,7 +40,6 @@
|
|
|
39
40
|
"ajv": "^6.12.6",
|
|
40
41
|
"analytics-node": "^4.0.1",
|
|
41
42
|
"archiver": "^5.2.0",
|
|
42
|
-
"aws-sdk": "^2.730.0",
|
|
43
43
|
"axios": "^0.21.1",
|
|
44
44
|
"better-ajv-errors": "^0.6.7",
|
|
45
45
|
"bunyan": "^1.8.14",
|
|
@@ -56,6 +56,7 @@
|
|
|
56
56
|
"final-form": "^4.20.1",
|
|
57
57
|
"find-up": "^5.0.0",
|
|
58
58
|
"firebase": "^7.23.0",
|
|
59
|
+
"force-resolutions": "^1.0.10",
|
|
59
60
|
"git-rev-sync": "^3.0.2",
|
|
60
61
|
"ink": "^3.2.0",
|
|
61
62
|
"ink-gradient": "^2.0.0",
|
|
@@ -72,8 +73,9 @@
|
|
|
72
73
|
"prop-types": "^15.7.2",
|
|
73
74
|
"react": "^16.13.1",
|
|
74
75
|
"react-final-form": "^6.5.1",
|
|
75
|
-
"s3-upload-stream": "^1.0.7",
|
|
76
76
|
"semver": "^7.3.2",
|
|
77
|
+
"stream-to-array": "^2.3.0",
|
|
78
|
+
"superagent": "^7.1.3",
|
|
77
79
|
"uuid": "^8.3.1",
|
|
78
80
|
"xdg-basedir": "^4.0.0",
|
|
79
81
|
"yargs": "^15.4.1"
|
|
@@ -141,6 +143,7 @@
|
|
|
141
143
|
}
|
|
142
144
|
},
|
|
143
145
|
"resolutions": {
|
|
144
|
-
"pastel/parcel-bundler/deasync": "0.1.24"
|
|
146
|
+
"pastel/parcel-bundler/deasync": "0.1.24",
|
|
147
|
+
"ink": "3.2.0"
|
|
145
148
|
}
|
|
146
149
|
}
|