@salesforce/plugin-templates 56.10.4 → 56.10.6

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 +6 -6
package/README.md CHANGED
@@ -176,7 +176,7 @@ FLAG DESCRIPTIONS
176
176
  directory.
177
177
  ```
178
178
 
179
- _See code: [src/commands/template/generate/analytics/template.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.4/src/commands/template/generate/analytics/template.ts)_
179
+ _See code: [src/commands/template/generate/analytics/template.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.6/src/commands/template/generate/analytics/template.ts)_
180
180
 
181
181
  ## `sf template generate apex class`
182
182
 
@@ -236,7 +236,7 @@ FLAG DESCRIPTIONS
236
236
  Supplied parameter values or default values are filled into a copy of the template.
237
237
  ```
238
238
 
239
- _See code: [src/commands/template/generate/apex/class.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.4/src/commands/template/generate/apex/class.ts)_
239
+ _See code: [src/commands/template/generate/apex/class.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.6/src/commands/template/generate/apex/class.ts)_
240
240
 
241
241
  ## `sf template generate apex trigger`
242
242
 
@@ -306,7 +306,7 @@ FLAG DESCRIPTIONS
306
306
  Supplied parameter values or default values are filled into a copy of the template.
307
307
  ```
308
308
 
309
- _See code: [src/commands/template/generate/apex/trigger.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.4/src/commands/template/generate/apex/trigger.ts)_
309
+ _See code: [src/commands/template/generate/apex/trigger.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.6/src/commands/template/generate/apex/trigger.ts)_
310
310
 
311
311
  ## `sf template generate digital-experience site`
312
312
 
@@ -360,7 +360,7 @@ FLAG DESCRIPTIONS
360
360
  project, defaults to the current directory.
361
361
  ```
362
362
 
363
- _See code: [src/commands/template/generate/digital-experience/site.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.4/src/commands/template/generate/digital-experience/site.ts)_
363
+ _See code: [src/commands/template/generate/digital-experience/site.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.6/src/commands/template/generate/digital-experience/site.ts)_
364
364
 
365
365
  ## `sf template generate flexipage`
366
366
 
@@ -442,7 +442,7 @@ FLAG DESCRIPTIONS
442
442
  'Custom_Object__c'. This sets the `sobjectType` field in the FlexiPage metadata.
443
443
  ```
444
444
 
445
- _See code: [src/commands/template/generate/flexipage/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.4/src/commands/template/generate/flexipage/index.ts)_
445
+ _See code: [src/commands/template/generate/flexipage/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.6/src/commands/template/generate/flexipage/index.ts)_
446
446
 
447
447
  ## `sf template generate lightning app`
448
448
 
@@ -498,7 +498,7 @@ FLAG DESCRIPTIONS
498
498
  Supplied parameter values or default values are filled into a copy of the template.
499
499
  ```
500
500
 
501
- _See code: [src/commands/template/generate/lightning/app.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.4/src/commands/template/generate/lightning/app.ts)_
501
+ _See code: [src/commands/template/generate/lightning/app.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.6/src/commands/template/generate/lightning/app.ts)_
502
502
 
503
503
  ## `sf template generate lightning component`
504
504
 
@@ -568,7 +568,7 @@ FLAG DESCRIPTIONS
568
568
  Supplied parameter values or default values are filled into a copy of the template.
569
569
  ```
570
570
 
571
- _See code: [src/commands/template/generate/lightning/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.4/src/commands/template/generate/lightning/component.ts)_
571
+ _See code: [src/commands/template/generate/lightning/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.6/src/commands/template/generate/lightning/component.ts)_
572
572
 
573
573
  ## `sf template generate lightning event`
574
574
 
@@ -624,7 +624,7 @@ FLAG DESCRIPTIONS
624
624
  Supplied parameter values or default values are filled into a copy of the template.
625
625
  ```
626
626
 
627
- _See code: [src/commands/template/generate/lightning/event.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.4/src/commands/template/generate/lightning/event.ts)_
627
+ _See code: [src/commands/template/generate/lightning/event.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.6/src/commands/template/generate/lightning/event.ts)_
628
628
 
629
629
  ## `sf template generate lightning interface`
630
630
 
@@ -680,7 +680,7 @@ FLAG DESCRIPTIONS
680
680
  Supplied parameter values or default values are filled into a copy of the template.
681
681
  ```
682
682
 
683
- _See code: [src/commands/template/generate/lightning/interface.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.4/src/commands/template/generate/lightning/interface.ts)_
683
+ _See code: [src/commands/template/generate/lightning/interface.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.6/src/commands/template/generate/lightning/interface.ts)_
684
684
 
685
685
  ## `sf template generate lightning test`
686
686
 
@@ -736,7 +736,7 @@ FLAG DESCRIPTIONS
736
736
  Supplied parameter values or default values are filled into a copy of the template.
737
737
  ```
738
738
 
739
- _See code: [src/commands/template/generate/lightning/test.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.4/src/commands/template/generate/lightning/test.ts)_
739
+ _See code: [src/commands/template/generate/lightning/test.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.6/src/commands/template/generate/lightning/test.ts)_
740
740
 
741
741
  ## `sf template generate project`
742
742
 
@@ -845,7 +845,7 @@ FLAG DESCRIPTIONS
845
845
  Override the api version used for api requests made by this command
846
846
  ```
847
847
 
848
- _See code: [src/commands/template/generate/project/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.4/src/commands/template/generate/project/index.ts)_
848
+ _See code: [src/commands/template/generate/project/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.6/src/commands/template/generate/project/index.ts)_
849
849
 
850
850
  ## `sf template generate static-resource`
851
851
 
@@ -908,7 +908,7 @@ FLAG DESCRIPTIONS
908
908
  etc.
909
909
  ```
910
910
 
911
- _See code: [src/commands/template/generate/static-resource/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.4/src/commands/template/generate/static-resource/index.ts)_
911
+ _See code: [src/commands/template/generate/static-resource/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.6/src/commands/template/generate/static-resource/index.ts)_
912
912
 
913
913
  ## `sf template generate visualforce component`
914
914
 
@@ -965,7 +965,7 @@ FLAG DESCRIPTIONS
965
965
  Supplied parameter values or default values are filled into a copy of the template.
966
966
  ```
967
967
 
968
- _See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.4/src/commands/template/generate/visualforce/component.ts)_
968
+ _See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.6/src/commands/template/generate/visualforce/component.ts)_
969
969
 
970
970
  ## `sf template generate visualforce page`
971
971
 
@@ -1016,6 +1016,6 @@ FLAG DESCRIPTIONS
1016
1016
  The name can be up to 40 characters and must start with a letter.
1017
1017
  ```
1018
1018
 
1019
- _See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.4/src/commands/template/generate/visualforce/page.ts)_
1019
+ _See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.6/src/commands/template/generate/visualforce/page.ts)_
1020
1020
 
1021
1021
  <!-- commandsstop -->
@@ -153,134 +153,6 @@
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
- },
284
156
  "template:generate:apex:class": {
285
157
  "aliases": [
286
158
  "force:apex:class:create",
@@ -656,6 +528,134 @@
656
528
  "trigger:apex: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": {},
@@ -2507,5 +2507,5 @@
2507
2507
  ]
2508
2508
  }
2509
2509
  },
2510
- "version": "56.10.4"
2510
+ "version": "56.10.6"
2511
2511
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-templates",
3
3
  "description": "Commands to create metadata from a default or custom template",
4
- "version": "56.10.4",
4
+ "version": "56.10.6",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/salesforcecli/plugin-templates/issues",
7
7
  "enableO11y": true,
@@ -9,16 +9,16 @@
9
9
  "dependencies": {
10
10
  "@salesforce/core": "^8.26.3",
11
11
  "@salesforce/sf-plugins-core": "^12",
12
- "@salesforce/templates": "^66.3.3"
12
+ "@salesforce/templates": "^66.4.1"
13
13
  },
14
14
  "devDependencies": {
15
- "@oclif/plugin-command-snapshot": "^5.3.10",
15
+ "@oclif/plugin-command-snapshot": "^5.3.11",
16
16
  "@salesforce/cli-plugins-testkit": "^5.3.41",
17
17
  "@salesforce/dev-scripts": "^11.0.4",
18
18
  "@salesforce/plugin-command-reference": "^3.1.81",
19
19
  "@types/yeoman-assert": "^3.1.4",
20
20
  "eslint-plugin-sf-plugin": "^1.20.33",
21
- "oclif": "^4.22.81",
21
+ "oclif": "^4.22.87",
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.10.4.crt",
253
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.10.4.sig"
252
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.10.6.crt",
253
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.10.6.sig"
254
254
  }
255
255
  }