@salesforce/cli 1.5.2 → 1.9.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 +17 -10
- package/LICENSE.txt +1 -1
- package/README.md +181 -56
- package/bin/dev +1 -0
- package/oclif.manifest.json +1 -1
- package/package.json +37 -45
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
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.9.0](https://github.com/salesforcecli/cli/compare/v1.8.0...v1.9.0) (2022-01-12)
|
|
6
|
+
|
|
7
|
+
## [1.8.0](https://github.com/salesforcecli/cli/compare/v1.7.0...v1.8.0) (2022-01-06)
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
- verify promote for stable-rc channel ([0678adb](https://github.com/salesforcecli/cli/commit/0678adb1b13a274381a7d9bb92acf46156f5a7c6))
|
|
12
|
+
|
|
13
|
+
## [1.7.0](https://github.com/salesforcecli/cli/compare/v1.6.0...v1.7.0) (2021-12-15)
|
|
14
|
+
|
|
15
|
+
## [1.6.0](https://github.com/salesforcecli/cli/compare/v1.5.2...v1.6.0) (2021-12-08)
|
|
16
|
+
|
|
5
17
|
### [1.5.2](https://github.com/salesforcecli/cli/compare/v1.5.1...v1.5.2) (2021-12-02)
|
|
6
18
|
|
|
7
19
|
### [1.5.1](https://github.com/salesforcecli/cli/compare/v1.5.0...v1.5.1) (2021-12-02)
|
|
@@ -12,40 +24,35 @@ All notable changes to this project will be documented in this file. See [standa
|
|
|
12
24
|
|
|
13
25
|
### [1.3.1](https://github.com/salesforcecli/cli/compare/v1.3.0...v1.3.1) (2021-11-11)
|
|
14
26
|
|
|
15
|
-
|
|
16
27
|
### Bug Fixes
|
|
17
28
|
|
|
18
|
-
|
|
29
|
+
- bump versions ([7983bcc](https://github.com/salesforcecli/cli/commit/7983bcc2bc8ccfdc1123a6dce2548b70e1811d1f))
|
|
19
30
|
|
|
20
31
|
## [1.3.0](https://github.com/salesforcecli/cli/compare/v1.2.0...v1.3.0) (2021-11-04)
|
|
21
32
|
|
|
22
|
-
|
|
23
33
|
### Bug Fixes
|
|
24
34
|
|
|
25
|
-
|
|
35
|
+
- bump deps for latest-rc ([2d2ffa2](https://github.com/salesforcecli/cli/commit/2d2ffa28d45f1f69554f2233afff182aedbb67a8))
|
|
26
36
|
|
|
27
37
|
## [1.2.0](https://github.com/salesforcecli/cli/compare/v1.1.5...v1.2.0) (2021-10-28)
|
|
28
38
|
|
|
29
|
-
|
|
30
39
|
### Features
|
|
31
40
|
|
|
32
|
-
|
|
41
|
+
- force latest-rc release ([9027e92](https://github.com/salesforcecli/cli/commit/9027e92ab1f248501219a431de3c1e8b308d8774))
|
|
33
42
|
|
|
34
43
|
### [1.1.5](https://github.com/salesforcecli/cli/compare/v1.1.4...v1.1.5) (2021-10-26)
|
|
35
44
|
|
|
36
45
|
### [1.1.4](https://github.com/salesforcecli/cli/compare/v1.1.3...v1.1.4) (2021-10-26)
|
|
37
46
|
|
|
38
|
-
|
|
39
47
|
### Bug Fixes
|
|
40
48
|
|
|
41
|
-
|
|
49
|
+
- fix wrong version of release management ([#83](https://github.com/salesforcecli/cli/issues/83)) ([d846bc1](https://github.com/salesforcecli/cli/commit/d846bc134daa472ba9335f8d4cebb356221fffc6))
|
|
42
50
|
|
|
43
51
|
### [1.1.3](https://github.com/salesforcecli/cli/compare/v1.1.2...v1.1.3) (2021-10-26)
|
|
44
52
|
|
|
45
|
-
|
|
46
53
|
### Bug Fixes
|
|
47
54
|
|
|
48
|
-
|
|
55
|
+
- tweak parameters to tarball prompt ([#82](https://github.com/salesforcecli/cli/issues/82)) ([60a3fef](https://github.com/salesforcecli/cli/commit/60a3fef1034aec3324e05aea152fcb546bfb5d7a))
|
|
49
56
|
|
|
50
57
|
### [1.1.2](https://github.com/salesforcecli/cli/compare/v1.1.1...v1.1.2) (2021-10-26)
|
|
51
58
|
|
package/LICENSE.txt
CHANGED
package/README.md
CHANGED
|
@@ -6,11 +6,12 @@
|
|
|
6
6
|
[](https://github.com/salesforcecli/cli/blob/master/package.json)
|
|
7
7
|
|
|
8
8
|
<!-- toc -->
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
|
|
10
|
+
- [@salesforce/cli](#salesforcecli)
|
|
11
|
+
- [Getting Started](#getting-started)
|
|
12
|
+
- [Feedback](#feedback)
|
|
13
|
+
- [Usage](#usage)
|
|
14
|
+
- [Commands](#commands)
|
|
14
15
|
<!-- tocstop -->
|
|
15
16
|
|
|
16
17
|
# Getting Started
|
|
@@ -24,65 +25,101 @@ To provide feedback, use create a new issue [here](https://github.com/forcedotco
|
|
|
24
25
|
# Usage
|
|
25
26
|
|
|
26
27
|
<!-- usage -->
|
|
28
|
+
|
|
27
29
|
```sh-session
|
|
28
30
|
$ npm install -g @salesforce/cli
|
|
29
31
|
$ sf COMMAND
|
|
30
32
|
running command...
|
|
31
|
-
$ sf (--version|-v
|
|
32
|
-
@salesforce/cli/1.
|
|
33
|
+
$ sf (--version|-v)
|
|
34
|
+
@salesforce/cli/1.9.0 linux-x64 node-v14.18.3
|
|
33
35
|
$ sf --help [COMMAND]
|
|
34
36
|
USAGE
|
|
35
37
|
$ sf COMMAND
|
|
36
38
|
...
|
|
37
39
|
```
|
|
40
|
+
|
|
38
41
|
<!-- usagestop -->
|
|
39
42
|
|
|
40
43
|
# Commands
|
|
41
44
|
|
|
42
45
|
<!-- commands -->
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
46
|
+
|
|
47
|
+
- [`sf autocomplete [SHELL]`](#sf-autocomplete-shell)
|
|
48
|
+
- [`sf config get`](#sf-config-get)
|
|
49
|
+
- [`sf config list`](#sf-config-list)
|
|
50
|
+
- [`sf config set`](#sf-config-set)
|
|
51
|
+
- [`sf config unset`](#sf-config-unset)
|
|
52
|
+
- [`sf deploy`](#sf-deploy)
|
|
53
|
+
- [`sf deploy functions`](#sf-deploy-functions)
|
|
54
|
+
- [`sf deploy metadata`](#sf-deploy-metadata)
|
|
55
|
+
- [`sf env create compute`](#sf-env-create-compute)
|
|
56
|
+
- [`sf env delete`](#sf-env-delete)
|
|
57
|
+
- [`sf env display`](#sf-env-display)
|
|
58
|
+
- [`sf env list`](#sf-env-list)
|
|
59
|
+
- [`sf env log tail`](#sf-env-log-tail)
|
|
60
|
+
- [`sf env logdrain add`](#sf-env-logdrain-add)
|
|
61
|
+
- [`sf env logdrain list`](#sf-env-logdrain-list)
|
|
62
|
+
- [`sf env logdrain remove`](#sf-env-logdrain-remove)
|
|
63
|
+
- [`sf env open`](#sf-env-open)
|
|
64
|
+
- [`sf env var get KEY`](#sf-env-var-get-key)
|
|
65
|
+
- [`sf env var list`](#sf-env-var-list)
|
|
66
|
+
- [`sf env var set`](#sf-env-var-set)
|
|
67
|
+
- [`sf env var unset`](#sf-env-var-unset)
|
|
68
|
+
- [`sf generate function`](#sf-generate-function)
|
|
69
|
+
- [`sf generate project`](#sf-generate-project)
|
|
70
|
+
- [`sf help [COMMAND]`](#sf-help-command)
|
|
71
|
+
- [`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)
|
|
72
|
+
- [`sf login`](#sf-login)
|
|
73
|
+
- [`sf login functions`](#sf-login-functions)
|
|
74
|
+
- [`sf login functions jwt`](#sf-login-functions-jwt)
|
|
75
|
+
- [`sf login org`](#sf-login-org)
|
|
76
|
+
- [`sf login org jwt`](#sf-login-org-jwt)
|
|
77
|
+
- [`sf logout`](#sf-logout)
|
|
78
|
+
- [`sf logout functions`](#sf-logout-functions)
|
|
79
|
+
- [`sf logout org`](#sf-logout-org)
|
|
80
|
+
- [`sf plugins`](#sf-plugins)
|
|
81
|
+
- [`sf plugins:inspect PLUGIN...`](#sf-pluginsinspect-plugin)
|
|
82
|
+
- [`sf plugins:install PLUGIN...`](#sf-pluginsinstall-plugin)
|
|
83
|
+
- [`sf plugins:link PLUGIN`](#sf-pluginslink-plugin)
|
|
84
|
+
- [`sf plugins:uninstall PLUGIN...`](#sf-pluginsuninstall-plugin)
|
|
85
|
+
- [`sf plugins update`](#sf-plugins-update)
|
|
86
|
+
- [`sf retrieve metadata`](#sf-retrieve-metadata)
|
|
87
|
+
- [`sf run function`](#sf-run-function)
|
|
88
|
+
- [`sf run function start`](#sf-run-function-start)
|
|
89
|
+
- [`sf run function start container`](#sf-run-function-start-container)
|
|
90
|
+
- [`sf run function start local`](#sf-run-function-start-local)
|
|
91
|
+
- [`sf update [CHANNEL]`](#sf-update-channel)
|
|
92
|
+
- [`sf version`](#sf-version)
|
|
93
|
+
- [`sf whoami functions`](#sf-whoami-functions)
|
|
94
|
+
|
|
95
|
+
## `sf autocomplete [SHELL]`
|
|
96
|
+
|
|
97
|
+
display autocomplete installation instructions
|
|
98
|
+
|
|
99
|
+
```
|
|
100
|
+
USAGE
|
|
101
|
+
$ sf autocomplete [SHELL] [-r]
|
|
102
|
+
|
|
103
|
+
ARGUMENTS
|
|
104
|
+
SHELL shell type
|
|
105
|
+
|
|
106
|
+
FLAGS
|
|
107
|
+
-r, --refresh-cache Refresh cache (ignores displaying instructions)
|
|
108
|
+
|
|
109
|
+
DESCRIPTION
|
|
110
|
+
display autocomplete installation instructions
|
|
111
|
+
|
|
112
|
+
EXAMPLES
|
|
113
|
+
$ sf autocomplete
|
|
114
|
+
|
|
115
|
+
$ sf autocomplete bash
|
|
116
|
+
|
|
117
|
+
$ sf autocomplete zsh
|
|
118
|
+
|
|
119
|
+
$ sf autocomplete --refresh-cache
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v1.1.1/src/commands/autocomplete/index.ts)_
|
|
86
123
|
|
|
87
124
|
## `sf config get`
|
|
88
125
|
|
|
@@ -966,7 +1003,43 @@ DESCRIPTION
|
|
|
966
1003
|
Display help for sf.
|
|
967
1004
|
```
|
|
968
1005
|
|
|
969
|
-
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.1.
|
|
1006
|
+
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.1.9/src/commands/help.ts)_
|
|
1007
|
+
|
|
1008
|
+
## `sf info:releasenotes:display [-v <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
1009
|
+
|
|
1010
|
+
Display Salesforce CLI release notes on the command line.
|
|
1011
|
+
|
|
1012
|
+
```
|
|
1013
|
+
USAGE
|
|
1014
|
+
$ sf info releasenotes display [-v <string>] [--json] [--loglevel
|
|
1015
|
+
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
1016
|
+
|
|
1017
|
+
FLAGS
|
|
1018
|
+
-v, --version=<value> CLI version or tag for which to
|
|
1019
|
+
display release notes.
|
|
1020
|
+
--json format output as json
|
|
1021
|
+
--loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL) [default: warn] logging level for
|
|
1022
|
+
this command invocation
|
|
1023
|
+
|
|
1024
|
+
DESCRIPTION
|
|
1025
|
+
Display Salesforce CLI release notes on the command line.
|
|
1026
|
+
|
|
1027
|
+
ALIASES
|
|
1028
|
+
$ sf whatsnew
|
|
1029
|
+
|
|
1030
|
+
EXAMPLES
|
|
1031
|
+
Display release notes for the currently installed CLI version:
|
|
1032
|
+
|
|
1033
|
+
sf info releasenotes display
|
|
1034
|
+
|
|
1035
|
+
Display release notes for CLI version 7.120.0:
|
|
1036
|
+
|
|
1037
|
+
sf info releasenotes display --version 7.120.0
|
|
1038
|
+
|
|
1039
|
+
Display release notes for the CLI version that corresponds to a tag (stable, stable-rc, latest, latest-rc, rc):
|
|
1040
|
+
|
|
1041
|
+
sf info releasenotes display --version latest
|
|
1042
|
+
```
|
|
970
1043
|
|
|
971
1044
|
## `sf login`
|
|
972
1045
|
|
|
@@ -1337,7 +1410,7 @@ EXAMPLES
|
|
|
1337
1410
|
$ sf plugins
|
|
1338
1411
|
```
|
|
1339
1412
|
|
|
1340
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.0.
|
|
1413
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.0.12/src/commands/plugins/index.ts)_
|
|
1341
1414
|
|
|
1342
1415
|
## `sf plugins:inspect PLUGIN...`
|
|
1343
1416
|
|
|
@@ -1392,7 +1465,7 @@ ALIASES
|
|
|
1392
1465
|
$ sf plugins add
|
|
1393
1466
|
|
|
1394
1467
|
EXAMPLES
|
|
1395
|
-
$ sf plugins:install myplugin
|
|
1468
|
+
$ sf plugins:install myplugin
|
|
1396
1469
|
|
|
1397
1470
|
$ sf plugins:install https://github.com/someuser/someplugin
|
|
1398
1471
|
|
|
@@ -1596,7 +1669,7 @@ EXAMPLES
|
|
|
1596
1669
|
|
|
1597
1670
|
## `sf run function start`
|
|
1598
1671
|
|
|
1599
|
-
Build and run a Salesforce Function
|
|
1672
|
+
Build and run a Salesforce Function.
|
|
1600
1673
|
|
|
1601
1674
|
```
|
|
1602
1675
|
USAGE
|
|
@@ -1613,10 +1686,14 @@ FLAGS
|
|
|
1613
1686
|
--no-pull Skip pulling builder image before use.
|
|
1614
1687
|
|
|
1615
1688
|
DESCRIPTION
|
|
1616
|
-
Build and run a Salesforce Function
|
|
1689
|
+
Build and run a Salesforce Function.
|
|
1617
1690
|
|
|
1618
1691
|
Run this command from the directory of your Salesforce Functions project.
|
|
1619
1692
|
|
|
1693
|
+
This command will run the target function in a container. In the future, this command will run the target function on
|
|
1694
|
+
the host operating system (locally) instead. If one mode is preferred over the other, consider using the `container`
|
|
1695
|
+
or `local` subcommand instead.
|
|
1696
|
+
|
|
1620
1697
|
EXAMPLES
|
|
1621
1698
|
Build and run a function:
|
|
1622
1699
|
|
|
@@ -1631,6 +1708,44 @@ EXAMPLES
|
|
|
1631
1708
|
$ sf run function start --env KEY=VALUE --network host
|
|
1632
1709
|
```
|
|
1633
1710
|
|
|
1711
|
+
## `sf run function start container`
|
|
1712
|
+
|
|
1713
|
+
Build and run a Salesforce Function in a container.
|
|
1714
|
+
|
|
1715
|
+
```
|
|
1716
|
+
USAGE
|
|
1717
|
+
$ sf run function start container [-p <value>] [-b <value>] [--clear-cache] [--no-pull] [-e <value>] [--network
|
|
1718
|
+
<value>] [-v]
|
|
1719
|
+
|
|
1720
|
+
FLAGS
|
|
1721
|
+
-b, --debug-port=<value> [default: 9229] Port for remote debugging.
|
|
1722
|
+
-e, --env=<value>... Set environment variables (provided during build and run).
|
|
1723
|
+
-p, --port=<value> [default: 8080] Port for running the function.
|
|
1724
|
+
-v, --verbose Output additional logs.
|
|
1725
|
+
--clear-cache Clear associated cache before executing.
|
|
1726
|
+
--network=<value> Connect and build containers to a network. This can be useful to build containers which
|
|
1727
|
+
require a local resource.
|
|
1728
|
+
--no-pull Skip pulling builder image before use.
|
|
1729
|
+
|
|
1730
|
+
DESCRIPTION
|
|
1731
|
+
Build and run a Salesforce Function in a container.
|
|
1732
|
+
|
|
1733
|
+
Run this command from the directory of your Salesforce Functions project.
|
|
1734
|
+
|
|
1735
|
+
EXAMPLES
|
|
1736
|
+
Build and run a function:
|
|
1737
|
+
|
|
1738
|
+
$ sf run function start container
|
|
1739
|
+
|
|
1740
|
+
Run a function on a specific port with additional logs:
|
|
1741
|
+
|
|
1742
|
+
$ sf run function start container --port 5000 --verbose
|
|
1743
|
+
|
|
1744
|
+
Add environment variables and specify a network:
|
|
1745
|
+
|
|
1746
|
+
$ sf run function start container --env KEY=VALUE --network host
|
|
1747
|
+
```
|
|
1748
|
+
|
|
1634
1749
|
## `sf run function start local`
|
|
1635
1750
|
|
|
1636
1751
|
Build and run a Salesforce Function locally.
|
|
@@ -1672,7 +1787,16 @@ DESCRIPTION
|
|
|
1672
1787
|
update the sf CLI
|
|
1673
1788
|
```
|
|
1674
1789
|
|
|
1675
|
-
_See code: [@oclif/plugin-update](https://github.com/oclif/plugin-update/blob/v2.1.
|
|
1790
|
+
_See code: [@oclif/plugin-update](https://github.com/oclif/plugin-update/blob/v2.1.4/src/commands/update.ts)_
|
|
1791
|
+
|
|
1792
|
+
## `sf version`
|
|
1793
|
+
|
|
1794
|
+
```
|
|
1795
|
+
USAGE
|
|
1796
|
+
$ sf version
|
|
1797
|
+
```
|
|
1798
|
+
|
|
1799
|
+
_See code: [@oclif/plugin-version](https://github.com/oclif/plugin-version/blob/v1.0.4/src/commands/version.ts)_
|
|
1676
1800
|
|
|
1677
1801
|
## `sf whoami functions`
|
|
1678
1802
|
|
|
@@ -1699,4 +1823,5 @@ EXAMPLES
|
|
|
1699
1823
|
|
|
1700
1824
|
$ sf whoami functions --show-token --json
|
|
1701
1825
|
```
|
|
1826
|
+
|
|
1702
1827
|
<!-- commandsstop -->
|
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'));
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"1.
|
|
1
|
+
{"version":"1.9.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.
|
|
4
|
+
"version": "1.9.0",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bin": {
|
|
7
7
|
"sf": "./bin/run"
|
|
@@ -31,18 +31,21 @@
|
|
|
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
|
+
"@sf/telemetry"
|
|
46
49
|
],
|
|
47
50
|
"devPlugins": [
|
|
48
51
|
"@oclif/plugin-command-snapshot",
|
|
@@ -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,47 +82,35 @@
|
|
|
73
82
|
]
|
|
74
83
|
},
|
|
75
84
|
"dependencies": {
|
|
76
|
-
"@oclif/core": "^1.
|
|
77
|
-
"@oclif/plugin-
|
|
78
|
-
"@oclif/plugin-
|
|
79
|
-
"@oclif/plugin-
|
|
80
|
-
"@oclif/plugin-
|
|
81
|
-
"@
|
|
82
|
-
"@
|
|
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",
|
|
92
|
+
"@salesforce/sf-plugins-core": "1.0.5",
|
|
83
93
|
"@sf/config": "npm:@salesforce/plugin-config@2.2.11",
|
|
84
94
|
"@sf/deploy-retrieve": "npm:@salesforce/plugin-deploy-retrieve@1.0.5",
|
|
85
95
|
"@sf/drm": "npm:@salesforce/plugin-deploy-retrieve-metadata@1.0.7",
|
|
86
96
|
"@sf/env": "npm:@salesforce/plugin-env@1.0.3",
|
|
87
|
-
"@sf/functions": "npm:@salesforce/plugin-functions@1.
|
|
97
|
+
"@sf/functions": "npm:@salesforce/plugin-functions@1.4.3",
|
|
88
98
|
"@sf/gen": "npm:@salesforce/plugin-generate@1.0.5",
|
|
99
|
+
"@sf/info": "npm:@salesforce/plugin-info@1.2.0",
|
|
89
100
|
"@sf/login": "npm:@salesforce/plugin-login@1.0.6",
|
|
101
|
+
"@sf/telemetry": "npm:@salesforce/plugin-telemetry@1.4.0",
|
|
90
102
|
"tslib": "^2.3.1"
|
|
91
103
|
},
|
|
92
|
-
"pinnedDependencies": [
|
|
93
|
-
"@sf/config@sf",
|
|
94
|
-
"@sf/deploy-retrieve",
|
|
95
|
-
"@sf/drm",
|
|
96
|
-
"@sf/env",
|
|
97
|
-
"@sf/functions",
|
|
98
|
-
"@sf/gen",
|
|
99
|
-
"@sf/login",
|
|
100
|
-
"@salesforce/plugin-telemetry",
|
|
101
|
-
"@oclif/plugin-help",
|
|
102
|
-
"@oclif/plugin-not-found",
|
|
103
|
-
"@oclif/plugin-plugins",
|
|
104
|
-
"@oclif/plugin-update"
|
|
105
|
-
],
|
|
106
104
|
"resolutions": {
|
|
107
|
-
"@
|
|
108
|
-
"
|
|
109
|
-
"@oclif/command": "1.8.7"
|
|
105
|
+
"@oclif/core/**/cli-ux": "^6.0.7",
|
|
106
|
+
"oclif/**/cli-ux": "^6.0.7"
|
|
110
107
|
},
|
|
111
108
|
"repository": "salesforcecli/cli",
|
|
112
109
|
"scripts": {
|
|
113
110
|
"build": "sf-build",
|
|
114
111
|
"channel:promote": "sf-release channel:promote",
|
|
115
|
-
"clean-all": "sf-clean all",
|
|
116
112
|
"clean": "sf-clean",
|
|
113
|
+
"clean-all": "sf-clean all",
|
|
117
114
|
"compile": "sf-compile",
|
|
118
115
|
"docs": "sf-docs",
|
|
119
116
|
"format": "sf-format",
|
|
@@ -127,13 +124,16 @@
|
|
|
127
124
|
"postpack": "rm -f oclif.manifest.json",
|
|
128
125
|
"posttest": "yarn test:deprecation-policy",
|
|
129
126
|
"prepack": "sf-prepack",
|
|
130
|
-
"prepare": "yarn compile && yarn lint",
|
|
127
|
+
"prepare": "sf-install && yarn compile && yarn lint",
|
|
131
128
|
"pretarball": "sf-release cli:tarballs:prepare --types",
|
|
129
|
+
"pretest": "echo disable # sf-compile-test",
|
|
132
130
|
"promote-dist-tags": "./scripts/promote-dist-tags",
|
|
133
131
|
"promote:verify": "sf-release cli:versions:inspect --channels stable --locations archive --cli sf",
|
|
134
|
-
"
|
|
135
|
-
"test:deprecation-policy": "./bin/dev snapshot:compare",
|
|
132
|
+
"promote:verify-rc": "sf-release cli:versions:inspect --channels stable-rc --locations archive --cli sf",
|
|
136
133
|
"test": "echo disable # sf-test",
|
|
134
|
+
"test:deprecation-policy": "./bin/dev snapshot:compare",
|
|
135
|
+
"test:json-schema": "sf-release cli:schemas:compare",
|
|
136
|
+
"test:smoke-unix": "sf-release cli:tarballs:smoke --cli sf",
|
|
137
137
|
"upload:deb": "oclif upload:deb",
|
|
138
138
|
"upload:macos": "oclif upload:macos",
|
|
139
139
|
"upload:tarballs": "oclif upload:tarballs",
|
|
@@ -141,18 +141,10 @@
|
|
|
141
141
|
"version": "oclif readme"
|
|
142
142
|
},
|
|
143
143
|
"types": "dist/index.d.ts",
|
|
144
|
-
"husky": {
|
|
145
|
-
"hooks": {
|
|
146
|
-
"commit-msg": "sf-husky-commit-msg",
|
|
147
|
-
"pre-commit": "sf-husky-pre-commit",
|
|
148
|
-
"pre-push": "sf-husky-pre-push"
|
|
149
|
-
}
|
|
150
|
-
},
|
|
151
144
|
"devDependencies": {
|
|
152
|
-
"@oclif/plugin-command-snapshot": "^
|
|
153
|
-
"@
|
|
154
|
-
"@salesforce/dev-
|
|
155
|
-
"@salesforce/dev-scripts": "^0.9.18",
|
|
145
|
+
"@oclif/plugin-command-snapshot": "^3.1.2",
|
|
146
|
+
"@salesforce/dev-config": "^3.0.0",
|
|
147
|
+
"@salesforce/dev-scripts": "^2",
|
|
156
148
|
"@salesforce/plugin-release-management": "^2.7.1",
|
|
157
149
|
"@salesforce/prettier-config": "^0.0.2",
|
|
158
150
|
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
|
@@ -171,10 +163,10 @@
|
|
|
171
163
|
"eslint-plugin-jsdoc": "^35.5.1",
|
|
172
164
|
"eslint-plugin-prettier": "^3.4.1",
|
|
173
165
|
"globby": "^11.0.4",
|
|
174
|
-
"husky": "^
|
|
166
|
+
"husky": "^7.0.4",
|
|
175
167
|
"mocha": "^9.1.3",
|
|
176
168
|
"nyc": "^15.1.0",
|
|
177
|
-
"oclif": "^2.
|
|
169
|
+
"oclif": "^2.1.0",
|
|
178
170
|
"prettier": "^2.4.1",
|
|
179
171
|
"pretty-quick": "^3.1.1",
|
|
180
172
|
"sinon": "^11.1.2",
|