@oclif/plugin-update 3.1.0 → 3.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,7 +11,7 @@ export default class UpdateCommand extends Command {
11
11
  static flags: {
12
12
  autoupdate: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
13
13
  available: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
14
- version: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, Record<string, unknown>>;
14
+ version: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
15
15
  interactive: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
16
16
  force: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
17
17
  };
@@ -1 +1,78 @@
1
- {"version":"3.1.0","commands":{"update":{"id":"update","description":"update the <%= config.bin %> CLI","strict":true,"pluginName":"@oclif/plugin-update","pluginAlias":"@oclif/plugin-update","pluginType":"core","aliases":[],"examples":[{"description":"Update to the stable channel:","command":"<%= config.bin %> <%= command.id %> stable"},{"description":"Update to a specific version:","command":"<%= config.bin %> <%= command.id %> --version 1.0.0"},{"description":"Interactively select version:","command":"<%= config.bin %> <%= command.id %> --interactive"},{"description":"See available versions:","command":"<%= config.bin %> <%= command.id %> --available"}],"flags":{"autoupdate":{"name":"autoupdate","type":"boolean","hidden":true,"allowNo":false},"available":{"name":"available","type":"boolean","char":"a","description":"Install a specific version.","allowNo":false},"version":{"name":"version","type":"option","char":"v","description":"Install a specific version.","multiple":false,"exclusive":["interactive"]},"interactive":{"name":"interactive","type":"boolean","char":"i","description":"Interactively select version to install. This is ignored if a channel is provided.","allowNo":false,"exclusive":["version"]},"force":{"name":"force","type":"boolean","description":"Force a re-download of the requested version.","allowNo":false}},"args":{"channel":{"name":"channel"}}}}}
1
+ {
2
+ "version": "3.1.2",
3
+ "commands": {
4
+ "update": {
5
+ "id": "update",
6
+ "description": "update the <%= config.bin %> CLI",
7
+ "strict": true,
8
+ "pluginName": "@oclif/plugin-update",
9
+ "pluginAlias": "@oclif/plugin-update",
10
+ "pluginType": "core",
11
+ "aliases": [],
12
+ "examples": [
13
+ {
14
+ "description": "Update to the stable channel:",
15
+ "command": "<%= config.bin %> <%= command.id %> stable"
16
+ },
17
+ {
18
+ "description": "Update to a specific version:",
19
+ "command": "<%= config.bin %> <%= command.id %> --version 1.0.0"
20
+ },
21
+ {
22
+ "description": "Interactively select version:",
23
+ "command": "<%= config.bin %> <%= command.id %> --interactive"
24
+ },
25
+ {
26
+ "description": "See available versions:",
27
+ "command": "<%= config.bin %> <%= command.id %> --available"
28
+ }
29
+ ],
30
+ "flags": {
31
+ "autoupdate": {
32
+ "name": "autoupdate",
33
+ "type": "boolean",
34
+ "hidden": true,
35
+ "allowNo": false
36
+ },
37
+ "available": {
38
+ "name": "available",
39
+ "type": "boolean",
40
+ "char": "a",
41
+ "description": "Install a specific version.",
42
+ "allowNo": false
43
+ },
44
+ "version": {
45
+ "name": "version",
46
+ "type": "option",
47
+ "char": "v",
48
+ "description": "Install a specific version.",
49
+ "multiple": false,
50
+ "exclusive": [
51
+ "interactive"
52
+ ]
53
+ },
54
+ "interactive": {
55
+ "name": "interactive",
56
+ "type": "boolean",
57
+ "char": "i",
58
+ "description": "Interactively select version to install. This is ignored if a channel is provided.",
59
+ "allowNo": false,
60
+ "exclusive": [
61
+ "version"
62
+ ]
63
+ },
64
+ "force": {
65
+ "name": "force",
66
+ "type": "boolean",
67
+ "description": "Force a re-download of the requested version.",
68
+ "allowNo": false
69
+ }
70
+ },
71
+ "args": {
72
+ "channel": {
73
+ "name": "channel"
74
+ }
75
+ }
76
+ }
77
+ }
78
+ }
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@oclif/plugin-update",
3
- "version": "3.1.0",
3
+ "version": "3.1.2",
4
4
  "author": "Salesforce",
5
5
  "bugs": "https://github.com/oclif/plugin-update/issues",
6
6
  "dependencies": {
7
7
  "@oclif/color": "^1.0.3",
8
- "@oclif/core": "^2.0.3",
8
+ "@oclif/core": "^2.0.7",
9
9
  "cross-spawn": "^7.0.3",
10
10
  "debug": "^4.3.1",
11
11
  "filesize": "^6.1.0",
@@ -19,7 +19,7 @@
19
19
  },
20
20
  "devDependencies": {
21
21
  "@oclif/plugin-help": "^5.2.0",
22
- "@oclif/test": "^2.3.1",
22
+ "@oclif/test": "^2.3.3",
23
23
  "@types/chai": "^4.3.4",
24
24
  "@types/cross-spawn": "^6.0.2",
25
25
  "@types/execa": "^0.9.0",
@@ -39,11 +39,11 @@
39
39
  "globby": "^11.0.2",
40
40
  "mocha": "^9",
41
41
  "nock": "^13.3.0",
42
- "oclif": "^3.5.0",
42
+ "oclif": "^3.6.1",
43
43
  "qqjs": "^0.3.11",
44
44
  "sinon": "^12.0.1",
45
45
  "ts-node": "^9.1.1",
46
- "tslib": "^2.4.1",
46
+ "tslib": "^2.5.0",
47
47
  "typescript": "4.4.3"
48
48
  },
49
49
  "engines": {