@salesforce/plugin-templates 56.8.0 → 56.8.1
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 +14 -14
- package/messages/webApplication.md +9 -1
- package/oclif.manifest.json +2 -2
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -175,7 +175,7 @@ FLAG DESCRIPTIONS
|
|
|
175
175
|
directory.
|
|
176
176
|
```
|
|
177
177
|
|
|
178
|
-
_See code: [src/commands/template/generate/analytics/template.ts](https://github.com/salesforcecli/plugin-templates/blob/56.8.
|
|
178
|
+
_See code: [src/commands/template/generate/analytics/template.ts](https://github.com/salesforcecli/plugin-templates/blob/56.8.1/src/commands/template/generate/analytics/template.ts)_
|
|
179
179
|
|
|
180
180
|
## `sf template generate apex class`
|
|
181
181
|
|
|
@@ -235,7 +235,7 @@ FLAG DESCRIPTIONS
|
|
|
235
235
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
236
236
|
```
|
|
237
237
|
|
|
238
|
-
_See code: [src/commands/template/generate/apex/class.ts](https://github.com/salesforcecli/plugin-templates/blob/56.8.
|
|
238
|
+
_See code: [src/commands/template/generate/apex/class.ts](https://github.com/salesforcecli/plugin-templates/blob/56.8.1/src/commands/template/generate/apex/class.ts)_
|
|
239
239
|
|
|
240
240
|
## `sf template generate apex trigger`
|
|
241
241
|
|
|
@@ -305,7 +305,7 @@ FLAG DESCRIPTIONS
|
|
|
305
305
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
306
306
|
```
|
|
307
307
|
|
|
308
|
-
_See code: [src/commands/template/generate/apex/trigger.ts](https://github.com/salesforcecli/plugin-templates/blob/56.8.
|
|
308
|
+
_See code: [src/commands/template/generate/apex/trigger.ts](https://github.com/salesforcecli/plugin-templates/blob/56.8.1/src/commands/template/generate/apex/trigger.ts)_
|
|
309
309
|
|
|
310
310
|
## `sf template generate digital-experience site`
|
|
311
311
|
|
|
@@ -355,7 +355,7 @@ FLAG DESCRIPTIONS
|
|
|
355
355
|
project, defaults to the current directory.
|
|
356
356
|
```
|
|
357
357
|
|
|
358
|
-
_See code: [src/commands/template/generate/digital-experience/site.ts](https://github.com/salesforcecli/plugin-templates/blob/56.8.
|
|
358
|
+
_See code: [src/commands/template/generate/digital-experience/site.ts](https://github.com/salesforcecli/plugin-templates/blob/56.8.1/src/commands/template/generate/digital-experience/site.ts)_
|
|
359
359
|
|
|
360
360
|
## `sf template generate flexipage`
|
|
361
361
|
|
|
@@ -437,7 +437,7 @@ FLAG DESCRIPTIONS
|
|
|
437
437
|
'Custom_Object__c'. This sets the `sobjectType` field in the FlexiPage metadata.
|
|
438
438
|
```
|
|
439
439
|
|
|
440
|
-
_See code: [src/commands/template/generate/flexipage/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.8.
|
|
440
|
+
_See code: [src/commands/template/generate/flexipage/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.8.1/src/commands/template/generate/flexipage/index.ts)_
|
|
441
441
|
|
|
442
442
|
## `sf template generate lightning app`
|
|
443
443
|
|
|
@@ -493,7 +493,7 @@ FLAG DESCRIPTIONS
|
|
|
493
493
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
494
494
|
```
|
|
495
495
|
|
|
496
|
-
_See code: [src/commands/template/generate/lightning/app.ts](https://github.com/salesforcecli/plugin-templates/blob/56.8.
|
|
496
|
+
_See code: [src/commands/template/generate/lightning/app.ts](https://github.com/salesforcecli/plugin-templates/blob/56.8.1/src/commands/template/generate/lightning/app.ts)_
|
|
497
497
|
|
|
498
498
|
## `sf template generate lightning component`
|
|
499
499
|
|
|
@@ -563,7 +563,7 @@ FLAG DESCRIPTIONS
|
|
|
563
563
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
564
564
|
```
|
|
565
565
|
|
|
566
|
-
_See code: [src/commands/template/generate/lightning/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.8.
|
|
566
|
+
_See code: [src/commands/template/generate/lightning/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.8.1/src/commands/template/generate/lightning/component.ts)_
|
|
567
567
|
|
|
568
568
|
## `sf template generate lightning event`
|
|
569
569
|
|
|
@@ -619,7 +619,7 @@ FLAG DESCRIPTIONS
|
|
|
619
619
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
620
620
|
```
|
|
621
621
|
|
|
622
|
-
_See code: [src/commands/template/generate/lightning/event.ts](https://github.com/salesforcecli/plugin-templates/blob/56.8.
|
|
622
|
+
_See code: [src/commands/template/generate/lightning/event.ts](https://github.com/salesforcecli/plugin-templates/blob/56.8.1/src/commands/template/generate/lightning/event.ts)_
|
|
623
623
|
|
|
624
624
|
## `sf template generate lightning interface`
|
|
625
625
|
|
|
@@ -675,7 +675,7 @@ FLAG DESCRIPTIONS
|
|
|
675
675
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
676
676
|
```
|
|
677
677
|
|
|
678
|
-
_See code: [src/commands/template/generate/lightning/interface.ts](https://github.com/salesforcecli/plugin-templates/blob/56.8.
|
|
678
|
+
_See code: [src/commands/template/generate/lightning/interface.ts](https://github.com/salesforcecli/plugin-templates/blob/56.8.1/src/commands/template/generate/lightning/interface.ts)_
|
|
679
679
|
|
|
680
680
|
## `sf template generate lightning test`
|
|
681
681
|
|
|
@@ -731,7 +731,7 @@ FLAG DESCRIPTIONS
|
|
|
731
731
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
732
732
|
```
|
|
733
733
|
|
|
734
|
-
_See code: [src/commands/template/generate/lightning/test.ts](https://github.com/salesforcecli/plugin-templates/blob/56.8.
|
|
734
|
+
_See code: [src/commands/template/generate/lightning/test.ts](https://github.com/salesforcecli/plugin-templates/blob/56.8.1/src/commands/template/generate/lightning/test.ts)_
|
|
735
735
|
|
|
736
736
|
## `sf template generate project`
|
|
737
737
|
|
|
@@ -837,7 +837,7 @@ FLAG DESCRIPTIONS
|
|
|
837
837
|
Override the api version used for api requests made by this command
|
|
838
838
|
```
|
|
839
839
|
|
|
840
|
-
_See code: [src/commands/template/generate/project/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.8.
|
|
840
|
+
_See code: [src/commands/template/generate/project/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.8.1/src/commands/template/generate/project/index.ts)_
|
|
841
841
|
|
|
842
842
|
## `sf template generate static-resource`
|
|
843
843
|
|
|
@@ -900,7 +900,7 @@ FLAG DESCRIPTIONS
|
|
|
900
900
|
etc.
|
|
901
901
|
```
|
|
902
902
|
|
|
903
|
-
_See code: [src/commands/template/generate/static-resource/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.8.
|
|
903
|
+
_See code: [src/commands/template/generate/static-resource/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.8.1/src/commands/template/generate/static-resource/index.ts)_
|
|
904
904
|
|
|
905
905
|
## `sf template generate visualforce component`
|
|
906
906
|
|
|
@@ -957,7 +957,7 @@ FLAG DESCRIPTIONS
|
|
|
957
957
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
958
958
|
```
|
|
959
959
|
|
|
960
|
-
_See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.8.
|
|
960
|
+
_See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.8.1/src/commands/template/generate/visualforce/component.ts)_
|
|
961
961
|
|
|
962
962
|
## `sf template generate visualforce page`
|
|
963
963
|
|
|
@@ -1008,6 +1008,6 @@ FLAG DESCRIPTIONS
|
|
|
1008
1008
|
The name can be up to 40 characters and must start with a letter.
|
|
1009
1009
|
```
|
|
1010
1010
|
|
|
1011
|
-
_See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/56.8.
|
|
1011
|
+
_See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/56.8.1/src/commands/template/generate/visualforce/page.ts)_
|
|
1012
1012
|
|
|
1013
1013
|
<!-- commandsstop -->
|
|
@@ -50,4 +50,12 @@ Directory for saving the created files.
|
|
|
50
50
|
|
|
51
51
|
# flags.output-dir.description
|
|
52
52
|
|
|
53
|
-
The location can be an absolute path or relative to the current working directory.
|
|
53
|
+
The location can be an absolute path or relative to the current working directory.
|
|
54
|
+
|
|
55
|
+
**Important:** The generator automatically ensures the output directory ends with "webapplications". If your specified path doesn't end with "webapplications", it's automatically appended. The web application is created at "<output-dir>/<webappname>".
|
|
56
|
+
|
|
57
|
+
**Examples:**
|
|
58
|
+
- "--output-dir force-app/main/default" → Creates a web application at "force-app/main/default/webapplications/MyWebApp/"
|
|
59
|
+
- "--output-dir force-app/main/default/webapplications" → Creates a web application at "force-app/main/default/webapplications/MyWebApp/" (no change)
|
|
60
|
+
|
|
61
|
+
If not specified, the command reads your sfdx-project.json and defaults to "webapplications" directory within your default package directory. When running outside a Salesforce DX project, defaults to the current directory.
|
package/oclif.manifest.json
CHANGED
|
@@ -2457,7 +2457,7 @@
|
|
|
2457
2457
|
},
|
|
2458
2458
|
"output-dir": {
|
|
2459
2459
|
"char": "d",
|
|
2460
|
-
"description": "The location can be an absolute path or relative to the current working directory. If not specified, the command reads your sfdx-project.json and defaults to
|
|
2460
|
+
"description": "The location can be an absolute path or relative to the current working directory. \n\n**Important:** The generator automatically ensures the output directory ends with \"webapplications\". If your specified path doesn't end with \"webapplications\", it's automatically appended. The web application is created at \"<output-dir>/<webappname>\".\n\n**Examples:**\n- \"--output-dir force-app/main/default\" → Creates a web application at \"force-app/main/default/webapplications/MyWebApp/\"\n- \"--output-dir force-app/main/default/webapplications\" → Creates a web application at \"force-app/main/default/webapplications/MyWebApp/\" (no change)\n\nIf not specified, the command reads your sfdx-project.json and defaults to \"webapplications\" directory within your default package directory. When running outside a Salesforce DX project, defaults to the current directory.",
|
|
2461
2461
|
"name": "output-dir",
|
|
2462
2462
|
"summary": "Directory for saving the created files.",
|
|
2463
2463
|
"hasDynamicHelp": false,
|
|
@@ -2505,5 +2505,5 @@
|
|
|
2505
2505
|
]
|
|
2506
2506
|
}
|
|
2507
2507
|
},
|
|
2508
|
-
"version": "56.8.
|
|
2508
|
+
"version": "56.8.1"
|
|
2509
2509
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-templates",
|
|
3
3
|
"description": "Commands to create metadata from a default or custom template",
|
|
4
|
-
"version": "56.8.
|
|
4
|
+
"version": "56.8.1",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/salesforcecli/plugin-templates/issues",
|
|
7
7
|
"enableO11y": true,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@salesforce/core": "^8.25.1",
|
|
11
11
|
"@salesforce/sf-plugins-core": "^12",
|
|
12
|
-
"@salesforce/templates": "^65.5.
|
|
12
|
+
"@salesforce/templates": "^65.5.9"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"@oclif/plugin-command-snapshot": "^5.3.8",
|
|
@@ -249,7 +249,7 @@
|
|
|
249
249
|
"exports": "./lib/index.js",
|
|
250
250
|
"type": "module",
|
|
251
251
|
"sfdx": {
|
|
252
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.8.
|
|
253
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.8.
|
|
252
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.8.1.crt",
|
|
253
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.8.1.sig"
|
|
254
254
|
}
|
|
255
255
|
}
|