@todesktop/cli 0.27.0 → 0.28.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.
@@ -9,6 +9,15 @@
9
9
  "path": "logout.js",
10
10
  "subCommands": []
11
11
  },
12
+ {
13
+ "description": "",
14
+ "positionalArgs": [],
15
+ "args": [],
16
+ "isIndex": false,
17
+ "name": "whoami",
18
+ "path": "whoami.js",
19
+ "subCommands": []
20
+ },
12
21
  {
13
22
  "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.",
14
23
  "positionalArgs": [],
@@ -28,7 +37,7 @@
28
37
  "subCommands": []
29
38
  },
30
39
  {
31
- "description": "Release a build",
40
+ "description": "View your builds",
32
41
  "positionalArgs": [
33
42
  "id"
34
43
  ],
@@ -36,35 +45,27 @@
36
45
  {
37
46
  "key": "id",
38
47
  "type": "string",
39
- "description": "A specific build ID to release",
48
+ "description": "View a specific build by ID",
40
49
  "isRequired": false,
41
50
  "aliases": [],
42
51
  "positional": true
43
52
  },
44
- {
45
- "key": "force",
46
- "type": "boolean",
47
- "description": "Skips interactive confirmation step",
48
- "isRequired": false,
49
- "aliases": [],
50
- "positional": false
51
- },
52
53
  {
53
54
  "key": "latest",
54
55
  "type": "boolean",
55
- "description": "Release the latest build",
56
+ "description": "View the latest build",
56
57
  "isRequired": false,
57
58
  "aliases": [],
58
59
  "positional": false
59
60
  }
60
61
  ],
61
62
  "isIndex": false,
62
- "name": "release",
63
- "path": "release.js",
63
+ "name": "builds",
64
+ "path": "builds.js",
64
65
  "subCommands": []
65
66
  },
66
67
  {
67
- "description": "View your builds",
68
+ "description": "Release a build",
68
69
  "positionalArgs": [
69
70
  "id"
70
71
  ],
@@ -72,32 +73,31 @@
72
73
  {
73
74
  "key": "id",
74
75
  "type": "string",
75
- "description": "View a specific build by ID",
76
+ "description": "A specific build ID to release",
76
77
  "isRequired": false,
77
78
  "aliases": [],
78
79
  "positional": true
79
80
  },
81
+ {
82
+ "key": "force",
83
+ "type": "boolean",
84
+ "description": "Skips interactive confirmation step",
85
+ "isRequired": false,
86
+ "aliases": [],
87
+ "positional": false
88
+ },
80
89
  {
81
90
  "key": "latest",
82
91
  "type": "boolean",
83
- "description": "View the latest build",
92
+ "description": "Release the latest build",
84
93
  "isRequired": false,
85
94
  "aliases": [],
86
95
  "positional": false
87
96
  }
88
97
  ],
89
98
  "isIndex": false,
90
- "name": "builds",
91
- "path": "builds.js",
92
- "subCommands": []
93
- },
94
- {
95
- "description": "",
96
- "positionalArgs": [],
97
- "args": [],
98
- "isIndex": false,
99
- "name": "whoami",
100
- "path": "whoami.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": "0.27.0",
7
+ "version": "0.28.0",
8
8
  "license": "MIT",
9
9
  "author": "Dave Jeffery <dave@todesktop.com> (http://www.todesktop.com/)",
10
10
  "homepage": "https://todesktop.com/cli",
@@ -19,7 +19,7 @@
19
19
  },
20
20
  "scripts": {
21
21
  "dev": "cp-cli dev.env .env && pastel dev",
22
- "build": "cross-env NODE_ENV=production pastel build && cp-cli prod.env .env",
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
23
  "lint": "eslint .",
24
24
  "lint--fix": "eslint . --fix",
25
25
  "release": "npm run build && npx np --no-tests --tag=latest",
@@ -43,9 +43,11 @@
43
43
  "axios": "^0.21.1",
44
44
  "better-ajv-errors": "^0.6.7",
45
45
  "bunyan": "^1.8.14",
46
+ "camelcase-keys": "^5.2.0",
46
47
  "chalk": "^4.1.0",
47
48
  "conf": "^7.1.2",
48
- "date-fns": "^2.15.0",
49
+ "date-fns": "^2.28.0",
50
+ "decamelize": "^1.2.0",
49
51
  "del": "^6.0.0",
50
52
  "dotenv": "^8.2.0",
51
53
  "du": "^1.0.0",
@@ -54,18 +56,17 @@
54
56
  "final-form": "^4.20.1",
55
57
  "find-up": "^5.0.0",
56
58
  "firebase": "^7.23.0",
57
- "git-rev-sync": "^3.0.0",
58
- "ink": "^3.0.7",
59
+ "git-rev-sync": "^3.0.2",
60
+ "ink": "^3.2.0",
59
61
  "ink-gradient": "^2.0.0",
60
62
  "ink-link": "^2.0.0",
61
63
  "ink-progress-bar": "^3.0.0",
62
- "ink-select-input": "^4.2.0",
64
+ "ink-select-input": "^4.2.1",
63
65
  "ink-text-input": "^4.0.1",
64
66
  "is-installed-globally": "^0.3.2",
65
67
  "latest-version": "^5.1.0",
66
68
  "lodash.throttle": "^4.1.1",
67
69
  "parse-author": "^2.0.0",
68
- "pastel": "1.1.1",
69
70
  "pkg-up": "^3.1.0",
70
71
  "pretty-bytes": "^5.4.1",
71
72
  "prop-types": "^15.7.2",
@@ -74,7 +75,8 @@
74
75
  "s3-upload-stream": "^1.0.7",
75
76
  "semver": "^7.3.2",
76
77
  "uuid": "^8.3.1",
77
- "xdg-basedir": "^4.0.0"
78
+ "xdg-basedir": "^4.0.0",
79
+ "yargs": "^15.4.1"
78
80
  },
79
81
  "devDependencies": {
80
82
  "@ava/babel": "^1.0.1",
@@ -103,6 +105,7 @@
103
105
  "husky": "^4.3.0",
104
106
  "is-ci": "^2.0.0",
105
107
  "lint-staged": "^10.2.11",
108
+ "pastel": "^1.1.1",
106
109
  "prettier": "^2.1.2",
107
110
  "proxyquire": "^2.1.3",
108
111
  "sinon": "^9.0.3"
@@ -129,5 +132,15 @@
129
132
  "hooks": {
130
133
  "pre-commit": "lint-staged"
131
134
  }
135
+ },
136
+ "overrides": {
137
+ "pastel": {
138
+ "parcel-bundler": {
139
+ "deasync": "0.1.24"
140
+ }
141
+ }
142
+ },
143
+ "resolutions": {
144
+ "pastel/parcel-bundler/deasync": "0.1.24"
132
145
  }
133
146
  }