@salesforce/plugin-templates 56.11.0 → 56.11.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.
Files changed (3) hide show
  1. package/README.md +14 -14
  2. package/oclif.manifest.json +364 -364
  3. package/package.json +4 -4
package/README.md CHANGED
@@ -176,7 +176,7 @@ FLAG DESCRIPTIONS
176
176
  directory.
177
177
  ```
178
178
 
179
- _See code: [src/commands/template/generate/analytics/template.ts](https://github.com/salesforcecli/plugin-templates/blob/56.11.0/src/commands/template/generate/analytics/template.ts)_
179
+ _See code: [src/commands/template/generate/analytics/template.ts](https://github.com/salesforcecli/plugin-templates/blob/56.11.2/src/commands/template/generate/analytics/template.ts)_
180
180
 
181
181
  ## `sf template generate apex class`
182
182
 
@@ -236,7 +236,7 @@ FLAG DESCRIPTIONS
236
236
  Supplied parameter values or default values are filled into a copy of the template.
237
237
  ```
238
238
 
239
- _See code: [src/commands/template/generate/apex/class.ts](https://github.com/salesforcecli/plugin-templates/blob/56.11.0/src/commands/template/generate/apex/class.ts)_
239
+ _See code: [src/commands/template/generate/apex/class.ts](https://github.com/salesforcecli/plugin-templates/blob/56.11.2/src/commands/template/generate/apex/class.ts)_
240
240
 
241
241
  ## `sf template generate apex trigger`
242
242
 
@@ -306,7 +306,7 @@ FLAG DESCRIPTIONS
306
306
  Supplied parameter values or default values are filled into a copy of the template.
307
307
  ```
308
308
 
309
- _See code: [src/commands/template/generate/apex/trigger.ts](https://github.com/salesforcecli/plugin-templates/blob/56.11.0/src/commands/template/generate/apex/trigger.ts)_
309
+ _See code: [src/commands/template/generate/apex/trigger.ts](https://github.com/salesforcecli/plugin-templates/blob/56.11.2/src/commands/template/generate/apex/trigger.ts)_
310
310
 
311
311
  ## `sf template generate digital-experience site`
312
312
 
@@ -360,7 +360,7 @@ FLAG DESCRIPTIONS
360
360
  project, defaults to the current directory.
361
361
  ```
362
362
 
363
- _See code: [src/commands/template/generate/digital-experience/site.ts](https://github.com/salesforcecli/plugin-templates/blob/56.11.0/src/commands/template/generate/digital-experience/site.ts)_
363
+ _See code: [src/commands/template/generate/digital-experience/site.ts](https://github.com/salesforcecli/plugin-templates/blob/56.11.2/src/commands/template/generate/digital-experience/site.ts)_
364
364
 
365
365
  ## `sf template generate flexipage`
366
366
 
@@ -442,7 +442,7 @@ FLAG DESCRIPTIONS
442
442
  'Custom_Object__c'. This sets the `sobjectType` field in the FlexiPage metadata.
443
443
  ```
444
444
 
445
- _See code: [src/commands/template/generate/flexipage/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.11.0/src/commands/template/generate/flexipage/index.ts)_
445
+ _See code: [src/commands/template/generate/flexipage/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.11.2/src/commands/template/generate/flexipage/index.ts)_
446
446
 
447
447
  ## `sf template generate lightning app`
448
448
 
@@ -498,7 +498,7 @@ FLAG DESCRIPTIONS
498
498
  Supplied parameter values or default values are filled into a copy of the template.
499
499
  ```
500
500
 
501
- _See code: [src/commands/template/generate/lightning/app.ts](https://github.com/salesforcecli/plugin-templates/blob/56.11.0/src/commands/template/generate/lightning/app.ts)_
501
+ _See code: [src/commands/template/generate/lightning/app.ts](https://github.com/salesforcecli/plugin-templates/blob/56.11.2/src/commands/template/generate/lightning/app.ts)_
502
502
 
503
503
  ## `sf template generate lightning component`
504
504
 
@@ -568,7 +568,7 @@ FLAG DESCRIPTIONS
568
568
  Supplied parameter values or default values are filled into a copy of the template.
569
569
  ```
570
570
 
571
- _See code: [src/commands/template/generate/lightning/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.11.0/src/commands/template/generate/lightning/component.ts)_
571
+ _See code: [src/commands/template/generate/lightning/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.11.2/src/commands/template/generate/lightning/component.ts)_
572
572
 
573
573
  ## `sf template generate lightning event`
574
574
 
@@ -624,7 +624,7 @@ FLAG DESCRIPTIONS
624
624
  Supplied parameter values or default values are filled into a copy of the template.
625
625
  ```
626
626
 
627
- _See code: [src/commands/template/generate/lightning/event.ts](https://github.com/salesforcecli/plugin-templates/blob/56.11.0/src/commands/template/generate/lightning/event.ts)_
627
+ _See code: [src/commands/template/generate/lightning/event.ts](https://github.com/salesforcecli/plugin-templates/blob/56.11.2/src/commands/template/generate/lightning/event.ts)_
628
628
 
629
629
  ## `sf template generate lightning interface`
630
630
 
@@ -680,7 +680,7 @@ FLAG DESCRIPTIONS
680
680
  Supplied parameter values or default values are filled into a copy of the template.
681
681
  ```
682
682
 
683
- _See code: [src/commands/template/generate/lightning/interface.ts](https://github.com/salesforcecli/plugin-templates/blob/56.11.0/src/commands/template/generate/lightning/interface.ts)_
683
+ _See code: [src/commands/template/generate/lightning/interface.ts](https://github.com/salesforcecli/plugin-templates/blob/56.11.2/src/commands/template/generate/lightning/interface.ts)_
684
684
 
685
685
  ## `sf template generate lightning test`
686
686
 
@@ -736,7 +736,7 @@ FLAG DESCRIPTIONS
736
736
  Supplied parameter values or default values are filled into a copy of the template.
737
737
  ```
738
738
 
739
- _See code: [src/commands/template/generate/lightning/test.ts](https://github.com/salesforcecli/plugin-templates/blob/56.11.0/src/commands/template/generate/lightning/test.ts)_
739
+ _See code: [src/commands/template/generate/lightning/test.ts](https://github.com/salesforcecli/plugin-templates/blob/56.11.2/src/commands/template/generate/lightning/test.ts)_
740
740
 
741
741
  ## `sf template generate project`
742
742
 
@@ -849,7 +849,7 @@ FLAG DESCRIPTIONS
849
849
  Override the api version used for api requests made by this command
850
850
  ```
851
851
 
852
- _See code: [src/commands/template/generate/project/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.11.0/src/commands/template/generate/project/index.ts)_
852
+ _See code: [src/commands/template/generate/project/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.11.2/src/commands/template/generate/project/index.ts)_
853
853
 
854
854
  ## `sf template generate static-resource`
855
855
 
@@ -912,7 +912,7 @@ FLAG DESCRIPTIONS
912
912
  etc.
913
913
  ```
914
914
 
915
- _See code: [src/commands/template/generate/static-resource/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.11.0/src/commands/template/generate/static-resource/index.ts)_
915
+ _See code: [src/commands/template/generate/static-resource/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.11.2/src/commands/template/generate/static-resource/index.ts)_
916
916
 
917
917
  ## `sf template generate visualforce component`
918
918
 
@@ -969,7 +969,7 @@ FLAG DESCRIPTIONS
969
969
  Supplied parameter values or default values are filled into a copy of the template.
970
970
  ```
971
971
 
972
- _See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.11.0/src/commands/template/generate/visualforce/component.ts)_
972
+ _See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.11.2/src/commands/template/generate/visualforce/component.ts)_
973
973
 
974
974
  ## `sf template generate visualforce page`
975
975
 
@@ -1020,6 +1020,6 @@ FLAG DESCRIPTIONS
1020
1020
  The name can be up to 40 characters and must start with a letter.
1021
1021
  ```
1022
1022
 
1023
- _See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/56.11.0/src/commands/template/generate/visualforce/page.ts)_
1023
+ _See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/56.11.2/src/commands/template/generate/visualforce/page.ts)_
1024
1024
 
1025
1025
  <!-- commandsstop -->
@@ -1,5 +1,158 @@
1
1
  {
2
2
  "commands": {
3
+ "template:generate:analytics:template": {
4
+ "aliases": [
5
+ "force:analytics:template:create",
6
+ "analytics:generate:template"
7
+ ],
8
+ "args": {},
9
+ "deprecateAliases": true,
10
+ "description": "The metadata files associated with the Analytics template must be contained in a parent directory called \"waveTemplates\" in your package directory. Either run this command from an existing directory of this name, or use the --output-dir flag to generate one or point to an existing one.",
11
+ "examples": [
12
+ "Generate the metadata files for a simple Analytics template file called myTemplate in the force-app/main/default/waveTemplates directory:\n<%= config.bin %> <%= command.id %> --name myTemplate --output-dir force-app/main/default/waveTemplates"
13
+ ],
14
+ "flags": {
15
+ "json": {
16
+ "description": "Format output as json.",
17
+ "helpGroup": "GLOBAL",
18
+ "name": "json",
19
+ "allowNo": false,
20
+ "type": "boolean"
21
+ },
22
+ "flags-dir": {
23
+ "helpGroup": "GLOBAL",
24
+ "name": "flags-dir",
25
+ "summary": "Import flag values from a directory.",
26
+ "hasDynamicHelp": false,
27
+ "multiple": false,
28
+ "type": "option"
29
+ },
30
+ "output-dir": {
31
+ "aliases": [
32
+ "outputdir"
33
+ ],
34
+ "char": "d",
35
+ "deprecateAliases": true,
36
+ "description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
37
+ "name": "output-dir",
38
+ "summary": "Directory for saving the created files.",
39
+ "default": ".",
40
+ "hasDynamicHelp": false,
41
+ "multiple": false,
42
+ "type": "option"
43
+ },
44
+ "api-version": {
45
+ "aliases": [
46
+ "apiversion"
47
+ ],
48
+ "deprecateAliases": true,
49
+ "description": "Override the api version used for api requests made by this command",
50
+ "name": "api-version",
51
+ "hasDynamicHelp": false,
52
+ "multiple": false,
53
+ "type": "option"
54
+ },
55
+ "name": {
56
+ "aliases": [
57
+ "templatename"
58
+ ],
59
+ "char": "n",
60
+ "deprecateAliases": true,
61
+ "name": "name",
62
+ "required": true,
63
+ "summary": "Name of the Analytics template.",
64
+ "hasDynamicHelp": false,
65
+ "multiple": false,
66
+ "type": "option"
67
+ },
68
+ "loglevel": {
69
+ "deprecated": {
70
+ "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."
71
+ },
72
+ "hidden": true,
73
+ "name": "loglevel",
74
+ "hasDynamicHelp": false,
75
+ "multiple": false,
76
+ "type": "option"
77
+ }
78
+ },
79
+ "hasDynamicHelp": false,
80
+ "hiddenAliases": [],
81
+ "id": "template:generate:analytics:template",
82
+ "pluginAlias": "@salesforce/plugin-templates",
83
+ "pluginName": "@salesforce/plugin-templates",
84
+ "pluginType": "core",
85
+ "strict": true,
86
+ "summary": "Generate a simple Analytics template.",
87
+ "enableJsonFlag": true,
88
+ "isESM": true,
89
+ "relativePath": [
90
+ "lib",
91
+ "commands",
92
+ "template",
93
+ "generate",
94
+ "analytics",
95
+ "template.js"
96
+ ],
97
+ "aliasPermutations": [
98
+ "force:analytics:template:create",
99
+ "analytics:force:template:create",
100
+ "analytics:template:force:create",
101
+ "analytics:template:create:force",
102
+ "force:template:analytics:create",
103
+ "template:force:analytics:create",
104
+ "template:analytics:force:create",
105
+ "template:analytics:create:force",
106
+ "force:template:create:analytics",
107
+ "template:force:create:analytics",
108
+ "template:create:force:analytics",
109
+ "template:create:analytics:force",
110
+ "force:analytics:create:template",
111
+ "analytics:force:create:template",
112
+ "analytics:create:force:template",
113
+ "analytics:create:template:force",
114
+ "force:create:analytics:template",
115
+ "create:force:analytics:template",
116
+ "create:analytics:force:template",
117
+ "create:analytics:template:force",
118
+ "force:create:template:analytics",
119
+ "create:force:template:analytics",
120
+ "create:template:force:analytics",
121
+ "create:template:analytics:force",
122
+ "analytics:generate:template",
123
+ "generate:analytics:template",
124
+ "generate:template:analytics",
125
+ "analytics:template:generate",
126
+ "template:analytics:generate",
127
+ "template:generate:analytics"
128
+ ],
129
+ "permutations": [
130
+ "template:generate:analytics:template",
131
+ "generate:template:analytics:template",
132
+ "generate:analytics:template:template",
133
+ "generate:analytics:template:template",
134
+ "template:analytics:generate:template",
135
+ "analytics:template:generate:template",
136
+ "analytics:generate:template:template",
137
+ "analytics:generate:template:template",
138
+ "template:analytics:template:generate",
139
+ "analytics:template:template:generate",
140
+ "analytics:template:template:generate",
141
+ "analytics:template:generate:template",
142
+ "template:generate:template:analytics",
143
+ "generate:template:template:analytics",
144
+ "generate:template:template:analytics",
145
+ "generate:template:analytics:template",
146
+ "template:template:generate:analytics",
147
+ "template:template:generate:analytics",
148
+ "template:generate:template:analytics",
149
+ "template:generate:analytics:template",
150
+ "template:template:analytics:generate",
151
+ "template:template:analytics:generate",
152
+ "template:analytics:template:generate",
153
+ "template:analytics:generate:template"
154
+ ]
155
+ },
3
156
  "template:generate:apex:class": {
4
157
  "aliases": [
5
158
  "force:apex:class:create",
@@ -375,159 +528,6 @@
375
528
  "trigger:apex:generate:template"
376
529
  ]
377
530
  },
378
- "template:generate:analytics:template": {
379
- "aliases": [
380
- "force:analytics:template:create",
381
- "analytics:generate:template"
382
- ],
383
- "args": {},
384
- "deprecateAliases": true,
385
- "description": "The metadata files associated with the Analytics template must be contained in a parent directory called \"waveTemplates\" in your package directory. Either run this command from an existing directory of this name, or use the --output-dir flag to generate one or point to an existing one.",
386
- "examples": [
387
- "Generate the metadata files for a simple Analytics template file called myTemplate in the force-app/main/default/waveTemplates directory:\n<%= config.bin %> <%= command.id %> --name myTemplate --output-dir force-app/main/default/waveTemplates"
388
- ],
389
- "flags": {
390
- "json": {
391
- "description": "Format output as json.",
392
- "helpGroup": "GLOBAL",
393
- "name": "json",
394
- "allowNo": false,
395
- "type": "boolean"
396
- },
397
- "flags-dir": {
398
- "helpGroup": "GLOBAL",
399
- "name": "flags-dir",
400
- "summary": "Import flag values from a directory.",
401
- "hasDynamicHelp": false,
402
- "multiple": false,
403
- "type": "option"
404
- },
405
- "output-dir": {
406
- "aliases": [
407
- "outputdir"
408
- ],
409
- "char": "d",
410
- "deprecateAliases": true,
411
- "description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
412
- "name": "output-dir",
413
- "summary": "Directory for saving the created files.",
414
- "default": ".",
415
- "hasDynamicHelp": false,
416
- "multiple": false,
417
- "type": "option"
418
- },
419
- "api-version": {
420
- "aliases": [
421
- "apiversion"
422
- ],
423
- "deprecateAliases": true,
424
- "description": "Override the api version used for api requests made by this command",
425
- "name": "api-version",
426
- "hasDynamicHelp": false,
427
- "multiple": false,
428
- "type": "option"
429
- },
430
- "name": {
431
- "aliases": [
432
- "templatename"
433
- ],
434
- "char": "n",
435
- "deprecateAliases": true,
436
- "name": "name",
437
- "required": true,
438
- "summary": "Name of the Analytics template.",
439
- "hasDynamicHelp": false,
440
- "multiple": false,
441
- "type": "option"
442
- },
443
- "loglevel": {
444
- "deprecated": {
445
- "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."
446
- },
447
- "hidden": true,
448
- "name": "loglevel",
449
- "hasDynamicHelp": false,
450
- "multiple": false,
451
- "type": "option"
452
- }
453
- },
454
- "hasDynamicHelp": false,
455
- "hiddenAliases": [],
456
- "id": "template:generate:analytics:template",
457
- "pluginAlias": "@salesforce/plugin-templates",
458
- "pluginName": "@salesforce/plugin-templates",
459
- "pluginType": "core",
460
- "strict": true,
461
- "summary": "Generate a simple Analytics template.",
462
- "enableJsonFlag": true,
463
- "isESM": true,
464
- "relativePath": [
465
- "lib",
466
- "commands",
467
- "template",
468
- "generate",
469
- "analytics",
470
- "template.js"
471
- ],
472
- "aliasPermutations": [
473
- "force:analytics:template:create",
474
- "analytics:force:template:create",
475
- "analytics:template:force:create",
476
- "analytics:template:create:force",
477
- "force:template:analytics:create",
478
- "template:force:analytics:create",
479
- "template:analytics:force:create",
480
- "template:analytics:create:force",
481
- "force:template:create:analytics",
482
- "template:force:create:analytics",
483
- "template:create:force:analytics",
484
- "template:create:analytics:force",
485
- "force:analytics:create:template",
486
- "analytics:force:create:template",
487
- "analytics:create:force:template",
488
- "analytics:create:template:force",
489
- "force:create:analytics:template",
490
- "create:force:analytics:template",
491
- "create:analytics:force:template",
492
- "create:analytics:template:force",
493
- "force:create:template:analytics",
494
- "create:force:template:analytics",
495
- "create:template:force:analytics",
496
- "create:template:analytics:force",
497
- "analytics:generate:template",
498
- "generate:analytics:template",
499
- "generate:template:analytics",
500
- "analytics:template:generate",
501
- "template:analytics:generate",
502
- "template:generate:analytics"
503
- ],
504
- "permutations": [
505
- "template:generate:analytics:template",
506
- "generate:template:analytics:template",
507
- "generate:analytics:template:template",
508
- "generate:analytics:template:template",
509
- "template:analytics:generate:template",
510
- "analytics:template:generate:template",
511
- "analytics:generate:template:template",
512
- "analytics:generate:template:template",
513
- "template:analytics:template:generate",
514
- "analytics:template:template:generate",
515
- "analytics:template:template:generate",
516
- "analytics:template:generate:template",
517
- "template:generate:template:analytics",
518
- "generate:template:template:analytics",
519
- "generate:template:template:analytics",
520
- "generate:template:analytics:template",
521
- "template:template:generate:analytics",
522
- "template:template:generate:analytics",
523
- "template:generate:template:analytics",
524
- "template:generate:analytics:template",
525
- "template:template:analytics:generate",
526
- "template:template:analytics:generate",
527
- "template:analytics:template:generate",
528
- "template:analytics:generate:template"
529
- ]
530
- },
531
531
  "template:generate:digital-experience:site": {
532
532
  "aliases": [],
533
533
  "args": {},
@@ -774,193 +774,30 @@
774
774
  "multiple": false,
775
775
  "type": "option"
776
776
  },
777
- "secondary-fields": {
778
- "name": "secondary-fields",
779
- "summary": "Secondary fields shown in the dynamic highlights header. Specify multiple fields separated by commas. Maximum of 11 fields. Used only with RecordPage.",
780
- "delimiter": ",",
781
- "hasDynamicHelp": false,
782
- "multiple": true,
783
- "type": "option"
784
- },
785
- "detail-fields": {
786
- "name": "detail-fields",
787
- "summary": "Fields to display in the Details tab. Specify multiple fields separated by commas. Fields are split into two columns. Used only with RecordPage.",
788
- "delimiter": ",",
789
- "hasDynamicHelp": false,
790
- "multiple": true,
791
- "type": "option"
792
- },
793
- "internal": {
794
- "char": "i",
795
- "hidden": true,
796
- "name": "internal",
797
- "summary": "Generate lightning bundles without creating a -meta.xml file.",
798
- "allowNo": false,
799
- "type": "boolean"
800
- },
801
- "loglevel": {
802
- "deprecated": {
803
- "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."
804
- },
805
- "hidden": true,
806
- "name": "loglevel",
807
- "hasDynamicHelp": false,
808
- "multiple": false,
809
- "type": "option"
810
- }
811
- },
812
- "hasDynamicHelp": false,
813
- "hiddenAliases": [],
814
- "id": "template:generate:flexipage",
815
- "pluginAlias": "@salesforce/plugin-templates",
816
- "pluginName": "@salesforce/plugin-templates",
817
- "pluginType": "core",
818
- "state": "beta",
819
- "strict": true,
820
- "summary": "Generate a FlexiPage, also known as a Lightning page.",
821
- "enableJsonFlag": true,
822
- "MAX_SECONDARY_FIELDS": 11,
823
- "isESM": true,
824
- "relativePath": [
825
- "lib",
826
- "commands",
827
- "template",
828
- "generate",
829
- "flexipage",
830
- "index.js"
831
- ],
832
- "aliasPermutations": [],
833
- "permutations": [
834
- "template:generate:flexipage",
835
- "generate:template:flexipage",
836
- "generate:flexipage:template",
837
- "template:flexipage:generate",
838
- "flexipage:template:generate",
839
- "flexipage:generate:template"
840
- ]
841
- },
842
- "template:generate:project": {
843
- "aliases": [
844
- "force:project:create",
845
- "project:generate"
846
- ],
847
- "args": {},
848
- "deprecateAliases": true,
849
- "description": "A Salesforce DX project has a specific structure and a configuration file (sfdx-project.json) that identifies the directory as a Salesforce DX project. This command generates the necessary configuration files and directories to get you started.\n\nBy default, the generated sfdx-project.json file sets the sourceApiVersion property to the default API version currently used by Salesforce CLI. To specify a different version, set the apiVersion configuration variable. For example: \"sf config set apiVersion=57.0 --global\".",
850
- "examples": [
851
- "Generate a project called \"mywork\":\n<%= config.bin %> <%= command.id %> --name mywork",
852
- "Similar to previous example, but generate the files in a directory called \"myapp\":\n<%= config.bin %> <%= command.id %> --name mywork --default-package-dir myapp",
853
- "Similar to prevoius example, but also generate a default package.xml manifest file:\n<%= config.bin %> <%= command.id %> --name mywork --default-package-dir myapp --manifest",
854
- "Generate a project with the minimum files and directories:\n<%= config.bin %> <%= command.id %> --name mywork --template empty"
855
- ],
856
- "flags": {
857
- "json": {
858
- "description": "Format output as json.",
859
- "helpGroup": "GLOBAL",
860
- "name": "json",
861
- "allowNo": false,
862
- "type": "boolean"
863
- },
864
- "flags-dir": {
865
- "helpGroup": "GLOBAL",
866
- "name": "flags-dir",
867
- "summary": "Import flag values from a directory.",
868
- "hasDynamicHelp": false,
869
- "multiple": false,
870
- "type": "option"
871
- },
872
- "name": {
873
- "aliases": [
874
- "projectname"
875
- ],
876
- "char": "n",
877
- "deprecateAliases": true,
878
- "description": "Generates a project directory with this name; any valid directory name is accepted. Also sets the \"name\" property in the sfdx-project.json file to this name.",
879
- "name": "name",
880
- "required": true,
881
- "summary": "Name of the generated project.",
882
- "hasDynamicHelp": false,
883
- "multiple": false,
884
- "type": "option"
885
- },
886
- "template": {
887
- "char": "t",
888
- "description": "The template determines the sample configuration files and directories that this command generates. For example, the empty template provides these files and directory to get you started.\n\n- .forceignore\n- config/project-scratch-def.json\n- sfdx-project.json\n- package.json\n- force-app (basic source directory structure)\n\nThe standard template provides a complete force-app directory structure so you know where to put your source. It also provides additional files and scripts, especially useful when using Salesforce Extensions for VS Code. For example:\n\n- .gitignore: Use Git for version control.\n- .prettierrc and .prettierignore: Use Prettier to format your Aura components.\n- .vscode/extensions.json: When launched, Visual Studio Code, prompts you to install the recommended extensions for your project.\n- .vscode/launch.json: Configures Replay Debugger.\n- .vscode/settings.json: Additional configuration settings.\n\nThe analytics template provides similar files and the force-app/main/default/waveTemplates directory.\n\nThe reactb2e and reactb2x templates provide React-based project scaffolding for B2E and B2X web application use cases.\n\nThe agent template provides project scaffolding for building Agentforce agents and includes a sample agent called Local Info Agent.",
889
- "name": "template",
890
- "summary": "Template to use for project creation.",
891
- "default": "standard",
892
- "hasDynamicHelp": false,
893
- "multiple": false,
894
- "options": [
895
- "standard",
896
- "empty",
897
- "analytics",
898
- "reactb2e",
899
- "reactb2x",
900
- "agent"
901
- ],
902
- "type": "option"
903
- },
904
- "output-dir": {
905
- "aliases": [
906
- "outputdir"
907
- ],
908
- "char": "d",
909
- "deprecateAliases": true,
910
- "description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
911
- "name": "output-dir",
912
- "summary": "Directory for saving the created files.",
913
- "default": ".",
914
- "hasDynamicHelp": false,
915
- "multiple": false,
916
- "type": "option"
917
- },
918
- "namespace": {
919
- "char": "s",
920
- "name": "namespace",
921
- "summary": "Namespace associated with this project and any connected scratch orgs.",
922
- "default": "",
923
- "hasDynamicHelp": false,
924
- "multiple": false,
925
- "type": "option"
926
- },
927
- "default-package-dir": {
928
- "aliases": [
929
- "defaultpackagedir"
930
- ],
931
- "char": "p",
932
- "deprecateAliases": true,
933
- "description": "Metadata items such as classes and Lightning bundles are placed inside this folder.",
934
- "name": "default-package-dir",
935
- "summary": "Default package directory name.",
936
- "default": "force-app",
937
- "hasDynamicHelp": false,
938
- "multiple": false,
939
- "type": "option"
940
- },
941
- "manifest": {
942
- "char": "x",
943
- "description": "Generates a default manifest (package.xml) for fetching Apex, Visualforce, Lightning components, and static resources.",
944
- "name": "manifest",
945
- "summary": "Generate a manifest (package.xml) for change-set based development.",
946
- "allowNo": false,
947
- "type": "boolean"
777
+ "secondary-fields": {
778
+ "name": "secondary-fields",
779
+ "summary": "Secondary fields shown in the dynamic highlights header. Specify multiple fields separated by commas. Maximum of 11 fields. Used only with RecordPage.",
780
+ "delimiter": ",",
781
+ "hasDynamicHelp": false,
782
+ "multiple": true,
783
+ "type": "option"
948
784
  },
949
- "login-url": {
950
- "aliases": [
951
- "loginurl"
952
- ],
953
- "char": "l",
954
- "deprecateAliases": true,
955
- "description": "Normally defaults to https://login.salesforce.com.",
956
- "hidden": true,
957
- "name": "login-url",
958
- "summary": "Salesforce instance login URL.",
959
- "default": "https://login.salesforce.com",
785
+ "detail-fields": {
786
+ "name": "detail-fields",
787
+ "summary": "Fields to display in the Details tab. Specify multiple fields separated by commas. Fields are split into two columns. Used only with RecordPage.",
788
+ "delimiter": ",",
960
789
  "hasDynamicHelp": false,
961
- "multiple": false,
790
+ "multiple": true,
962
791
  "type": "option"
963
792
  },
793
+ "internal": {
794
+ "char": "i",
795
+ "hidden": true,
796
+ "name": "internal",
797
+ "summary": "Generate lightning bundles without creating a -meta.xml file.",
798
+ "allowNo": false,
799
+ "type": "boolean"
800
+ },
964
801
  "loglevel": {
965
802
  "deprecated": {
966
803
  "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."
@@ -970,51 +807,36 @@
970
807
  "hasDynamicHelp": false,
971
808
  "multiple": false,
972
809
  "type": "option"
973
- },
974
- "api-version": {
975
- "description": "Override the api version used for api requests made by this command",
976
- "name": "api-version",
977
- "summary": "Will set this version as sourceApiVersion in the sfdx-project.json file",
978
- "hasDynamicHelp": false,
979
- "multiple": false,
980
- "type": "option"
981
810
  }
982
811
  },
983
812
  "hasDynamicHelp": false,
984
813
  "hiddenAliases": [],
985
- "id": "template:generate:project",
814
+ "id": "template:generate:flexipage",
986
815
  "pluginAlias": "@salesforce/plugin-templates",
987
816
  "pluginName": "@salesforce/plugin-templates",
988
817
  "pluginType": "core",
818
+ "state": "beta",
989
819
  "strict": true,
990
- "summary": "Generate a Salesforce DX project.",
820
+ "summary": "Generate a FlexiPage, also known as a Lightning page.",
991
821
  "enableJsonFlag": true,
822
+ "MAX_SECONDARY_FIELDS": 11,
992
823
  "isESM": true,
993
824
  "relativePath": [
994
825
  "lib",
995
826
  "commands",
996
827
  "template",
997
828
  "generate",
998
- "project",
829
+ "flexipage",
999
830
  "index.js"
1000
831
  ],
1001
- "aliasPermutations": [
1002
- "force:project:create",
1003
- "project:force:create",
1004
- "project:create:force",
1005
- "force:create:project",
1006
- "create:force:project",
1007
- "create:project:force",
1008
- "project:generate",
1009
- "generate:project"
1010
- ],
832
+ "aliasPermutations": [],
1011
833
  "permutations": [
1012
- "template:generate:project",
1013
- "generate:template:project",
1014
- "generate:project:template",
1015
- "template:project:generate",
1016
- "project:template:generate",
1017
- "project:generate:template"
834
+ "template:generate:flexipage",
835
+ "generate:template:flexipage",
836
+ "generate:flexipage:template",
837
+ "template:flexipage:generate",
838
+ "flexipage:template:generate",
839
+ "flexipage:generate:template"
1018
840
  ]
1019
841
  },
1020
842
  "template:generate:lightning:app": {
@@ -1913,6 +1735,184 @@
1913
1735
  "test:lightning:generate:template"
1914
1736
  ]
1915
1737
  },
1738
+ "template:generate:project": {
1739
+ "aliases": [
1740
+ "force:project:create",
1741
+ "project:generate"
1742
+ ],
1743
+ "args": {},
1744
+ "deprecateAliases": true,
1745
+ "description": "A Salesforce DX project has a specific structure and a configuration file (sfdx-project.json) that identifies the directory as a Salesforce DX project. This command generates the necessary configuration files and directories to get you started.\n\nBy default, the generated sfdx-project.json file sets the sourceApiVersion property to the default API version currently used by Salesforce CLI. To specify a different version, set the apiVersion configuration variable. For example: \"sf config set apiVersion=57.0 --global\".",
1746
+ "examples": [
1747
+ "Generate a project called \"mywork\":\n<%= config.bin %> <%= command.id %> --name mywork",
1748
+ "Similar to previous example, but generate the files in a directory called \"myapp\":\n<%= config.bin %> <%= command.id %> --name mywork --default-package-dir myapp",
1749
+ "Similar to prevoius example, but also generate a default package.xml manifest file:\n<%= config.bin %> <%= command.id %> --name mywork --default-package-dir myapp --manifest",
1750
+ "Generate a project with the minimum files and directories:\n<%= config.bin %> <%= command.id %> --name mywork --template empty"
1751
+ ],
1752
+ "flags": {
1753
+ "json": {
1754
+ "description": "Format output as json.",
1755
+ "helpGroup": "GLOBAL",
1756
+ "name": "json",
1757
+ "allowNo": false,
1758
+ "type": "boolean"
1759
+ },
1760
+ "flags-dir": {
1761
+ "helpGroup": "GLOBAL",
1762
+ "name": "flags-dir",
1763
+ "summary": "Import flag values from a directory.",
1764
+ "hasDynamicHelp": false,
1765
+ "multiple": false,
1766
+ "type": "option"
1767
+ },
1768
+ "name": {
1769
+ "aliases": [
1770
+ "projectname"
1771
+ ],
1772
+ "char": "n",
1773
+ "deprecateAliases": true,
1774
+ "description": "Generates a project directory with this name; any valid directory name is accepted. Also sets the \"name\" property in the sfdx-project.json file to this name.",
1775
+ "name": "name",
1776
+ "required": true,
1777
+ "summary": "Name of the generated project.",
1778
+ "hasDynamicHelp": false,
1779
+ "multiple": false,
1780
+ "type": "option"
1781
+ },
1782
+ "template": {
1783
+ "char": "t",
1784
+ "description": "The template determines the sample configuration files and directories that this command generates. For example, the empty template provides these files and directory to get you started.\n\n- .forceignore\n- config/project-scratch-def.json\n- sfdx-project.json\n- package.json\n- force-app (basic source directory structure)\n\nThe standard template provides a complete force-app directory structure so you know where to put your source. It also provides additional files and scripts, especially useful when using Salesforce Extensions for VS Code. For example:\n\n- .gitignore: Use Git for version control.\n- .prettierrc and .prettierignore: Use Prettier to format your Aura components.\n- .vscode/extensions.json: When launched, Visual Studio Code, prompts you to install the recommended extensions for your project.\n- .vscode/launch.json: Configures Replay Debugger.\n- .vscode/settings.json: Additional configuration settings.\n\nThe analytics template provides similar files and the force-app/main/default/waveTemplates directory.\n\nThe reactb2e and reactb2x templates provide React-based project scaffolding for B2E and B2X web application use cases.\n\nThe agent template provides project scaffolding for building Agentforce agents and includes a sample agent called Local Info Agent.",
1785
+ "name": "template",
1786
+ "summary": "Template to use for project creation.",
1787
+ "default": "standard",
1788
+ "hasDynamicHelp": false,
1789
+ "multiple": false,
1790
+ "options": [
1791
+ "standard",
1792
+ "empty",
1793
+ "analytics",
1794
+ "reactb2e",
1795
+ "reactb2x",
1796
+ "agent"
1797
+ ],
1798
+ "type": "option"
1799
+ },
1800
+ "output-dir": {
1801
+ "aliases": [
1802
+ "outputdir"
1803
+ ],
1804
+ "char": "d",
1805
+ "deprecateAliases": true,
1806
+ "description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
1807
+ "name": "output-dir",
1808
+ "summary": "Directory for saving the created files.",
1809
+ "default": ".",
1810
+ "hasDynamicHelp": false,
1811
+ "multiple": false,
1812
+ "type": "option"
1813
+ },
1814
+ "namespace": {
1815
+ "char": "s",
1816
+ "name": "namespace",
1817
+ "summary": "Namespace associated with this project and any connected scratch orgs.",
1818
+ "default": "",
1819
+ "hasDynamicHelp": false,
1820
+ "multiple": false,
1821
+ "type": "option"
1822
+ },
1823
+ "default-package-dir": {
1824
+ "aliases": [
1825
+ "defaultpackagedir"
1826
+ ],
1827
+ "char": "p",
1828
+ "deprecateAliases": true,
1829
+ "description": "Metadata items such as classes and Lightning bundles are placed inside this folder.",
1830
+ "name": "default-package-dir",
1831
+ "summary": "Default package directory name.",
1832
+ "default": "force-app",
1833
+ "hasDynamicHelp": false,
1834
+ "multiple": false,
1835
+ "type": "option"
1836
+ },
1837
+ "manifest": {
1838
+ "char": "x",
1839
+ "description": "Generates a default manifest (package.xml) for fetching Apex, Visualforce, Lightning components, and static resources.",
1840
+ "name": "manifest",
1841
+ "summary": "Generate a manifest (package.xml) for change-set based development.",
1842
+ "allowNo": false,
1843
+ "type": "boolean"
1844
+ },
1845
+ "login-url": {
1846
+ "aliases": [
1847
+ "loginurl"
1848
+ ],
1849
+ "char": "l",
1850
+ "deprecateAliases": true,
1851
+ "description": "Normally defaults to https://login.salesforce.com.",
1852
+ "hidden": true,
1853
+ "name": "login-url",
1854
+ "summary": "Salesforce instance login URL.",
1855
+ "default": "https://login.salesforce.com",
1856
+ "hasDynamicHelp": false,
1857
+ "multiple": false,
1858
+ "type": "option"
1859
+ },
1860
+ "loglevel": {
1861
+ "deprecated": {
1862
+ "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."
1863
+ },
1864
+ "hidden": true,
1865
+ "name": "loglevel",
1866
+ "hasDynamicHelp": false,
1867
+ "multiple": false,
1868
+ "type": "option"
1869
+ },
1870
+ "api-version": {
1871
+ "description": "Override the api version used for api requests made by this command",
1872
+ "name": "api-version",
1873
+ "summary": "Will set this version as sourceApiVersion in the sfdx-project.json file",
1874
+ "hasDynamicHelp": false,
1875
+ "multiple": false,
1876
+ "type": "option"
1877
+ }
1878
+ },
1879
+ "hasDynamicHelp": false,
1880
+ "hiddenAliases": [],
1881
+ "id": "template:generate:project",
1882
+ "pluginAlias": "@salesforce/plugin-templates",
1883
+ "pluginName": "@salesforce/plugin-templates",
1884
+ "pluginType": "core",
1885
+ "strict": true,
1886
+ "summary": "Generate a Salesforce DX project.",
1887
+ "enableJsonFlag": true,
1888
+ "isESM": true,
1889
+ "relativePath": [
1890
+ "lib",
1891
+ "commands",
1892
+ "template",
1893
+ "generate",
1894
+ "project",
1895
+ "index.js"
1896
+ ],
1897
+ "aliasPermutations": [
1898
+ "force:project:create",
1899
+ "project:force:create",
1900
+ "project:create:force",
1901
+ "force:create:project",
1902
+ "create:force:project",
1903
+ "create:project:force",
1904
+ "project:generate",
1905
+ "generate:project"
1906
+ ],
1907
+ "permutations": [
1908
+ "template:generate:project",
1909
+ "generate:template:project",
1910
+ "generate:project:template",
1911
+ "template:project:generate",
1912
+ "project:template:generate",
1913
+ "project:generate:template"
1914
+ ]
1915
+ },
1916
1916
  "template:generate:static-resource": {
1917
1917
  "aliases": [
1918
1918
  "force:staticresource:create",
@@ -2508,5 +2508,5 @@
2508
2508
  ]
2509
2509
  }
2510
2510
  },
2511
- "version": "56.11.0"
2511
+ "version": "56.11.2"
2512
2512
  }
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.11.0",
4
+ "version": "56.11.2",
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.0",
11
11
  "@salesforce/sf-plugins-core": "^12",
12
- "@salesforce/templates": "^66.5.0"
12
+ "@salesforce/templates": "^66.5.4"
13
13
  },
14
14
  "devDependencies": {
15
15
  "@oclif/plugin-command-snapshot": "^5.3.12",
@@ -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.11.0.crt",
253
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.11.0.sig"
252
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.11.2.crt",
253
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.11.2.sig"
254
254
  }
255
255
  }