@salesforce/plugin-templates 56.18.16 → 56.18.18

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 +342 -342
  3. package/package.json +6 -6
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.18.16/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.18.18/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.18.16/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.18.18/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.18.16/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.18.18/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.18.16/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.18.18/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.18.16/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.18.18/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.18.16/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.18.18/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.18.16/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.18.18/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.18.16/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.18.18/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.18.16/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.18.18/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.18.16/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.18.18/src/commands/template/generate/lightning/test.ts)_
758
758
 
759
759
  ## `sf template generate project`
760
760
 
@@ -880,7 +880,7 @@ FLAG DESCRIPTIONS
880
880
  server-side type stripping.
881
881
  ```
882
882
 
883
- _See code: [src/commands/template/generate/project/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.16/src/commands/template/generate/project/index.ts)_
883
+ _See code: [src/commands/template/generate/project/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.18/src/commands/template/generate/project/index.ts)_
884
884
 
885
885
  ## `sf template generate static-resource`
886
886
 
@@ -943,7 +943,7 @@ FLAG DESCRIPTIONS
943
943
  etc.
944
944
  ```
945
945
 
946
- _See code: [src/commands/template/generate/static-resource/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.16/src/commands/template/generate/static-resource/index.ts)_
946
+ _See code: [src/commands/template/generate/static-resource/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.18/src/commands/template/generate/static-resource/index.ts)_
947
947
 
948
948
  ## `sf template generate ui-bundle`
949
949
 
@@ -1032,7 +1032,7 @@ FLAG DESCRIPTIONS
1032
1032
  Supplied parameter values or default values are filled into a copy of the template.
1033
1033
  ```
1034
1034
 
1035
- _See code: [src/commands/template/generate/ui-bundle/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.16/src/commands/template/generate/ui-bundle/index.ts)_
1035
+ _See code: [src/commands/template/generate/ui-bundle/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.18/src/commands/template/generate/ui-bundle/index.ts)_
1036
1036
 
1037
1037
  ## `sf template generate visualforce component`
1038
1038
 
@@ -1089,7 +1089,7 @@ FLAG DESCRIPTIONS
1089
1089
  Supplied parameter values or default values are filled into a copy of the template.
1090
1090
  ```
1091
1091
 
1092
- _See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.16/src/commands/template/generate/visualforce/component.ts)_
1092
+ _See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.18/src/commands/template/generate/visualforce/component.ts)_
1093
1093
 
1094
1094
  ## `sf template generate visualforce page`
1095
1095
 
@@ -1140,6 +1140,6 @@ FLAG DESCRIPTIONS
1140
1140
  The name can be up to 40 characters and must start with a letter.
1141
1141
  ```
1142
1142
 
1143
- _See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.16/src/commands/template/generate/visualforce/page.ts)_
1143
+ _See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.18/src/commands/template/generate/visualforce/page.ts)_
1144
1144
 
1145
1145
  <!-- commandsstop -->
@@ -1,158 +1,5 @@
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
- },
156
3
  "template:generate:apex:class": {
157
4
  "aliases": [
158
5
  "force:apex:class:create",
@@ -530,13 +377,16 @@
530
377
  "trigger:apex:generate:template"
531
378
  ]
532
379
  },
533
- "template:generate:digital-experience:site": {
534
- "aliases": [],
380
+ "template:generate:analytics:template": {
381
+ "aliases": [
382
+ "force:analytics:template:create",
383
+ "analytics:generate:template"
384
+ ],
535
385
  "args": {},
536
- "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.",
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.",
537
388
  "examples": [
538
- "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",
539
- "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"
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"
540
390
  ],
541
391
  "flags": {
542
392
  "json": {
@@ -554,72 +404,63 @@
554
404
  "multiple": false,
555
405
  "type": "option"
556
406
  },
557
- "target-org": {
558
- "char": "o",
559
- "name": "target-org",
560
- "noCacheDefault": true,
561
- "summary": "Username or alias of the target org.",
562
- "hasDynamicHelp": true,
563
- "multiple": false,
564
- "type": "option"
565
- },
566
- "name": {
567
- "char": "n",
568
- "name": "name",
569
- "required": true,
570
- "summary": "Name of the Experience Cloud site to generate.",
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": ".",
571
417
  "hasDynamicHelp": false,
572
418
  "multiple": false,
573
419
  "type": "option"
574
420
  },
575
- "template-name": {
576
- "char": "t",
577
- "name": "template-name",
578
- "required": true,
579
- "summary": "Template to use when generating the site.",
580
- "hasDynamicHelp": false,
581
- "multiple": false,
582
- "options": [
583
- "Build Your Own (LWR)"
421
+ "api-version": {
422
+ "aliases": [
423
+ "apiversion"
584
424
  ],
585
- "type": "option"
586
- },
587
- "url-path-prefix": {
588
- "char": "p",
589
- "name": "url-path-prefix",
590
- "summary": "URL path prefix for the site; must contain only alphanumeric characters.",
591
- "default": "",
425
+ "deprecateAliases": true,
426
+ "description": "Override the api version used for api requests made by this command",
427
+ "name": "api-version",
592
428
  "hasDynamicHelp": false,
593
429
  "multiple": false,
594
430
  "type": "option"
595
431
  },
596
- "admin-email": {
597
- "char": "e",
598
- "name": "admin-email",
599
- "summary": "Email address for the site administrator. Defaults to the username of the currently authenticated user.",
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.",
600
441
  "hasDynamicHelp": false,
601
442
  "multiple": false,
602
443
  "type": "option"
603
444
  },
604
- "output-dir": {
605
- "char": "d",
606
- "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.",
607
- "name": "output-dir",
608
- "summary": "Directory to generate the site files in.",
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",
609
451
  "hasDynamicHelp": false,
610
452
  "multiple": false,
611
453
  "type": "option"
612
454
  }
613
455
  },
614
- "hasDynamicHelp": true,
456
+ "hasDynamicHelp": false,
615
457
  "hiddenAliases": [],
616
- "id": "template:generate:digital-experience:site",
458
+ "id": "template:generate:analytics:template",
617
459
  "pluginAlias": "@salesforce/plugin-templates",
618
460
  "pluginName": "@salesforce/plugin-templates",
619
461
  "pluginType": "core",
620
- "state": "preview",
621
462
  "strict": true,
622
- "summary": "Generate an Experience Cloud site.",
463
+ "summary": "Generate a simple Analytics template.",
623
464
  "enableJsonFlag": true,
624
465
  "isESM": true,
625
466
  "relativePath": [
@@ -627,18 +468,177 @@
627
468
  "commands",
628
469
  "template",
629
470
  "generate",
630
- "digital-experience",
631
- "site.js"
471
+ "analytics",
472
+ "template.js"
632
473
  ],
633
- "aliasPermutations": [],
634
- "permutations": [
635
- "template:generate:digital-experience:site",
636
- "generate:template:digital-experience:site",
637
- "generate:digital-experience:template:site",
638
- "generate:digital-experience:site:template",
639
- "template:digital-experience:generate:site",
640
- "digital-experience:template:generate:site",
641
- "digital-experience:generate:template:site",
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
+ "template:generate:digital-experience:site": {
534
+ "aliases": [],
535
+ "args": {},
536
+ "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.",
537
+ "examples": [
538
+ "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",
539
+ "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"
540
+ ],
541
+ "flags": {
542
+ "json": {
543
+ "description": "Format output as json.",
544
+ "helpGroup": "GLOBAL",
545
+ "name": "json",
546
+ "allowNo": false,
547
+ "type": "boolean"
548
+ },
549
+ "flags-dir": {
550
+ "helpGroup": "GLOBAL",
551
+ "name": "flags-dir",
552
+ "summary": "Import flag values from a directory.",
553
+ "hasDynamicHelp": false,
554
+ "multiple": false,
555
+ "type": "option"
556
+ },
557
+ "target-org": {
558
+ "char": "o",
559
+ "name": "target-org",
560
+ "noCacheDefault": true,
561
+ "summary": "Username or alias of the target org.",
562
+ "hasDynamicHelp": true,
563
+ "multiple": false,
564
+ "type": "option"
565
+ },
566
+ "name": {
567
+ "char": "n",
568
+ "name": "name",
569
+ "required": true,
570
+ "summary": "Name of the Experience Cloud site to generate.",
571
+ "hasDynamicHelp": false,
572
+ "multiple": false,
573
+ "type": "option"
574
+ },
575
+ "template-name": {
576
+ "char": "t",
577
+ "name": "template-name",
578
+ "required": true,
579
+ "summary": "Template to use when generating the site.",
580
+ "hasDynamicHelp": false,
581
+ "multiple": false,
582
+ "options": [
583
+ "Build Your Own (LWR)"
584
+ ],
585
+ "type": "option"
586
+ },
587
+ "url-path-prefix": {
588
+ "char": "p",
589
+ "name": "url-path-prefix",
590
+ "summary": "URL path prefix for the site; must contain only alphanumeric characters.",
591
+ "default": "",
592
+ "hasDynamicHelp": false,
593
+ "multiple": false,
594
+ "type": "option"
595
+ },
596
+ "admin-email": {
597
+ "char": "e",
598
+ "name": "admin-email",
599
+ "summary": "Email address for the site administrator. Defaults to the username of the currently authenticated user.",
600
+ "hasDynamicHelp": false,
601
+ "multiple": false,
602
+ "type": "option"
603
+ },
604
+ "output-dir": {
605
+ "char": "d",
606
+ "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.",
607
+ "name": "output-dir",
608
+ "summary": "Directory to generate the site files in.",
609
+ "hasDynamicHelp": false,
610
+ "multiple": false,
611
+ "type": "option"
612
+ }
613
+ },
614
+ "hasDynamicHelp": true,
615
+ "hiddenAliases": [],
616
+ "id": "template:generate:digital-experience:site",
617
+ "pluginAlias": "@salesforce/plugin-templates",
618
+ "pluginName": "@salesforce/plugin-templates",
619
+ "pluginType": "core",
620
+ "state": "preview",
621
+ "strict": true,
622
+ "summary": "Generate an Experience Cloud site.",
623
+ "enableJsonFlag": true,
624
+ "isESM": true,
625
+ "relativePath": [
626
+ "lib",
627
+ "commands",
628
+ "template",
629
+ "generate",
630
+ "digital-experience",
631
+ "site.js"
632
+ ],
633
+ "aliasPermutations": [],
634
+ "permutations": [
635
+ "template:generate:digital-experience:site",
636
+ "generate:template:digital-experience:site",
637
+ "generate:digital-experience:template:site",
638
+ "generate:digital-experience:site:template",
639
+ "template:digital-experience:generate:site",
640
+ "digital-experience:template:generate:site",
641
+ "digital-experience:generate:template:site",
642
642
  "digital-experience:generate:site:template",
643
643
  "template:digital-experience:site:generate",
644
644
  "digital-experience:template:site:generate",
@@ -1907,135 +1907,6 @@
1907
1907
  "test:lightning:generate:template"
1908
1908
  ]
1909
1909
  },
1910
- "template:generate:static-resource": {
1911
- "aliases": [
1912
- "force:staticresource:create",
1913
- "static-resource:generate"
1914
- ],
1915
- "args": {},
1916
- "deprecateAliases": true,
1917
- "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.",
1918
- "examples": [
1919
- "Generate the metadata file for a static resource called MyResource in the current directory:\n<%= config.bin %> <%= command.id %> --name MyResource",
1920
- "Similar to previous example, but specifies a MIME type of application/json:\n<%= config.bin %> <%= command.id %> --name MyResource --type application/json",
1921
- "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"
1922
- ],
1923
- "flags": {
1924
- "json": {
1925
- "description": "Format output as json.",
1926
- "helpGroup": "GLOBAL",
1927
- "name": "json",
1928
- "allowNo": false,
1929
- "type": "boolean"
1930
- },
1931
- "flags-dir": {
1932
- "helpGroup": "GLOBAL",
1933
- "name": "flags-dir",
1934
- "summary": "Import flag values from a directory.",
1935
- "hasDynamicHelp": false,
1936
- "multiple": false,
1937
- "type": "option"
1938
- },
1939
- "name": {
1940
- "aliases": [
1941
- "resourcename"
1942
- ],
1943
- "char": "n",
1944
- "deprecateAliases": true,
1945
- "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
- "name": "name",
1947
- "required": true,
1948
- "summary": "Name of the generated static resource.",
1949
- "hasDynamicHelp": false,
1950
- "multiple": false,
1951
- "type": "option"
1952
- },
1953
- "type": {
1954
- "aliases": [
1955
- "contenttype"
1956
- ],
1957
- "deprecateAliases": true,
1958
- "description": "Must be a valid MIME type such as application/json, application/javascript, application/zip, text/plain, text/css, etc.",
1959
- "name": "type",
1960
- "summary": "Content type (mime type) of the generated static resource.",
1961
- "default": "application/zip",
1962
- "hasDynamicHelp": false,
1963
- "multiple": false,
1964
- "type": "option"
1965
- },
1966
- "output-dir": {
1967
- "aliases": [
1968
- "outputdir"
1969
- ],
1970
- "char": "d",
1971
- "deprecateAliases": true,
1972
- "description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
1973
- "name": "output-dir",
1974
- "summary": "Directory for saving the created files.",
1975
- "default": ".",
1976
- "hasDynamicHelp": false,
1977
- "multiple": false,
1978
- "type": "option"
1979
- },
1980
- "api-version": {
1981
- "aliases": [
1982
- "apiversion"
1983
- ],
1984
- "deprecateAliases": true,
1985
- "description": "Override the api version used for api requests made by this command",
1986
- "name": "api-version",
1987
- "hasDynamicHelp": false,
1988
- "multiple": false,
1989
- "type": "option"
1990
- },
1991
- "loglevel": {
1992
- "deprecated": {
1993
- "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."
1994
- },
1995
- "hidden": true,
1996
- "name": "loglevel",
1997
- "hasDynamicHelp": false,
1998
- "multiple": false,
1999
- "type": "option"
2000
- }
2001
- },
2002
- "hasDynamicHelp": false,
2003
- "hiddenAliases": [],
2004
- "id": "template:generate:static-resource",
2005
- "pluginAlias": "@salesforce/plugin-templates",
2006
- "pluginName": "@salesforce/plugin-templates",
2007
- "pluginType": "core",
2008
- "strict": true,
2009
- "summary": "Generate a static resource.",
2010
- "enableJsonFlag": true,
2011
- "isESM": true,
2012
- "relativePath": [
2013
- "lib",
2014
- "commands",
2015
- "template",
2016
- "generate",
2017
- "static-resource",
2018
- "index.js"
2019
- ],
2020
- "aliasPermutations": [
2021
- "force:staticresource:create",
2022
- "staticresource:force:create",
2023
- "staticresource:create:force",
2024
- "force:create:staticresource",
2025
- "create:force:staticresource",
2026
- "create:staticresource:force",
2027
- "static-resource:generate",
2028
- "generate:static-resource"
2029
- ],
2030
- "permutations": [
2031
- "template:generate:static-resource",
2032
- "generate:template:static-resource",
2033
- "generate:static-resource:template",
2034
- "template:static-resource:generate",
2035
- "static-resource:template:generate",
2036
- "static-resource:generate:template"
2037
- ]
2038
- },
2039
1910
  "template:generate:project": {
2040
1911
  "aliases": [
2041
1912
  "force:project:create",
@@ -2227,6 +2098,135 @@
2227
2098
  "project:generate:template"
2228
2099
  ]
2229
2100
  },
2101
+ "template:generate:static-resource": {
2102
+ "aliases": [
2103
+ "force:staticresource:create",
2104
+ "static-resource:generate"
2105
+ ],
2106
+ "args": {},
2107
+ "deprecateAliases": true,
2108
+ "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.",
2109
+ "examples": [
2110
+ "Generate the metadata file for a static resource called MyResource in the current directory:\n<%= config.bin %> <%= command.id %> --name MyResource",
2111
+ "Similar to previous example, but specifies a MIME type of application/json:\n<%= config.bin %> <%= command.id %> --name MyResource --type application/json",
2112
+ "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"
2113
+ ],
2114
+ "flags": {
2115
+ "json": {
2116
+ "description": "Format output as json.",
2117
+ "helpGroup": "GLOBAL",
2118
+ "name": "json",
2119
+ "allowNo": false,
2120
+ "type": "boolean"
2121
+ },
2122
+ "flags-dir": {
2123
+ "helpGroup": "GLOBAL",
2124
+ "name": "flags-dir",
2125
+ "summary": "Import flag values from a directory.",
2126
+ "hasDynamicHelp": false,
2127
+ "multiple": false,
2128
+ "type": "option"
2129
+ },
2130
+ "name": {
2131
+ "aliases": [
2132
+ "resourcename"
2133
+ ],
2134
+ "char": "n",
2135
+ "deprecateAliases": true,
2136
+ "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.",
2137
+ "name": "name",
2138
+ "required": true,
2139
+ "summary": "Name of the generated static resource.",
2140
+ "hasDynamicHelp": false,
2141
+ "multiple": false,
2142
+ "type": "option"
2143
+ },
2144
+ "type": {
2145
+ "aliases": [
2146
+ "contenttype"
2147
+ ],
2148
+ "deprecateAliases": true,
2149
+ "description": "Must be a valid MIME type such as application/json, application/javascript, application/zip, text/plain, text/css, etc.",
2150
+ "name": "type",
2151
+ "summary": "Content type (mime type) of the generated static resource.",
2152
+ "default": "application/zip",
2153
+ "hasDynamicHelp": false,
2154
+ "multiple": false,
2155
+ "type": "option"
2156
+ },
2157
+ "output-dir": {
2158
+ "aliases": [
2159
+ "outputdir"
2160
+ ],
2161
+ "char": "d",
2162
+ "deprecateAliases": true,
2163
+ "description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
2164
+ "name": "output-dir",
2165
+ "summary": "Directory for saving the created files.",
2166
+ "default": ".",
2167
+ "hasDynamicHelp": false,
2168
+ "multiple": false,
2169
+ "type": "option"
2170
+ },
2171
+ "api-version": {
2172
+ "aliases": [
2173
+ "apiversion"
2174
+ ],
2175
+ "deprecateAliases": true,
2176
+ "description": "Override the api version used for api requests made by this command",
2177
+ "name": "api-version",
2178
+ "hasDynamicHelp": false,
2179
+ "multiple": false,
2180
+ "type": "option"
2181
+ },
2182
+ "loglevel": {
2183
+ "deprecated": {
2184
+ "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."
2185
+ },
2186
+ "hidden": true,
2187
+ "name": "loglevel",
2188
+ "hasDynamicHelp": false,
2189
+ "multiple": false,
2190
+ "type": "option"
2191
+ }
2192
+ },
2193
+ "hasDynamicHelp": false,
2194
+ "hiddenAliases": [],
2195
+ "id": "template:generate:static-resource",
2196
+ "pluginAlias": "@salesforce/plugin-templates",
2197
+ "pluginName": "@salesforce/plugin-templates",
2198
+ "pluginType": "core",
2199
+ "strict": true,
2200
+ "summary": "Generate a static resource.",
2201
+ "enableJsonFlag": true,
2202
+ "isESM": true,
2203
+ "relativePath": [
2204
+ "lib",
2205
+ "commands",
2206
+ "template",
2207
+ "generate",
2208
+ "static-resource",
2209
+ "index.js"
2210
+ ],
2211
+ "aliasPermutations": [
2212
+ "force:staticresource:create",
2213
+ "staticresource:force:create",
2214
+ "staticresource:create:force",
2215
+ "force:create:staticresource",
2216
+ "create:force:staticresource",
2217
+ "create:staticresource:force",
2218
+ "static-resource:generate",
2219
+ "generate:static-resource"
2220
+ ],
2221
+ "permutations": [
2222
+ "template:generate:static-resource",
2223
+ "generate:template:static-resource",
2224
+ "generate:static-resource:template",
2225
+ "template:static-resource:generate",
2226
+ "static-resource:template:generate",
2227
+ "static-resource:generate:template"
2228
+ ]
2229
+ },
2230
2230
  "template:generate:ui-bundle": {
2231
2231
  "aliases": [],
2232
2232
  "args": {},
@@ -2688,5 +2688,5 @@
2688
2688
  ]
2689
2689
  }
2690
2690
  },
2691
- "version": "56.18.16"
2691
+ "version": "56.18.18"
2692
2692
  }
package/package.json CHANGED
@@ -1,21 +1,21 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-templates",
3
3
  "description": "Commands to create metadata from a default or custom template",
4
- "version": "56.18.16",
4
+ "version": "56.18.18",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/salesforcecli/plugin-templates/issues",
7
7
  "enableO11y": true,
8
8
  "o11yUploadEndpoint": "https://794testsite.my.site.com/byolwr/webruntime/log/metrics",
9
9
  "dependencies": {
10
- "@salesforce/core": "^8.32.2",
10
+ "@salesforce/core": "^8.32.4",
11
11
  "@salesforce/sf-plugins-core": "^12",
12
12
  "@salesforce/templates": "^66.11.0"
13
13
  },
14
14
  "devDependencies": {
15
- "@oclif/plugin-command-snapshot": "^5.3.30",
15
+ "@oclif/plugin-command-snapshot": "^5.3.31",
16
16
  "@salesforce/cli-plugins-testkit": "^5.3.62",
17
17
  "@salesforce/dev-scripts": "^11.0.4",
18
- "@salesforce/plugin-command-reference": "^3.1.119",
18
+ "@salesforce/plugin-command-reference": "^3.1.122",
19
19
  "@types/yeoman-assert": "^3.1.4",
20
20
  "eslint-plugin-sf-plugin": "^1.20.33",
21
21
  "oclif": "^4.23.27",
@@ -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.18.16.crt",
253
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.18.16.sig"
252
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.18.18.crt",
253
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.18.18.sig"
254
254
  }
255
255
  }