@todesktop/cli 1.1.0 → 1.1.3

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": "Release a build",
22
+ "description": "View your builds",
32
23
  "positionalArgs": [
33
24
  "id"
34
25
  ],
@@ -36,31 +27,23 @@
36
27
  {
37
28
  "key": "id",
38
29
  "type": "string",
39
- "description": "A specific build ID to release",
30
+ "description": "View a specific build by ID",
40
31
  "isRequired": false,
41
32
  "aliases": [],
42
33
  "positional": true
43
34
  },
44
- {
45
- "key": "force",
46
- "type": "boolean",
47
- "description": "Skips interactive confirmation step",
48
- "isRequired": false,
49
- "aliases": [],
50
- "positional": false
51
- },
52
35
  {
53
36
  "key": "latest",
54
37
  "type": "boolean",
55
- "description": "Release the latest build",
38
+ "description": "View the latest build",
56
39
  "isRequired": false,
57
40
  "aliases": [],
58
41
  "positional": false
59
42
  }
60
43
  ],
61
44
  "isIndex": false,
62
- "name": "release",
63
- "path": "release.js",
45
+ "name": "builds",
46
+ "path": "builds.js",
64
47
  "subCommands": []
65
48
  },
66
49
  {
@@ -73,7 +56,16 @@
73
56
  "subCommands": []
74
57
  },
75
58
  {
76
- "description": "View your builds",
59
+ "description": "",
60
+ "positionalArgs": [],
61
+ "args": [],
62
+ "isIndex": false,
63
+ "name": "logout",
64
+ "path": "logout.js",
65
+ "subCommands": []
66
+ },
67
+ {
68
+ "description": "Release a build",
77
69
  "positionalArgs": [
78
70
  "id"
79
71
  ],
@@ -81,23 +73,31 @@
81
73
  {
82
74
  "key": "id",
83
75
  "type": "string",
84
- "description": "View a specific build by ID",
76
+ "description": "A specific build ID to release",
85
77
  "isRequired": false,
86
78
  "aliases": [],
87
79
  "positional": true
88
80
  },
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": "View the latest build",
92
+ "description": "Release the latest build",
93
93
  "isRequired": false,
94
94
  "aliases": [],
95
95
  "positional": false
96
96
  }
97
97
  ],
98
98
  "isIndex": false,
99
- "name": "builds",
100
- "path": "builds.js",
99
+ "name": "release",
100
+ "path": "release.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": "1.1.0",
7
+ "version": "1.1.3",
8
8
  "license": "MIT",
9
9
  "author": "Dave Jeffery <dave@todesktop.com> (http://www.todesktop.com/)",
10
10
  "homepage": "https://todesktop.com/cli",
@@ -18,8 +18,9 @@
18
18
  "node": ">=12"
19
19
  },
20
20
  "scripts": {
21
- "preinstall": "npx force-resolutions",
21
+ "prepublishOnly": "npx force-resolutions",
22
22
  "dev": "cp-cli dev.env .env && pastel dev",
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",
24
25
  "lint": "eslint .",
25
26
  "lint--fix": "eslint . --fix",
@@ -41,7 +42,7 @@
41
42
  "analytics-node": "^4.0.1",
42
43
  "archiver": "^5.2.0",
43
44
  "axios": "^0.21.1",
44
- "better-ajv-errors": "^0.6.7",
45
+ "better-ajv-errors": "^1.2.0",
45
46
  "bunyan": "^1.8.14",
46
47
  "camelcase-keys": "^5.2.0",
47
48
  "chalk": "^4.1.0",
@@ -55,8 +56,7 @@
55
56
  "fast-glob": "^3.2.4",
56
57
  "final-form": "^4.20.1",
57
58
  "find-up": "^5.0.0",
58
- "firebase": "^7.23.0",
59
- "force-resolutions": "^1.0.10",
59
+ "firebase": "^7.24.0",
60
60
  "git-rev-sync": "^3.0.2",
61
61
  "ink": "^3.2.0",
62
62
  "ink-gradient": "^2.0.0",
@@ -64,6 +64,7 @@
64
64
  "ink-progress-bar": "^3.0.0",
65
65
  "ink-select-input": "^4.2.1",
66
66
  "ink-text-input": "^4.0.1",
67
+ "is-ci": "^3.0.1",
67
68
  "is-installed-globally": "^0.3.2",
68
69
  "latest-version": "^5.1.0",
69
70
  "lodash.throttle": "^4.1.1",
@@ -71,7 +72,7 @@
71
72
  "pkg-up": "^3.1.0",
72
73
  "pretty-bytes": "^5.4.1",
73
74
  "prop-types": "^15.7.2",
74
- "react": "^16.13.1",
75
+ "react": "^17.0.2",
75
76
  "react-final-form": "^6.5.1",
76
77
  "semver": "^7.3.2",
77
78
  "stream-to-array": "^2.3.0",
@@ -87,7 +88,7 @@
87
88
  "@babel/preset-env": "^7.11.5",
88
89
  "@babel/register": "^7.12.1",
89
90
  "@types/bunyan": "^1.8.6",
90
- "ava": "^3.12.1",
91
+ "ava": "^4.3.1",
91
92
  "babel-preset-es2015": "^6.24.1",
92
93
  "cp-cli": "^2.0.0",
93
94
  "cross-env": "^7.0.2",
@@ -105,7 +106,6 @@
105
106
  "extract-zip": "^2.0.1",
106
107
  "fs-extra": "^9.0.1",
107
108
  "husky": "^4.3.0",
108
- "is-ci": "^2.0.0",
109
109
  "lint-staged": "^10.2.11",
110
110
  "pastel": "^1.1.1",
111
111
  "prettier": "^2.1.2",
@@ -113,7 +113,6 @@
113
113
  "sinon": "^9.0.3"
114
114
  },
115
115
  "ava": {
116
- "babel": true,
117
116
  "files": [
118
117
  "test/**/*.js",
119
118
  "!test/fixtures/**/*",
@@ -138,12 +137,13 @@
138
137
  "overrides": {
139
138
  "pastel": {
140
139
  "parcel-bundler": {
141
- "deasync": "0.1.24"
140
+ "deasync": "0.1.27"
142
141
  }
143
142
  }
144
143
  },
145
144
  "resolutions": {
146
145
  "pastel/parcel-bundler/deasync": "0.1.24",
147
- "ink": "3.2.0"
146
+ "ink": "3.2.0",
147
+ "react": "17.0.2"
148
148
  }
149
149
  }