Skip to content

Commit fc86761

Browse files
authored
Merge pull request #2668 from salesforcecli/release/2.130.6
Release PR for 2.130.6 as nightly
2 parents 704daaa + c08e630 commit fc86761

3 files changed

Lines changed: 55 additions & 46 deletions

File tree

README.md

Lines changed: 44 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ $ npm install -g @salesforce/cli
2525
$ sf COMMAND
2626
running command...
2727
$ sf (--version|-v)
28-
@salesforce/cli/2.130.5 linux-x64 node-v22.22.1
28+
@salesforce/cli/2.130.6 linux-x64 node-v22.22.1
2929
$ sf --help [COMMAND]
3030
USAGE
3131
$ sf COMMAND
@@ -9773,7 +9773,7 @@ FLAG DESCRIPTIONS
97739773
directory.
97749774
```
97759775

9776-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.13.1/src/commands/template/generate/analytics/template.ts)_
9776+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.13.3/src/commands/template/generate/analytics/template.ts)_
97779777

97789778
## `sf template generate apex class`
97799779

@@ -9833,7 +9833,7 @@ FLAG DESCRIPTIONS
98339833
Supplied parameter values or default values are filled into a copy of the template.
98349834
```
98359835

9836-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.13.1/src/commands/template/generate/apex/class.ts)_
9836+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.13.3/src/commands/template/generate/apex/class.ts)_
98379837

98389838
## `sf template generate apex trigger`
98399839

@@ -9903,7 +9903,7 @@ FLAG DESCRIPTIONS
99039903
Supplied parameter values or default values are filled into a copy of the template.
99049904
```
99059905

9906-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.13.1/src/commands/template/generate/apex/trigger.ts)_
9906+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.13.3/src/commands/template/generate/apex/trigger.ts)_
99079907

99089908
## `sf template generate digital-experience site`
99099909

@@ -9957,7 +9957,7 @@ FLAG DESCRIPTIONS
99579957
project, defaults to the current directory.
99589958
```
99599959

9960-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.13.1/src/commands/template/generate/digital-experience/site.ts)_
9960+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.13.3/src/commands/template/generate/digital-experience/site.ts)_
99619961

99629962
## `sf template generate flexipage`
99639963

@@ -10039,7 +10039,7 @@ FLAG DESCRIPTIONS
1003910039
'Custom_Object__c'. This sets the `sobjectType` field in the FlexiPage metadata.
1004010040
```
1004110041

10042-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.13.1/src/commands/template/generate/flexipage/index.ts)_
10042+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.13.3/src/commands/template/generate/flexipage/index.ts)_
1004310043

1004410044
## `sf template generate lightning app`
1004510045

@@ -10095,7 +10095,7 @@ FLAG DESCRIPTIONS
1009510095
Supplied parameter values or default values are filled into a copy of the template.
1009610096
```
1009710097

10098-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.13.1/src/commands/template/generate/lightning/app.ts)_
10098+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.13.3/src/commands/template/generate/lightning/app.ts)_
1009910099

1010010100
## `sf template generate lightning component`
1010110101

@@ -10165,7 +10165,7 @@ FLAG DESCRIPTIONS
1016510165
Supplied parameter values or default values are filled into a copy of the template.
1016610166
```
1016710167

10168-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.13.1/src/commands/template/generate/lightning/component.ts)_
10168+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.13.3/src/commands/template/generate/lightning/component.ts)_
1016910169

1017010170
## `sf template generate lightning event`
1017110171

@@ -10221,7 +10221,7 @@ FLAG DESCRIPTIONS
1022110221
Supplied parameter values or default values are filled into a copy of the template.
1022210222
```
1022310223

10224-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.13.1/src/commands/template/generate/lightning/event.ts)_
10224+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.13.3/src/commands/template/generate/lightning/event.ts)_
1022510225

1022610226
## `sf template generate lightning interface`
1022710227

@@ -10277,7 +10277,7 @@ FLAG DESCRIPTIONS
1027710277
Supplied parameter values or default values are filled into a copy of the template.
1027810278
```
1027910279

10280-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.13.1/src/commands/template/generate/lightning/interface.ts)_
10280+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.13.3/src/commands/template/generate/lightning/interface.ts)_
1028110281

1028210282
## `sf template generate lightning test`
1028310283

@@ -10333,7 +10333,7 @@ FLAG DESCRIPTIONS
1033310333
Supplied parameter values or default values are filled into a copy of the template.
1033410334
```
1033510335

10336-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.13.1/src/commands/template/generate/lightning/test.ts)_
10336+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.13.3/src/commands/template/generate/lightning/test.ts)_
1033710337

1033810338
## `sf template generate project`
1033910339

@@ -10446,7 +10446,7 @@ FLAG DESCRIPTIONS
1044610446
Override the api version used for api requests made by this command
1044710447
```
1044810448

10449-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.13.1/src/commands/template/generate/project/index.ts)_
10449+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.13.3/src/commands/template/generate/project/index.ts)_
1045010450

1045110451
## `sf template generate static-resource`
1045210452

@@ -10509,22 +10509,22 @@ FLAG DESCRIPTIONS
1050910509
etc.
1051010510
```
1051110511

10512-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.13.1/src/commands/template/generate/static-resource/index.ts)_
10512+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.13.3/src/commands/template/generate/static-resource/index.ts)_
1051310513

1051410514
## `sf template generate ui-bundle`
1051510515

10516-
Generate a UI bundle.
10516+
Generate a UI bundle, which contains the code and metadata to build a UI experience that uses non-native Salesforce frameworks, such as React.
1051710517

1051810518
```
1051910519
USAGE
1052010520
$ sf template generate ui-bundle -n <value> [--json] [--flags-dir <value>] [-t default|reactbasic] [-l <value>] [-d <value>]
1052110521
[--api-version <value>]
1052210522
1052310523
FLAGS
10524-
-d, --output-dir=<value> Directory for saving the created files.
10524+
-d, --output-dir=<value> Directory into which the files are created.
1052510525
-l, --label=<value> Master label for the UI bundle.
10526-
-n, --name=<value> (required) Name of the generated UI bundle.
10527-
-t, --template=<option> [default: default] Template to use for file creation.
10526+
-n, --name=<value> (required) API name of the generated UI bundle.
10527+
-t, --template=<option> [default: default] Template to use when creating the files for a specific UI framework.
1052810528
<options: default|reactbasic>
1052910529
--api-version=<value> Override the api version used for api requests made by this command
1053010530
@@ -10533,12 +10533,20 @@ GLOBAL FLAGS
1053310533
--json Format output as json.
1053410534
1053510535
DESCRIPTION
10536-
Generate a UI bundle.
10536+
Generate a UI bundle, which contains the code and metadata to build a UI experience that uses non-native Salesforce
10537+
frameworks, such as React.
10538+
10539+
Salesforce provides native UI frameworks, such as Lighting Web Components (LWC), to build applications that run on the
10540+
Salesforce Platform. But you can also use non-native JavaScript- or TypeScript-based UI frameworks, such as React, to
10541+
build a UI experience for the Salesforce Platform and that you can launch from the App Launcher.
10542+
10543+
These non-native UI experiences are defined by the "UIBundle" metadata type in your DX project. Use this command to
10544+
generate the required DX project structure and files. For example, when you run this command and specify the name
10545+
MyUiBundle, then the files are generated into a "uiBundles/MyUiBundle" directory. Use the --output-dir flag to specify
10546+
a different directory.
1053710547
10538-
Generates a UI bundle in the specified directory or the current working directory. The UI bundle files are created in
10539-
a folder with the designated name. UI bundle files must be contained in a parent directory called "uiBundles" in your
10540-
package directory. Either run this command from an existing directory of this name, or use the --output-dir flag to
10541-
create one or point to an existing one.
10548+
Use the --template flag for generating the files to get started with a speciic UI framework, such as React. Check out
10549+
the README.md file in the generated "uiBundles/<bundlename>" directory for more information about the template.
1054210550
1054310551
ALIASES
1054410552
$ sf ui-bundle generate
@@ -10552,42 +10560,43 @@ EXAMPLES
1055210560
1055310561
$ sf template generate ui-bundle --name MyReactApp --template reactbasic
1055410562
10555-
Generate the UI bundle in the "force-app/main/default/uiBundles" directory:
10563+
Generate the React-based UI bundle in the "force-app/main/default/uiBundles" directory:
1055610564
10557-
$ sf template generate ui-bundle --name MyUiBundle --output-dir force-app/main/default/uiBundles
10565+
$ sf template generate ui-bundle --name MyUiBundle --template reactbasic --output-dir \
10566+
force-app/main/default/uiBundles
1055810567
1055910568
FLAG DESCRIPTIONS
10560-
-d, --output-dir=<value> Directory for saving the created files.
10569+
-d, --output-dir=<value> Directory into which the files are created.
1056110570
1056210571
The location can be an absolute path or relative to the current working directory.
1056310572
10564-
**Important:** The generator automatically ensures the output directory ends with "uiBundles". If your specified
10565-
path doesn't end with "uiBundles", it's automatically appended. The UI bundle is created at "<output-dir>/<name>".
10573+
If not specified, the command reads your sfdx-project.json and defaults to "uiBundles" directory within your default
10574+
package directory. When running outside a Salesforce DX project, defaults to the current directory.
10575+
10576+
**Important:** This command automatically ensures the output directory ends with "uiBundles". If your specified path
10577+
doesn't end with "uiBundles", it's automatically appended. The UI bundle is created at "<output-dir>/<name>".
1056610578
1056710579
**Examples:**
1056810580
1056910581
- "--output-dir force-app/main/default" → Creates a UI bundle at "force-app/main/default/uiBundles/MyUiBundle/"
1057010582
- "--output-dir force-app/main/default/uiBundles" → Creates a UI bundle at
1057110583
"force-app/main/default/uiBundles/MyUiBundle/" (no change)
1057210584
10573-
If not specified, the command reads your sfdx-project.json and defaults to "uiBundles" directory within your default
10574-
package directory. When running outside a Salesforce DX project, defaults to the current directory.
10575-
1057610585
-l, --label=<value> Master label for the UI bundle.
1057710586
1057810587
If not specified, the label is derived from the name.
1057910588
10580-
-n, --name=<value> Name of the generated UI bundle.
10589+
-n, --name=<value> API name of the generated UI bundle.
1058110590
1058210591
This name can contain only underscores and alphanumeric characters, and must be unique in your org. It must begin
1058310592
with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores.
1058410593
10585-
-t, --template=default|reactbasic Template to use for file creation.
10594+
-t, --template=default|reactbasic Template to use when creating the files for a specific UI framework.
1058610595
1058710596
Supplied parameter values or default values are filled into a copy of the template.
1058810597
```
1058910598

10590-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.13.1/src/commands/template/generate/ui-bundle/index.ts)_
10599+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.13.3/src/commands/template/generate/ui-bundle/index.ts)_
1059110600

1059210601
## `sf template generate visualforce component`
1059310602

@@ -10644,7 +10653,7 @@ FLAG DESCRIPTIONS
1064410653
Supplied parameter values or default values are filled into a copy of the template.
1064510654
```
1064610655

10647-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.13.1/src/commands/template/generate/visualforce/component.ts)_
10656+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.13.3/src/commands/template/generate/visualforce/component.ts)_
1064810657

1064910658
## `sf template generate visualforce page`
1065010659

@@ -10695,7 +10704,7 @@ FLAG DESCRIPTIONS
1069510704
The name can be up to 40 characters and must start with a letter.
1069610705
```
1069710706

10698-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.13.1/src/commands/template/generate/visualforce/page.ts)_
10707+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.13.3/src/commands/template/generate/visualforce/page.ts)_
1069910708

1070010709
## `sf update [CHANNEL]`
1070110710

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@salesforce/cli",
33
"description": "The Salesforce CLI",
4-
"version": "2.130.5",
4+
"version": "2.130.6",
55
"author": "Salesforce",
66
"bin": {
77
"sf": "./bin/run.js",
@@ -173,7 +173,7 @@
173173
"@salesforce/plugin-settings": "2.4.63",
174174
"@salesforce/plugin-sobject": "1.4.93",
175175
"@salesforce/plugin-telemetry": "3.8.7",
176-
"@salesforce/plugin-templates": "56.13.1",
176+
"@salesforce/plugin-templates": "56.13.3",
177177
"@salesforce/plugin-trust": "3.7.119",
178178
"@salesforce/plugin-user": "3.8.2",
179179
"@salesforce/sf-plugins-core": "12.2.6",

yarn.lock

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2442,14 +2442,14 @@
24422442
"@salesforce/ts-types" "^2.0.12"
24432443
debug "^4.4.3"
24442444

2445-
"@salesforce/plugin-templates@56.13.1":
2446-
version "56.13.1"
2447-
resolved "https://registry.yarnpkg.com/@salesforce/plugin-templates/-/plugin-templates-56.13.1.tgz#d6b1723f18008cbe741c3b89ee52b78ce463cb0c"
2448-
integrity sha512-36kvEcg/6R11KI35PBL6xPqCWQIgHqjUuBoPaAoZk/5OPvGpxf4beWV8YwToO31Xrcx+jyeJDh1pegxTy0Rm2w==
2445+
"@salesforce/plugin-templates@56.13.3":
2446+
version "56.13.3"
2447+
resolved "https://registry.yarnpkg.com/@salesforce/plugin-templates/-/plugin-templates-56.13.3.tgz#f565851352cdafbe4c41e5b078f08bdf664315f0"
2448+
integrity sha512-qF6CXxc1Gl0i0UGpc1OxAzJgnvnGRqL+DwpNuj7TMAoPU8nsKIqzZNPUD0bLf+L7T4NPWIFWvM7lTfmxduOE8g==
24492449
dependencies:
24502450
"@salesforce/core" "^8.27.1"
24512451
"@salesforce/sf-plugins-core" "^12"
2452-
"@salesforce/templates" "^66.7.2"
2452+
"@salesforce/templates" "^66.7.4"
24532453

24542454
"@salesforce/plugin-trust@3.7.119", "@salesforce/plugin-trust@^3.7.69":
24552455
version "3.7.119"
@@ -2569,10 +2569,10 @@
25692569
o11y_schema "^260.52.0"
25702570
proxy-agent "^6.5.0"
25712571

2572-
"@salesforce/templates@^66.7.2":
2573-
version "66.7.3"
2574-
resolved "https://registry.yarnpkg.com/@salesforce/templates/-/templates-66.7.3.tgz#2be7889393a4b81744c5de6e40609888bb413741"
2575-
integrity sha512-E7VKG94RessXcbaF7IdNft5L+VY8+3DJUkI3svhQgsdoDMKLhX1hvumSLztUL6RKkjFeRt5nl+baq8MeDkI9bQ==
2572+
"@salesforce/templates@^66.7.4":
2573+
version "66.7.4"
2574+
resolved "https://registry.yarnpkg.com/@salesforce/templates/-/templates-66.7.4.tgz#bd4d69c08084535822e111dd94912a0a93e5551f"
2575+
integrity sha512-nELEovHB5ZAGQCp9Kn7WkTCslM5RvyqPZbES78hvKlidxWSWhIYamnRmjmJpsH0VVTK/Z6serEHGUwS1QurETw==
25762576
dependencies:
25772577
"@salesforce/kit" "^3.2.4"
25782578
ejs "^3.1.10"

0 commit comments

Comments
 (0)