@salesforce/cli 1.5.1 → 1.8.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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,19 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [1.8.0](https://github.com/salesforcecli/cli/compare/v1.7.0...v1.8.0) (2022-01-06)
6
+
7
+
8
+ ### Features
9
+
10
+ * verify promote for stable-rc channel ([0678adb](https://github.com/salesforcecli/cli/commit/0678adb1b13a274381a7d9bb92acf46156f5a7c6))
11
+
12
+ ## [1.7.0](https://github.com/salesforcecli/cli/compare/v1.6.0...v1.7.0) (2021-12-15)
13
+
14
+ ## [1.6.0](https://github.com/salesforcecli/cli/compare/v1.5.2...v1.6.0) (2021-12-08)
15
+
16
+ ### [1.5.2](https://github.com/salesforcecli/cli/compare/v1.5.1...v1.5.2) (2021-12-02)
17
+
5
18
  ### [1.5.1](https://github.com/salesforcecli/cli/compare/v1.5.0...v1.5.1) (2021-12-02)
6
19
 
7
20
  ## [1.5.0](https://github.com/salesforcecli/cli/compare/v1.4.0...v1.5.0) (2021-12-01)
@@ -10,40 +23,35 @@ All notable changes to this project will be documented in this file. See [standa
10
23
 
11
24
  ### [1.3.1](https://github.com/salesforcecli/cli/compare/v1.3.0...v1.3.1) (2021-11-11)
12
25
 
13
-
14
26
  ### Bug Fixes
15
27
 
16
- * bump versions ([7983bcc](https://github.com/salesforcecli/cli/commit/7983bcc2bc8ccfdc1123a6dce2548b70e1811d1f))
28
+ - bump versions ([7983bcc](https://github.com/salesforcecli/cli/commit/7983bcc2bc8ccfdc1123a6dce2548b70e1811d1f))
17
29
 
18
30
  ## [1.3.0](https://github.com/salesforcecli/cli/compare/v1.2.0...v1.3.0) (2021-11-04)
19
31
 
20
-
21
32
  ### Bug Fixes
22
33
 
23
- * bump deps for latest-rc ([2d2ffa2](https://github.com/salesforcecli/cli/commit/2d2ffa28d45f1f69554f2233afff182aedbb67a8))
34
+ - bump deps for latest-rc ([2d2ffa2](https://github.com/salesforcecli/cli/commit/2d2ffa28d45f1f69554f2233afff182aedbb67a8))
24
35
 
25
36
  ## [1.2.0](https://github.com/salesforcecli/cli/compare/v1.1.5...v1.2.0) (2021-10-28)
26
37
 
27
-
28
38
  ### Features
29
39
 
30
- * force latest-rc release ([9027e92](https://github.com/salesforcecli/cli/commit/9027e92ab1f248501219a431de3c1e8b308d8774))
40
+ - force latest-rc release ([9027e92](https://github.com/salesforcecli/cli/commit/9027e92ab1f248501219a431de3c1e8b308d8774))
31
41
 
32
42
  ### [1.1.5](https://github.com/salesforcecli/cli/compare/v1.1.4...v1.1.5) (2021-10-26)
33
43
 
34
44
  ### [1.1.4](https://github.com/salesforcecli/cli/compare/v1.1.3...v1.1.4) (2021-10-26)
35
45
 
36
-
37
46
  ### Bug Fixes
38
47
 
39
- * fix wrong version of release management ([#83](https://github.com/salesforcecli/cli/issues/83)) ([d846bc1](https://github.com/salesforcecli/cli/commit/d846bc134daa472ba9335f8d4cebb356221fffc6))
48
+ - fix wrong version of release management ([#83](https://github.com/salesforcecli/cli/issues/83)) ([d846bc1](https://github.com/salesforcecli/cli/commit/d846bc134daa472ba9335f8d4cebb356221fffc6))
40
49
 
41
50
  ### [1.1.3](https://github.com/salesforcecli/cli/compare/v1.1.2...v1.1.3) (2021-10-26)
42
51
 
43
-
44
52
  ### Bug Fixes
45
53
 
46
- * tweak parameters to tarball prompt ([#82](https://github.com/salesforcecli/cli/issues/82)) ([60a3fef](https://github.com/salesforcecli/cli/commit/60a3fef1034aec3324e05aea152fcb546bfb5d7a))
54
+ - tweak parameters to tarball prompt ([#82](https://github.com/salesforcecli/cli/issues/82)) ([60a3fef](https://github.com/salesforcecli/cli/commit/60a3fef1034aec3324e05aea152fcb546bfb5d7a))
47
55
 
48
56
  ### [1.1.2](https://github.com/salesforcecli/cli/compare/v1.1.1...v1.1.2) (2021-10-26)
49
57
 
package/README.md CHANGED
@@ -28,8 +28,8 @@ To provide feedback, use create a new issue [here](https://github.com/forcedotco
28
28
  $ npm install -g @salesforce/cli
29
29
  $ sf COMMAND
30
30
  running command...
31
- $ sf (--version|-v|version)
32
- @salesforce/cli/1.5.1 linux-x64 node-v14.18.2
31
+ $ sf (--version|-v)
32
+ @salesforce/cli/1.8.0 linux-x64 node-v14.18.2
33
33
  $ sf --help [COMMAND]
34
34
  USAGE
35
35
  $ sf COMMAND
@@ -40,6 +40,7 @@ USAGE
40
40
  # Commands
41
41
 
42
42
  <!-- commands -->
43
+ * [`sf autocomplete [SHELL]`](#sf-autocomplete-shell)
43
44
  * [`sf config get`](#sf-config-get)
44
45
  * [`sf config list`](#sf-config-list)
45
46
  * [`sf config set`](#sf-config-set)
@@ -63,6 +64,7 @@ USAGE
63
64
  * [`sf generate function`](#sf-generate-function)
64
65
  * [`sf generate project`](#sf-generate-project)
65
66
  * [`sf help [COMMAND]`](#sf-help-command)
67
+ * [`sf info:releasenotes:display [-v <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sf-inforeleasenotesdisplay--v-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
66
68
  * [`sf login`](#sf-login)
67
69
  * [`sf login functions`](#sf-login-functions)
68
70
  * [`sf login functions jwt`](#sf-login-functions-jwt)
@@ -82,8 +84,38 @@ USAGE
82
84
  * [`sf run function start`](#sf-run-function-start)
83
85
  * [`sf run function start local`](#sf-run-function-start-local)
84
86
  * [`sf update [CHANNEL]`](#sf-update-channel)
87
+ * [`sf version`](#sf-version)
85
88
  * [`sf whoami functions`](#sf-whoami-functions)
86
89
 
90
+ ## `sf autocomplete [SHELL]`
91
+
92
+ display autocomplete installation instructions
93
+
94
+ ```
95
+ USAGE
96
+ $ sf autocomplete [SHELL] [-r]
97
+
98
+ ARGUMENTS
99
+ SHELL shell type
100
+
101
+ FLAGS
102
+ -r, --refresh-cache Refresh cache (ignores displaying instructions)
103
+
104
+ DESCRIPTION
105
+ display autocomplete installation instructions
106
+
107
+ EXAMPLES
108
+ $ sf autocomplete
109
+
110
+ $ sf autocomplete bash
111
+
112
+ $ sf autocomplete zsh
113
+
114
+ $ sf autocomplete --refresh-cache
115
+ ```
116
+
117
+ _See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v1.1.1/src/commands/autocomplete/index.ts)_
118
+
87
119
  ## `sf config get`
88
120
 
89
121
  Get the value of a configuration variable.
@@ -966,7 +998,43 @@ DESCRIPTION
966
998
  Display help for sf.
967
999
  ```
968
1000
 
969
- _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.1.7/src/commands/help.ts)_
1001
+ _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.1.9/src/commands/help.ts)_
1002
+
1003
+ ## `sf info:releasenotes:display [-v <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
1004
+
1005
+ Display Salesforce CLI release notes on the command line.
1006
+
1007
+ ```
1008
+ USAGE
1009
+ $ sf info releasenotes display [-v <string>] [--json] [--loglevel
1010
+ trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
1011
+
1012
+ FLAGS
1013
+ -v, --version=<value> CLI version or tag for which to
1014
+ display release notes.
1015
+ --json format output as json
1016
+ --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL) [default: warn] logging level for
1017
+ this command invocation
1018
+
1019
+ DESCRIPTION
1020
+ Display Salesforce CLI release notes on the command line.
1021
+
1022
+ ALIASES
1023
+ $ sf whatsnew
1024
+
1025
+ EXAMPLES
1026
+ Display release notes for the currently installed CLI version:
1027
+
1028
+ sf info releasenotes display
1029
+
1030
+ Display release notes for CLI version 7.120.0:
1031
+
1032
+ sf info releasenotes display --version 7.120.0
1033
+
1034
+ Display release notes for the CLI version that corresponds to a tag (stable, stable-rc, latest, latest-rc, rc):
1035
+
1036
+ sf info releasenotes display --version latest
1037
+ ```
970
1038
 
971
1039
  ## `sf login`
972
1040
 
@@ -1337,7 +1405,7 @@ EXAMPLES
1337
1405
  $ sf plugins
1338
1406
  ```
1339
1407
 
1340
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.0.1/src/commands/plugins/index.ts)_
1408
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.0.12/src/commands/plugins/index.ts)_
1341
1409
 
1342
1410
  ## `sf plugins:inspect PLUGIN...`
1343
1411
 
@@ -1351,7 +1419,7 @@ ARGUMENTS
1351
1419
  PLUGIN [default: .] Plugin to inspect.
1352
1420
 
1353
1421
  FLAGS
1354
- -h, --help show CLI help
1422
+ -h, --help Show CLI help.
1355
1423
  -v, --verbose
1356
1424
 
1357
1425
  DESCRIPTION
@@ -1374,7 +1442,7 @@ ARGUMENTS
1374
1442
 
1375
1443
  FLAGS
1376
1444
  -f, --force Run yarn install with force flag.
1377
- -h, --help show CLI help
1445
+ -h, --help Show CLI help.
1378
1446
  -v, --verbose
1379
1447
 
1380
1448
  DESCRIPTION
@@ -1411,7 +1479,7 @@ ARGUMENTS
1411
1479
  PATH [default: .] path to plugin
1412
1480
 
1413
1481
  FLAGS
1414
- -h, --help show CLI help
1482
+ -h, --help Show CLI help.
1415
1483
  -v, --verbose
1416
1484
 
1417
1485
  DESCRIPTION
@@ -1438,7 +1506,7 @@ ARGUMENTS
1438
1506
  PLUGIN plugin to uninstall
1439
1507
 
1440
1508
  FLAGS
1441
- -h, --help show CLI help
1509
+ -h, --help Show CLI help.
1442
1510
  -v, --verbose
1443
1511
 
1444
1512
  DESCRIPTION
@@ -1458,7 +1526,7 @@ USAGE
1458
1526
  $ sf plugins update [-h] [-v]
1459
1527
 
1460
1528
  FLAGS
1461
- -h, --help show CLI help
1529
+ -h, --help Show CLI help.
1462
1530
  -v, --verbose
1463
1531
 
1464
1532
  DESCRIPTION
@@ -1672,7 +1740,16 @@ DESCRIPTION
1672
1740
  update the sf CLI
1673
1741
  ```
1674
1742
 
1675
- _See code: [@oclif/plugin-update](https://github.com/oclif/plugin-update/blob/v2.0.0/src/commands/update.ts)_
1743
+ _See code: [@oclif/plugin-update](https://github.com/oclif/plugin-update/blob/v2.1.4/src/commands/update.ts)_
1744
+
1745
+ ## `sf version`
1746
+
1747
+ ```
1748
+ USAGE
1749
+ $ sf version
1750
+ ```
1751
+
1752
+ _See code: [@oclif/plugin-version](https://github.com/oclif/plugin-version/blob/v1.0.4/src/commands/version.ts)_
1676
1753
 
1677
1754
  ## `sf whoami functions`
1678
1755
 
package/bin/dev CHANGED
@@ -5,6 +5,7 @@ const oclif = require('@oclif/core');
5
5
  require('ts-node').register();
6
6
 
7
7
  oclif.settings.tsnodeEnabled = true;
8
+ oclif.settings.debug = true;
8
9
  process.env.NODE_ENV = 'development';
9
10
 
10
11
  oclif.run().then(require('@oclif/core/flush')).catch(require('@oclif/core/handle'));
@@ -1 +1 @@
1
- {"version":"1.5.1","commands":{}}
1
+ {"version":"1.8.0","commands":{}}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/cli",
3
3
  "description": "The Salesforce CLI",
4
- "version": "1.5.1",
4
+ "version": "1.8.0",
5
5
  "author": "Salesforce",
6
6
  "bin": {
7
7
  "sf": "./bin/run"
@@ -31,16 +31,19 @@
31
31
  "commands": "./dist/commands",
32
32
  "helpClass": "./dist/help/sfHelp.js",
33
33
  "plugins": [
34
+ "@oclif/plugin-autocomplete",
34
35
  "@oclif/plugin-help",
35
36
  "@oclif/plugin-not-found",
36
37
  "@oclif/plugin-plugins",
37
38
  "@oclif/plugin-update",
39
+ "@oclif/plugin-version",
38
40
  "@sf/config",
39
41
  "@sf/deploy-retrieve",
40
42
  "@sf/drm",
41
43
  "@sf/env",
42
44
  "@sf/functions",
43
45
  "@sf/gen",
46
+ "@sf/info",
44
47
  "@sf/login",
45
48
  "@salesforce/plugin-telemetry"
46
49
  ],
@@ -57,6 +60,13 @@
57
60
  "host": "https://developer.salesforce.com"
58
61
  }
59
62
  },
63
+ "info": {
64
+ "releasenotes": {
65
+ "distTagUrl": "https://registry.npmjs.org/-/package/@salesforce/cli/dist-tags",
66
+ "releaseNotesPath": "https://github.com/forcedotcom/cli/tree/main/releasenotes/sf",
67
+ "releaseNotesFilename": "README.md"
68
+ }
69
+ },
60
70
  "macos": {
61
71
  "identifier": "com.salesforce.cli"
62
72
  },
@@ -65,7 +75,6 @@
65
75
  "keypath": "/tmp/windows-signing.pfx"
66
76
  },
67
77
  "additionalVersionFlags": [
68
- "version",
69
78
  "-v"
70
79
  ],
71
80
  "additionalHelpFlags": [
@@ -73,19 +82,22 @@
73
82
  ]
74
83
  },
75
84
  "dependencies": {
76
- "@oclif/core": "^1.0.7",
77
- "@oclif/plugin-help": "5.1.7",
78
- "@oclif/plugin-not-found": "2.2.0",
79
- "@oclif/plugin-plugins": "2.0.1",
80
- "@oclif/plugin-update": "2.0.0",
85
+ "@oclif/core": "^1.1.1",
86
+ "@oclif/plugin-autocomplete": "1.1.1",
87
+ "@oclif/plugin-help": "5.1.10",
88
+ "@oclif/plugin-not-found": "2.2.4",
89
+ "@oclif/plugin-plugins": "2.0.12",
90
+ "@oclif/plugin-update": "2.1.4",
91
+ "@oclif/plugin-version": "1.0.4",
81
92
  "@salesforce/plugin-telemetry": "1.4.0",
82
- "@salesforce/sf-plugins-core": "1.0.4",
93
+ "@salesforce/sf-plugins-core": "1.0.5",
83
94
  "@sf/config": "npm:@salesforce/plugin-config@2.2.11",
84
95
  "@sf/deploy-retrieve": "npm:@salesforce/plugin-deploy-retrieve@1.0.5",
85
96
  "@sf/drm": "npm:@salesforce/plugin-deploy-retrieve-metadata@1.0.7",
86
97
  "@sf/env": "npm:@salesforce/plugin-env@1.0.3",
87
- "@sf/functions": "npm:@salesforce/plugin-functions@1.2.2",
98
+ "@sf/functions": "npm:@salesforce/plugin-functions@1.3.0",
88
99
  "@sf/gen": "npm:@salesforce/plugin-generate@1.0.5",
100
+ "@sf/info": "npm:@salesforce/plugin-info@1.2.0",
89
101
  "@sf/login": "npm:@salesforce/plugin-login@1.0.6",
90
102
  "tslib": "^2.3.1"
91
103
  },
@@ -96,15 +108,22 @@
96
108
  "@sf/env",
97
109
  "@sf/functions",
98
110
  "@sf/gen",
111
+ "@sf/info",
99
112
  "@sf/login",
100
113
  "@salesforce/plugin-telemetry",
114
+ "@oclif/plugin-autocomplete",
101
115
  "@oclif/plugin-help",
102
116
  "@oclif/plugin-not-found",
103
117
  "@oclif/plugin-plugins",
104
- "@oclif/plugin-update"
118
+ "@oclif/plugin-update",
119
+ "@oclif/plugin-version"
105
120
  ],
106
121
  "resolutions": {
107
- "@salesforce/templates": "52.6.0"
122
+ "@salesforce/templates": "52.7.0",
123
+ "@oclif/config": "1.18.2",
124
+ "@oclif/command": "1.8.16",
125
+ "@oclif/core/**/cli-ux": "^6.0.7",
126
+ "oclif/**/cli-ux": "^6.0.7"
108
127
  },
109
128
  "repository": "salesforcecli/cli",
110
129
  "scripts": {
@@ -129,6 +148,7 @@
129
148
  "pretarball": "sf-release cli:tarballs:prepare --types",
130
149
  "promote-dist-tags": "./scripts/promote-dist-tags",
131
150
  "promote:verify": "sf-release cli:versions:inspect --channels stable --locations archive --cli sf",
151
+ "promote:verify-rc": "sf-release cli:versions:inspect --channels stable-rc --locations archive --cli sf",
132
152
  "test:smoke-unix": "sf-release cli:tarballs:smoke --cli sf",
133
153
  "test:deprecation-policy": "./bin/dev snapshot:compare",
134
154
  "test": "echo disable # sf-test",
@@ -147,7 +167,7 @@
147
167
  }
148
168
  },
149
169
  "devDependencies": {
150
- "@oclif/plugin-command-snapshot": "^2.2.2",
170
+ "@oclif/plugin-command-snapshot": "^3.1.2",
151
171
  "@oclif/test": "^1",
152
172
  "@salesforce/dev-config": "^2.1.2",
153
173
  "@salesforce/dev-scripts": "^0.9.18",