@salesforce/plugin-templates 56.9.0 → 56.9.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 +129 -129
  3. package/package.json +5 -5
package/README.md CHANGED
@@ -175,7 +175,7 @@ FLAG DESCRIPTIONS
175
175
  directory.
176
176
  ```
177
177
 
178
- _See code: [src/commands/template/generate/analytics/template.ts](https://github.com/salesforcecli/plugin-templates/blob/56.9.0/src/commands/template/generate/analytics/template.ts)_
178
+ _See code: [src/commands/template/generate/analytics/template.ts](https://github.com/salesforcecli/plugin-templates/blob/56.9.2/src/commands/template/generate/analytics/template.ts)_
179
179
 
180
180
  ## `sf template generate apex class`
181
181
 
@@ -235,7 +235,7 @@ FLAG DESCRIPTIONS
235
235
  Supplied parameter values or default values are filled into a copy of the template.
236
236
  ```
237
237
 
238
- _See code: [src/commands/template/generate/apex/class.ts](https://github.com/salesforcecli/plugin-templates/blob/56.9.0/src/commands/template/generate/apex/class.ts)_
238
+ _See code: [src/commands/template/generate/apex/class.ts](https://github.com/salesforcecli/plugin-templates/blob/56.9.2/src/commands/template/generate/apex/class.ts)_
239
239
 
240
240
  ## `sf template generate apex trigger`
241
241
 
@@ -305,7 +305,7 @@ FLAG DESCRIPTIONS
305
305
  Supplied parameter values or default values are filled into a copy of the template.
306
306
  ```
307
307
 
308
- _See code: [src/commands/template/generate/apex/trigger.ts](https://github.com/salesforcecli/plugin-templates/blob/56.9.0/src/commands/template/generate/apex/trigger.ts)_
308
+ _See code: [src/commands/template/generate/apex/trigger.ts](https://github.com/salesforcecli/plugin-templates/blob/56.9.2/src/commands/template/generate/apex/trigger.ts)_
309
309
 
310
310
  ## `sf template generate digital-experience site`
311
311
 
@@ -359,7 +359,7 @@ FLAG DESCRIPTIONS
359
359
  project, defaults to the current directory.
360
360
  ```
361
361
 
362
- _See code: [src/commands/template/generate/digital-experience/site.ts](https://github.com/salesforcecli/plugin-templates/blob/56.9.0/src/commands/template/generate/digital-experience/site.ts)_
362
+ _See code: [src/commands/template/generate/digital-experience/site.ts](https://github.com/salesforcecli/plugin-templates/blob/56.9.2/src/commands/template/generate/digital-experience/site.ts)_
363
363
 
364
364
  ## `sf template generate flexipage`
365
365
 
@@ -441,7 +441,7 @@ FLAG DESCRIPTIONS
441
441
  'Custom_Object__c'. This sets the `sobjectType` field in the FlexiPage metadata.
442
442
  ```
443
443
 
444
- _See code: [src/commands/template/generate/flexipage/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.9.0/src/commands/template/generate/flexipage/index.ts)_
444
+ _See code: [src/commands/template/generate/flexipage/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.9.2/src/commands/template/generate/flexipage/index.ts)_
445
445
 
446
446
  ## `sf template generate lightning app`
447
447
 
@@ -497,7 +497,7 @@ FLAG DESCRIPTIONS
497
497
  Supplied parameter values or default values are filled into a copy of the template.
498
498
  ```
499
499
 
500
- _See code: [src/commands/template/generate/lightning/app.ts](https://github.com/salesforcecli/plugin-templates/blob/56.9.0/src/commands/template/generate/lightning/app.ts)_
500
+ _See code: [src/commands/template/generate/lightning/app.ts](https://github.com/salesforcecli/plugin-templates/blob/56.9.2/src/commands/template/generate/lightning/app.ts)_
501
501
 
502
502
  ## `sf template generate lightning component`
503
503
 
@@ -567,7 +567,7 @@ FLAG DESCRIPTIONS
567
567
  Supplied parameter values or default values are filled into a copy of the template.
568
568
  ```
569
569
 
570
- _See code: [src/commands/template/generate/lightning/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.9.0/src/commands/template/generate/lightning/component.ts)_
570
+ _See code: [src/commands/template/generate/lightning/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.9.2/src/commands/template/generate/lightning/component.ts)_
571
571
 
572
572
  ## `sf template generate lightning event`
573
573
 
@@ -623,7 +623,7 @@ FLAG DESCRIPTIONS
623
623
  Supplied parameter values or default values are filled into a copy of the template.
624
624
  ```
625
625
 
626
- _See code: [src/commands/template/generate/lightning/event.ts](https://github.com/salesforcecli/plugin-templates/blob/56.9.0/src/commands/template/generate/lightning/event.ts)_
626
+ _See code: [src/commands/template/generate/lightning/event.ts](https://github.com/salesforcecli/plugin-templates/blob/56.9.2/src/commands/template/generate/lightning/event.ts)_
627
627
 
628
628
  ## `sf template generate lightning interface`
629
629
 
@@ -679,7 +679,7 @@ FLAG DESCRIPTIONS
679
679
  Supplied parameter values or default values are filled into a copy of the template.
680
680
  ```
681
681
 
682
- _See code: [src/commands/template/generate/lightning/interface.ts](https://github.com/salesforcecli/plugin-templates/blob/56.9.0/src/commands/template/generate/lightning/interface.ts)_
682
+ _See code: [src/commands/template/generate/lightning/interface.ts](https://github.com/salesforcecli/plugin-templates/blob/56.9.2/src/commands/template/generate/lightning/interface.ts)_
683
683
 
684
684
  ## `sf template generate lightning test`
685
685
 
@@ -735,7 +735,7 @@ FLAG DESCRIPTIONS
735
735
  Supplied parameter values or default values are filled into a copy of the template.
736
736
  ```
737
737
 
738
- _See code: [src/commands/template/generate/lightning/test.ts](https://github.com/salesforcecli/plugin-templates/blob/56.9.0/src/commands/template/generate/lightning/test.ts)_
738
+ _See code: [src/commands/template/generate/lightning/test.ts](https://github.com/salesforcecli/plugin-templates/blob/56.9.2/src/commands/template/generate/lightning/test.ts)_
739
739
 
740
740
  ## `sf template generate project`
741
741
 
@@ -841,7 +841,7 @@ FLAG DESCRIPTIONS
841
841
  Override the api version used for api requests made by this command
842
842
  ```
843
843
 
844
- _See code: [src/commands/template/generate/project/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.9.0/src/commands/template/generate/project/index.ts)_
844
+ _See code: [src/commands/template/generate/project/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.9.2/src/commands/template/generate/project/index.ts)_
845
845
 
846
846
  ## `sf template generate static-resource`
847
847
 
@@ -904,7 +904,7 @@ FLAG DESCRIPTIONS
904
904
  etc.
905
905
  ```
906
906
 
907
- _See code: [src/commands/template/generate/static-resource/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.9.0/src/commands/template/generate/static-resource/index.ts)_
907
+ _See code: [src/commands/template/generate/static-resource/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.9.2/src/commands/template/generate/static-resource/index.ts)_
908
908
 
909
909
  ## `sf template generate visualforce component`
910
910
 
@@ -961,7 +961,7 @@ FLAG DESCRIPTIONS
961
961
  Supplied parameter values or default values are filled into a copy of the template.
962
962
  ```
963
963
 
964
- _See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.9.0/src/commands/template/generate/visualforce/component.ts)_
964
+ _See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.9.2/src/commands/template/generate/visualforce/component.ts)_
965
965
 
966
966
  ## `sf template generate visualforce page`
967
967
 
@@ -1012,6 +1012,6 @@ FLAG DESCRIPTIONS
1012
1012
  The name can be up to 40 characters and must start with a letter.
1013
1013
  ```
1014
1014
 
1015
- _See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/56.9.0/src/commands/template/generate/visualforce/page.ts)_
1015
+ _See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/56.9.2/src/commands/template/generate/visualforce/page.ts)_
1016
1016
 
1017
1017
  <!-- commandsstop -->
@@ -375,134 +375,6 @@
375
375
  "trigger:apex:generate:template"
376
376
  ]
377
377
  },
378
- "template:generate:digital-experience:site": {
379
- "aliases": [],
380
- "args": {},
381
- "description": "Creates the metadata of an Experience Cloud site with the specified template, name, and URL path prefix. The output includes all the necessary metadata files, including DigitalExperienceConfig, DigitalExperienceBundle, Network, and CustomSite.\nUnlike `sf community create`, which builds the site directly in the org, this command generates only the local metadata.",
382
- "examples": [
383
- "Generate an Experience Cloud site using the Build Your Own (LWR) template. The site is called \"mysite\" and has the URL path prefix \"mysite\":\n<%= config.bin %> <%= command.id %> --template-name \"Build Your Own (LWR)\" --name mysite --url-path-prefix mysite",
384
- "Generate an Experience Cloud site like the last example, but generate the files into the specified output directory:\n<%= config.bin %> <%= command.id %> --template-name \"Build Your Own (LWR)\" --name mysite --url-path-prefix mysite --output-dir force-app/main/default"
385
- ],
386
- "flags": {
387
- "json": {
388
- "description": "Format output as json.",
389
- "helpGroup": "GLOBAL",
390
- "name": "json",
391
- "allowNo": false,
392
- "type": "boolean"
393
- },
394
- "flags-dir": {
395
- "helpGroup": "GLOBAL",
396
- "name": "flags-dir",
397
- "summary": "Import flag values from a directory.",
398
- "hasDynamicHelp": false,
399
- "multiple": false,
400
- "type": "option"
401
- },
402
- "target-org": {
403
- "char": "o",
404
- "name": "target-org",
405
- "noCacheDefault": true,
406
- "summary": "Username or alias of the target org.",
407
- "hasDynamicHelp": true,
408
- "multiple": false,
409
- "type": "option"
410
- },
411
- "name": {
412
- "char": "n",
413
- "name": "name",
414
- "required": true,
415
- "summary": "Name of the Experience Cloud site to generate.",
416
- "hasDynamicHelp": false,
417
- "multiple": false,
418
- "type": "option"
419
- },
420
- "template-name": {
421
- "char": "t",
422
- "name": "template-name",
423
- "required": true,
424
- "summary": "Template to use when generating the site.",
425
- "hasDynamicHelp": false,
426
- "multiple": false,
427
- "options": [
428
- "Build Your Own (LWR)"
429
- ],
430
- "type": "option"
431
- },
432
- "url-path-prefix": {
433
- "char": "p",
434
- "name": "url-path-prefix",
435
- "summary": "URL path prefix for the site; must contain only alphanumeric characters.",
436
- "default": "",
437
- "hasDynamicHelp": false,
438
- "multiple": false,
439
- "type": "option"
440
- },
441
- "admin-email": {
442
- "char": "e",
443
- "name": "admin-email",
444
- "summary": "Email address for the site administrator. Defaults to the username of the currently authenticated user.",
445
- "hasDynamicHelp": false,
446
- "multiple": false,
447
- "type": "option"
448
- },
449
- "output-dir": {
450
- "char": "d",
451
- "description": "The location can be an absolute path or relative to the current working directory. If not specified, the command reads your sfdx-project.json file and uses the default package directory. When running outside a Salesforce DX project, defaults to the current directory.",
452
- "name": "output-dir",
453
- "summary": "Directory to generate the site files in.",
454
- "hasDynamicHelp": false,
455
- "multiple": false,
456
- "type": "option"
457
- }
458
- },
459
- "hasDynamicHelp": true,
460
- "hiddenAliases": [],
461
- "id": "template:generate:digital-experience:site",
462
- "pluginAlias": "@salesforce/plugin-templates",
463
- "pluginName": "@salesforce/plugin-templates",
464
- "pluginType": "core",
465
- "state": "preview",
466
- "strict": true,
467
- "summary": "Generate an Experience Cloud site.",
468
- "enableJsonFlag": true,
469
- "isESM": true,
470
- "relativePath": [
471
- "lib",
472
- "commands",
473
- "template",
474
- "generate",
475
- "digital-experience",
476
- "site.js"
477
- ],
478
- "aliasPermutations": [],
479
- "permutations": [
480
- "template:generate:digital-experience:site",
481
- "generate:template:digital-experience:site",
482
- "generate:digital-experience:template:site",
483
- "generate:digital-experience:site:template",
484
- "template:digital-experience:generate:site",
485
- "digital-experience:template:generate:site",
486
- "digital-experience:generate:template:site",
487
- "digital-experience:generate:site:template",
488
- "template:digital-experience:site:generate",
489
- "digital-experience:template:site:generate",
490
- "digital-experience:site:template:generate",
491
- "digital-experience:site:generate:template",
492
- "template:generate:site:digital-experience",
493
- "generate:template:site:digital-experience",
494
- "generate:site:template:digital-experience",
495
- "generate:site:digital-experience:template",
496
- "template:site:generate:digital-experience",
497
- "site:template:generate:digital-experience",
498
- "site:generate:template:digital-experience",
499
- "site:generate:digital-experience:template",
500
- "template:site:digital-experience:generate",
501
- "site:template:digital-experience:generate",
502
- "site:digital-experience:template:generate",
503
- "site:digital-experience:generate:template"
504
- ]
505
- },
506
378
  "template:generate:analytics:template": {
507
379
  "aliases": [
508
380
  "force:analytics:template:create",
@@ -656,6 +528,134 @@
656
528
  "template:analytics:generate:template"
657
529
  ]
658
530
  },
531
+ "template:generate:digital-experience:site": {
532
+ "aliases": [],
533
+ "args": {},
534
+ "description": "Creates the metadata of an Experience Cloud site with the specified template, name, and URL path prefix. The output includes all the necessary metadata files, including DigitalExperienceConfig, DigitalExperienceBundle, Network, and CustomSite.\nUnlike `sf community create`, which builds the site directly in the org, this command generates only the local metadata.",
535
+ "examples": [
536
+ "Generate an Experience Cloud site using the Build Your Own (LWR) template. The site is called \"mysite\" and has the URL path prefix \"mysite\":\n<%= config.bin %> <%= command.id %> --template-name \"Build Your Own (LWR)\" --name mysite --url-path-prefix mysite",
537
+ "Generate an Experience Cloud site like the last example, but generate the files into the specified output directory:\n<%= config.bin %> <%= command.id %> --template-name \"Build Your Own (LWR)\" --name mysite --url-path-prefix mysite --output-dir force-app/main/default"
538
+ ],
539
+ "flags": {
540
+ "json": {
541
+ "description": "Format output as json.",
542
+ "helpGroup": "GLOBAL",
543
+ "name": "json",
544
+ "allowNo": false,
545
+ "type": "boolean"
546
+ },
547
+ "flags-dir": {
548
+ "helpGroup": "GLOBAL",
549
+ "name": "flags-dir",
550
+ "summary": "Import flag values from a directory.",
551
+ "hasDynamicHelp": false,
552
+ "multiple": false,
553
+ "type": "option"
554
+ },
555
+ "target-org": {
556
+ "char": "o",
557
+ "name": "target-org",
558
+ "noCacheDefault": true,
559
+ "summary": "Username or alias of the target org.",
560
+ "hasDynamicHelp": true,
561
+ "multiple": false,
562
+ "type": "option"
563
+ },
564
+ "name": {
565
+ "char": "n",
566
+ "name": "name",
567
+ "required": true,
568
+ "summary": "Name of the Experience Cloud site to generate.",
569
+ "hasDynamicHelp": false,
570
+ "multiple": false,
571
+ "type": "option"
572
+ },
573
+ "template-name": {
574
+ "char": "t",
575
+ "name": "template-name",
576
+ "required": true,
577
+ "summary": "Template to use when generating the site.",
578
+ "hasDynamicHelp": false,
579
+ "multiple": false,
580
+ "options": [
581
+ "Build Your Own (LWR)"
582
+ ],
583
+ "type": "option"
584
+ },
585
+ "url-path-prefix": {
586
+ "char": "p",
587
+ "name": "url-path-prefix",
588
+ "summary": "URL path prefix for the site; must contain only alphanumeric characters.",
589
+ "default": "",
590
+ "hasDynamicHelp": false,
591
+ "multiple": false,
592
+ "type": "option"
593
+ },
594
+ "admin-email": {
595
+ "char": "e",
596
+ "name": "admin-email",
597
+ "summary": "Email address for the site administrator. Defaults to the username of the currently authenticated user.",
598
+ "hasDynamicHelp": false,
599
+ "multiple": false,
600
+ "type": "option"
601
+ },
602
+ "output-dir": {
603
+ "char": "d",
604
+ "description": "The location can be an absolute path or relative to the current working directory. If not specified, the command reads your sfdx-project.json file and uses the default package directory. When running outside a Salesforce DX project, defaults to the current directory.",
605
+ "name": "output-dir",
606
+ "summary": "Directory to generate the site files in.",
607
+ "hasDynamicHelp": false,
608
+ "multiple": false,
609
+ "type": "option"
610
+ }
611
+ },
612
+ "hasDynamicHelp": true,
613
+ "hiddenAliases": [],
614
+ "id": "template:generate:digital-experience:site",
615
+ "pluginAlias": "@salesforce/plugin-templates",
616
+ "pluginName": "@salesforce/plugin-templates",
617
+ "pluginType": "core",
618
+ "state": "preview",
619
+ "strict": true,
620
+ "summary": "Generate an Experience Cloud site.",
621
+ "enableJsonFlag": true,
622
+ "isESM": true,
623
+ "relativePath": [
624
+ "lib",
625
+ "commands",
626
+ "template",
627
+ "generate",
628
+ "digital-experience",
629
+ "site.js"
630
+ ],
631
+ "aliasPermutations": [],
632
+ "permutations": [
633
+ "template:generate:digital-experience:site",
634
+ "generate:template:digital-experience:site",
635
+ "generate:digital-experience:template:site",
636
+ "generate:digital-experience:site:template",
637
+ "template:digital-experience:generate:site",
638
+ "digital-experience:template:generate:site",
639
+ "digital-experience:generate:template:site",
640
+ "digital-experience:generate:site:template",
641
+ "template:digital-experience:site:generate",
642
+ "digital-experience:template:site:generate",
643
+ "digital-experience:site:template:generate",
644
+ "digital-experience:site:generate:template",
645
+ "template:generate:site:digital-experience",
646
+ "generate:template:site:digital-experience",
647
+ "generate:site:template:digital-experience",
648
+ "generate:site:digital-experience:template",
649
+ "template:site:generate:digital-experience",
650
+ "site:template:generate:digital-experience",
651
+ "site:generate:template:digital-experience",
652
+ "site:generate:digital-experience:template",
653
+ "template:site:digital-experience:generate",
654
+ "site:template:digital-experience:generate",
655
+ "site:digital-experience:template:generate",
656
+ "site:digital-experience:generate:template"
657
+ ]
658
+ },
659
659
  "template:generate:flexipage": {
660
660
  "aliases": [],
661
661
  "args": {},
@@ -2505,5 +2505,5 @@
2505
2505
  ]
2506
2506
  }
2507
2507
  },
2508
- "version": "56.9.0"
2508
+ "version": "56.9.2"
2509
2509
  }
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-templates",
3
3
  "description": "Commands to create metadata from a default or custom template",
4
- "version": "56.9.0",
4
+ "version": "56.9.2",
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.26.0",
10
+ "@salesforce/core": "^8.26.2",
11
11
  "@salesforce/sf-plugins-core": "^12",
12
12
  "@salesforce/templates": "^65.5.9"
13
13
  },
@@ -18,7 +18,7 @@
18
18
  "@salesforce/plugin-command-reference": "^3.1.80",
19
19
  "@types/yeoman-assert": "^3.1.4",
20
20
  "eslint-plugin-sf-plugin": "^1.20.33",
21
- "oclif": "^4.22.78",
21
+ "oclif": "^4.22.79",
22
22
  "ts-node": "^10.9.2",
23
23
  "typescript": "^5.9.3",
24
24
  "yeoman-assert": "^3.1.1"
@@ -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.9.0.crt",
253
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.9.0.sig"
252
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.9.2.crt",
253
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.9.2.sig"
254
254
  }
255
255
  }