@salesforce/plugin-templates 56.19.2 → 56.19.3

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 +15 -15
  2. package/oclif.manifest.json +373 -373
  3. package/package.json +3 -3
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.19.2/src/commands/template/generate/analytics/template.ts)_
180
+ _See code: [src/commands/template/generate/analytics/template.ts](https://github.com/salesforcecli/plugin-templates/blob/56.19.3/src/commands/template/generate/analytics/template.ts)_
181
181
 
182
182
  ## `sf template generate apex class`
183
183
 
@@ -239,7 +239,7 @@ FLAG DESCRIPTIONS
239
239
  Supplied parameter values or default values are filled into a copy of the template.
240
240
  ```
241
241
 
242
- _See code: [src/commands/template/generate/apex/class.ts](https://github.com/salesforcecli/plugin-templates/blob/56.19.2/src/commands/template/generate/apex/class.ts)_
242
+ _See code: [src/commands/template/generate/apex/class.ts](https://github.com/salesforcecli/plugin-templates/blob/56.19.3/src/commands/template/generate/apex/class.ts)_
243
243
 
244
244
  ## `sf template generate apex trigger`
245
245
 
@@ -309,7 +309,7 @@ FLAG DESCRIPTIONS
309
309
  Supplied parameter values or default values are filled into a copy of the template.
310
310
  ```
311
311
 
312
- _See code: [src/commands/template/generate/apex/trigger.ts](https://github.com/salesforcecli/plugin-templates/blob/56.19.2/src/commands/template/generate/apex/trigger.ts)_
312
+ _See code: [src/commands/template/generate/apex/trigger.ts](https://github.com/salesforcecli/plugin-templates/blob/56.19.3/src/commands/template/generate/apex/trigger.ts)_
313
313
 
314
314
  ## `sf template generate digital-experience site`
315
315
 
@@ -363,7 +363,7 @@ FLAG DESCRIPTIONS
363
363
  project, defaults to the current directory.
364
364
  ```
365
365
 
366
- _See code: [src/commands/template/generate/digital-experience/site.ts](https://github.com/salesforcecli/plugin-templates/blob/56.19.2/src/commands/template/generate/digital-experience/site.ts)_
366
+ _See code: [src/commands/template/generate/digital-experience/site.ts](https://github.com/salesforcecli/plugin-templates/blob/56.19.3/src/commands/template/generate/digital-experience/site.ts)_
367
367
 
368
368
  ## `sf template generate flexipage`
369
369
 
@@ -445,7 +445,7 @@ FLAG DESCRIPTIONS
445
445
  'Custom_Object__c'. This sets the `sobjectType` field in the FlexiPage metadata.
446
446
  ```
447
447
 
448
- _See code: [src/commands/template/generate/flexipage/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.19.2/src/commands/template/generate/flexipage/index.ts)_
448
+ _See code: [src/commands/template/generate/flexipage/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.19.3/src/commands/template/generate/flexipage/index.ts)_
449
449
 
450
450
  ## `sf template generate lightning app`
451
451
 
@@ -503,7 +503,7 @@ FLAG DESCRIPTIONS
503
503
  field in the DX project's "sfdx-project.json" file.
504
504
  ```
505
505
 
506
- _See code: [src/commands/template/generate/lightning/app.ts](https://github.com/salesforcecli/plugin-templates/blob/56.19.2/src/commands/template/generate/lightning/app.ts)_
506
+ _See code: [src/commands/template/generate/lightning/app.ts](https://github.com/salesforcecli/plugin-templates/blob/56.19.3/src/commands/template/generate/lightning/app.ts)_
507
507
 
508
508
  ## `sf template generate lightning component`
509
509
 
@@ -580,7 +580,7 @@ FLAG DESCRIPTIONS
580
580
  field in the DX project's "sfdx-project.json" file.
581
581
  ```
582
582
 
583
- _See code: [src/commands/template/generate/lightning/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.19.2/src/commands/template/generate/lightning/component.ts)_
583
+ _See code: [src/commands/template/generate/lightning/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.19.3/src/commands/template/generate/lightning/component.ts)_
584
584
 
585
585
  ## `sf template generate lightning event`
586
586
 
@@ -638,7 +638,7 @@ FLAG DESCRIPTIONS
638
638
  field in the DX project's "sfdx-project.json" file.
639
639
  ```
640
640
 
641
- _See code: [src/commands/template/generate/lightning/event.ts](https://github.com/salesforcecli/plugin-templates/blob/56.19.2/src/commands/template/generate/lightning/event.ts)_
641
+ _See code: [src/commands/template/generate/lightning/event.ts](https://github.com/salesforcecli/plugin-templates/blob/56.19.3/src/commands/template/generate/lightning/event.ts)_
642
642
 
643
643
  ## `sf template generate lightning interface`
644
644
 
@@ -696,7 +696,7 @@ FLAG DESCRIPTIONS
696
696
  field in the DX project's "sfdx-project.json" file.
697
697
  ```
698
698
 
699
- _See code: [src/commands/template/generate/lightning/interface.ts](https://github.com/salesforcecli/plugin-templates/blob/56.19.2/src/commands/template/generate/lightning/interface.ts)_
699
+ _See code: [src/commands/template/generate/lightning/interface.ts](https://github.com/salesforcecli/plugin-templates/blob/56.19.3/src/commands/template/generate/lightning/interface.ts)_
700
700
 
701
701
  ## `sf template generate lightning test`
702
702
 
@@ -754,7 +754,7 @@ FLAG DESCRIPTIONS
754
754
  field in the DX project's "sfdx-project.json" file.
755
755
  ```
756
756
 
757
- _See code: [src/commands/template/generate/lightning/test.ts](https://github.com/salesforcecli/plugin-templates/blob/56.19.2/src/commands/template/generate/lightning/test.ts)_
757
+ _See code: [src/commands/template/generate/lightning/test.ts](https://github.com/salesforcecli/plugin-templates/blob/56.19.3/src/commands/template/generate/lightning/test.ts)_
758
758
 
759
759
  ## `sf template generate project`
760
760
 
@@ -886,7 +886,7 @@ FLAG DESCRIPTIONS
886
886
  server-side type stripping.
887
887
  ```
888
888
 
889
- _See code: [src/commands/template/generate/project/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.19.2/src/commands/template/generate/project/index.ts)_
889
+ _See code: [src/commands/template/generate/project/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.19.3/src/commands/template/generate/project/index.ts)_
890
890
 
891
891
  ## `sf template generate static-resource`
892
892
 
@@ -949,7 +949,7 @@ FLAG DESCRIPTIONS
949
949
  etc.
950
950
  ```
951
951
 
952
- _See code: [src/commands/template/generate/static-resource/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.19.2/src/commands/template/generate/static-resource/index.ts)_
952
+ _See code: [src/commands/template/generate/static-resource/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.19.3/src/commands/template/generate/static-resource/index.ts)_
953
953
 
954
954
  ## `sf template generate ui-bundle`
955
955
 
@@ -1038,7 +1038,7 @@ FLAG DESCRIPTIONS
1038
1038
  Supplied parameter values or default values are filled into a copy of the template.
1039
1039
  ```
1040
1040
 
1041
- _See code: [src/commands/template/generate/ui-bundle/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.19.2/src/commands/template/generate/ui-bundle/index.ts)_
1041
+ _See code: [src/commands/template/generate/ui-bundle/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.19.3/src/commands/template/generate/ui-bundle/index.ts)_
1042
1042
 
1043
1043
  ## `sf template generate visualforce component`
1044
1044
 
@@ -1095,7 +1095,7 @@ FLAG DESCRIPTIONS
1095
1095
  Supplied parameter values or default values are filled into a copy of the template.
1096
1096
  ```
1097
1097
 
1098
- _See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.19.2/src/commands/template/generate/visualforce/component.ts)_
1098
+ _See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.19.3/src/commands/template/generate/visualforce/component.ts)_
1099
1099
 
1100
1100
  ## `sf template generate visualforce page`
1101
1101
 
@@ -1146,6 +1146,6 @@ FLAG DESCRIPTIONS
1146
1146
  The name can be up to 40 characters and must start with a letter.
1147
1147
  ```
1148
1148
 
1149
- _See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/56.19.2/src/commands/template/generate/visualforce/page.ts)_
1149
+ _See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/56.19.3/src/commands/template/generate/visualforce/page.ts)_
1150
1150
 
1151
1151
  <!-- 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 `SF_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",
@@ -377,159 +530,6 @@
377
530
  "trigger:apex:generate:template"
378
531
  ]
379
532
  },
380
- "template:generate:analytics:template": {
381
- "aliases": [
382
- "force:analytics:template:create",
383
- "analytics:generate:template"
384
- ],
385
- "args": {},
386
- "deprecateAliases": true,
387
- "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.",
388
- "examples": [
389
- "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"
390
- ],
391
- "flags": {
392
- "json": {
393
- "description": "Format output as json.",
394
- "helpGroup": "GLOBAL",
395
- "name": "json",
396
- "allowNo": false,
397
- "type": "boolean"
398
- },
399
- "flags-dir": {
400
- "helpGroup": "GLOBAL",
401
- "name": "flags-dir",
402
- "summary": "Import flag values from a directory.",
403
- "hasDynamicHelp": false,
404
- "multiple": false,
405
- "type": "option"
406
- },
407
- "output-dir": {
408
- "aliases": [
409
- "outputdir"
410
- ],
411
- "char": "d",
412
- "deprecateAliases": true,
413
- "description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
414
- "name": "output-dir",
415
- "summary": "Directory for saving the created files.",
416
- "default": ".",
417
- "hasDynamicHelp": false,
418
- "multiple": false,
419
- "type": "option"
420
- },
421
- "api-version": {
422
- "aliases": [
423
- "apiversion"
424
- ],
425
- "deprecateAliases": true,
426
- "description": "Override the api version used for api requests made by this command",
427
- "name": "api-version",
428
- "hasDynamicHelp": false,
429
- "multiple": false,
430
- "type": "option"
431
- },
432
- "name": {
433
- "aliases": [
434
- "templatename"
435
- ],
436
- "char": "n",
437
- "deprecateAliases": true,
438
- "name": "name",
439
- "required": true,
440
- "summary": "Name of the Analytics template.",
441
- "hasDynamicHelp": false,
442
- "multiple": false,
443
- "type": "option"
444
- },
445
- "loglevel": {
446
- "deprecated": {
447
- "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 `SF_LOG_LEVEL` environment variable."
448
- },
449
- "hidden": true,
450
- "name": "loglevel",
451
- "hasDynamicHelp": false,
452
- "multiple": false,
453
- "type": "option"
454
- }
455
- },
456
- "hasDynamicHelp": false,
457
- "hiddenAliases": [],
458
- "id": "template:generate:analytics:template",
459
- "pluginAlias": "@salesforce/plugin-templates",
460
- "pluginName": "@salesforce/plugin-templates",
461
- "pluginType": "core",
462
- "strict": true,
463
- "summary": "Generate a simple Analytics template.",
464
- "enableJsonFlag": true,
465
- "isESM": true,
466
- "relativePath": [
467
- "lib",
468
- "commands",
469
- "template",
470
- "generate",
471
- "analytics",
472
- "template.js"
473
- ],
474
- "aliasPermutations": [
475
- "force:analytics:template:create",
476
- "analytics:force:template:create",
477
- "analytics:template:force:create",
478
- "analytics:template:create:force",
479
- "force:template:analytics:create",
480
- "template:force:analytics:create",
481
- "template:analytics:force:create",
482
- "template:analytics:create:force",
483
- "force:template:create:analytics",
484
- "template:force:create:analytics",
485
- "template:create:force:analytics",
486
- "template:create:analytics:force",
487
- "force:analytics:create:template",
488
- "analytics:force:create:template",
489
- "analytics:create:force:template",
490
- "analytics:create:template:force",
491
- "force:create:analytics:template",
492
- "create:force:analytics:template",
493
- "create:analytics:force:template",
494
- "create:analytics:template:force",
495
- "force:create:template:analytics",
496
- "create:force:template:analytics",
497
- "create:template:force:analytics",
498
- "create:template:analytics:force",
499
- "analytics:generate:template",
500
- "generate:analytics:template",
501
- "generate:template:analytics",
502
- "analytics:template:generate",
503
- "template:analytics:generate",
504
- "template:generate:analytics"
505
- ],
506
- "permutations": [
507
- "template:generate:analytics:template",
508
- "generate:template:analytics:template",
509
- "generate:analytics:template:template",
510
- "generate:analytics:template:template",
511
- "template:analytics:generate:template",
512
- "analytics:template:generate:template",
513
- "analytics:generate:template:template",
514
- "analytics:generate:template:template",
515
- "template:analytics:template:generate",
516
- "analytics:template:template:generate",
517
- "analytics:template:template:generate",
518
- "analytics:template:generate:template",
519
- "template:generate:template:analytics",
520
- "generate:template:template:analytics",
521
- "generate:template:template:analytics",
522
- "generate:template:analytics:template",
523
- "template:template:generate:analytics",
524
- "template:template:generate:analytics",
525
- "template:generate:template:analytics",
526
- "template:generate:analytics:template",
527
- "template:template:analytics:generate",
528
- "template:template:analytics:generate",
529
- "template:analytics:template:generate",
530
- "template:analytics:generate:template"
531
- ]
532
- },
533
533
  "template:generate:digital-experience:site": {
534
534
  "aliases": [],
535
535
  "args": {},
@@ -781,203 +781,25 @@
781
781
  "summary": "Secondary fields shown in the dynamic highlights header. Specify multiple fields separated by commas. Maximum of 11 fields. Used only with RecordPage.",
782
782
  "delimiter": ",",
783
783
  "hasDynamicHelp": false,
784
- "multiple": true,
785
- "type": "option"
786
- },
787
- "detail-fields": {
788
- "name": "detail-fields",
789
- "summary": "Fields to display in the Details tab. Specify multiple fields separated by commas. Fields are split into two columns. Used only with RecordPage.",
790
- "delimiter": ",",
791
- "hasDynamicHelp": false,
792
- "multiple": true,
793
- "type": "option"
794
- },
795
- "internal": {
796
- "char": "i",
797
- "hidden": true,
798
- "name": "internal",
799
- "summary": "Generate lightning bundles without creating a -meta.xml file.",
800
- "allowNo": false,
801
- "type": "boolean"
802
- },
803
- "loglevel": {
804
- "deprecated": {
805
- "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 `SF_LOG_LEVEL` environment variable."
806
- },
807
- "hidden": true,
808
- "name": "loglevel",
809
- "hasDynamicHelp": false,
810
- "multiple": false,
811
- "type": "option"
812
- }
813
- },
814
- "hasDynamicHelp": false,
815
- "hiddenAliases": [],
816
- "id": "template:generate:flexipage",
817
- "pluginAlias": "@salesforce/plugin-templates",
818
- "pluginName": "@salesforce/plugin-templates",
819
- "pluginType": "core",
820
- "state": "beta",
821
- "strict": true,
822
- "summary": "Generate a FlexiPage, also known as a Lightning page.",
823
- "enableJsonFlag": true,
824
- "MAX_SECONDARY_FIELDS": 11,
825
- "isESM": true,
826
- "relativePath": [
827
- "lib",
828
- "commands",
829
- "template",
830
- "generate",
831
- "flexipage",
832
- "index.js"
833
- ],
834
- "aliasPermutations": [],
835
- "permutations": [
836
- "template:generate:flexipage",
837
- "generate:template:flexipage",
838
- "generate:flexipage:template",
839
- "template:flexipage:generate",
840
- "flexipage:template:generate",
841
- "flexipage:generate:template"
842
- ]
843
- },
844
- "template:generate:project": {
845
- "aliases": [
846
- "force:project:create",
847
- "project:generate"
848
- ],
849
- "args": {},
850
- "deprecateAliases": true,
851
- "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\".",
852
- "examples": [
853
- "Generate a project called \"mywork\":\n<%= config.bin %> <%= command.id %> --name mywork",
854
- "Similar to previous example, but generate the files in a directory called \"myapp\":\n<%= config.bin %> <%= command.id %> --name mywork --default-package-dir myapp",
855
- "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",
856
- "Generate a project with the minimum files and directories:\n<%= config.bin %> <%= command.id %> --name mywork --template empty",
857
- "Generate a project in which the Lightning Web Components use TypeScript rather than the default JavaScript:\n<%= config.bin %> <%= command.id %> --name mywork --lwc-language typescript"
858
- ],
859
- "flags": {
860
- "json": {
861
- "description": "Format output as json.",
862
- "helpGroup": "GLOBAL",
863
- "name": "json",
864
- "allowNo": false,
865
- "type": "boolean"
866
- },
867
- "flags-dir": {
868
- "helpGroup": "GLOBAL",
869
- "name": "flags-dir",
870
- "summary": "Import flag values from a directory.",
871
- "hasDynamicHelp": false,
872
- "multiple": false,
873
- "type": "option"
874
- },
875
- "name": {
876
- "aliases": [
877
- "projectname"
878
- ],
879
- "char": "n",
880
- "deprecateAliases": true,
881
- "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.",
882
- "name": "name",
883
- "required": true,
884
- "summary": "Name of the generated project.",
885
- "hasDynamicHelp": false,
886
- "multiple": false,
887
- "type": "option"
888
- },
889
- "template": {
890
- "char": "t",
891
- "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 reactinternalapp and reactexternalapp templates provide React-based project scaffolding for internal and external UI bundle use cases.\n\nThe angularinternalapp and angularexternalapp templates provide Angular-based project scaffolding for internal and external UI bundle use cases.\n\nThe agent template provides project scaffolding for building Agentforce agents and includes a sample agent called Local Info Agent.",
892
- "name": "template",
893
- "summary": "Template to use for project creation.",
894
- "default": "standard",
895
- "hasDynamicHelp": false,
896
- "multiple": false,
897
- "options": [
898
- "standard",
899
- "empty",
900
- "analytics",
901
- "reactinternalapp",
902
- "reactexternalapp",
903
- "angularinternalapp",
904
- "angularexternalapp",
905
- "agent"
906
- ],
907
- "type": "option"
908
- },
909
- "output-dir": {
910
- "aliases": [
911
- "outputdir"
912
- ],
913
- "char": "d",
914
- "deprecateAliases": true,
915
- "description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
916
- "name": "output-dir",
917
- "summary": "Directory for saving the created files.",
918
- "default": ".",
919
- "hasDynamicHelp": false,
920
- "multiple": false,
921
- "type": "option"
922
- },
923
- "namespace": {
924
- "char": "s",
925
- "name": "namespace",
926
- "summary": "Namespace associated with this project and any connected scratch orgs.",
927
- "default": "",
928
- "hasDynamicHelp": false,
929
- "multiple": false,
930
- "type": "option"
931
- },
932
- "default-package-dir": {
933
- "aliases": [
934
- "defaultpackagedir"
935
- ],
936
- "char": "p",
937
- "deprecateAliases": true,
938
- "description": "Metadata items such as classes and Lightning bundles are placed inside this folder.",
939
- "name": "default-package-dir",
940
- "summary": "Default package directory name.",
941
- "default": "force-app",
942
- "hasDynamicHelp": false,
943
- "multiple": false,
944
- "type": "option"
945
- },
946
- "manifest": {
947
- "char": "x",
948
- "description": "Generates a default manifest (package.xml) for fetching Apex, Visualforce, Lightning components, and static resources.",
949
- "name": "manifest",
950
- "summary": "Generate a manifest (package.xml) for change-set based development.",
951
- "allowNo": false,
952
- "type": "boolean"
953
- },
954
- "login-url": {
955
- "aliases": [
956
- "loginurl"
957
- ],
958
- "char": "l",
959
- "deprecateAliases": true,
960
- "description": "Normally defaults to https://login.salesforce.com.",
961
- "hidden": true,
962
- "name": "login-url",
963
- "summary": "Salesforce instance login URL.",
964
- "default": "https://login.salesforce.com",
965
- "hasDynamicHelp": false,
966
- "multiple": false,
784
+ "multiple": true,
967
785
  "type": "option"
968
786
  },
969
- "lwc-language": {
970
- "description": "When set to `'typescript'`, generates TypeScript configuration files (tsconfig.json, package.json with TypeScript dependencies, and TypeScript-aware ESLint config). When you deploy the TypeScript-based Lightning Web Components, the TypeScript files are first compiled locally for validation and then the `.ts` files are deployed to your org for server-side type stripping.",
971
- "name": "lwc-language",
972
- "summary": "Language of the Lightning Web Components. If not specified, \"javascript\" is used.",
787
+ "detail-fields": {
788
+ "name": "detail-fields",
789
+ "summary": "Fields to display in the Details tab. Specify multiple fields separated by commas. Fields are split into two columns. Used only with RecordPage.",
790
+ "delimiter": ",",
973
791
  "hasDynamicHelp": false,
974
- "multiple": false,
975
- "options": [
976
- "javascript",
977
- "typescript"
978
- ],
792
+ "multiple": true,
979
793
  "type": "option"
980
794
  },
795
+ "internal": {
796
+ "char": "i",
797
+ "hidden": true,
798
+ "name": "internal",
799
+ "summary": "Generate lightning bundles without creating a -meta.xml file.",
800
+ "allowNo": false,
801
+ "type": "boolean"
802
+ },
981
803
  "loglevel": {
982
804
  "deprecated": {
983
805
  "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 `SF_LOG_LEVEL` environment variable."
@@ -987,51 +809,36 @@
987
809
  "hasDynamicHelp": false,
988
810
  "multiple": false,
989
811
  "type": "option"
990
- },
991
- "api-version": {
992
- "description": "Override the api version used for api requests made by this command",
993
- "name": "api-version",
994
- "summary": "Will set this version as sourceApiVersion in the sfdx-project.json file",
995
- "hasDynamicHelp": false,
996
- "multiple": false,
997
- "type": "option"
998
812
  }
999
813
  },
1000
814
  "hasDynamicHelp": false,
1001
815
  "hiddenAliases": [],
1002
- "id": "template:generate:project",
816
+ "id": "template:generate:flexipage",
1003
817
  "pluginAlias": "@salesforce/plugin-templates",
1004
818
  "pluginName": "@salesforce/plugin-templates",
1005
819
  "pluginType": "core",
820
+ "state": "beta",
1006
821
  "strict": true,
1007
- "summary": "Generate a Salesforce DX project.",
822
+ "summary": "Generate a FlexiPage, also known as a Lightning page.",
1008
823
  "enableJsonFlag": true,
824
+ "MAX_SECONDARY_FIELDS": 11,
1009
825
  "isESM": true,
1010
826
  "relativePath": [
1011
827
  "lib",
1012
828
  "commands",
1013
829
  "template",
1014
830
  "generate",
1015
- "project",
831
+ "flexipage",
1016
832
  "index.js"
1017
833
  ],
1018
- "aliasPermutations": [
1019
- "force:project:create",
1020
- "project:force:create",
1021
- "project:create:force",
1022
- "force:create:project",
1023
- "create:force:project",
1024
- "create:project:force",
1025
- "project:generate",
1026
- "generate:project"
1027
- ],
834
+ "aliasPermutations": [],
1028
835
  "permutations": [
1029
- "template:generate:project",
1030
- "generate:template:project",
1031
- "generate:project:template",
1032
- "template:project:generate",
1033
- "project:template:generate",
1034
- "project:generate:template"
836
+ "template:generate:flexipage",
837
+ "generate:template:flexipage",
838
+ "generate:flexipage:template",
839
+ "template:flexipage:generate",
840
+ "flexipage:template:generate",
841
+ "flexipage:generate:template"
1035
842
  ]
1036
843
  },
1037
844
  "template:generate:lightning:app": {
@@ -2100,6 +1907,199 @@
2100
1907
  "test:lightning:generate:template"
2101
1908
  ]
2102
1909
  },
1910
+ "template:generate:project": {
1911
+ "aliases": [
1912
+ "force:project:create",
1913
+ "project:generate"
1914
+ ],
1915
+ "args": {},
1916
+ "deprecateAliases": true,
1917
+ "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\".",
1918
+ "examples": [
1919
+ "Generate a project called \"mywork\":\n<%= config.bin %> <%= command.id %> --name mywork",
1920
+ "Similar to previous example, but generate the files in a directory called \"myapp\":\n<%= config.bin %> <%= command.id %> --name mywork --default-package-dir myapp",
1921
+ "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",
1922
+ "Generate a project with the minimum files and directories:\n<%= config.bin %> <%= command.id %> --name mywork --template empty",
1923
+ "Generate a project in which the Lightning Web Components use TypeScript rather than the default JavaScript:\n<%= config.bin %> <%= command.id %> --name mywork --lwc-language typescript"
1924
+ ],
1925
+ "flags": {
1926
+ "json": {
1927
+ "description": "Format output as json.",
1928
+ "helpGroup": "GLOBAL",
1929
+ "name": "json",
1930
+ "allowNo": false,
1931
+ "type": "boolean"
1932
+ },
1933
+ "flags-dir": {
1934
+ "helpGroup": "GLOBAL",
1935
+ "name": "flags-dir",
1936
+ "summary": "Import flag values from a directory.",
1937
+ "hasDynamicHelp": false,
1938
+ "multiple": false,
1939
+ "type": "option"
1940
+ },
1941
+ "name": {
1942
+ "aliases": [
1943
+ "projectname"
1944
+ ],
1945
+ "char": "n",
1946
+ "deprecateAliases": true,
1947
+ "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.",
1948
+ "name": "name",
1949
+ "required": true,
1950
+ "summary": "Name of the generated project.",
1951
+ "hasDynamicHelp": false,
1952
+ "multiple": false,
1953
+ "type": "option"
1954
+ },
1955
+ "template": {
1956
+ "char": "t",
1957
+ "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 reactinternalapp and reactexternalapp templates provide React-based project scaffolding for internal and external UI bundle use cases.\n\nThe angularinternalapp and angularexternalapp templates provide Angular-based project scaffolding for internal and external UI bundle use cases.\n\nThe agent template provides project scaffolding for building Agentforce agents and includes a sample agent called Local Info Agent.",
1958
+ "name": "template",
1959
+ "summary": "Template to use for project creation.",
1960
+ "default": "standard",
1961
+ "hasDynamicHelp": false,
1962
+ "multiple": false,
1963
+ "options": [
1964
+ "standard",
1965
+ "empty",
1966
+ "analytics",
1967
+ "reactinternalapp",
1968
+ "reactexternalapp",
1969
+ "angularinternalapp",
1970
+ "angularexternalapp",
1971
+ "agent"
1972
+ ],
1973
+ "type": "option"
1974
+ },
1975
+ "output-dir": {
1976
+ "aliases": [
1977
+ "outputdir"
1978
+ ],
1979
+ "char": "d",
1980
+ "deprecateAliases": true,
1981
+ "description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
1982
+ "name": "output-dir",
1983
+ "summary": "Directory for saving the created files.",
1984
+ "default": ".",
1985
+ "hasDynamicHelp": false,
1986
+ "multiple": false,
1987
+ "type": "option"
1988
+ },
1989
+ "namespace": {
1990
+ "char": "s",
1991
+ "name": "namespace",
1992
+ "summary": "Namespace associated with this project and any connected scratch orgs.",
1993
+ "default": "",
1994
+ "hasDynamicHelp": false,
1995
+ "multiple": false,
1996
+ "type": "option"
1997
+ },
1998
+ "default-package-dir": {
1999
+ "aliases": [
2000
+ "defaultpackagedir"
2001
+ ],
2002
+ "char": "p",
2003
+ "deprecateAliases": true,
2004
+ "description": "Metadata items such as classes and Lightning bundles are placed inside this folder.",
2005
+ "name": "default-package-dir",
2006
+ "summary": "Default package directory name.",
2007
+ "default": "force-app",
2008
+ "hasDynamicHelp": false,
2009
+ "multiple": false,
2010
+ "type": "option"
2011
+ },
2012
+ "manifest": {
2013
+ "char": "x",
2014
+ "description": "Generates a default manifest (package.xml) for fetching Apex, Visualforce, Lightning components, and static resources.",
2015
+ "name": "manifest",
2016
+ "summary": "Generate a manifest (package.xml) for change-set based development.",
2017
+ "allowNo": false,
2018
+ "type": "boolean"
2019
+ },
2020
+ "login-url": {
2021
+ "aliases": [
2022
+ "loginurl"
2023
+ ],
2024
+ "char": "l",
2025
+ "deprecateAliases": true,
2026
+ "description": "Normally defaults to https://login.salesforce.com.",
2027
+ "hidden": true,
2028
+ "name": "login-url",
2029
+ "summary": "Salesforce instance login URL.",
2030
+ "default": "https://login.salesforce.com",
2031
+ "hasDynamicHelp": false,
2032
+ "multiple": false,
2033
+ "type": "option"
2034
+ },
2035
+ "lwc-language": {
2036
+ "description": "When set to `'typescript'`, generates TypeScript configuration files (tsconfig.json, package.json with TypeScript dependencies, and TypeScript-aware ESLint config). When you deploy the TypeScript-based Lightning Web Components, the TypeScript files are first compiled locally for validation and then the `.ts` files are deployed to your org for server-side type stripping.",
2037
+ "name": "lwc-language",
2038
+ "summary": "Language of the Lightning Web Components. If not specified, \"javascript\" is used.",
2039
+ "hasDynamicHelp": false,
2040
+ "multiple": false,
2041
+ "options": [
2042
+ "javascript",
2043
+ "typescript"
2044
+ ],
2045
+ "type": "option"
2046
+ },
2047
+ "loglevel": {
2048
+ "deprecated": {
2049
+ "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 `SF_LOG_LEVEL` environment variable."
2050
+ },
2051
+ "hidden": true,
2052
+ "name": "loglevel",
2053
+ "hasDynamicHelp": false,
2054
+ "multiple": false,
2055
+ "type": "option"
2056
+ },
2057
+ "api-version": {
2058
+ "description": "Override the api version used for api requests made by this command",
2059
+ "name": "api-version",
2060
+ "summary": "Will set this version as sourceApiVersion in the sfdx-project.json file",
2061
+ "hasDynamicHelp": false,
2062
+ "multiple": false,
2063
+ "type": "option"
2064
+ }
2065
+ },
2066
+ "hasDynamicHelp": false,
2067
+ "hiddenAliases": [],
2068
+ "id": "template:generate:project",
2069
+ "pluginAlias": "@salesforce/plugin-templates",
2070
+ "pluginName": "@salesforce/plugin-templates",
2071
+ "pluginType": "core",
2072
+ "strict": true,
2073
+ "summary": "Generate a Salesforce DX project.",
2074
+ "enableJsonFlag": true,
2075
+ "isESM": true,
2076
+ "relativePath": [
2077
+ "lib",
2078
+ "commands",
2079
+ "template",
2080
+ "generate",
2081
+ "project",
2082
+ "index.js"
2083
+ ],
2084
+ "aliasPermutations": [
2085
+ "force:project:create",
2086
+ "project:force:create",
2087
+ "project:create:force",
2088
+ "force:create:project",
2089
+ "create:force:project",
2090
+ "create:project:force",
2091
+ "project:generate",
2092
+ "generate:project"
2093
+ ],
2094
+ "permutations": [
2095
+ "template:generate:project",
2096
+ "generate:template:project",
2097
+ "generate:project:template",
2098
+ "template:project:generate",
2099
+ "project:template:generate",
2100
+ "project:generate:template"
2101
+ ]
2102
+ },
2103
2103
  "template:generate:static-resource": {
2104
2104
  "aliases": [
2105
2105
  "force:staticresource:create",
@@ -2690,5 +2690,5 @@
2690
2690
  ]
2691
2691
  }
2692
2692
  },
2693
- "version": "56.19.2"
2693
+ "version": "56.19.3"
2694
2694
  }
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.19.2",
4
+ "version": "56.19.3",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/salesforcecli/plugin-templates/issues",
7
7
  "enableO11y": true,
@@ -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.19.2.crt",
253
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.19.2.sig"
252
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.19.3.crt",
253
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.19.3.sig"
254
254
  }
255
255
  }