@salesforce/plugin-templates 56.13.2 → 56.13.4
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
CHANGED
|
@@ -177,7 +177,7 @@ FLAG DESCRIPTIONS
|
|
|
177
177
|
directory.
|
|
178
178
|
```
|
|
179
179
|
|
|
180
|
-
_See code: [src/commands/template/generate/analytics/template.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.
|
|
180
|
+
_See code: [src/commands/template/generate/analytics/template.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.4/src/commands/template/generate/analytics/template.ts)_
|
|
181
181
|
|
|
182
182
|
## `sf template generate apex class`
|
|
183
183
|
|
|
@@ -237,7 +237,7 @@ FLAG DESCRIPTIONS
|
|
|
237
237
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
238
238
|
```
|
|
239
239
|
|
|
240
|
-
_See code: [src/commands/template/generate/apex/class.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.
|
|
240
|
+
_See code: [src/commands/template/generate/apex/class.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.4/src/commands/template/generate/apex/class.ts)_
|
|
241
241
|
|
|
242
242
|
## `sf template generate apex trigger`
|
|
243
243
|
|
|
@@ -307,7 +307,7 @@ FLAG DESCRIPTIONS
|
|
|
307
307
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
308
308
|
```
|
|
309
309
|
|
|
310
|
-
_See code: [src/commands/template/generate/apex/trigger.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.
|
|
310
|
+
_See code: [src/commands/template/generate/apex/trigger.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.4/src/commands/template/generate/apex/trigger.ts)_
|
|
311
311
|
|
|
312
312
|
## `sf template generate digital-experience site`
|
|
313
313
|
|
|
@@ -361,7 +361,7 @@ FLAG DESCRIPTIONS
|
|
|
361
361
|
project, defaults to the current directory.
|
|
362
362
|
```
|
|
363
363
|
|
|
364
|
-
_See code: [src/commands/template/generate/digital-experience/site.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.
|
|
364
|
+
_See code: [src/commands/template/generate/digital-experience/site.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.4/src/commands/template/generate/digital-experience/site.ts)_
|
|
365
365
|
|
|
366
366
|
## `sf template generate flexipage`
|
|
367
367
|
|
|
@@ -443,7 +443,7 @@ FLAG DESCRIPTIONS
|
|
|
443
443
|
'Custom_Object__c'. This sets the `sobjectType` field in the FlexiPage metadata.
|
|
444
444
|
```
|
|
445
445
|
|
|
446
|
-
_See code: [src/commands/template/generate/flexipage/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.
|
|
446
|
+
_See code: [src/commands/template/generate/flexipage/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.4/src/commands/template/generate/flexipage/index.ts)_
|
|
447
447
|
|
|
448
448
|
## `sf template generate lightning app`
|
|
449
449
|
|
|
@@ -499,7 +499,7 @@ FLAG DESCRIPTIONS
|
|
|
499
499
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
500
500
|
```
|
|
501
501
|
|
|
502
|
-
_See code: [src/commands/template/generate/lightning/app.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.
|
|
502
|
+
_See code: [src/commands/template/generate/lightning/app.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.4/src/commands/template/generate/lightning/app.ts)_
|
|
503
503
|
|
|
504
504
|
## `sf template generate lightning component`
|
|
505
505
|
|
|
@@ -569,7 +569,7 @@ FLAG DESCRIPTIONS
|
|
|
569
569
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
570
570
|
```
|
|
571
571
|
|
|
572
|
-
_See code: [src/commands/template/generate/lightning/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.
|
|
572
|
+
_See code: [src/commands/template/generate/lightning/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.4/src/commands/template/generate/lightning/component.ts)_
|
|
573
573
|
|
|
574
574
|
## `sf template generate lightning event`
|
|
575
575
|
|
|
@@ -625,7 +625,7 @@ FLAG DESCRIPTIONS
|
|
|
625
625
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
626
626
|
```
|
|
627
627
|
|
|
628
|
-
_See code: [src/commands/template/generate/lightning/event.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.
|
|
628
|
+
_See code: [src/commands/template/generate/lightning/event.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.4/src/commands/template/generate/lightning/event.ts)_
|
|
629
629
|
|
|
630
630
|
## `sf template generate lightning interface`
|
|
631
631
|
|
|
@@ -681,7 +681,7 @@ FLAG DESCRIPTIONS
|
|
|
681
681
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
682
682
|
```
|
|
683
683
|
|
|
684
|
-
_See code: [src/commands/template/generate/lightning/interface.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.
|
|
684
|
+
_See code: [src/commands/template/generate/lightning/interface.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.4/src/commands/template/generate/lightning/interface.ts)_
|
|
685
685
|
|
|
686
686
|
## `sf template generate lightning test`
|
|
687
687
|
|
|
@@ -737,7 +737,7 @@ FLAG DESCRIPTIONS
|
|
|
737
737
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
738
738
|
```
|
|
739
739
|
|
|
740
|
-
_See code: [src/commands/template/generate/lightning/test.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.
|
|
740
|
+
_See code: [src/commands/template/generate/lightning/test.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.4/src/commands/template/generate/lightning/test.ts)_
|
|
741
741
|
|
|
742
742
|
## `sf template generate project`
|
|
743
743
|
|
|
@@ -850,7 +850,7 @@ FLAG DESCRIPTIONS
|
|
|
850
850
|
Override the api version used for api requests made by this command
|
|
851
851
|
```
|
|
852
852
|
|
|
853
|
-
_See code: [src/commands/template/generate/project/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.
|
|
853
|
+
_See code: [src/commands/template/generate/project/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.4/src/commands/template/generate/project/index.ts)_
|
|
854
854
|
|
|
855
855
|
## `sf template generate static-resource`
|
|
856
856
|
|
|
@@ -913,7 +913,7 @@ FLAG DESCRIPTIONS
|
|
|
913
913
|
etc.
|
|
914
914
|
```
|
|
915
915
|
|
|
916
|
-
_See code: [src/commands/template/generate/static-resource/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.
|
|
916
|
+
_See code: [src/commands/template/generate/static-resource/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.4/src/commands/template/generate/static-resource/index.ts)_
|
|
917
917
|
|
|
918
918
|
## `sf template generate ui-bundle`
|
|
919
919
|
|
|
@@ -952,9 +952,6 @@ DESCRIPTION
|
|
|
952
952
|
Use the --template flag for generating the files to get started with a speciic UI framework, such as React. Check out
|
|
953
953
|
the README.md file in the generated "uiBundles/<bundlename>" directory for more information about the template.
|
|
954
954
|
|
|
955
|
-
ALIASES
|
|
956
|
-
$ sf ui-bundle generate
|
|
957
|
-
|
|
958
955
|
EXAMPLES
|
|
959
956
|
Generate a UI bundle called MyUiBundle in the current directory:
|
|
960
957
|
|
|
@@ -1000,7 +997,7 @@ FLAG DESCRIPTIONS
|
|
|
1000
997
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
1001
998
|
```
|
|
1002
999
|
|
|
1003
|
-
_See code: [src/commands/template/generate/ui-bundle/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.
|
|
1000
|
+
_See code: [src/commands/template/generate/ui-bundle/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.4/src/commands/template/generate/ui-bundle/index.ts)_
|
|
1004
1001
|
|
|
1005
1002
|
## `sf template generate visualforce component`
|
|
1006
1003
|
|
|
@@ -1057,7 +1054,7 @@ FLAG DESCRIPTIONS
|
|
|
1057
1054
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
1058
1055
|
```
|
|
1059
1056
|
|
|
1060
|
-
_See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.
|
|
1057
|
+
_See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.4/src/commands/template/generate/visualforce/component.ts)_
|
|
1061
1058
|
|
|
1062
1059
|
## `sf template generate visualforce page`
|
|
1063
1060
|
|
|
@@ -1108,6 +1105,6 @@ FLAG DESCRIPTIONS
|
|
|
1108
1105
|
The name can be up to 40 characters and must start with a letter.
|
|
1109
1106
|
```
|
|
1110
1107
|
|
|
1111
|
-
_See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.
|
|
1108
|
+
_See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.4/src/commands/template/generate/visualforce/page.ts)_
|
|
1112
1109
|
|
|
1113
1110
|
<!-- commandsstop -->
|
|
@@ -5,7 +5,6 @@ export default class UiBundleGenerate extends SfCommand<CreateOutput> {
|
|
|
5
5
|
static readonly summary: string;
|
|
6
6
|
static readonly description: string;
|
|
7
7
|
static readonly examples: string[];
|
|
8
|
-
static readonly aliases: string[];
|
|
9
8
|
static readonly flags: {
|
|
10
9
|
name: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
11
10
|
template: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
@@ -16,7 +16,6 @@ export default class UiBundleGenerate extends SfCommand {
|
|
|
16
16
|
static summary = messages.getMessage('summary');
|
|
17
17
|
static description = messages.getMessage('description');
|
|
18
18
|
static examples = messages.getMessages('examples');
|
|
19
|
-
static aliases = ['ui-bundle:generate'];
|
|
20
19
|
static flags = {
|
|
21
20
|
name: Flags.string({
|
|
22
21
|
char: 'n',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/commands/template/generate/ui-bundle/index.ts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BAAgB,CAAC;SACrD,CAAC,CAAC;IACL,CAAC"}
|
package/oclif.manifest.json
CHANGED
|
@@ -375,134 +375,6 @@
|
|
|
375
375
|
"trigger:apex:generate:template"
|
|
376
376
|
]
|
|
377
377
|
},
|
|
378
|
-
"template:generate:digital-experience:site": {
|
|
379
|
-
"aliases": [],
|
|
380
|
-
"args": {},
|
|
381
|
-
"description": "Creates the metadata of an Experience Cloud site with the specified template, name, and URL path prefix. The output includes all the necessary metadata files, including DigitalExperienceConfig, DigitalExperienceBundle, Network, and CustomSite.\nUnlike `sf community create`, which builds the site directly in the org, this command generates only the local metadata.",
|
|
382
|
-
"examples": [
|
|
383
|
-
"Generate an Experience Cloud site using the Build Your Own (LWR) template. The site is called \"mysite\" and has the URL path prefix \"mysite\":\n<%= config.bin %> <%= command.id %> --template-name \"Build Your Own (LWR)\" --name mysite --url-path-prefix mysite",
|
|
384
|
-
"Generate an Experience Cloud site like the last example, but generate the files into the specified output directory:\n<%= config.bin %> <%= command.id %> --template-name \"Build Your Own (LWR)\" --name mysite --url-path-prefix mysite --output-dir force-app/main/default"
|
|
385
|
-
],
|
|
386
|
-
"flags": {
|
|
387
|
-
"json": {
|
|
388
|
-
"description": "Format output as json.",
|
|
389
|
-
"helpGroup": "GLOBAL",
|
|
390
|
-
"name": "json",
|
|
391
|
-
"allowNo": false,
|
|
392
|
-
"type": "boolean"
|
|
393
|
-
},
|
|
394
|
-
"flags-dir": {
|
|
395
|
-
"helpGroup": "GLOBAL",
|
|
396
|
-
"name": "flags-dir",
|
|
397
|
-
"summary": "Import flag values from a directory.",
|
|
398
|
-
"hasDynamicHelp": false,
|
|
399
|
-
"multiple": false,
|
|
400
|
-
"type": "option"
|
|
401
|
-
},
|
|
402
|
-
"target-org": {
|
|
403
|
-
"char": "o",
|
|
404
|
-
"name": "target-org",
|
|
405
|
-
"noCacheDefault": true,
|
|
406
|
-
"summary": "Username or alias of the target org.",
|
|
407
|
-
"hasDynamicHelp": true,
|
|
408
|
-
"multiple": false,
|
|
409
|
-
"type": "option"
|
|
410
|
-
},
|
|
411
|
-
"name": {
|
|
412
|
-
"char": "n",
|
|
413
|
-
"name": "name",
|
|
414
|
-
"required": true,
|
|
415
|
-
"summary": "Name of the Experience Cloud site to generate.",
|
|
416
|
-
"hasDynamicHelp": false,
|
|
417
|
-
"multiple": false,
|
|
418
|
-
"type": "option"
|
|
419
|
-
},
|
|
420
|
-
"template-name": {
|
|
421
|
-
"char": "t",
|
|
422
|
-
"name": "template-name",
|
|
423
|
-
"required": true,
|
|
424
|
-
"summary": "Template to use when generating the site.",
|
|
425
|
-
"hasDynamicHelp": false,
|
|
426
|
-
"multiple": false,
|
|
427
|
-
"options": [
|
|
428
|
-
"Build Your Own (LWR)"
|
|
429
|
-
],
|
|
430
|
-
"type": "option"
|
|
431
|
-
},
|
|
432
|
-
"url-path-prefix": {
|
|
433
|
-
"char": "p",
|
|
434
|
-
"name": "url-path-prefix",
|
|
435
|
-
"summary": "URL path prefix for the site; must contain only alphanumeric characters.",
|
|
436
|
-
"default": "",
|
|
437
|
-
"hasDynamicHelp": false,
|
|
438
|
-
"multiple": false,
|
|
439
|
-
"type": "option"
|
|
440
|
-
},
|
|
441
|
-
"admin-email": {
|
|
442
|
-
"char": "e",
|
|
443
|
-
"name": "admin-email",
|
|
444
|
-
"summary": "Email address for the site administrator. Defaults to the username of the currently authenticated user.",
|
|
445
|
-
"hasDynamicHelp": false,
|
|
446
|
-
"multiple": false,
|
|
447
|
-
"type": "option"
|
|
448
|
-
},
|
|
449
|
-
"output-dir": {
|
|
450
|
-
"char": "d",
|
|
451
|
-
"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 file and uses the default package directory. When running outside a Salesforce DX project, defaults to the current directory.",
|
|
452
|
-
"name": "output-dir",
|
|
453
|
-
"summary": "Directory to generate the site files in.",
|
|
454
|
-
"hasDynamicHelp": false,
|
|
455
|
-
"multiple": false,
|
|
456
|
-
"type": "option"
|
|
457
|
-
}
|
|
458
|
-
},
|
|
459
|
-
"hasDynamicHelp": true,
|
|
460
|
-
"hiddenAliases": [],
|
|
461
|
-
"id": "template:generate:digital-experience:site",
|
|
462
|
-
"pluginAlias": "@salesforce/plugin-templates",
|
|
463
|
-
"pluginName": "@salesforce/plugin-templates",
|
|
464
|
-
"pluginType": "core",
|
|
465
|
-
"state": "preview",
|
|
466
|
-
"strict": true,
|
|
467
|
-
"summary": "Generate an Experience Cloud site.",
|
|
468
|
-
"enableJsonFlag": true,
|
|
469
|
-
"isESM": true,
|
|
470
|
-
"relativePath": [
|
|
471
|
-
"lib",
|
|
472
|
-
"commands",
|
|
473
|
-
"template",
|
|
474
|
-
"generate",
|
|
475
|
-
"digital-experience",
|
|
476
|
-
"site.js"
|
|
477
|
-
],
|
|
478
|
-
"aliasPermutations": [],
|
|
479
|
-
"permutations": [
|
|
480
|
-
"template:generate:digital-experience:site",
|
|
481
|
-
"generate:template:digital-experience:site",
|
|
482
|
-
"generate:digital-experience:template:site",
|
|
483
|
-
"generate:digital-experience:site:template",
|
|
484
|
-
"template:digital-experience:generate:site",
|
|
485
|
-
"digital-experience:template:generate:site",
|
|
486
|
-
"digital-experience:generate:template:site",
|
|
487
|
-
"digital-experience:generate:site:template",
|
|
488
|
-
"template:digital-experience:site:generate",
|
|
489
|
-
"digital-experience:template:site:generate",
|
|
490
|
-
"digital-experience:site:template:generate",
|
|
491
|
-
"digital-experience:site:generate:template",
|
|
492
|
-
"template:generate:site:digital-experience",
|
|
493
|
-
"generate:template:site:digital-experience",
|
|
494
|
-
"generate:site:template:digital-experience",
|
|
495
|
-
"generate:site:digital-experience:template",
|
|
496
|
-
"template:site:generate:digital-experience",
|
|
497
|
-
"site:template:generate:digital-experience",
|
|
498
|
-
"site:generate:template:digital-experience",
|
|
499
|
-
"site:generate:digital-experience:template",
|
|
500
|
-
"template:site:digital-experience:generate",
|
|
501
|
-
"site:template:digital-experience:generate",
|
|
502
|
-
"site:digital-experience:template:generate",
|
|
503
|
-
"site:digital-experience:generate:template"
|
|
504
|
-
]
|
|
505
|
-
},
|
|
506
378
|
"template:generate:analytics:template": {
|
|
507
379
|
"aliases": [
|
|
508
380
|
"force:analytics:template:create",
|
|
@@ -656,6 +528,134 @@
|
|
|
656
528
|
"template:analytics:generate:template"
|
|
657
529
|
]
|
|
658
530
|
},
|
|
531
|
+
"template:generate:digital-experience:site": {
|
|
532
|
+
"aliases": [],
|
|
533
|
+
"args": {},
|
|
534
|
+
"description": "Creates the metadata of an Experience Cloud site with the specified template, name, and URL path prefix. The output includes all the necessary metadata files, including DigitalExperienceConfig, DigitalExperienceBundle, Network, and CustomSite.\nUnlike `sf community create`, which builds the site directly in the org, this command generates only the local metadata.",
|
|
535
|
+
"examples": [
|
|
536
|
+
"Generate an Experience Cloud site using the Build Your Own (LWR) template. The site is called \"mysite\" and has the URL path prefix \"mysite\":\n<%= config.bin %> <%= command.id %> --template-name \"Build Your Own (LWR)\" --name mysite --url-path-prefix mysite",
|
|
537
|
+
"Generate an Experience Cloud site like the last example, but generate the files into the specified output directory:\n<%= config.bin %> <%= command.id %> --template-name \"Build Your Own (LWR)\" --name mysite --url-path-prefix mysite --output-dir force-app/main/default"
|
|
538
|
+
],
|
|
539
|
+
"flags": {
|
|
540
|
+
"json": {
|
|
541
|
+
"description": "Format output as json.",
|
|
542
|
+
"helpGroup": "GLOBAL",
|
|
543
|
+
"name": "json",
|
|
544
|
+
"allowNo": false,
|
|
545
|
+
"type": "boolean"
|
|
546
|
+
},
|
|
547
|
+
"flags-dir": {
|
|
548
|
+
"helpGroup": "GLOBAL",
|
|
549
|
+
"name": "flags-dir",
|
|
550
|
+
"summary": "Import flag values from a directory.",
|
|
551
|
+
"hasDynamicHelp": false,
|
|
552
|
+
"multiple": false,
|
|
553
|
+
"type": "option"
|
|
554
|
+
},
|
|
555
|
+
"target-org": {
|
|
556
|
+
"char": "o",
|
|
557
|
+
"name": "target-org",
|
|
558
|
+
"noCacheDefault": true,
|
|
559
|
+
"summary": "Username or alias of the target org.",
|
|
560
|
+
"hasDynamicHelp": true,
|
|
561
|
+
"multiple": false,
|
|
562
|
+
"type": "option"
|
|
563
|
+
},
|
|
564
|
+
"name": {
|
|
565
|
+
"char": "n",
|
|
566
|
+
"name": "name",
|
|
567
|
+
"required": true,
|
|
568
|
+
"summary": "Name of the Experience Cloud site to generate.",
|
|
569
|
+
"hasDynamicHelp": false,
|
|
570
|
+
"multiple": false,
|
|
571
|
+
"type": "option"
|
|
572
|
+
},
|
|
573
|
+
"template-name": {
|
|
574
|
+
"char": "t",
|
|
575
|
+
"name": "template-name",
|
|
576
|
+
"required": true,
|
|
577
|
+
"summary": "Template to use when generating the site.",
|
|
578
|
+
"hasDynamicHelp": false,
|
|
579
|
+
"multiple": false,
|
|
580
|
+
"options": [
|
|
581
|
+
"Build Your Own (LWR)"
|
|
582
|
+
],
|
|
583
|
+
"type": "option"
|
|
584
|
+
},
|
|
585
|
+
"url-path-prefix": {
|
|
586
|
+
"char": "p",
|
|
587
|
+
"name": "url-path-prefix",
|
|
588
|
+
"summary": "URL path prefix for the site; must contain only alphanumeric characters.",
|
|
589
|
+
"default": "",
|
|
590
|
+
"hasDynamicHelp": false,
|
|
591
|
+
"multiple": false,
|
|
592
|
+
"type": "option"
|
|
593
|
+
},
|
|
594
|
+
"admin-email": {
|
|
595
|
+
"char": "e",
|
|
596
|
+
"name": "admin-email",
|
|
597
|
+
"summary": "Email address for the site administrator. Defaults to the username of the currently authenticated user.",
|
|
598
|
+
"hasDynamicHelp": false,
|
|
599
|
+
"multiple": false,
|
|
600
|
+
"type": "option"
|
|
601
|
+
},
|
|
602
|
+
"output-dir": {
|
|
603
|
+
"char": "d",
|
|
604
|
+
"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 file and uses the default package directory. When running outside a Salesforce DX project, defaults to the current directory.",
|
|
605
|
+
"name": "output-dir",
|
|
606
|
+
"summary": "Directory to generate the site files in.",
|
|
607
|
+
"hasDynamicHelp": false,
|
|
608
|
+
"multiple": false,
|
|
609
|
+
"type": "option"
|
|
610
|
+
}
|
|
611
|
+
},
|
|
612
|
+
"hasDynamicHelp": true,
|
|
613
|
+
"hiddenAliases": [],
|
|
614
|
+
"id": "template:generate:digital-experience:site",
|
|
615
|
+
"pluginAlias": "@salesforce/plugin-templates",
|
|
616
|
+
"pluginName": "@salesforce/plugin-templates",
|
|
617
|
+
"pluginType": "core",
|
|
618
|
+
"state": "preview",
|
|
619
|
+
"strict": true,
|
|
620
|
+
"summary": "Generate an Experience Cloud site.",
|
|
621
|
+
"enableJsonFlag": true,
|
|
622
|
+
"isESM": true,
|
|
623
|
+
"relativePath": [
|
|
624
|
+
"lib",
|
|
625
|
+
"commands",
|
|
626
|
+
"template",
|
|
627
|
+
"generate",
|
|
628
|
+
"digital-experience",
|
|
629
|
+
"site.js"
|
|
630
|
+
],
|
|
631
|
+
"aliasPermutations": [],
|
|
632
|
+
"permutations": [
|
|
633
|
+
"template:generate:digital-experience:site",
|
|
634
|
+
"generate:template:digital-experience:site",
|
|
635
|
+
"generate:digital-experience:template:site",
|
|
636
|
+
"generate:digital-experience:site:template",
|
|
637
|
+
"template:digital-experience:generate:site",
|
|
638
|
+
"digital-experience:template:generate:site",
|
|
639
|
+
"digital-experience:generate:template:site",
|
|
640
|
+
"digital-experience:generate:site:template",
|
|
641
|
+
"template:digital-experience:site:generate",
|
|
642
|
+
"digital-experience:template:site:generate",
|
|
643
|
+
"digital-experience:site:template:generate",
|
|
644
|
+
"digital-experience:site:generate:template",
|
|
645
|
+
"template:generate:site:digital-experience",
|
|
646
|
+
"generate:template:site:digital-experience",
|
|
647
|
+
"generate:site:template:digital-experience",
|
|
648
|
+
"generate:site:digital-experience:template",
|
|
649
|
+
"template:site:generate:digital-experience",
|
|
650
|
+
"site:template:generate:digital-experience",
|
|
651
|
+
"site:generate:template:digital-experience",
|
|
652
|
+
"site:generate:digital-experience:template",
|
|
653
|
+
"template:site:digital-experience:generate",
|
|
654
|
+
"site:template:digital-experience:generate",
|
|
655
|
+
"site:digital-experience:template:generate",
|
|
656
|
+
"site:digital-experience:generate:template"
|
|
657
|
+
]
|
|
658
|
+
},
|
|
659
659
|
"template:generate:flexipage": {
|
|
660
660
|
"aliases": [],
|
|
661
661
|
"args": {},
|
|
@@ -1913,16 +1913,18 @@
|
|
|
1913
1913
|
"project:generate:template"
|
|
1914
1914
|
]
|
|
1915
1915
|
},
|
|
1916
|
-
"template:generate:
|
|
1916
|
+
"template:generate:static-resource": {
|
|
1917
1917
|
"aliases": [
|
|
1918
|
-
"
|
|
1918
|
+
"force:staticresource:create",
|
|
1919
|
+
"static-resource:generate"
|
|
1919
1920
|
],
|
|
1920
1921
|
"args": {},
|
|
1921
|
-
"
|
|
1922
|
+
"deprecateAliases": true,
|
|
1923
|
+
"description": "Generates the metadata resource file in the specified directory or the current working directory. Static resource files must be contained in a parent directory called \"staticresources\" in your package directory. Either run this command from an existing directory of this name, or use the --output-dir flag to create one or point to an existing one.",
|
|
1922
1924
|
"examples": [
|
|
1923
|
-
"Generate a
|
|
1924
|
-
"
|
|
1925
|
-
"Generate the
|
|
1925
|
+
"Generate the metadata file for a static resource called MyResource in the current directory:\n<%= config.bin %> <%= command.id %> --name MyResource",
|
|
1926
|
+
"Similar to previous example, but specifies a MIME type of application/json:\n<%= config.bin %> <%= command.id %> --name MyResource --type application/json",
|
|
1927
|
+
"Generate the resource file in the \"force-app/main/default/staticresources\" directory:\n<%= config.bin %> <%= command.id %> --name MyResource --output-dir force-app/main/default/staticresources"
|
|
1926
1928
|
],
|
|
1927
1929
|
"flags": {
|
|
1928
1930
|
"json": {
|
|
@@ -1941,63 +1943,76 @@
|
|
|
1941
1943
|
"type": "option"
|
|
1942
1944
|
},
|
|
1943
1945
|
"name": {
|
|
1946
|
+
"aliases": [
|
|
1947
|
+
"resourcename"
|
|
1948
|
+
],
|
|
1944
1949
|
"char": "n",
|
|
1950
|
+
"deprecateAliases": true,
|
|
1945
1951
|
"description": "This name can contain only underscores and alphanumeric characters, and must be unique in your org. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores.",
|
|
1946
1952
|
"name": "name",
|
|
1947
1953
|
"required": true,
|
|
1948
|
-
"summary": "
|
|
1954
|
+
"summary": "Name of the generated static resource.",
|
|
1949
1955
|
"hasDynamicHelp": false,
|
|
1950
1956
|
"multiple": false,
|
|
1951
1957
|
"type": "option"
|
|
1952
1958
|
},
|
|
1953
|
-
"
|
|
1954
|
-
"
|
|
1955
|
-
|
|
1956
|
-
"name": "template",
|
|
1957
|
-
"summary": "Template to use when creating the files for a specific UI framework.",
|
|
1958
|
-
"default": "default",
|
|
1959
|
-
"hasDynamicHelp": false,
|
|
1960
|
-
"multiple": false,
|
|
1961
|
-
"options": [
|
|
1962
|
-
"default",
|
|
1963
|
-
"reactbasic"
|
|
1959
|
+
"type": {
|
|
1960
|
+
"aliases": [
|
|
1961
|
+
"contenttype"
|
|
1964
1962
|
],
|
|
1965
|
-
"
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
"
|
|
1969
|
-
"
|
|
1970
|
-
"name": "label",
|
|
1971
|
-
"summary": "Master label for the UI bundle.",
|
|
1963
|
+
"deprecateAliases": true,
|
|
1964
|
+
"description": "Must be a valid MIME type such as application/json, application/javascript, application/zip, text/plain, text/css, etc.",
|
|
1965
|
+
"name": "type",
|
|
1966
|
+
"summary": "Content type (mime type) of the generated static resource.",
|
|
1967
|
+
"default": "application/zip",
|
|
1972
1968
|
"hasDynamicHelp": false,
|
|
1973
1969
|
"multiple": false,
|
|
1974
1970
|
"type": "option"
|
|
1975
1971
|
},
|
|
1976
1972
|
"output-dir": {
|
|
1973
|
+
"aliases": [
|
|
1974
|
+
"outputdir"
|
|
1975
|
+
],
|
|
1977
1976
|
"char": "d",
|
|
1978
|
-
"
|
|
1977
|
+
"deprecateAliases": true,
|
|
1978
|
+
"description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
|
|
1979
1979
|
"name": "output-dir",
|
|
1980
|
-
"summary": "Directory
|
|
1980
|
+
"summary": "Directory for saving the created files.",
|
|
1981
|
+
"default": ".",
|
|
1981
1982
|
"hasDynamicHelp": false,
|
|
1982
1983
|
"multiple": false,
|
|
1983
1984
|
"type": "option"
|
|
1984
1985
|
},
|
|
1985
1986
|
"api-version": {
|
|
1987
|
+
"aliases": [
|
|
1988
|
+
"apiversion"
|
|
1989
|
+
],
|
|
1990
|
+
"deprecateAliases": true,
|
|
1986
1991
|
"description": "Override the api version used for api requests made by this command",
|
|
1987
1992
|
"name": "api-version",
|
|
1988
1993
|
"hasDynamicHelp": false,
|
|
1989
1994
|
"multiple": false,
|
|
1990
1995
|
"type": "option"
|
|
1996
|
+
},
|
|
1997
|
+
"loglevel": {
|
|
1998
|
+
"deprecated": {
|
|
1999
|
+
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
2000
|
+
},
|
|
2001
|
+
"hidden": true,
|
|
2002
|
+
"name": "loglevel",
|
|
2003
|
+
"hasDynamicHelp": false,
|
|
2004
|
+
"multiple": false,
|
|
2005
|
+
"type": "option"
|
|
1991
2006
|
}
|
|
1992
2007
|
},
|
|
1993
2008
|
"hasDynamicHelp": false,
|
|
1994
2009
|
"hiddenAliases": [],
|
|
1995
|
-
"id": "template:generate:
|
|
2010
|
+
"id": "template:generate:static-resource",
|
|
1996
2011
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
1997
2012
|
"pluginName": "@salesforce/plugin-templates",
|
|
1998
2013
|
"pluginType": "core",
|
|
1999
2014
|
"strict": true,
|
|
2000
|
-
"summary": "Generate a
|
|
2015
|
+
"summary": "Generate a static resource.",
|
|
2001
2016
|
"enableJsonFlag": true,
|
|
2002
2017
|
"isESM": true,
|
|
2003
2018
|
"relativePath": [
|
|
@@ -2005,34 +2020,36 @@
|
|
|
2005
2020
|
"commands",
|
|
2006
2021
|
"template",
|
|
2007
2022
|
"generate",
|
|
2008
|
-
"
|
|
2023
|
+
"static-resource",
|
|
2009
2024
|
"index.js"
|
|
2010
2025
|
],
|
|
2011
2026
|
"aliasPermutations": [
|
|
2012
|
-
"
|
|
2013
|
-
"
|
|
2027
|
+
"force:staticresource:create",
|
|
2028
|
+
"staticresource:force:create",
|
|
2029
|
+
"staticresource:create:force",
|
|
2030
|
+
"force:create:staticresource",
|
|
2031
|
+
"create:force:staticresource",
|
|
2032
|
+
"create:staticresource:force",
|
|
2033
|
+
"static-resource:generate",
|
|
2034
|
+
"generate:static-resource"
|
|
2014
2035
|
],
|
|
2015
2036
|
"permutations": [
|
|
2016
|
-
"template:generate:
|
|
2017
|
-
"generate:template:
|
|
2018
|
-
"generate:
|
|
2019
|
-
"template:
|
|
2020
|
-
"
|
|
2021
|
-
"
|
|
2037
|
+
"template:generate:static-resource",
|
|
2038
|
+
"generate:template:static-resource",
|
|
2039
|
+
"generate:static-resource:template",
|
|
2040
|
+
"template:static-resource:generate",
|
|
2041
|
+
"static-resource:template:generate",
|
|
2042
|
+
"static-resource:generate:template"
|
|
2022
2043
|
]
|
|
2023
2044
|
},
|
|
2024
|
-
"template:generate:
|
|
2025
|
-
"aliases": [
|
|
2026
|
-
"force:staticresource:create",
|
|
2027
|
-
"static-resource:generate"
|
|
2028
|
-
],
|
|
2045
|
+
"template:generate:ui-bundle": {
|
|
2046
|
+
"aliases": [],
|
|
2029
2047
|
"args": {},
|
|
2030
|
-
"
|
|
2031
|
-
"description": "Generates the metadata resource file in the specified directory or the current working directory. Static resource files must be contained in a parent directory called \"staticresources\" in your package directory. Either run this command from an existing directory of this name, or use the --output-dir flag to create one or point to an existing one.",
|
|
2048
|
+
"description": "Salesforce provides native UI frameworks, such as Lighting Web Components (LWC), to build applications that run on the Salesforce Platform. But you can also use non-native JavaScript- or TypeScript-based UI frameworks, such as React, to build a UI experience for the Salesforce Platform and that you can launch from the App Launcher.\n\nThese non-native UI experiences are defined by the \"UIBundle\" metadata type in your DX project. Use this command to generate the required DX project structure and files. For example, when you run this command and specify the name MyUiBundle, then the files are generated into a \"uiBundles/MyUiBundle\" directory. Use the --output-dir flag to specify a different directory.\n\nUse the --template flag for generating the files to get started with a speciic UI framework, such as React. Check out the README.md file in the generated \"uiBundles/<bundlename>\" directory for more information about the template.",
|
|
2032
2049
|
"examples": [
|
|
2033
|
-
"Generate
|
|
2034
|
-
"
|
|
2035
|
-
"Generate the
|
|
2050
|
+
"Generate a UI bundle called MyUiBundle in the current directory:\n<%= config.bin %> <%= command.id %> --name MyUiBundle",
|
|
2051
|
+
"Generate a React-based UI bundle:\n<%= config.bin %> <%= command.id %> --name MyReactApp --template reactbasic",
|
|
2052
|
+
"Generate the React-based UI bundle in the \"force-app/main/default/uiBundles\" directory:\n<%= config.bin %> <%= command.id %> --name MyUiBundle --template reactbasic --output-dir force-app/main/default/uiBundles"
|
|
2036
2053
|
],
|
|
2037
2054
|
"flags": {
|
|
2038
2055
|
"json": {
|
|
@@ -2051,76 +2068,63 @@
|
|
|
2051
2068
|
"type": "option"
|
|
2052
2069
|
},
|
|
2053
2070
|
"name": {
|
|
2054
|
-
"aliases": [
|
|
2055
|
-
"resourcename"
|
|
2056
|
-
],
|
|
2057
2071
|
"char": "n",
|
|
2058
|
-
"deprecateAliases": true,
|
|
2059
2072
|
"description": "This name can contain only underscores and alphanumeric characters, and must be unique in your org. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores.",
|
|
2060
2073
|
"name": "name",
|
|
2061
2074
|
"required": true,
|
|
2062
|
-
"summary": "
|
|
2075
|
+
"summary": "API name of the generated UI bundle.",
|
|
2063
2076
|
"hasDynamicHelp": false,
|
|
2064
2077
|
"multiple": false,
|
|
2065
2078
|
"type": "option"
|
|
2066
2079
|
},
|
|
2067
|
-
"
|
|
2068
|
-
"
|
|
2069
|
-
|
|
2080
|
+
"template": {
|
|
2081
|
+
"char": "t",
|
|
2082
|
+
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
2083
|
+
"name": "template",
|
|
2084
|
+
"summary": "Template to use when creating the files for a specific UI framework.",
|
|
2085
|
+
"default": "default",
|
|
2086
|
+
"hasDynamicHelp": false,
|
|
2087
|
+
"multiple": false,
|
|
2088
|
+
"options": [
|
|
2089
|
+
"default",
|
|
2090
|
+
"reactbasic"
|
|
2070
2091
|
],
|
|
2071
|
-
"
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
"
|
|
2075
|
-
"
|
|
2092
|
+
"type": "option"
|
|
2093
|
+
},
|
|
2094
|
+
"label": {
|
|
2095
|
+
"char": "l",
|
|
2096
|
+
"description": "If not specified, the label is derived from the name.",
|
|
2097
|
+
"name": "label",
|
|
2098
|
+
"summary": "Master label for the UI bundle.",
|
|
2076
2099
|
"hasDynamicHelp": false,
|
|
2077
2100
|
"multiple": false,
|
|
2078
2101
|
"type": "option"
|
|
2079
2102
|
},
|
|
2080
2103
|
"output-dir": {
|
|
2081
|
-
"aliases": [
|
|
2082
|
-
"outputdir"
|
|
2083
|
-
],
|
|
2084
2104
|
"char": "d",
|
|
2085
|
-
"
|
|
2086
|
-
"description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
|
|
2105
|
+
"description": "The location can be an absolute path or relative to the current working directory.\n\nIf not specified, the command reads your sfdx-project.json and defaults to \"uiBundles\" directory within your default package directory. When running outside a Salesforce DX project, defaults to the current directory.\n\n**Important:** This command automatically ensures the output directory ends with \"uiBundles\". If your specified path doesn't end with \"uiBundles\", it's automatically appended. The UI bundle is created at \"<output-dir>/<name>\".\n\n**Examples:**\n\n- \"--output-dir force-app/main/default\" → Creates a UI bundle at \"force-app/main/default/uiBundles/MyUiBundle/\"\n- \"--output-dir force-app/main/default/uiBundles\" → Creates a UI bundle at \"force-app/main/default/uiBundles/MyUiBundle/\" (no change)",
|
|
2087
2106
|
"name": "output-dir",
|
|
2088
|
-
"summary": "Directory
|
|
2089
|
-
"default": ".",
|
|
2107
|
+
"summary": "Directory into which the files are created.",
|
|
2090
2108
|
"hasDynamicHelp": false,
|
|
2091
2109
|
"multiple": false,
|
|
2092
2110
|
"type": "option"
|
|
2093
2111
|
},
|
|
2094
2112
|
"api-version": {
|
|
2095
|
-
"aliases": [
|
|
2096
|
-
"apiversion"
|
|
2097
|
-
],
|
|
2098
|
-
"deprecateAliases": true,
|
|
2099
2113
|
"description": "Override the api version used for api requests made by this command",
|
|
2100
2114
|
"name": "api-version",
|
|
2101
2115
|
"hasDynamicHelp": false,
|
|
2102
2116
|
"multiple": false,
|
|
2103
2117
|
"type": "option"
|
|
2104
|
-
},
|
|
2105
|
-
"loglevel": {
|
|
2106
|
-
"deprecated": {
|
|
2107
|
-
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
2108
|
-
},
|
|
2109
|
-
"hidden": true,
|
|
2110
|
-
"name": "loglevel",
|
|
2111
|
-
"hasDynamicHelp": false,
|
|
2112
|
-
"multiple": false,
|
|
2113
|
-
"type": "option"
|
|
2114
2118
|
}
|
|
2115
2119
|
},
|
|
2116
2120
|
"hasDynamicHelp": false,
|
|
2117
2121
|
"hiddenAliases": [],
|
|
2118
|
-
"id": "template:generate:
|
|
2122
|
+
"id": "template:generate:ui-bundle",
|
|
2119
2123
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
2120
2124
|
"pluginName": "@salesforce/plugin-templates",
|
|
2121
2125
|
"pluginType": "core",
|
|
2122
2126
|
"strict": true,
|
|
2123
|
-
"summary": "Generate a
|
|
2127
|
+
"summary": "Generate a UI bundle, which contains the code and metadata to build a UI experience that uses non-native Salesforce frameworks, such as React.",
|
|
2124
2128
|
"enableJsonFlag": true,
|
|
2125
2129
|
"isESM": true,
|
|
2126
2130
|
"relativePath": [
|
|
@@ -2128,26 +2132,17 @@
|
|
|
2128
2132
|
"commands",
|
|
2129
2133
|
"template",
|
|
2130
2134
|
"generate",
|
|
2131
|
-
"
|
|
2135
|
+
"ui-bundle",
|
|
2132
2136
|
"index.js"
|
|
2133
2137
|
],
|
|
2134
|
-
"aliasPermutations": [
|
|
2135
|
-
"force:staticresource:create",
|
|
2136
|
-
"staticresource:force:create",
|
|
2137
|
-
"staticresource:create:force",
|
|
2138
|
-
"force:create:staticresource",
|
|
2139
|
-
"create:force:staticresource",
|
|
2140
|
-
"create:staticresource:force",
|
|
2141
|
-
"static-resource:generate",
|
|
2142
|
-
"generate:static-resource"
|
|
2143
|
-
],
|
|
2138
|
+
"aliasPermutations": [],
|
|
2144
2139
|
"permutations": [
|
|
2145
|
-
"template:generate:
|
|
2146
|
-
"generate:template:
|
|
2147
|
-
"generate:
|
|
2148
|
-
"template:
|
|
2149
|
-
"
|
|
2150
|
-
"
|
|
2140
|
+
"template:generate:ui-bundle",
|
|
2141
|
+
"generate:template:ui-bundle",
|
|
2142
|
+
"generate:ui-bundle:template",
|
|
2143
|
+
"template:ui-bundle:generate",
|
|
2144
|
+
"ui-bundle:template:generate",
|
|
2145
|
+
"ui-bundle:generate:template"
|
|
2151
2146
|
]
|
|
2152
2147
|
},
|
|
2153
2148
|
"template:generate:visualforce:component": {
|
|
@@ -2506,5 +2501,5 @@
|
|
|
2506
2501
|
]
|
|
2507
2502
|
}
|
|
2508
2503
|
},
|
|
2509
|
-
"version": "56.13.
|
|
2504
|
+
"version": "56.13.4"
|
|
2510
2505
|
}
|
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.13.
|
|
4
|
+
"version": "56.13.4",
|
|
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.27.1",
|
|
11
11
|
"@salesforce/sf-plugins-core": "^12",
|
|
12
|
-
"@salesforce/templates": "^66.7.
|
|
12
|
+
"@salesforce/templates": "^66.7.4"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"@oclif/plugin-command-snapshot": "^5.3.13",
|
|
@@ -90,9 +90,6 @@
|
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
|
-
},
|
|
94
|
-
"ui-bundle": {
|
|
95
|
-
"description": "Work with UI bundles."
|
|
96
93
|
}
|
|
97
94
|
},
|
|
98
95
|
"flexibleTaxonomy": true,
|
|
@@ -252,7 +249,7 @@
|
|
|
252
249
|
"exports": "./lib/index.js",
|
|
253
250
|
"type": "module",
|
|
254
251
|
"sfdx": {
|
|
255
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.13.
|
|
256
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.13.
|
|
252
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.13.4.crt",
|
|
253
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.13.4.sig"
|
|
257
254
|
}
|
|
258
255
|
}
|