@salesforce/cli 2.122.1 → 2.122.2
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 +13 -13
- package/dist/hooks/preparse.js +5 -3
- 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
|
@@ -25,7 +25,7 @@ $ npm install -g @salesforce/cli
|
|
|
25
25
|
$ sf COMMAND
|
|
26
26
|
running command...
|
|
27
27
|
$ sf (--version|-v)
|
|
28
|
-
@salesforce/cli/2.122.
|
|
28
|
+
@salesforce/cli/2.122.2 linux-x64 node-v22.22.0
|
|
29
29
|
$ sf --help [COMMAND]
|
|
30
30
|
USAGE
|
|
31
31
|
$ sf COMMAND
|
|
@@ -1268,7 +1268,7 @@ FLAG DESCRIPTIONS
|
|
|
1268
1268
|
directory.
|
|
1269
1269
|
```
|
|
1270
1270
|
|
|
1271
|
-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.4.
|
|
1271
|
+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.4.7/src/commands/analytics/generate/template.ts)_
|
|
1272
1272
|
|
|
1273
1273
|
## `sf apex generate class`
|
|
1274
1274
|
|
|
@@ -1327,7 +1327,7 @@ FLAG DESCRIPTIONS
|
|
|
1327
1327
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
1328
1328
|
```
|
|
1329
1329
|
|
|
1330
|
-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.4.
|
|
1330
|
+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.4.7/src/commands/apex/generate/class.ts)_
|
|
1331
1331
|
|
|
1332
1332
|
## `sf apex generate trigger`
|
|
1333
1333
|
|
|
@@ -1396,7 +1396,7 @@ FLAG DESCRIPTIONS
|
|
|
1396
1396
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
1397
1397
|
```
|
|
1398
1398
|
|
|
1399
|
-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.4.
|
|
1399
|
+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.4.7/src/commands/apex/generate/trigger.ts)_
|
|
1400
1400
|
|
|
1401
1401
|
## `sf apex get log`
|
|
1402
1402
|
|
|
@@ -3606,7 +3606,7 @@ FLAG DESCRIPTIONS
|
|
|
3606
3606
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
3607
3607
|
```
|
|
3608
3608
|
|
|
3609
|
-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.4.
|
|
3609
|
+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.4.7/src/commands/lightning/generate/app.ts)_
|
|
3610
3610
|
|
|
3611
3611
|
## `sf lightning generate component`
|
|
3612
3612
|
|
|
@@ -3675,7 +3675,7 @@ FLAG DESCRIPTIONS
|
|
|
3675
3675
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
3676
3676
|
```
|
|
3677
3677
|
|
|
3678
|
-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.4.
|
|
3678
|
+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.4.7/src/commands/lightning/generate/component.ts)_
|
|
3679
3679
|
|
|
3680
3680
|
## `sf lightning generate event`
|
|
3681
3681
|
|
|
@@ -3730,7 +3730,7 @@ FLAG DESCRIPTIONS
|
|
|
3730
3730
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
3731
3731
|
```
|
|
3732
3732
|
|
|
3733
|
-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.4.
|
|
3733
|
+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.4.7/src/commands/lightning/generate/event.ts)_
|
|
3734
3734
|
|
|
3735
3735
|
## `sf lightning generate interface`
|
|
3736
3736
|
|
|
@@ -3785,7 +3785,7 @@ FLAG DESCRIPTIONS
|
|
|
3785
3785
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
3786
3786
|
```
|
|
3787
3787
|
|
|
3788
|
-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.4.
|
|
3788
|
+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.4.7/src/commands/lightning/generate/interface.ts)_
|
|
3789
3789
|
|
|
3790
3790
|
## `sf lightning generate test`
|
|
3791
3791
|
|
|
@@ -3840,7 +3840,7 @@ FLAG DESCRIPTIONS
|
|
|
3840
3840
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
3841
3841
|
```
|
|
3842
3842
|
|
|
3843
|
-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.4.
|
|
3843
|
+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.4.7/src/commands/lightning/generate/test.ts)_
|
|
3844
3844
|
|
|
3845
3845
|
## `sf logic get test`
|
|
3846
3846
|
|
|
@@ -9247,7 +9247,7 @@ FLAG DESCRIPTIONS
|
|
|
9247
9247
|
Override the api version used for api requests made by this command
|
|
9248
9248
|
```
|
|
9249
9249
|
|
|
9250
|
-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.4.
|
|
9250
|
+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.4.7/src/commands/project/generate.ts)_
|
|
9251
9251
|
|
|
9252
9252
|
## `sf project generate manifest`
|
|
9253
9253
|
|
|
@@ -10024,7 +10024,7 @@ FLAG DESCRIPTIONS
|
|
|
10024
10024
|
etc.
|
|
10025
10025
|
```
|
|
10026
10026
|
|
|
10027
|
-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.4.
|
|
10027
|
+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.4.7/src/commands/static-resource/generate.ts)_
|
|
10028
10028
|
|
|
10029
10029
|
## `sf update [CHANNEL]`
|
|
10030
10030
|
|
|
@@ -10138,7 +10138,7 @@ FLAG DESCRIPTIONS
|
|
|
10138
10138
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
10139
10139
|
```
|
|
10140
10140
|
|
|
10141
|
-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.4.
|
|
10141
|
+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.4.7/src/commands/visualforce/generate/component.ts)_
|
|
10142
10142
|
|
|
10143
10143
|
## `sf visualforce generate page`
|
|
10144
10144
|
|
|
@@ -10188,7 +10188,7 @@ FLAG DESCRIPTIONS
|
|
|
10188
10188
|
The name can be up to 40 characters and must start with a letter.
|
|
10189
10189
|
```
|
|
10190
10190
|
|
|
10191
|
-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.4.
|
|
10191
|
+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.4.7/src/commands/visualforce/generate/page.ts)_
|
|
10192
10192
|
|
|
10193
10193
|
## `sf which`
|
|
10194
10194
|
|
package/dist/hooks/preparse.js
CHANGED
|
@@ -27,10 +27,12 @@ const hook = async function ({ argv, options, context }) {
|
|
|
27
27
|
// don't ignore if flag can take multiple values
|
|
28
28
|
(flagOptions.type === 'option' && flagOptions.multiple !== true) || flagOptions.type === 'boolean')
|
|
29
29
|
.filter(([flagName, flagOptions]) =>
|
|
30
|
-
//
|
|
31
|
-
|
|
30
|
+
// Using || instead of ?? is intentional here: argv.includes() returns false (not null/undefined)
|
|
31
|
+
// when the flag isn't found, and we need false to trigger evaluation of subsequent conditions.
|
|
32
|
+
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
|
|
33
|
+
(flagOptions.char && argv.includes(`-${flagOptions.char}`)) ||
|
|
32
34
|
// ignore if long flag is present
|
|
33
|
-
argv.includes(`--${flagName}`)
|
|
35
|
+
argv.includes(`--${flagName}`) ||
|
|
34
36
|
// ignore if --no- flag is present
|
|
35
37
|
(flagOptions.type === 'boolean' && flagOptions.allowNo && argv.includes(`--no-${flagName}`)))
|
|
36
38
|
.flatMap(([flagName, flagOptions]) => {
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/cli",
|
|
3
|
-
"version": "2.122.
|
|
3
|
+
"version": "2.122.2",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@salesforce/cli",
|
|
9
|
-
"version": "2.122.
|
|
9
|
+
"version": "2.122.2",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"dependencies": {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@salesforce/plugin-settings": "2.4.54",
|
|
40
40
|
"@salesforce/plugin-sobject": "1.4.81",
|
|
41
41
|
"@salesforce/plugin-telemetry": "3.6.71",
|
|
42
|
-
"@salesforce/plugin-templates": "56.4.
|
|
42
|
+
"@salesforce/plugin-templates": "56.4.7",
|
|
43
43
|
"@salesforce/plugin-trust": "3.7.113",
|
|
44
44
|
"@salesforce/plugin-user": "3.6.48",
|
|
45
45
|
"@salesforce/sf-plugins-core": "12.2.6",
|
|
@@ -7309,9 +7309,9 @@
|
|
|
7309
7309
|
}
|
|
7310
7310
|
},
|
|
7311
7311
|
"node_modules/@salesforce/plugin-templates": {
|
|
7312
|
-
"version": "56.4.
|
|
7313
|
-
"resolved": "https://registry.npmjs.org/@salesforce/plugin-templates/-/plugin-templates-56.4.
|
|
7314
|
-
"integrity": "sha512-
|
|
7312
|
+
"version": "56.4.7",
|
|
7313
|
+
"resolved": "https://registry.npmjs.org/@salesforce/plugin-templates/-/plugin-templates-56.4.7.tgz",
|
|
7314
|
+
"integrity": "sha512-HHFydBGkHCo/0m0Qp1eUTrxQSCE4eQ4PgqkWcog+nQmHHdATdd8m1So2NHG8bjNKXLWYobjuMEXzLcmiw+MlJw==",
|
|
7315
7315
|
"license": "Apache-2.0",
|
|
7316
7316
|
"dependencies": {
|
|
7317
7317
|
"@salesforce/core": "^8.25.0",
|
package/oclif.lock
CHANGED
|
@@ -2879,10 +2879,10 @@
|
|
|
2879
2879
|
"@salesforce/ts-types" "^2.0.11"
|
|
2880
2880
|
debug "^4.4.3"
|
|
2881
2881
|
|
|
2882
|
-
"@salesforce/plugin-templates@56.4.
|
|
2883
|
-
version "56.4.
|
|
2884
|
-
resolved "https://registry.npmjs.org/@salesforce/plugin-templates/-/plugin-templates-56.4.
|
|
2885
|
-
integrity sha512-
|
|
2882
|
+
"@salesforce/plugin-templates@56.4.7":
|
|
2883
|
+
version "56.4.7"
|
|
2884
|
+
resolved "https://registry.npmjs.org/@salesforce/plugin-templates/-/plugin-templates-56.4.7.tgz"
|
|
2885
|
+
integrity sha512-HHFydBGkHCo/0m0Qp1eUTrxQSCE4eQ4PgqkWcog+nQmHHdATdd8m1So2NHG8bjNKXLWYobjuMEXzLcmiw+MlJw==
|
|
2886
2886
|
dependencies:
|
|
2887
2887
|
"@salesforce/core" "^8.25.0"
|
|
2888
2888
|
"@salesforce/sf-plugins-core" "^12"
|
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.122.
|
|
4
|
+
"version": "2.122.2",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bin": {
|
|
7
7
|
"sf": "./bin/run.js",
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
"@salesforce/plugin-settings": "2.4.54",
|
|
173
173
|
"@salesforce/plugin-sobject": "1.4.81",
|
|
174
174
|
"@salesforce/plugin-telemetry": "3.6.71",
|
|
175
|
-
"@salesforce/plugin-templates": "56.4.
|
|
175
|
+
"@salesforce/plugin-templates": "56.4.7",
|
|
176
176
|
"@salesforce/plugin-trust": "3.7.113",
|
|
177
177
|
"@salesforce/plugin-user": "3.6.48",
|
|
178
178
|
"@salesforce/sf-plugins-core": "12.2.6",
|