@todesktop/cli 1.1.5 → 1.2.2
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 +25 -5
- package/build/commands/build.js +5 -5
- package/build/commands/build.js.map +1 -1
- package/build/commands/builds.js +5 -5
- package/build/commands/builds.js.map +1 -1
- package/build/commands/logout.js +3 -3
- package/build/commands/logout.js.map +1 -1
- package/build/commands/release.js +3 -3
- package/build/commands/release.js.map +1 -1
- package/build/commands/whoami.js +3 -3
- package/build/commands/whoami.js.map +1 -1
- package/build/commands.json +46 -46
- package/package.json +2 -1
package/build/commands.json
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"commands": [
|
|
3
|
+
{
|
|
4
|
+
"description": "View your builds",
|
|
5
|
+
"positionalArgs": [
|
|
6
|
+
"id"
|
|
7
|
+
],
|
|
8
|
+
"args": [
|
|
9
|
+
{
|
|
10
|
+
"key": "id",
|
|
11
|
+
"type": "string",
|
|
12
|
+
"description": "View a specific build by ID",
|
|
13
|
+
"isRequired": false,
|
|
14
|
+
"aliases": [],
|
|
15
|
+
"positional": true
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"key": "latest",
|
|
19
|
+
"type": "boolean",
|
|
20
|
+
"description": "View the latest build",
|
|
21
|
+
"isRequired": false,
|
|
22
|
+
"aliases": [],
|
|
23
|
+
"positional": false
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"isIndex": false,
|
|
27
|
+
"name": "builds",
|
|
28
|
+
"path": "builds.js",
|
|
29
|
+
"subCommands": []
|
|
30
|
+
},
|
|
3
31
|
{
|
|
4
32
|
"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.",
|
|
5
33
|
"positionalArgs": [],
|
|
@@ -18,6 +46,24 @@
|
|
|
18
46
|
"path": "build.js",
|
|
19
47
|
"subCommands": []
|
|
20
48
|
},
|
|
49
|
+
{
|
|
50
|
+
"description": "",
|
|
51
|
+
"positionalArgs": [],
|
|
52
|
+
"args": [],
|
|
53
|
+
"isIndex": false,
|
|
54
|
+
"name": "logout",
|
|
55
|
+
"path": "logout.js",
|
|
56
|
+
"subCommands": []
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"description": "",
|
|
60
|
+
"positionalArgs": [],
|
|
61
|
+
"args": [],
|
|
62
|
+
"isIndex": false,
|
|
63
|
+
"name": "whoami",
|
|
64
|
+
"path": "whoami.js",
|
|
65
|
+
"subCommands": []
|
|
66
|
+
},
|
|
21
67
|
{
|
|
22
68
|
"description": "Release a build",
|
|
23
69
|
"positionalArgs": [
|
|
@@ -53,52 +99,6 @@
|
|
|
53
99
|
"name": "release",
|
|
54
100
|
"path": "release.js",
|
|
55
101
|
"subCommands": []
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"description": "View your builds",
|
|
59
|
-
"positionalArgs": [
|
|
60
|
-
"id"
|
|
61
|
-
],
|
|
62
|
-
"args": [
|
|
63
|
-
{
|
|
64
|
-
"key": "id",
|
|
65
|
-
"type": "string",
|
|
66
|
-
"description": "View a specific build by ID",
|
|
67
|
-
"isRequired": false,
|
|
68
|
-
"aliases": [],
|
|
69
|
-
"positional": true
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"key": "latest",
|
|
73
|
-
"type": "boolean",
|
|
74
|
-
"description": "View the latest build",
|
|
75
|
-
"isRequired": false,
|
|
76
|
-
"aliases": [],
|
|
77
|
-
"positional": false
|
|
78
|
-
}
|
|
79
|
-
],
|
|
80
|
-
"isIndex": false,
|
|
81
|
-
"name": "builds",
|
|
82
|
-
"path": "builds.js",
|
|
83
|
-
"subCommands": []
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
"description": "",
|
|
87
|
-
"positionalArgs": [],
|
|
88
|
-
"args": [],
|
|
89
|
-
"isIndex": false,
|
|
90
|
-
"name": "whoami",
|
|
91
|
-
"path": "whoami.js",
|
|
92
|
-
"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.2",
|
|
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",
|