@salesforce/plugin-templates 56.11.4 → 56.12.0
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.
- package/README.md +20 -20
- package/lib/commands/template/generate/project/index.d.ts +1 -1
- package/lib/commands/template/generate/project/index.js +1 -1
- package/lib/commands/template/generate/project/index.js.map +1 -1
- package/messages/project.md +1 -1
- package/oclif.manifest.json +242 -242
- package/package.json +4 -4
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.
|
|
179
|
+
_See code: [src/commands/template/generate/analytics/template.ts](https://github.com/salesforcecli/plugin-templates/blob/56.12.0/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.
|
|
239
|
+
_See code: [src/commands/template/generate/apex/class.ts](https://github.com/salesforcecli/plugin-templates/blob/56.12.0/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.
|
|
309
|
+
_See code: [src/commands/template/generate/apex/trigger.ts](https://github.com/salesforcecli/plugin-templates/blob/56.12.0/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.
|
|
363
|
+
_See code: [src/commands/template/generate/digital-experience/site.ts](https://github.com/salesforcecli/plugin-templates/blob/56.12.0/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.
|
|
445
|
+
_See code: [src/commands/template/generate/flexipage/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.12.0/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.
|
|
501
|
+
_See code: [src/commands/template/generate/lightning/app.ts](https://github.com/salesforcecli/plugin-templates/blob/56.12.0/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.
|
|
571
|
+
_See code: [src/commands/template/generate/lightning/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.12.0/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.
|
|
627
|
+
_See code: [src/commands/template/generate/lightning/event.ts](https://github.com/salesforcecli/plugin-templates/blob/56.12.0/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.
|
|
683
|
+
_See code: [src/commands/template/generate/lightning/interface.ts](https://github.com/salesforcecli/plugin-templates/blob/56.12.0/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.
|
|
739
|
+
_See code: [src/commands/template/generate/lightning/test.ts](https://github.com/salesforcecli/plugin-templates/blob/56.12.0/src/commands/template/generate/lightning/test.ts)_
|
|
740
740
|
|
|
741
741
|
## `sf template generate project`
|
|
742
742
|
|
|
@@ -745,8 +745,8 @@ Generate a Salesforce DX project.
|
|
|
745
745
|
```
|
|
746
746
|
USAGE
|
|
747
747
|
$ sf template generate project -n <value> [--json] [--flags-dir <value>] [-t
|
|
748
|
-
standard|empty|analytics|
|
|
749
|
-
<value>]
|
|
748
|
+
standard|empty|analytics|reactinternalapp|reactexternalapp|agent] [-d <value>] [-s <value>] [-p <value>] [-x]
|
|
749
|
+
[--api-version <value>]
|
|
750
750
|
|
|
751
751
|
FLAGS
|
|
752
752
|
-d, --output-dir=<value> [default: .] Directory for saving the created files.
|
|
@@ -754,7 +754,7 @@ FLAGS
|
|
|
754
754
|
-p, --default-package-dir=<value> [default: force-app] Default package directory name.
|
|
755
755
|
-s, --namespace=<value> Namespace associated with this project and any connected scratch orgs.
|
|
756
756
|
-t, --template=<option> [default: standard] Template to use for project creation.
|
|
757
|
-
<options: standard|empty|analytics|
|
|
757
|
+
<options: standard|empty|analytics|reactinternalapp|reactexternalapp|agent>
|
|
758
758
|
-x, --manifest Generate a manifest (package.xml) for change-set based development.
|
|
759
759
|
--api-version=<value> Will set this version as sourceApiVersion in the sfdx-project.json file
|
|
760
760
|
|
|
@@ -809,7 +809,7 @@ FLAG DESCRIPTIONS
|
|
|
809
809
|
|
|
810
810
|
Metadata items such as classes and Lightning bundles are placed inside this folder.
|
|
811
811
|
|
|
812
|
-
-t, --template=standard|empty|analytics|
|
|
812
|
+
-t, --template=standard|empty|analytics|reactinternalapp|reactexternalapp|agent Template to use for project creation.
|
|
813
813
|
|
|
814
814
|
The template determines the sample configuration files and directories that this command generates. For example, the
|
|
815
815
|
empty template provides these files and directory to get you started.
|
|
@@ -833,8 +833,8 @@ FLAG DESCRIPTIONS
|
|
|
833
833
|
|
|
834
834
|
The analytics template provides similar files and the force-app/main/default/waveTemplates directory.
|
|
835
835
|
|
|
836
|
-
The
|
|
837
|
-
cases.
|
|
836
|
+
The reactinternalapp and reactexternalapp templates provide React-based project scaffolding for internal and
|
|
837
|
+
external web application use cases.
|
|
838
838
|
|
|
839
839
|
The agent template provides project scaffolding for building Agentforce agents and includes a sample agent called
|
|
840
840
|
Local Info Agent.
|
|
@@ -849,7 +849,7 @@ FLAG DESCRIPTIONS
|
|
|
849
849
|
Override the api version used for api requests made by this command
|
|
850
850
|
```
|
|
851
851
|
|
|
852
|
-
_See code: [src/commands/template/generate/project/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
852
|
+
_See code: [src/commands/template/generate/project/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.12.0/src/commands/template/generate/project/index.ts)_
|
|
853
853
|
|
|
854
854
|
## `sf template generate static-resource`
|
|
855
855
|
|
|
@@ -912,7 +912,7 @@ FLAG DESCRIPTIONS
|
|
|
912
912
|
etc.
|
|
913
913
|
```
|
|
914
914
|
|
|
915
|
-
_See code: [src/commands/template/generate/static-resource/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
915
|
+
_See code: [src/commands/template/generate/static-resource/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.12.0/src/commands/template/generate/static-resource/index.ts)_
|
|
916
916
|
|
|
917
917
|
## `sf template generate visualforce component`
|
|
918
918
|
|
|
@@ -969,7 +969,7 @@ FLAG DESCRIPTIONS
|
|
|
969
969
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
970
970
|
```
|
|
971
971
|
|
|
972
|
-
_See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
972
|
+
_See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.12.0/src/commands/template/generate/visualforce/component.ts)_
|
|
973
973
|
|
|
974
974
|
## `sf template generate visualforce page`
|
|
975
975
|
|
|
@@ -1020,6 +1020,6 @@ FLAG DESCRIPTIONS
|
|
|
1020
1020
|
The name can be up to 40 characters and must start with a letter.
|
|
1021
1021
|
```
|
|
1022
1022
|
|
|
1023
|
-
_See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
1023
|
+
_See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/56.12.0/src/commands/template/generate/visualforce/page.ts)_
|
|
1024
1024
|
|
|
1025
1025
|
<!-- commandsstop -->
|
|
@@ -8,7 +8,7 @@ export default class Project extends SfCommand<CreateOutput> {
|
|
|
8
8
|
static readonly deprecateAliases = true;
|
|
9
9
|
static readonly flags: {
|
|
10
10
|
name: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
11
|
-
template: import("@oclif/core/interfaces").OptionFlag<"standard" | "empty" | "analytics" | "
|
|
11
|
+
template: import("@oclif/core/interfaces").OptionFlag<"standard" | "empty" | "analytics" | "reactinternalapp" | "reactexternalapp" | "agent", import("@oclif/core/interfaces").CustomOptions>;
|
|
12
12
|
'output-dir': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
13
13
|
namespace: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
14
14
|
'default-package-dir': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
@@ -31,7 +31,7 @@ export default class Project extends SfCommand {
|
|
|
31
31
|
summary: messages.getMessage('flags.template.summary'),
|
|
32
32
|
description: messages.getMessage('flags.template.description'),
|
|
33
33
|
default: 'standard',
|
|
34
|
-
options: ['standard', 'empty', 'analytics', '
|
|
34
|
+
options: ['standard', 'empty', 'analytics', 'reactinternalapp', 'reactexternalapp', 'agent'],
|
|
35
35
|
})(),
|
|
36
36
|
'output-dir': outputDirFlag,
|
|
37
37
|
namespace: Flags.string({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/commands/template/generate/project/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,6BAA6B,CAAC;AAC7E,OAAO,EAA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CAAC,yBAAyB,CAAC;YACvD,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,6BAA6B,CAAC;YAC/D,OAAO,EAAE,8BAA8B;YACvC,MAAM,EAAE,IAAI;YACZ,OAAO,EAAE,CAAC,UAAU,CAAC;YACrB,gBAAgB,EAAE,IAAI;SACvB,CAAC;QACF,QAAQ;QACR,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC;YACjC,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,2BAA2B,CAAC;SAC1D,CAAC;KACH,CAAC;IACK,KAAK,CAAC,GAAG;QACd,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QAE5C,MAAM,cAAc,GAAmB;YACrC,WAAW,EAAE,KAAK,CAAC,IAAI;YACvB,SAAS,EAAE,KAAK,CAAC,YAAY,CAAC;YAC9B,QAAQ,EAAE,KAAK,CAAC,QAAQ;YACxB,QAAQ,EAAE,KAAK,CAAC,WAAW,CAAC;YAC5B,QAAQ,EAAE,KAAK,CAAC,QAAQ;YACxB,oDAAoD;YACpD,EAAE,EAAE,KAAK,CAAC,SAAS;YACnB,iBAAiB,EAAE,KAAK,CAAC,qBAAqB,CAAC;YAC/C,UAAU,EAAE,KAAK,CAAC,aAAa,CAAC;SACjC,CAAC;QACF,OAAO,YAAY,CAAC;YAClB,YAAY,EAAE,YAAY,CAAC,OAAO;YAClC,IAAI,EAAE,cAAc;YACpB,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,WAAW,EAAE,IAAI,CAAC,WAAW,EAAE,EAAE,CAAC;YAC/C,SAAS,EAAE,kBAAkB,CAAC,IAAI,CAAC,gBAAgB,CAAC;SACrD,CAAC,CAAC;IACL,CAAC"}
|
package/messages/project.md
CHANGED
|
@@ -58,7 +58,7 @@ The standard template provides a complete force-app directory structure so you k
|
|
|
58
58
|
|
|
59
59
|
The analytics template provides similar files and the force-app/main/default/waveTemplates directory.
|
|
60
60
|
|
|
61
|
-
The
|
|
61
|
+
The reactinternalapp and reactexternalapp templates provide React-based project scaffolding for internal and external web application use cases.
|
|
62
62
|
|
|
63
63
|
The agent template provides project scaffolding for building Agentforce agents and includes a sample agent called Local Info Agent.
|
|
64
64
|
|
package/oclif.manifest.json
CHANGED
|
@@ -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": {},
|
|
@@ -1781,7 +1781,7 @@
|
|
|
1781
1781
|
},
|
|
1782
1782
|
"template": {
|
|
1783
1783
|
"char": "t",
|
|
1784
|
-
"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
|
|
1784
|
+
"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 web application use cases.\n\nThe agent template provides project scaffolding for building Agentforce agents and includes a sample agent called Local Info Agent.",
|
|
1785
1785
|
"name": "template",
|
|
1786
1786
|
"summary": "Template to use for project creation.",
|
|
1787
1787
|
"default": "standard",
|
|
@@ -1791,8 +1791,8 @@
|
|
|
1791
1791
|
"standard",
|
|
1792
1792
|
"empty",
|
|
1793
1793
|
"analytics",
|
|
1794
|
-
"
|
|
1795
|
-
"
|
|
1794
|
+
"reactinternalapp",
|
|
1795
|
+
"reactexternalapp",
|
|
1796
1796
|
"agent"
|
|
1797
1797
|
],
|
|
1798
1798
|
"type": "option"
|
|
@@ -2042,6 +2042,116 @@
|
|
|
2042
2042
|
"static-resource:generate:template"
|
|
2043
2043
|
]
|
|
2044
2044
|
},
|
|
2045
|
+
"template:generate:webapp": {
|
|
2046
|
+
"aliases": [
|
|
2047
|
+
"webapp:generate"
|
|
2048
|
+
],
|
|
2049
|
+
"args": {},
|
|
2050
|
+
"deprecateAliases": true,
|
|
2051
|
+
"description": "Generates a web application in the specified directory or the current working directory. The web application files are created in a folder with the designated name. Web application files must be contained in a parent directory called \"webapplications\" in your package directory. Either run this command from an existing directory of this name, or use the --output-dir flag to create one or point to an existing one.",
|
|
2052
|
+
"examples": [
|
|
2053
|
+
"Generate a web application called MyWebApp in the current directory:\n<%= config.bin %> <%= command.id %> --name MyWebApp",
|
|
2054
|
+
"Generate a React-based web application:\n<%= config.bin %> <%= command.id %> --name MyReactApp --template reactbasic",
|
|
2055
|
+
"Generate the web application in the \"force-app/main/default/webapplications\" directory:\n<%= config.bin %> <%= command.id %> --name MyWebApp --output-dir force-app/main/default/webapplications"
|
|
2056
|
+
],
|
|
2057
|
+
"flags": {
|
|
2058
|
+
"json": {
|
|
2059
|
+
"description": "Format output as json.",
|
|
2060
|
+
"helpGroup": "GLOBAL",
|
|
2061
|
+
"name": "json",
|
|
2062
|
+
"allowNo": false,
|
|
2063
|
+
"type": "boolean"
|
|
2064
|
+
},
|
|
2065
|
+
"flags-dir": {
|
|
2066
|
+
"helpGroup": "GLOBAL",
|
|
2067
|
+
"name": "flags-dir",
|
|
2068
|
+
"summary": "Import flag values from a directory.",
|
|
2069
|
+
"hasDynamicHelp": false,
|
|
2070
|
+
"multiple": false,
|
|
2071
|
+
"type": "option"
|
|
2072
|
+
},
|
|
2073
|
+
"name": {
|
|
2074
|
+
"char": "n",
|
|
2075
|
+
"description": "This name can contain only underscores and alphanumeric characters, and must be unique in your org. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores.",
|
|
2076
|
+
"name": "name",
|
|
2077
|
+
"required": true,
|
|
2078
|
+
"summary": "Name of the generated web application.",
|
|
2079
|
+
"hasDynamicHelp": false,
|
|
2080
|
+
"multiple": false,
|
|
2081
|
+
"type": "option"
|
|
2082
|
+
},
|
|
2083
|
+
"template": {
|
|
2084
|
+
"char": "t",
|
|
2085
|
+
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
2086
|
+
"name": "template",
|
|
2087
|
+
"summary": "Template to use for file creation.",
|
|
2088
|
+
"default": "default",
|
|
2089
|
+
"hasDynamicHelp": false,
|
|
2090
|
+
"multiple": false,
|
|
2091
|
+
"options": [
|
|
2092
|
+
"default",
|
|
2093
|
+
"reactbasic"
|
|
2094
|
+
],
|
|
2095
|
+
"type": "option"
|
|
2096
|
+
},
|
|
2097
|
+
"label": {
|
|
2098
|
+
"char": "l",
|
|
2099
|
+
"description": "If not specified, the label is derived from the name.",
|
|
2100
|
+
"name": "label",
|
|
2101
|
+
"summary": "Master label for the web application.",
|
|
2102
|
+
"hasDynamicHelp": false,
|
|
2103
|
+
"multiple": false,
|
|
2104
|
+
"type": "option"
|
|
2105
|
+
},
|
|
2106
|
+
"output-dir": {
|
|
2107
|
+
"char": "d",
|
|
2108
|
+
"description": "The location can be an absolute path or relative to the current working directory. \n\n**Important:** The generator automatically ensures the output directory ends with \"webapplications\". If your specified path doesn't end with \"webapplications\", it's automatically appended. The web application is created at \"<output-dir>/<webappname>\".\n\n**Examples:**\n- \"--output-dir force-app/main/default\" → Creates a web application at \"force-app/main/default/webapplications/MyWebApp/\"\n- \"--output-dir force-app/main/default/webapplications\" → Creates a web application at \"force-app/main/default/webapplications/MyWebApp/\" (no change)\n\nIf not specified, the command reads your sfdx-project.json and defaults to \"webapplications\" directory within your default package directory. When running outside a Salesforce DX project, defaults to the current directory.",
|
|
2109
|
+
"name": "output-dir",
|
|
2110
|
+
"summary": "Directory for saving the created files.",
|
|
2111
|
+
"hasDynamicHelp": false,
|
|
2112
|
+
"multiple": false,
|
|
2113
|
+
"type": "option"
|
|
2114
|
+
},
|
|
2115
|
+
"api-version": {
|
|
2116
|
+
"description": "Override the api version used for api requests made by this command",
|
|
2117
|
+
"name": "api-version",
|
|
2118
|
+
"hasDynamicHelp": false,
|
|
2119
|
+
"multiple": false,
|
|
2120
|
+
"type": "option"
|
|
2121
|
+
}
|
|
2122
|
+
},
|
|
2123
|
+
"hasDynamicHelp": false,
|
|
2124
|
+
"hidden": true,
|
|
2125
|
+
"hiddenAliases": [],
|
|
2126
|
+
"id": "template:generate:webapp",
|
|
2127
|
+
"pluginAlias": "@salesforce/plugin-templates",
|
|
2128
|
+
"pluginName": "@salesforce/plugin-templates",
|
|
2129
|
+
"pluginType": "core",
|
|
2130
|
+
"strict": true,
|
|
2131
|
+
"summary": "Generate a web application.",
|
|
2132
|
+
"enableJsonFlag": true,
|
|
2133
|
+
"isESM": true,
|
|
2134
|
+
"relativePath": [
|
|
2135
|
+
"lib",
|
|
2136
|
+
"commands",
|
|
2137
|
+
"template",
|
|
2138
|
+
"generate",
|
|
2139
|
+
"webapp",
|
|
2140
|
+
"index.js"
|
|
2141
|
+
],
|
|
2142
|
+
"aliasPermutations": [
|
|
2143
|
+
"webapp:generate",
|
|
2144
|
+
"generate:webapp"
|
|
2145
|
+
],
|
|
2146
|
+
"permutations": [
|
|
2147
|
+
"template:generate:webapp",
|
|
2148
|
+
"generate:template:webapp",
|
|
2149
|
+
"generate:webapp:template",
|
|
2150
|
+
"template:webapp:generate",
|
|
2151
|
+
"webapp:template:generate",
|
|
2152
|
+
"webapp:generate:template"
|
|
2153
|
+
]
|
|
2154
|
+
},
|
|
2045
2155
|
"template:generate:visualforce:component": {
|
|
2046
2156
|
"aliases": [
|
|
2047
2157
|
"force:visualforce:component:create",
|
|
@@ -2396,117 +2506,7 @@
|
|
|
2396
2506
|
"page:visualforce:template:generate",
|
|
2397
2507
|
"page:visualforce:generate:template"
|
|
2398
2508
|
]
|
|
2399
|
-
},
|
|
2400
|
-
"template:generate:webapp": {
|
|
2401
|
-
"aliases": [
|
|
2402
|
-
"webapp:generate"
|
|
2403
|
-
],
|
|
2404
|
-
"args": {},
|
|
2405
|
-
"deprecateAliases": true,
|
|
2406
|
-
"description": "Generates a web application in the specified directory or the current working directory. The web application files are created in a folder with the designated name. Web application files must be contained in a parent directory called \"webapplications\" in your package directory. Either run this command from an existing directory of this name, or use the --output-dir flag to create one or point to an existing one.",
|
|
2407
|
-
"examples": [
|
|
2408
|
-
"Generate a web application called MyWebApp in the current directory:\n<%= config.bin %> <%= command.id %> --name MyWebApp",
|
|
2409
|
-
"Generate a React-based web application:\n<%= config.bin %> <%= command.id %> --name MyReactApp --template reactbasic",
|
|
2410
|
-
"Generate the web application in the \"force-app/main/default/webapplications\" directory:\n<%= config.bin %> <%= command.id %> --name MyWebApp --output-dir force-app/main/default/webapplications"
|
|
2411
|
-
],
|
|
2412
|
-
"flags": {
|
|
2413
|
-
"json": {
|
|
2414
|
-
"description": "Format output as json.",
|
|
2415
|
-
"helpGroup": "GLOBAL",
|
|
2416
|
-
"name": "json",
|
|
2417
|
-
"allowNo": false,
|
|
2418
|
-
"type": "boolean"
|
|
2419
|
-
},
|
|
2420
|
-
"flags-dir": {
|
|
2421
|
-
"helpGroup": "GLOBAL",
|
|
2422
|
-
"name": "flags-dir",
|
|
2423
|
-
"summary": "Import flag values from a directory.",
|
|
2424
|
-
"hasDynamicHelp": false,
|
|
2425
|
-
"multiple": false,
|
|
2426
|
-
"type": "option"
|
|
2427
|
-
},
|
|
2428
|
-
"name": {
|
|
2429
|
-
"char": "n",
|
|
2430
|
-
"description": "This name can contain only underscores and alphanumeric characters, and must be unique in your org. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores.",
|
|
2431
|
-
"name": "name",
|
|
2432
|
-
"required": true,
|
|
2433
|
-
"summary": "Name of the generated web application.",
|
|
2434
|
-
"hasDynamicHelp": false,
|
|
2435
|
-
"multiple": false,
|
|
2436
|
-
"type": "option"
|
|
2437
|
-
},
|
|
2438
|
-
"template": {
|
|
2439
|
-
"char": "t",
|
|
2440
|
-
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
2441
|
-
"name": "template",
|
|
2442
|
-
"summary": "Template to use for file creation.",
|
|
2443
|
-
"default": "default",
|
|
2444
|
-
"hasDynamicHelp": false,
|
|
2445
|
-
"multiple": false,
|
|
2446
|
-
"options": [
|
|
2447
|
-
"default",
|
|
2448
|
-
"reactbasic"
|
|
2449
|
-
],
|
|
2450
|
-
"type": "option"
|
|
2451
|
-
},
|
|
2452
|
-
"label": {
|
|
2453
|
-
"char": "l",
|
|
2454
|
-
"description": "If not specified, the label is derived from the name.",
|
|
2455
|
-
"name": "label",
|
|
2456
|
-
"summary": "Master label for the web application.",
|
|
2457
|
-
"hasDynamicHelp": false,
|
|
2458
|
-
"multiple": false,
|
|
2459
|
-
"type": "option"
|
|
2460
|
-
},
|
|
2461
|
-
"output-dir": {
|
|
2462
|
-
"char": "d",
|
|
2463
|
-
"description": "The location can be an absolute path or relative to the current working directory. \n\n**Important:** The generator automatically ensures the output directory ends with \"webapplications\". If your specified path doesn't end with \"webapplications\", it's automatically appended. The web application is created at \"<output-dir>/<webappname>\".\n\n**Examples:**\n- \"--output-dir force-app/main/default\" → Creates a web application at \"force-app/main/default/webapplications/MyWebApp/\"\n- \"--output-dir force-app/main/default/webapplications\" → Creates a web application at \"force-app/main/default/webapplications/MyWebApp/\" (no change)\n\nIf not specified, the command reads your sfdx-project.json and defaults to \"webapplications\" directory within your default package directory. When running outside a Salesforce DX project, defaults to the current directory.",
|
|
2464
|
-
"name": "output-dir",
|
|
2465
|
-
"summary": "Directory for saving the created files.",
|
|
2466
|
-
"hasDynamicHelp": false,
|
|
2467
|
-
"multiple": false,
|
|
2468
|
-
"type": "option"
|
|
2469
|
-
},
|
|
2470
|
-
"api-version": {
|
|
2471
|
-
"description": "Override the api version used for api requests made by this command",
|
|
2472
|
-
"name": "api-version",
|
|
2473
|
-
"hasDynamicHelp": false,
|
|
2474
|
-
"multiple": false,
|
|
2475
|
-
"type": "option"
|
|
2476
|
-
}
|
|
2477
|
-
},
|
|
2478
|
-
"hasDynamicHelp": false,
|
|
2479
|
-
"hidden": true,
|
|
2480
|
-
"hiddenAliases": [],
|
|
2481
|
-
"id": "template:generate:webapp",
|
|
2482
|
-
"pluginAlias": "@salesforce/plugin-templates",
|
|
2483
|
-
"pluginName": "@salesforce/plugin-templates",
|
|
2484
|
-
"pluginType": "core",
|
|
2485
|
-
"strict": true,
|
|
2486
|
-
"summary": "Generate a web application.",
|
|
2487
|
-
"enableJsonFlag": true,
|
|
2488
|
-
"isESM": true,
|
|
2489
|
-
"relativePath": [
|
|
2490
|
-
"lib",
|
|
2491
|
-
"commands",
|
|
2492
|
-
"template",
|
|
2493
|
-
"generate",
|
|
2494
|
-
"webapp",
|
|
2495
|
-
"index.js"
|
|
2496
|
-
],
|
|
2497
|
-
"aliasPermutations": [
|
|
2498
|
-
"webapp:generate",
|
|
2499
|
-
"generate:webapp"
|
|
2500
|
-
],
|
|
2501
|
-
"permutations": [
|
|
2502
|
-
"template:generate:webapp",
|
|
2503
|
-
"generate:template:webapp",
|
|
2504
|
-
"generate:webapp:template",
|
|
2505
|
-
"template:webapp:generate",
|
|
2506
|
-
"webapp:template:generate",
|
|
2507
|
-
"webapp:generate:template"
|
|
2508
|
-
]
|
|
2509
2509
|
}
|
|
2510
2510
|
},
|
|
2511
|
-
"version": "56.
|
|
2511
|
+
"version": "56.12.0"
|
|
2512
2512
|
}
|
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.
|
|
4
|
+
"version": "56.12.0",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/salesforcecli/plugin-templates/issues",
|
|
7
7
|
"enableO11y": true,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@salesforce/core": "^8.27.1",
|
|
11
11
|
"@salesforce/sf-plugins-core": "^12",
|
|
12
|
-
"@salesforce/templates": "^66.
|
|
12
|
+
"@salesforce/templates": "^66.6.2"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"@oclif/plugin-command-snapshot": "^5.3.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.
|
|
253
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.
|
|
252
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.12.0.crt",
|
|
253
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.12.0.sig"
|
|
254
254
|
}
|
|
255
255
|
}
|