@salesforce/plugin-templates 56.18.8 → 56.18.9

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 +256 -256
  3. package/package.json +4 -4
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.8/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.9/src/commands/template/generate/analytics/template.ts)_
181
181
 
182
182
  ## `sf template generate apex class`
183
183
 
@@ -237,7 +237,7 @@ FLAG DESCRIPTIONS
237
237
  Supplied parameter values or default values are filled into a copy of the template.
238
238
  ```
239
239
 
240
- _See code: [src/commands/template/generate/apex/class.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.8/src/commands/template/generate/apex/class.ts)_
240
+ _See code: [src/commands/template/generate/apex/class.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.9/src/commands/template/generate/apex/class.ts)_
241
241
 
242
242
  ## `sf template generate apex trigger`
243
243
 
@@ -307,7 +307,7 @@ FLAG DESCRIPTIONS
307
307
  Supplied parameter values or default values are filled into a copy of the template.
308
308
  ```
309
309
 
310
- _See code: [src/commands/template/generate/apex/trigger.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.8/src/commands/template/generate/apex/trigger.ts)_
310
+ _See code: [src/commands/template/generate/apex/trigger.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.9/src/commands/template/generate/apex/trigger.ts)_
311
311
 
312
312
  ## `sf template generate digital-experience site`
313
313
 
@@ -361,7 +361,7 @@ FLAG DESCRIPTIONS
361
361
  project, defaults to the current directory.
362
362
  ```
363
363
 
364
- _See code: [src/commands/template/generate/digital-experience/site.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.8/src/commands/template/generate/digital-experience/site.ts)_
364
+ _See code: [src/commands/template/generate/digital-experience/site.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.9/src/commands/template/generate/digital-experience/site.ts)_
365
365
 
366
366
  ## `sf template generate flexipage`
367
367
 
@@ -443,7 +443,7 @@ FLAG DESCRIPTIONS
443
443
  'Custom_Object__c'. This sets the `sobjectType` field in the FlexiPage metadata.
444
444
  ```
445
445
 
446
- _See code: [src/commands/template/generate/flexipage/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.8/src/commands/template/generate/flexipage/index.ts)_
446
+ _See code: [src/commands/template/generate/flexipage/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.9/src/commands/template/generate/flexipage/index.ts)_
447
447
 
448
448
  ## `sf template generate lightning app`
449
449
 
@@ -501,7 +501,7 @@ FLAG DESCRIPTIONS
501
501
  field in the DX project's "sfdx-project.json" file.
502
502
  ```
503
503
 
504
- _See code: [src/commands/template/generate/lightning/app.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.8/src/commands/template/generate/lightning/app.ts)_
504
+ _See code: [src/commands/template/generate/lightning/app.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.9/src/commands/template/generate/lightning/app.ts)_
505
505
 
506
506
  ## `sf template generate lightning component`
507
507
 
@@ -578,7 +578,7 @@ FLAG DESCRIPTIONS
578
578
  field in the DX project's "sfdx-project.json" file.
579
579
  ```
580
580
 
581
- _See code: [src/commands/template/generate/lightning/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.8/src/commands/template/generate/lightning/component.ts)_
581
+ _See code: [src/commands/template/generate/lightning/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.9/src/commands/template/generate/lightning/component.ts)_
582
582
 
583
583
  ## `sf template generate lightning event`
584
584
 
@@ -636,7 +636,7 @@ FLAG DESCRIPTIONS
636
636
  field in the DX project's "sfdx-project.json" file.
637
637
  ```
638
638
 
639
- _See code: [src/commands/template/generate/lightning/event.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.8/src/commands/template/generate/lightning/event.ts)_
639
+ _See code: [src/commands/template/generate/lightning/event.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.9/src/commands/template/generate/lightning/event.ts)_
640
640
 
641
641
  ## `sf template generate lightning interface`
642
642
 
@@ -694,7 +694,7 @@ FLAG DESCRIPTIONS
694
694
  field in the DX project's "sfdx-project.json" file.
695
695
  ```
696
696
 
697
- _See code: [src/commands/template/generate/lightning/interface.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.8/src/commands/template/generate/lightning/interface.ts)_
697
+ _See code: [src/commands/template/generate/lightning/interface.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.9/src/commands/template/generate/lightning/interface.ts)_
698
698
 
699
699
  ## `sf template generate lightning test`
700
700
 
@@ -752,7 +752,7 @@ FLAG DESCRIPTIONS
752
752
  field in the DX project's "sfdx-project.json" file.
753
753
  ```
754
754
 
755
- _See code: [src/commands/template/generate/lightning/test.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.8/src/commands/template/generate/lightning/test.ts)_
755
+ _See code: [src/commands/template/generate/lightning/test.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.9/src/commands/template/generate/lightning/test.ts)_
756
756
 
757
757
  ## `sf template generate project`
758
758
 
@@ -878,7 +878,7 @@ FLAG DESCRIPTIONS
878
878
  server-side type stripping.
879
879
  ```
880
880
 
881
- _See code: [src/commands/template/generate/project/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.8/src/commands/template/generate/project/index.ts)_
881
+ _See code: [src/commands/template/generate/project/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.9/src/commands/template/generate/project/index.ts)_
882
882
 
883
883
  ## `sf template generate static-resource`
884
884
 
@@ -941,7 +941,7 @@ FLAG DESCRIPTIONS
941
941
  etc.
942
942
  ```
943
943
 
944
- _See code: [src/commands/template/generate/static-resource/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.8/src/commands/template/generate/static-resource/index.ts)_
944
+ _See code: [src/commands/template/generate/static-resource/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.9/src/commands/template/generate/static-resource/index.ts)_
945
945
 
946
946
  ## `sf template generate ui-bundle`
947
947
 
@@ -1025,7 +1025,7 @@ FLAG DESCRIPTIONS
1025
1025
  Supplied parameter values or default values are filled into a copy of the template.
1026
1026
  ```
1027
1027
 
1028
- _See code: [src/commands/template/generate/ui-bundle/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.8/src/commands/template/generate/ui-bundle/index.ts)_
1028
+ _See code: [src/commands/template/generate/ui-bundle/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.9/src/commands/template/generate/ui-bundle/index.ts)_
1029
1029
 
1030
1030
  ## `sf template generate visualforce component`
1031
1031
 
@@ -1082,7 +1082,7 @@ FLAG DESCRIPTIONS
1082
1082
  Supplied parameter values or default values are filled into a copy of the template.
1083
1083
  ```
1084
1084
 
1085
- _See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.8/src/commands/template/generate/visualforce/component.ts)_
1085
+ _See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.9/src/commands/template/generate/visualforce/component.ts)_
1086
1086
 
1087
1087
  ## `sf template generate visualforce page`
1088
1088
 
@@ -1133,6 +1133,6 @@ FLAG DESCRIPTIONS
1133
1133
  The name can be up to 40 characters and must start with a letter.
1134
1134
  ```
1135
1135
 
1136
- _See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.8/src/commands/template/generate/visualforce/page.ts)_
1136
+ _See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.9/src/commands/template/generate/visualforce/page.ts)_
1137
1137
 
1138
1138
  <!-- commandsstop -->
@@ -528,134 +528,6 @@
528
528
  "trigger:apex:generate:template"
529
529
  ]
530
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
531
  "template:generate:flexipage": {
660
532
  "aliases": [],
661
533
  "args": {},
@@ -839,20 +711,13 @@
839
711
  "flexipage:generate:template"
840
712
  ]
841
713
  },
842
- "template:generate:project": {
843
- "aliases": [
844
- "force:project:create",
845
- "project:generate"
846
- ],
714
+ "template:generate:digital-experience:site": {
715
+ "aliases": [],
847
716
  "args": {},
848
- "deprecateAliases": true,
849
- "description": "A Salesforce DX project has a specific structure and a configuration file (sfdx-project.json) that identifies the directory as a Salesforce DX project. This command generates the necessary configuration files and directories to get you started.\n\nBy default, the generated sfdx-project.json file sets the sourceApiVersion property to the default API version currently used by Salesforce CLI. To specify a different version, set the apiVersion configuration variable. For example: \"sf config set apiVersion=57.0 --global\".",
717
+ "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.",
850
718
  "examples": [
851
- "Generate a project called \"mywork\":\n<%= config.bin %> <%= command.id %> --name mywork",
852
- "Similar to previous example, but generate the files in a directory called \"myapp\":\n<%= config.bin %> <%= command.id %> --name mywork --default-package-dir myapp",
853
- "Similar to prevoius example, but also generate a default package.xml manifest file:\n<%= config.bin %> <%= command.id %> --name mywork --default-package-dir myapp --manifest",
854
- "Generate a project with the minimum files and directories:\n<%= config.bin %> <%= command.id %> --name mywork --template empty",
855
- "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"
719
+ "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",
720
+ "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"
856
721
  ],
857
722
  "flags": {
858
723
  "json": {
@@ -870,137 +735,72 @@
870
735
  "multiple": false,
871
736
  "type": "option"
872
737
  },
738
+ "target-org": {
739
+ "char": "o",
740
+ "name": "target-org",
741
+ "noCacheDefault": true,
742
+ "summary": "Username or alias of the target org.",
743
+ "hasDynamicHelp": true,
744
+ "multiple": false,
745
+ "type": "option"
746
+ },
873
747
  "name": {
874
- "aliases": [
875
- "projectname"
876
- ],
877
748
  "char": "n",
878
- "deprecateAliases": true,
879
- "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.",
880
749
  "name": "name",
881
750
  "required": true,
882
- "summary": "Name of the generated project.",
751
+ "summary": "Name of the Experience Cloud site to generate.",
883
752
  "hasDynamicHelp": false,
884
753
  "multiple": false,
885
754
  "type": "option"
886
755
  },
887
- "template": {
756
+ "template-name": {
888
757
  "char": "t",
889
- "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 agent template provides project scaffolding for building Agentforce agents and includes a sample agent called Local Info Agent.",
890
- "name": "template",
891
- "summary": "Template to use for project creation.",
892
- "default": "standard",
758
+ "name": "template-name",
759
+ "required": true,
760
+ "summary": "Template to use when generating the site.",
893
761
  "hasDynamicHelp": false,
894
762
  "multiple": false,
895
763
  "options": [
896
- "standard",
897
- "empty",
898
- "analytics",
899
- "reactinternalapp",
900
- "reactexternalapp",
901
- "agent"
902
- ],
903
- "type": "option"
904
- },
905
- "output-dir": {
906
- "aliases": [
907
- "outputdir"
764
+ "Build Your Own (LWR)"
908
765
  ],
909
- "char": "d",
910
- "deprecateAliases": true,
911
- "description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
912
- "name": "output-dir",
913
- "summary": "Directory for saving the created files.",
914
- "default": ".",
915
- "hasDynamicHelp": false,
916
- "multiple": false,
917
766
  "type": "option"
918
767
  },
919
- "namespace": {
920
- "char": "s",
921
- "name": "namespace",
922
- "summary": "Namespace associated with this project and any connected scratch orgs.",
923
- "default": "",
924
- "hasDynamicHelp": false,
925
- "multiple": false,
926
- "type": "option"
927
- },
928
- "default-package-dir": {
929
- "aliases": [
930
- "defaultpackagedir"
931
- ],
768
+ "url-path-prefix": {
932
769
  "char": "p",
933
- "deprecateAliases": true,
934
- "description": "Metadata items such as classes and Lightning bundles are placed inside this folder.",
935
- "name": "default-package-dir",
936
- "summary": "Default package directory name.",
937
- "default": "force-app",
938
- "hasDynamicHelp": false,
939
- "multiple": false,
940
- "type": "option"
941
- },
942
- "manifest": {
943
- "char": "x",
944
- "description": "Generates a default manifest (package.xml) for fetching Apex, Visualforce, Lightning components, and static resources.",
945
- "name": "manifest",
946
- "summary": "Generate a manifest (package.xml) for change-set based development.",
947
- "allowNo": false,
948
- "type": "boolean"
949
- },
950
- "login-url": {
951
- "aliases": [
952
- "loginurl"
953
- ],
954
- "char": "l",
955
- "deprecateAliases": true,
956
- "description": "Normally defaults to https://login.salesforce.com.",
957
- "hidden": true,
958
- "name": "login-url",
959
- "summary": "Salesforce instance login URL.",
960
- "default": "https://login.salesforce.com",
961
- "hasDynamicHelp": false,
962
- "multiple": false,
963
- "type": "option"
964
- },
965
- "lwc-language": {
966
- "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.",
967
- "name": "lwc-language",
968
- "summary": "Language of the Lightning Web Components. If not specified, \"javascript\" is used.",
770
+ "name": "url-path-prefix",
771
+ "summary": "URL path prefix for the site; must contain only alphanumeric characters.",
772
+ "default": "",
969
773
  "hasDynamicHelp": false,
970
774
  "multiple": false,
971
- "options": [
972
- "javascript",
973
- "typescript"
974
- ],
975
775
  "type": "option"
976
776
  },
977
- "loglevel": {
978
- "deprecated": {
979
- "message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
980
- },
981
- "hidden": true,
982
- "name": "loglevel",
777
+ "admin-email": {
778
+ "char": "e",
779
+ "name": "admin-email",
780
+ "summary": "Email address for the site administrator. Defaults to the username of the currently authenticated user.",
983
781
  "hasDynamicHelp": false,
984
782
  "multiple": false,
985
783
  "type": "option"
986
784
  },
987
- "api-version": {
988
- "description": "Override the api version used for api requests made by this command",
989
- "name": "api-version",
990
- "summary": "Will set this version as sourceApiVersion in the sfdx-project.json file",
785
+ "output-dir": {
786
+ "char": "d",
787
+ "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.",
788
+ "name": "output-dir",
789
+ "summary": "Directory to generate the site files in.",
991
790
  "hasDynamicHelp": false,
992
791
  "multiple": false,
993
792
  "type": "option"
994
793
  }
995
794
  },
996
- "hasDynamicHelp": false,
795
+ "hasDynamicHelp": true,
997
796
  "hiddenAliases": [],
998
- "id": "template:generate:project",
797
+ "id": "template:generate:digital-experience:site",
999
798
  "pluginAlias": "@salesforce/plugin-templates",
1000
799
  "pluginName": "@salesforce/plugin-templates",
1001
800
  "pluginType": "core",
801
+ "state": "preview",
1002
802
  "strict": true,
1003
- "summary": "Generate a Salesforce DX project.",
803
+ "summary": "Generate an Experience Cloud site.",
1004
804
  "enableJsonFlag": true,
1005
805
  "isESM": true,
1006
806
  "relativePath": [
@@ -1008,26 +808,35 @@
1008
808
  "commands",
1009
809
  "template",
1010
810
  "generate",
1011
- "project",
1012
- "index.js"
1013
- ],
1014
- "aliasPermutations": [
1015
- "force:project:create",
1016
- "project:force:create",
1017
- "project:create:force",
1018
- "force:create:project",
1019
- "create:force:project",
1020
- "create:project:force",
1021
- "project:generate",
1022
- "generate:project"
811
+ "digital-experience",
812
+ "site.js"
1023
813
  ],
814
+ "aliasPermutations": [],
1024
815
  "permutations": [
1025
- "template:generate:project",
1026
- "generate:template:project",
1027
- "generate:project:template",
1028
- "template:project:generate",
1029
- "project:template:generate",
1030
- "project:generate:template"
816
+ "template:generate:digital-experience:site",
817
+ "generate:template:digital-experience:site",
818
+ "generate:digital-experience:template:site",
819
+ "generate:digital-experience:site:template",
820
+ "template:digital-experience:generate:site",
821
+ "digital-experience:template:generate:site",
822
+ "digital-experience:generate:template:site",
823
+ "digital-experience:generate:site:template",
824
+ "template:digital-experience:site:generate",
825
+ "digital-experience:template:site:generate",
826
+ "digital-experience:site:template:generate",
827
+ "digital-experience:site:generate:template",
828
+ "template:generate:site:digital-experience",
829
+ "generate:template:site:digital-experience",
830
+ "generate:site:template:digital-experience",
831
+ "generate:site:digital-experience:template",
832
+ "template:site:generate:digital-experience",
833
+ "site:template:generate:digital-experience",
834
+ "site:generate:template:digital-experience",
835
+ "site:generate:digital-experience:template",
836
+ "template:site:digital-experience:generate",
837
+ "site:template:digital-experience:generate",
838
+ "site:digital-experience:template:generate",
839
+ "site:digital-experience:generate:template"
1031
840
  ]
1032
841
  },
1033
842
  "template:generate:lightning:app": {
@@ -2096,6 +1905,197 @@
2096
1905
  "test:lightning:generate:template"
2097
1906
  ]
2098
1907
  },
1908
+ "template:generate:project": {
1909
+ "aliases": [
1910
+ "force:project:create",
1911
+ "project:generate"
1912
+ ],
1913
+ "args": {},
1914
+ "deprecateAliases": true,
1915
+ "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\".",
1916
+ "examples": [
1917
+ "Generate a project called \"mywork\":\n<%= config.bin %> <%= command.id %> --name mywork",
1918
+ "Similar to previous example, but generate the files in a directory called \"myapp\":\n<%= config.bin %> <%= command.id %> --name mywork --default-package-dir myapp",
1919
+ "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",
1920
+ "Generate a project with the minimum files and directories:\n<%= config.bin %> <%= command.id %> --name mywork --template empty",
1921
+ "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"
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
+ "projectname"
1942
+ ],
1943
+ "char": "n",
1944
+ "deprecateAliases": true,
1945
+ "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.",
1946
+ "name": "name",
1947
+ "required": true,
1948
+ "summary": "Name of the generated project.",
1949
+ "hasDynamicHelp": false,
1950
+ "multiple": false,
1951
+ "type": "option"
1952
+ },
1953
+ "template": {
1954
+ "char": "t",
1955
+ "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 agent template provides project scaffolding for building Agentforce agents and includes a sample agent called Local Info Agent.",
1956
+ "name": "template",
1957
+ "summary": "Template to use for project creation.",
1958
+ "default": "standard",
1959
+ "hasDynamicHelp": false,
1960
+ "multiple": false,
1961
+ "options": [
1962
+ "standard",
1963
+ "empty",
1964
+ "analytics",
1965
+ "reactinternalapp",
1966
+ "reactexternalapp",
1967
+ "agent"
1968
+ ],
1969
+ "type": "option"
1970
+ },
1971
+ "output-dir": {
1972
+ "aliases": [
1973
+ "outputdir"
1974
+ ],
1975
+ "char": "d",
1976
+ "deprecateAliases": true,
1977
+ "description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
1978
+ "name": "output-dir",
1979
+ "summary": "Directory for saving the created files.",
1980
+ "default": ".",
1981
+ "hasDynamicHelp": false,
1982
+ "multiple": false,
1983
+ "type": "option"
1984
+ },
1985
+ "namespace": {
1986
+ "char": "s",
1987
+ "name": "namespace",
1988
+ "summary": "Namespace associated with this project and any connected scratch orgs.",
1989
+ "default": "",
1990
+ "hasDynamicHelp": false,
1991
+ "multiple": false,
1992
+ "type": "option"
1993
+ },
1994
+ "default-package-dir": {
1995
+ "aliases": [
1996
+ "defaultpackagedir"
1997
+ ],
1998
+ "char": "p",
1999
+ "deprecateAliases": true,
2000
+ "description": "Metadata items such as classes and Lightning bundles are placed inside this folder.",
2001
+ "name": "default-package-dir",
2002
+ "summary": "Default package directory name.",
2003
+ "default": "force-app",
2004
+ "hasDynamicHelp": false,
2005
+ "multiple": false,
2006
+ "type": "option"
2007
+ },
2008
+ "manifest": {
2009
+ "char": "x",
2010
+ "description": "Generates a default manifest (package.xml) for fetching Apex, Visualforce, Lightning components, and static resources.",
2011
+ "name": "manifest",
2012
+ "summary": "Generate a manifest (package.xml) for change-set based development.",
2013
+ "allowNo": false,
2014
+ "type": "boolean"
2015
+ },
2016
+ "login-url": {
2017
+ "aliases": [
2018
+ "loginurl"
2019
+ ],
2020
+ "char": "l",
2021
+ "deprecateAliases": true,
2022
+ "description": "Normally defaults to https://login.salesforce.com.",
2023
+ "hidden": true,
2024
+ "name": "login-url",
2025
+ "summary": "Salesforce instance login URL.",
2026
+ "default": "https://login.salesforce.com",
2027
+ "hasDynamicHelp": false,
2028
+ "multiple": false,
2029
+ "type": "option"
2030
+ },
2031
+ "lwc-language": {
2032
+ "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.",
2033
+ "name": "lwc-language",
2034
+ "summary": "Language of the Lightning Web Components. If not specified, \"javascript\" is used.",
2035
+ "hasDynamicHelp": false,
2036
+ "multiple": false,
2037
+ "options": [
2038
+ "javascript",
2039
+ "typescript"
2040
+ ],
2041
+ "type": "option"
2042
+ },
2043
+ "loglevel": {
2044
+ "deprecated": {
2045
+ "message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
2046
+ },
2047
+ "hidden": true,
2048
+ "name": "loglevel",
2049
+ "hasDynamicHelp": false,
2050
+ "multiple": false,
2051
+ "type": "option"
2052
+ },
2053
+ "api-version": {
2054
+ "description": "Override the api version used for api requests made by this command",
2055
+ "name": "api-version",
2056
+ "summary": "Will set this version as sourceApiVersion in the sfdx-project.json file",
2057
+ "hasDynamicHelp": false,
2058
+ "multiple": false,
2059
+ "type": "option"
2060
+ }
2061
+ },
2062
+ "hasDynamicHelp": false,
2063
+ "hiddenAliases": [],
2064
+ "id": "template:generate:project",
2065
+ "pluginAlias": "@salesforce/plugin-templates",
2066
+ "pluginName": "@salesforce/plugin-templates",
2067
+ "pluginType": "core",
2068
+ "strict": true,
2069
+ "summary": "Generate a Salesforce DX project.",
2070
+ "enableJsonFlag": true,
2071
+ "isESM": true,
2072
+ "relativePath": [
2073
+ "lib",
2074
+ "commands",
2075
+ "template",
2076
+ "generate",
2077
+ "project",
2078
+ "index.js"
2079
+ ],
2080
+ "aliasPermutations": [
2081
+ "force:project:create",
2082
+ "project:force:create",
2083
+ "project:create:force",
2084
+ "force:create:project",
2085
+ "create:force:project",
2086
+ "create:project:force",
2087
+ "project:generate",
2088
+ "generate:project"
2089
+ ],
2090
+ "permutations": [
2091
+ "template:generate:project",
2092
+ "generate:template:project",
2093
+ "generate:project:template",
2094
+ "template:project:generate",
2095
+ "project:template:generate",
2096
+ "project:generate:template"
2097
+ ]
2098
+ },
2099
2099
  "template:generate:static-resource": {
2100
2100
  "aliases": [
2101
2101
  "force:staticresource:create",
@@ -2684,5 +2684,5 @@
2684
2684
  ]
2685
2685
  }
2686
2686
  },
2687
- "version": "56.18.8"
2687
+ "version": "56.18.9"
2688
2688
  }
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.18.8",
4
+ "version": "56.18.9",
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.31.1",
10
+ "@salesforce/core": "^8.31.2",
11
11
  "@salesforce/sf-plugins-core": "^12",
12
12
  "@salesforce/templates": "^66.10.2"
13
13
  },
@@ -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.8.crt",
253
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.18.8.sig"
252
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.18.9.crt",
253
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.18.9.sig"
254
254
  }
255
255
  }