@salesforce/plugin-templates 56.18.12 → 56.18.14

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 +129 -129
  3. package/package.json +7 -7
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.12/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.14/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.12/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.14/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.12/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.14/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.12/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.14/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.12/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.14/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.12/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.14/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.12/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.14/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.12/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.14/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.12/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.14/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.12/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.14/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.12/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.14/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.12/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.14/src/commands/template/generate/static-resource/index.ts)_
945
945
 
946
946
  ## `sf template generate ui-bundle`
947
947
 
@@ -1030,7 +1030,7 @@ FLAG DESCRIPTIONS
1030
1030
  Supplied parameter values or default values are filled into a copy of the template.
1031
1031
  ```
1032
1032
 
1033
- _See code: [src/commands/template/generate/ui-bundle/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.12/src/commands/template/generate/ui-bundle/index.ts)_
1033
+ _See code: [src/commands/template/generate/ui-bundle/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.14/src/commands/template/generate/ui-bundle/index.ts)_
1034
1034
 
1035
1035
  ## `sf template generate visualforce component`
1036
1036
 
@@ -1087,7 +1087,7 @@ FLAG DESCRIPTIONS
1087
1087
  Supplied parameter values or default values are filled into a copy of the template.
1088
1088
  ```
1089
1089
 
1090
- _See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.12/src/commands/template/generate/visualforce/component.ts)_
1090
+ _See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.14/src/commands/template/generate/visualforce/component.ts)_
1091
1091
 
1092
1092
  ## `sf template generate visualforce page`
1093
1093
 
@@ -1138,6 +1138,6 @@ FLAG DESCRIPTIONS
1138
1138
  The name can be up to 40 characters and must start with a letter.
1139
1139
  ```
1140
1140
 
1141
- _See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.12/src/commands/template/generate/visualforce/page.ts)_
1141
+ _See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.14/src/commands/template/generate/visualforce/page.ts)_
1142
1142
 
1143
1143
  <!-- commandsstop -->
@@ -153,6 +153,134 @@
153
153
  "template:analytics:generate:template"
154
154
  ]
155
155
  },
156
+ "template:generate:digital-experience:site": {
157
+ "aliases": [],
158
+ "args": {},
159
+ "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.",
160
+ "examples": [
161
+ "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",
162
+ "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"
163
+ ],
164
+ "flags": {
165
+ "json": {
166
+ "description": "Format output as json.",
167
+ "helpGroup": "GLOBAL",
168
+ "name": "json",
169
+ "allowNo": false,
170
+ "type": "boolean"
171
+ },
172
+ "flags-dir": {
173
+ "helpGroup": "GLOBAL",
174
+ "name": "flags-dir",
175
+ "summary": "Import flag values from a directory.",
176
+ "hasDynamicHelp": false,
177
+ "multiple": false,
178
+ "type": "option"
179
+ },
180
+ "target-org": {
181
+ "char": "o",
182
+ "name": "target-org",
183
+ "noCacheDefault": true,
184
+ "summary": "Username or alias of the target org.",
185
+ "hasDynamicHelp": true,
186
+ "multiple": false,
187
+ "type": "option"
188
+ },
189
+ "name": {
190
+ "char": "n",
191
+ "name": "name",
192
+ "required": true,
193
+ "summary": "Name of the Experience Cloud site to generate.",
194
+ "hasDynamicHelp": false,
195
+ "multiple": false,
196
+ "type": "option"
197
+ },
198
+ "template-name": {
199
+ "char": "t",
200
+ "name": "template-name",
201
+ "required": true,
202
+ "summary": "Template to use when generating the site.",
203
+ "hasDynamicHelp": false,
204
+ "multiple": false,
205
+ "options": [
206
+ "Build Your Own (LWR)"
207
+ ],
208
+ "type": "option"
209
+ },
210
+ "url-path-prefix": {
211
+ "char": "p",
212
+ "name": "url-path-prefix",
213
+ "summary": "URL path prefix for the site; must contain only alphanumeric characters.",
214
+ "default": "",
215
+ "hasDynamicHelp": false,
216
+ "multiple": false,
217
+ "type": "option"
218
+ },
219
+ "admin-email": {
220
+ "char": "e",
221
+ "name": "admin-email",
222
+ "summary": "Email address for the site administrator. Defaults to the username of the currently authenticated user.",
223
+ "hasDynamicHelp": false,
224
+ "multiple": false,
225
+ "type": "option"
226
+ },
227
+ "output-dir": {
228
+ "char": "d",
229
+ "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.",
230
+ "name": "output-dir",
231
+ "summary": "Directory to generate the site files in.",
232
+ "hasDynamicHelp": false,
233
+ "multiple": false,
234
+ "type": "option"
235
+ }
236
+ },
237
+ "hasDynamicHelp": true,
238
+ "hiddenAliases": [],
239
+ "id": "template:generate:digital-experience:site",
240
+ "pluginAlias": "@salesforce/plugin-templates",
241
+ "pluginName": "@salesforce/plugin-templates",
242
+ "pluginType": "core",
243
+ "state": "preview",
244
+ "strict": true,
245
+ "summary": "Generate an Experience Cloud site.",
246
+ "enableJsonFlag": true,
247
+ "isESM": true,
248
+ "relativePath": [
249
+ "lib",
250
+ "commands",
251
+ "template",
252
+ "generate",
253
+ "digital-experience",
254
+ "site.js"
255
+ ],
256
+ "aliasPermutations": [],
257
+ "permutations": [
258
+ "template:generate:digital-experience:site",
259
+ "generate:template:digital-experience:site",
260
+ "generate:digital-experience:template:site",
261
+ "generate:digital-experience:site:template",
262
+ "template:digital-experience:generate:site",
263
+ "digital-experience:template:generate:site",
264
+ "digital-experience:generate:template:site",
265
+ "digital-experience:generate:site:template",
266
+ "template:digital-experience:site:generate",
267
+ "digital-experience:template:site:generate",
268
+ "digital-experience:site:template:generate",
269
+ "digital-experience:site:generate:template",
270
+ "template:generate:site:digital-experience",
271
+ "generate:template:site:digital-experience",
272
+ "generate:site:template:digital-experience",
273
+ "generate:site:digital-experience:template",
274
+ "template:site:generate:digital-experience",
275
+ "site:template:generate:digital-experience",
276
+ "site:generate:template:digital-experience",
277
+ "site:generate:digital-experience:template",
278
+ "template:site:digital-experience:generate",
279
+ "site:template:digital-experience:generate",
280
+ "site:digital-experience:template:generate",
281
+ "site:digital-experience:generate:template"
282
+ ]
283
+ },
156
284
  "template:generate:apex:class": {
157
285
  "aliases": [
158
286
  "force:apex:class:create",
@@ -528,134 +656,6 @@
528
656
  "trigger:apex:generate:template"
529
657
  ]
530
658
  },
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": {},
@@ -2686,5 +2686,5 @@
2686
2686
  ]
2687
2687
  }
2688
2688
  },
2689
- "version": "56.18.12"
2689
+ "version": "56.18.14"
2690
2690
  }
package/package.json CHANGED
@@ -1,24 +1,24 @@
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.12",
4
+ "version": "56.18.14",
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.4",
10
+ "@salesforce/core": "^8.32.2",
11
11
  "@salesforce/sf-plugins-core": "^12",
12
12
  "@salesforce/templates": "^66.10.4"
13
13
  },
14
14
  "devDependencies": {
15
- "@oclif/plugin-command-snapshot": "^5.3.29",
15
+ "@oclif/plugin-command-snapshot": "^5.3.30",
16
16
  "@salesforce/cli-plugins-testkit": "^5.3.62",
17
17
  "@salesforce/dev-scripts": "^11.0.4",
18
- "@salesforce/plugin-command-reference": "^3.1.115",
18
+ "@salesforce/plugin-command-reference": "^3.1.118",
19
19
  "@types/yeoman-assert": "^3.1.4",
20
20
  "eslint-plugin-sf-plugin": "^1.20.33",
21
- "oclif": "^4.23.21",
21
+ "oclif": "^4.23.27",
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.18.12.crt",
253
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.18.12.sig"
252
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.18.14.crt",
253
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.18.14.sig"
254
254
  }
255
255
  }