@salesforce/cli 2.44.6 → 2.44.7
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/README.md +76 -18
- package/npm-shrinkwrap.json +6 -6
- package/oclif.lock +4 -4
- package/oclif.manifest.json +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -24,7 +24,7 @@ $ npm install -g @salesforce/cli
|
|
|
24
24
|
$ sf COMMAND
|
|
25
25
|
running command...
|
|
26
26
|
$ sf (--version|-v)
|
|
27
|
-
@salesforce/cli/2.44.
|
|
27
|
+
@salesforce/cli/2.44.7 linux-x64 node-v20.13.1
|
|
28
28
|
$ sf --help [COMMAND]
|
|
29
29
|
USAGE
|
|
30
30
|
$ sf COMMAND
|
|
@@ -148,6 +148,7 @@ See [architecture page](ARCHITECTURE.md) for diagrams of the Salesforce CLI.
|
|
|
148
148
|
- [`sf plugins update`](#sf-plugins-update)
|
|
149
149
|
- [`sf project convert mdapi`](#sf-project-convert-mdapi)
|
|
150
150
|
- [`sf project convert source`](#sf-project-convert-source)
|
|
151
|
+
- [`sf project convert source-behavior`](#sf-project-convert-source-behavior)
|
|
151
152
|
- [`sf project delete source`](#sf-project-delete-source)
|
|
152
153
|
- [`sf project delete tracking`](#sf-project-delete-tracking)
|
|
153
154
|
- [`sf project deploy cancel`](#sf-project-deploy-cancel)
|
|
@@ -5718,7 +5719,7 @@ FLAG DESCRIPTIONS
|
|
|
5718
5719
|
If you specify this parameter, don’t specify --metadata or --source-dir.
|
|
5719
5720
|
```
|
|
5720
5721
|
|
|
5721
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.
|
|
5722
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.8.0/src/commands/project/convert/mdapi.ts)_
|
|
5722
5723
|
|
|
5723
5724
|
## `sf project convert source`
|
|
5724
5725
|
|
|
@@ -5730,7 +5731,7 @@ USAGE
|
|
|
5730
5731
|
[-p <value> | -x <value> | -m <value>]
|
|
5731
5732
|
|
|
5732
5733
|
FLAGS
|
|
5733
|
-
-d, --output-dir=<value> [default:
|
|
5734
|
+
-d, --output-dir=<value> [default: metadataPackage_1716992955026] Output directory to store the Metadata
|
|
5734
5735
|
API–formatted files in.
|
|
5735
5736
|
-m, --metadata=<value>... Metadata component names to convert.
|
|
5736
5737
|
-n, --package-name=<value> Name of the package to associate with the metadata-formatted files.
|
|
@@ -5791,7 +5792,64 @@ FLAG DESCRIPTIONS
|
|
|
5791
5792
|
Override the api version used for api requests made by this command
|
|
5792
5793
|
```
|
|
5793
5794
|
|
|
5794
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.
|
|
5795
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.8.0/src/commands/project/convert/source.ts)_
|
|
5796
|
+
|
|
5797
|
+
## `sf project convert source-behavior`
|
|
5798
|
+
|
|
5799
|
+
Enable a behavior of your project source files, and then update your Salesforce DX project to implement the behavior.
|
|
5800
|
+
|
|
5801
|
+
```
|
|
5802
|
+
USAGE
|
|
5803
|
+
$ sf project convert source-behavior -b
|
|
5804
|
+
decomposeCustomLabelsBeta|decomposePermissionSetBeta|decomposeSharingRulesBeta|decomposeWorkflowBeta [--json]
|
|
5805
|
+
[--flags-dir <value>] [--dry-run] [--preserve-temp-dir] [-o <value>]
|
|
5806
|
+
|
|
5807
|
+
FLAGS
|
|
5808
|
+
-b, --behavior=<option> (required) Behavior to enable; the values correspond to the possible values of the
|
|
5809
|
+
"sourceBehaviorOption" option in the "sfdx-project.json" file.
|
|
5810
|
+
<options: decomposeCustomLabelsBeta|decomposePermissionSetBeta|decomposeSharingRulesBeta|dec
|
|
5811
|
+
omposeWorkflowBeta>
|
|
5812
|
+
-o, --target-org=<value>
|
|
5813
|
+
--dry-run Display what the command would do, but don't make any actual changes.
|
|
5814
|
+
--preserve-temp-dir Don't delete the metadata API format temporary directory that this command creates. Useful
|
|
5815
|
+
for debugging.
|
|
5816
|
+
|
|
5817
|
+
GLOBAL FLAGS
|
|
5818
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
5819
|
+
--json Format output as json.
|
|
5820
|
+
|
|
5821
|
+
DESCRIPTION
|
|
5822
|
+
Enable a behavior of your project source files, and then update your Salesforce DX project to implement the behavior.
|
|
5823
|
+
|
|
5824
|
+
Specifically, this command updates the "sourceBehaviorOption" option in the "sfdx-project.json" file and then converts
|
|
5825
|
+
the associated local source files in your project as needed.
|
|
5826
|
+
|
|
5827
|
+
For example, run this command with the "--behavior decomposePermissionSetBeta" flag to start decomposing permission
|
|
5828
|
+
sets when you deploy or retrieve them. Decomposing means breaking up the monolithic metadata API format XML file that
|
|
5829
|
+
corresponds to a metadata component into smaller XML files and directories based on its subtypes. Permission sets are
|
|
5830
|
+
not decomposed by default; you must opt-in to start decomposing them by using this command. When the command finishes,
|
|
5831
|
+
your "sfdx-project.json" file is updated to always decompose permission sets, and the existing permission set files in
|
|
5832
|
+
your local package directories are converted into the new decomposed format. You run this command only once for a
|
|
5833
|
+
given behavior change.
|
|
5834
|
+
|
|
5835
|
+
For more information about the possible values for the --behavior flag, see the "sourceBehaviorOptions" section in the
|
|
5836
|
+
https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_ws_config.htm topic.
|
|
5837
|
+
|
|
5838
|
+
EXAMPLES
|
|
5839
|
+
Update your Salesforce DX project to decompose custom labels:
|
|
5840
|
+
|
|
5841
|
+
$ sf project convert source-behavior --behavior decomposeCustomLabelsBeta
|
|
5842
|
+
|
|
5843
|
+
Display what the command would do, but don't change any existing files:
|
|
5844
|
+
|
|
5845
|
+
$ sf project convert source-behavior --behavior decomposeCustomLabelsBeta --dry-run
|
|
5846
|
+
|
|
5847
|
+
Keep the temporary directory that contains the interim metadata API formatted files:
|
|
5848
|
+
|
|
5849
|
+
$ sf project convert source-behavior --behavior decomposeCustomLabelsBeta --dry-run --preserve-temp-dir
|
|
5850
|
+
```
|
|
5851
|
+
|
|
5852
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.8.0/src/commands/project/convert/source-behavior.ts)_
|
|
5795
5853
|
|
|
5796
5854
|
## `sf project delete source`
|
|
5797
5855
|
|
|
@@ -5931,7 +5989,7 @@ FLAG DESCRIPTIONS
|
|
|
5931
5989
|
- Separate the test names with spaces: --tests Test1 Test2 "Test With Space"
|
|
5932
5990
|
```
|
|
5933
5991
|
|
|
5934
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.
|
|
5992
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.8.0/src/commands/project/delete/source.ts)_
|
|
5935
5993
|
|
|
5936
5994
|
## `sf project delete tracking`
|
|
5937
5995
|
|
|
@@ -5968,7 +6026,7 @@ EXAMPLES
|
|
|
5968
6026
|
$ sf project delete tracking --target-org my-scratch
|
|
5969
6027
|
```
|
|
5970
6028
|
|
|
5971
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.
|
|
6029
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.8.0/src/commands/project/delete/tracking.ts)_
|
|
5972
6030
|
|
|
5973
6031
|
## `sf project deploy cancel`
|
|
5974
6032
|
|
|
@@ -6044,7 +6102,7 @@ FLAG DESCRIPTIONS
|
|
|
6044
6102
|
project deploy report".
|
|
6045
6103
|
```
|
|
6046
6104
|
|
|
6047
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.
|
|
6105
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.8.0/src/commands/project/deploy/cancel.ts)_
|
|
6048
6106
|
|
|
6049
6107
|
## `sf project deploy preview`
|
|
6050
6108
|
|
|
@@ -6130,7 +6188,7 @@ FLAG DESCRIPTIONS
|
|
|
6130
6188
|
All child components are included. If you specify this flag, don’t specify --metadata or --source-dir.
|
|
6131
6189
|
```
|
|
6132
6190
|
|
|
6133
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.
|
|
6191
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.8.0/src/commands/project/deploy/preview.ts)_
|
|
6134
6192
|
|
|
6135
6193
|
## `sf project deploy quick`
|
|
6136
6194
|
|
|
@@ -6227,7 +6285,7 @@ ERROR CODES
|
|
|
6227
6285
|
Canceling (69) The deploy is being canceled.
|
|
6228
6286
|
```
|
|
6229
6287
|
|
|
6230
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.
|
|
6288
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.8.0/src/commands/project/deploy/quick.ts)_
|
|
6231
6289
|
|
|
6232
6290
|
## `sf project deploy report`
|
|
6233
6291
|
|
|
@@ -6323,7 +6381,7 @@ FLAG DESCRIPTIONS
|
|
|
6323
6381
|
--coverage-formatters lcov --coverage-formatters clover
|
|
6324
6382
|
```
|
|
6325
6383
|
|
|
6326
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.
|
|
6384
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.8.0/src/commands/project/deploy/report.ts)_
|
|
6327
6385
|
|
|
6328
6386
|
## `sf project deploy resume`
|
|
6329
6387
|
|
|
@@ -6420,7 +6478,7 @@ ERROR CODES
|
|
|
6420
6478
|
Canceling (69) The deploy is being canceled.
|
|
6421
6479
|
```
|
|
6422
6480
|
|
|
6423
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.
|
|
6481
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.8.0/src/commands/project/deploy/resume.ts)_
|
|
6424
6482
|
|
|
6425
6483
|
## `sf project deploy start`
|
|
6426
6484
|
|
|
@@ -6658,7 +6716,7 @@ ERROR CODES
|
|
|
6658
6716
|
Canceling (69) The deploy is being canceled.
|
|
6659
6717
|
```
|
|
6660
6718
|
|
|
6661
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.
|
|
6719
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.8.0/src/commands/project/deploy/start.ts)_
|
|
6662
6720
|
|
|
6663
6721
|
## `sf project deploy validate`
|
|
6664
6722
|
|
|
@@ -6850,7 +6908,7 @@ ERROR CODES
|
|
|
6850
6908
|
Canceling (69) The deploy is being canceled.
|
|
6851
6909
|
```
|
|
6852
6910
|
|
|
6853
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.
|
|
6911
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.8.0/src/commands/project/deploy/validate.ts)_
|
|
6854
6912
|
|
|
6855
6913
|
## `sf project generate`
|
|
6856
6914
|
|
|
@@ -7032,7 +7090,7 @@ EXAMPLES
|
|
|
7032
7090
|
$ sf project generate manifest --from-org test@myorg.com --include-packages unlocked
|
|
7033
7091
|
```
|
|
7034
7092
|
|
|
7035
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.
|
|
7093
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.8.0/src/commands/project/generate/manifest.ts)_
|
|
7036
7094
|
|
|
7037
7095
|
## `sf project list ignored`
|
|
7038
7096
|
|
|
@@ -7074,7 +7132,7 @@ EXAMPLES
|
|
|
7074
7132
|
$ sf project list ignored --source-dir package.xml
|
|
7075
7133
|
```
|
|
7076
7134
|
|
|
7077
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.
|
|
7135
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.8.0/src/commands/project/list/ignored.ts)_
|
|
7078
7136
|
|
|
7079
7137
|
## `sf project reset tracking`
|
|
7080
7138
|
|
|
@@ -7123,7 +7181,7 @@ EXAMPLES
|
|
|
7123
7181
|
$ sf project reset tracking --revision 30
|
|
7124
7182
|
```
|
|
7125
7183
|
|
|
7126
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.
|
|
7184
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.8.0/src/commands/project/reset/tracking.ts)_
|
|
7127
7185
|
|
|
7128
7186
|
## `sf project retrieve preview`
|
|
7129
7187
|
|
|
@@ -7180,7 +7238,7 @@ FLAG DESCRIPTIONS
|
|
|
7180
7238
|
Overrides your default org.
|
|
7181
7239
|
```
|
|
7182
7240
|
|
|
7183
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.
|
|
7241
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.8.0/src/commands/project/retrieve/preview.ts)_
|
|
7184
7242
|
|
|
7185
7243
|
## `sf project retrieve start`
|
|
7186
7244
|
|
|
@@ -7339,7 +7397,7 @@ ENVIRONMENT VARIABLES
|
|
|
7339
7397
|
SF_USE_PROGRESS_BAR Set to false to disable the progress bar when running the metadata deploy command.
|
|
7340
7398
|
```
|
|
7341
7399
|
|
|
7342
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.
|
|
7400
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.8.0/src/commands/project/retrieve/start.ts)_
|
|
7343
7401
|
|
|
7344
7402
|
## `sf schema generate field`
|
|
7345
7403
|
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/cli",
|
|
3
|
-
"version": "2.44.
|
|
3
|
+
"version": "2.44.7",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@salesforce/cli",
|
|
9
|
-
"version": "2.44.
|
|
9
|
+
"version": "2.44.7",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "BSD-3-Clause",
|
|
12
12
|
"dependencies": {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@salesforce/plugin-apex": "3.1.13",
|
|
28
28
|
"@salesforce/plugin-auth": "3.6.16",
|
|
29
29
|
"@salesforce/plugin-data": "3.4.3",
|
|
30
|
-
"@salesforce/plugin-deploy-retrieve": "3.
|
|
30
|
+
"@salesforce/plugin-deploy-retrieve": "3.8.0",
|
|
31
31
|
"@salesforce/plugin-info": "3.3.3",
|
|
32
32
|
"@salesforce/plugin-limits": "3.3.9",
|
|
33
33
|
"@salesforce/plugin-marketplace": "1.2.8",
|
|
@@ -4856,9 +4856,9 @@
|
|
|
4856
4856
|
"license": "MIT"
|
|
4857
4857
|
},
|
|
4858
4858
|
"node_modules/@salesforce/plugin-deploy-retrieve": {
|
|
4859
|
-
"version": "3.
|
|
4860
|
-
"resolved": "https://registry.npmjs.org/@salesforce/plugin-deploy-retrieve/-/plugin-deploy-retrieve-3.
|
|
4861
|
-
"integrity": "sha512-
|
|
4859
|
+
"version": "3.8.0",
|
|
4860
|
+
"resolved": "https://registry.npmjs.org/@salesforce/plugin-deploy-retrieve/-/plugin-deploy-retrieve-3.8.0.tgz",
|
|
4861
|
+
"integrity": "sha512-RSZcgXLZXJYLC9DfYSuCm/SzFpooLUzwf0wmjpLAyZZKxiE4fPHjjs1HSsznaB3m0JQF0nKTLnuCl+O0/kAThw==",
|
|
4862
4862
|
"license": "BSD-3-Clause",
|
|
4863
4863
|
"dependencies": {
|
|
4864
4864
|
"@oclif/core": "^3.26.6",
|
package/oclif.lock
CHANGED
|
@@ -2593,10 +2593,10 @@
|
|
|
2593
2593
|
csv-stringify "^6.5.0"
|
|
2594
2594
|
form-data "^4.0.0"
|
|
2595
2595
|
|
|
2596
|
-
"@salesforce/plugin-deploy-retrieve@3.
|
|
2597
|
-
version "3.
|
|
2598
|
-
resolved "https://registry.npmjs.org/@salesforce/plugin-deploy-retrieve/-/plugin-deploy-retrieve-3.
|
|
2599
|
-
integrity sha512-
|
|
2596
|
+
"@salesforce/plugin-deploy-retrieve@3.8.0":
|
|
2597
|
+
version "3.8.0"
|
|
2598
|
+
resolved "https://registry.npmjs.org/@salesforce/plugin-deploy-retrieve/-/plugin-deploy-retrieve-3.8.0.tgz"
|
|
2599
|
+
integrity sha512-RSZcgXLZXJYLC9DfYSuCm/SzFpooLUzwf0wmjpLAyZZKxiE4fPHjjs1HSsznaB3m0JQF0nKTLnuCl+O0/kAThw==
|
|
2600
2600
|
dependencies:
|
|
2601
2601
|
"@oclif/core" "^3.26.6"
|
|
2602
2602
|
"@salesforce/apex-node" "^6.0.0"
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/cli",
|
|
3
3
|
"description": "The Salesforce CLI",
|
|
4
|
-
"version": "2.44.
|
|
4
|
+
"version": "2.44.7",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bin": {
|
|
7
7
|
"sf": "./bin/run.js",
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
"@salesforce/plugin-apex": "3.1.13",
|
|
156
156
|
"@salesforce/plugin-auth": "3.6.16",
|
|
157
157
|
"@salesforce/plugin-data": "3.4.3",
|
|
158
|
-
"@salesforce/plugin-deploy-retrieve": "3.
|
|
158
|
+
"@salesforce/plugin-deploy-retrieve": "3.8.0",
|
|
159
159
|
"@salesforce/plugin-info": "3.3.3",
|
|
160
160
|
"@salesforce/plugin-limits": "3.3.9",
|
|
161
161
|
"@salesforce/plugin-marketplace": "1.2.8",
|