@todesktop/cli 0.28.0-0 → 1.0.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.
@@ -19,16 +19,7 @@
19
19
  "subCommands": []
20
20
  },
21
21
  {
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",
22
+ "description": "Release a build",
32
23
  "positionalArgs": [
33
24
  "id"
34
25
  ],
@@ -36,27 +27,53 @@
36
27
  {
37
28
  "key": "id",
38
29
  "type": "string",
39
- "description": "View a specific build by ID",
30
+ "description": "A specific build ID to release",
40
31
  "isRequired": false,
41
32
  "aliases": [],
42
33
  "positional": true
43
34
  },
35
+ {
36
+ "key": "force",
37
+ "type": "boolean",
38
+ "description": "Skips interactive confirmation step",
39
+ "isRequired": false,
40
+ "aliases": [],
41
+ "positional": false
42
+ },
44
43
  {
45
44
  "key": "latest",
46
45
  "type": "boolean",
47
- "description": "View the latest build",
46
+ "description": "Release the latest build",
48
47
  "isRequired": false,
49
48
  "aliases": [],
50
49
  "positional": false
51
50
  }
52
51
  ],
53
52
  "isIndex": false,
54
- "name": "builds",
55
- "path": "builds.js",
53
+ "name": "release",
54
+ "path": "release.js",
56
55
  "subCommands": []
57
56
  },
58
57
  {
59
- "description": "Release a build",
58
+ "description": "",
59
+ "positionalArgs": [],
60
+ "args": [],
61
+ "isIndex": false,
62
+ "name": "whoami",
63
+ "path": "whoami.js",
64
+ "subCommands": []
65
+ },
66
+ {
67
+ "description": "",
68
+ "positionalArgs": [],
69
+ "args": [],
70
+ "isIndex": false,
71
+ "name": "logout",
72
+ "path": "logout.js",
73
+ "subCommands": []
74
+ },
75
+ {
76
+ "description": "View your builds",
60
77
  "positionalArgs": [
61
78
  "id"
62
79
  ],
@@ -64,40 +81,23 @@
64
81
  {
65
82
  "key": "id",
66
83
  "type": "string",
67
- "description": "A specific build ID to release",
84
+ "description": "View a specific build by ID",
68
85
  "isRequired": false,
69
86
  "aliases": [],
70
87
  "positional": true
71
88
  },
72
- {
73
- "key": "force",
74
- "type": "boolean",
75
- "description": "Skips interactive confirmation step",
76
- "isRequired": false,
77
- "aliases": [],
78
- "positional": false
79
- },
80
89
  {
81
90
  "key": "latest",
82
91
  "type": "boolean",
83
- "description": "Release the latest build",
92
+ "description": "View the latest build",
84
93
  "isRequired": false,
85
94
  "aliases": [],
86
95
  "positional": false
87
96
  }
88
97
  ],
89
98
  "isIndex": false,
90
- "name": "release",
91
- "path": "release.js",
92
- "subCommands": []
93
- },
94
- {
95
- "description": "",
96
- "positionalArgs": [],
97
- "args": [],
98
- "isIndex": false,
99
- "name": "whoami",
100
- "path": "whoami.js",
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": "0.28.0-0",
7
+ "version": "1.0.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": ">=8"
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 '.bak' 's/pastel\\/boot/.\\/boot/g' build/cli.js",
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 --no-tests --tag=latest",
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",
@@ -72,8 +72,9 @@
72
72
  "prop-types": "^15.7.2",
73
73
  "react": "^16.13.1",
74
74
  "react-final-form": "^6.5.1",
75
- "s3-upload-stream": "^1.0.7",
76
75
  "semver": "^7.3.2",
76
+ "stream-to-array": "^2.3.0",
77
+ "superagent": "^7.1.3",
77
78
  "uuid": "^8.3.1",
78
79
  "xdg-basedir": "^4.0.0",
79
80
  "yargs": "^15.4.1"
@@ -141,6 +142,7 @@
141
142
  }
142
143
  },
143
144
  "resolutions": {
144
- "pastel/parcel-bundler/deasync": "0.1.24"
145
+ "pastel/parcel-bundler/deasync": "0.1.24",
146
+ "ink": "3.2.0"
145
147
  }
146
148
  }