@salesforce/plugin-templates 56.9.3 → 56.10.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 +21 -18
- 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 +2 -0
- package/oclif.manifest.json +158 -156
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -175,7 +175,7 @@ FLAG DESCRIPTIONS
|
|
|
175
175
|
directory.
|
|
176
176
|
```
|
|
177
177
|
|
|
178
|
-
_See code: [src/commands/template/generate/analytics/template.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
178
|
+
_See code: [src/commands/template/generate/analytics/template.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.0/src/commands/template/generate/analytics/template.ts)_
|
|
179
179
|
|
|
180
180
|
## `sf template generate apex class`
|
|
181
181
|
|
|
@@ -235,7 +235,7 @@ FLAG DESCRIPTIONS
|
|
|
235
235
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
236
236
|
```
|
|
237
237
|
|
|
238
|
-
_See code: [src/commands/template/generate/apex/class.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
238
|
+
_See code: [src/commands/template/generate/apex/class.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.0/src/commands/template/generate/apex/class.ts)_
|
|
239
239
|
|
|
240
240
|
## `sf template generate apex trigger`
|
|
241
241
|
|
|
@@ -305,7 +305,7 @@ FLAG DESCRIPTIONS
|
|
|
305
305
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
306
306
|
```
|
|
307
307
|
|
|
308
|
-
_See code: [src/commands/template/generate/apex/trigger.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
308
|
+
_See code: [src/commands/template/generate/apex/trigger.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.0/src/commands/template/generate/apex/trigger.ts)_
|
|
309
309
|
|
|
310
310
|
## `sf template generate digital-experience site`
|
|
311
311
|
|
|
@@ -359,7 +359,7 @@ FLAG DESCRIPTIONS
|
|
|
359
359
|
project, defaults to the current directory.
|
|
360
360
|
```
|
|
361
361
|
|
|
362
|
-
_See code: [src/commands/template/generate/digital-experience/site.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
362
|
+
_See code: [src/commands/template/generate/digital-experience/site.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.0/src/commands/template/generate/digital-experience/site.ts)_
|
|
363
363
|
|
|
364
364
|
## `sf template generate flexipage`
|
|
365
365
|
|
|
@@ -441,7 +441,7 @@ FLAG DESCRIPTIONS
|
|
|
441
441
|
'Custom_Object__c'. This sets the `sobjectType` field in the FlexiPage metadata.
|
|
442
442
|
```
|
|
443
443
|
|
|
444
|
-
_See code: [src/commands/template/generate/flexipage/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
444
|
+
_See code: [src/commands/template/generate/flexipage/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.0/src/commands/template/generate/flexipage/index.ts)_
|
|
445
445
|
|
|
446
446
|
## `sf template generate lightning app`
|
|
447
447
|
|
|
@@ -497,7 +497,7 @@ FLAG DESCRIPTIONS
|
|
|
497
497
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
498
498
|
```
|
|
499
499
|
|
|
500
|
-
_See code: [src/commands/template/generate/lightning/app.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
500
|
+
_See code: [src/commands/template/generate/lightning/app.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.0/src/commands/template/generate/lightning/app.ts)_
|
|
501
501
|
|
|
502
502
|
## `sf template generate lightning component`
|
|
503
503
|
|
|
@@ -567,7 +567,7 @@ FLAG DESCRIPTIONS
|
|
|
567
567
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
568
568
|
```
|
|
569
569
|
|
|
570
|
-
_See code: [src/commands/template/generate/lightning/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
570
|
+
_See code: [src/commands/template/generate/lightning/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.0/src/commands/template/generate/lightning/component.ts)_
|
|
571
571
|
|
|
572
572
|
## `sf template generate lightning event`
|
|
573
573
|
|
|
@@ -623,7 +623,7 @@ FLAG DESCRIPTIONS
|
|
|
623
623
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
624
624
|
```
|
|
625
625
|
|
|
626
|
-
_See code: [src/commands/template/generate/lightning/event.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
626
|
+
_See code: [src/commands/template/generate/lightning/event.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.0/src/commands/template/generate/lightning/event.ts)_
|
|
627
627
|
|
|
628
628
|
## `sf template generate lightning interface`
|
|
629
629
|
|
|
@@ -679,7 +679,7 @@ FLAG DESCRIPTIONS
|
|
|
679
679
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
680
680
|
```
|
|
681
681
|
|
|
682
|
-
_See code: [src/commands/template/generate/lightning/interface.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
682
|
+
_See code: [src/commands/template/generate/lightning/interface.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.0/src/commands/template/generate/lightning/interface.ts)_
|
|
683
683
|
|
|
684
684
|
## `sf template generate lightning test`
|
|
685
685
|
|
|
@@ -735,7 +735,7 @@ FLAG DESCRIPTIONS
|
|
|
735
735
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
736
736
|
```
|
|
737
737
|
|
|
738
|
-
_See code: [src/commands/template/generate/lightning/test.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
738
|
+
_See code: [src/commands/template/generate/lightning/test.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.0/src/commands/template/generate/lightning/test.ts)_
|
|
739
739
|
|
|
740
740
|
## `sf template generate project`
|
|
741
741
|
|
|
@@ -743,8 +743,8 @@ Generate a Salesforce DX project.
|
|
|
743
743
|
|
|
744
744
|
```
|
|
745
745
|
USAGE
|
|
746
|
-
$ sf template generate project -n <value> [--json] [--flags-dir <value>] [-t standard|empty|analytics] [-d
|
|
747
|
-
<value>] [-p <value>] [-x] [--api-version <value>]
|
|
746
|
+
$ sf template generate project -n <value> [--json] [--flags-dir <value>] [-t standard|empty|analytics|reactb2e|reactb2x] [-d
|
|
747
|
+
<value>] [-s <value>] [-p <value>] [-x] [--api-version <value>]
|
|
748
748
|
|
|
749
749
|
FLAGS
|
|
750
750
|
-d, --output-dir=<value> [default: .] Directory for saving the created files.
|
|
@@ -752,7 +752,7 @@ FLAGS
|
|
|
752
752
|
-p, --default-package-dir=<value> [default: force-app] Default package directory name.
|
|
753
753
|
-s, --namespace=<value> Namespace associated with this project and any connected scratch orgs.
|
|
754
754
|
-t, --template=<option> [default: standard] Template to use for project creation.
|
|
755
|
-
<options: standard|empty|analytics>
|
|
755
|
+
<options: standard|empty|analytics|reactb2e|reactb2x>
|
|
756
756
|
-x, --manifest Generate a manifest (package.xml) for change-set based development.
|
|
757
757
|
--api-version=<value> Will set this version as sourceApiVersion in the sfdx-project.json file
|
|
758
758
|
|
|
@@ -807,7 +807,7 @@ FLAG DESCRIPTIONS
|
|
|
807
807
|
|
|
808
808
|
Metadata items such as classes and Lightning bundles are placed inside this folder.
|
|
809
809
|
|
|
810
|
-
-t, --template=standard|empty|analytics Template to use for project creation.
|
|
810
|
+
-t, --template=standard|empty|analytics|reactb2e|reactb2x Template to use for project creation.
|
|
811
811
|
|
|
812
812
|
The template determines the sample configuration files and directories that this command generates. For example, the
|
|
813
813
|
empty template provides these files and directory to get you started.
|
|
@@ -831,6 +831,9 @@ FLAG DESCRIPTIONS
|
|
|
831
831
|
|
|
832
832
|
The analytics template provides similar files and the force-app/main/default/waveTemplates directory.
|
|
833
833
|
|
|
834
|
+
The reactb2e and reactb2x templates provide React-based project scaffolding for B2E and B2X web application use
|
|
835
|
+
cases.
|
|
836
|
+
|
|
834
837
|
-x, --manifest Generate a manifest (package.xml) for change-set based development.
|
|
835
838
|
|
|
836
839
|
Generates a default manifest (package.xml) for fetching Apex, Visualforce, Lightning components, and static
|
|
@@ -841,7 +844,7 @@ FLAG DESCRIPTIONS
|
|
|
841
844
|
Override the api version used for api requests made by this command
|
|
842
845
|
```
|
|
843
846
|
|
|
844
|
-
_See code: [src/commands/template/generate/project/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
847
|
+
_See code: [src/commands/template/generate/project/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.0/src/commands/template/generate/project/index.ts)_
|
|
845
848
|
|
|
846
849
|
## `sf template generate static-resource`
|
|
847
850
|
|
|
@@ -904,7 +907,7 @@ FLAG DESCRIPTIONS
|
|
|
904
907
|
etc.
|
|
905
908
|
```
|
|
906
909
|
|
|
907
|
-
_See code: [src/commands/template/generate/static-resource/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
910
|
+
_See code: [src/commands/template/generate/static-resource/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.0/src/commands/template/generate/static-resource/index.ts)_
|
|
908
911
|
|
|
909
912
|
## `sf template generate visualforce component`
|
|
910
913
|
|
|
@@ -961,7 +964,7 @@ FLAG DESCRIPTIONS
|
|
|
961
964
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
962
965
|
```
|
|
963
966
|
|
|
964
|
-
_See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
967
|
+
_See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.0/src/commands/template/generate/visualforce/component.ts)_
|
|
965
968
|
|
|
966
969
|
## `sf template generate visualforce page`
|
|
967
970
|
|
|
@@ -1012,6 +1015,6 @@ FLAG DESCRIPTIONS
|
|
|
1012
1015
|
The name can be up to 40 characters and must start with a letter.
|
|
1013
1016
|
```
|
|
1014
1017
|
|
|
1015
|
-
_See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
1018
|
+
_See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.0/src/commands/template/generate/visualforce/page.ts)_
|
|
1016
1019
|
|
|
1017
1020
|
<!-- 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", import("@oclif/core/interfaces").CustomOptions>;
|
|
11
|
+
template: import("@oclif/core/interfaces").OptionFlag<"standard" | "empty" | "analytics" | "reactb2e" | "reactb2x", 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', 'reactb2e', 'reactb2x'],
|
|
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,S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E,GAAG;YACT,OAAO,EAAE,QAAQ,CAAC,UAAU,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,6 +58,8 @@ 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 reactb2e and reactb2x templates provide React-based project scaffolding for B2E and B2X web application use cases.
|
|
62
|
+
|
|
61
63
|
# flags.namespace.summary
|
|
62
64
|
|
|
63
65
|
Namespace associated with this project and any connected scratch orgs.
|
package/oclif.manifest.json
CHANGED
|
@@ -1,5 +1,158 @@
|
|
|
1
1
|
{
|
|
2
2
|
"commands": {
|
|
3
|
+
"template:generate:analytics:template": {
|
|
4
|
+
"aliases": [
|
|
5
|
+
"force:analytics:template:create",
|
|
6
|
+
"analytics:generate:template"
|
|
7
|
+
],
|
|
8
|
+
"args": {},
|
|
9
|
+
"deprecateAliases": true,
|
|
10
|
+
"description": "The metadata files associated with the Analytics template must be contained in a parent directory called \"waveTemplates\" in your package directory. Either run this command from an existing directory of this name, or use the --output-dir flag to generate one or point to an existing one.",
|
|
11
|
+
"examples": [
|
|
12
|
+
"Generate the metadata files for a simple Analytics template file called myTemplate in the force-app/main/default/waveTemplates directory:\n<%= config.bin %> <%= command.id %> --name myTemplate --output-dir force-app/main/default/waveTemplates"
|
|
13
|
+
],
|
|
14
|
+
"flags": {
|
|
15
|
+
"json": {
|
|
16
|
+
"description": "Format output as json.",
|
|
17
|
+
"helpGroup": "GLOBAL",
|
|
18
|
+
"name": "json",
|
|
19
|
+
"allowNo": false,
|
|
20
|
+
"type": "boolean"
|
|
21
|
+
},
|
|
22
|
+
"flags-dir": {
|
|
23
|
+
"helpGroup": "GLOBAL",
|
|
24
|
+
"name": "flags-dir",
|
|
25
|
+
"summary": "Import flag values from a directory.",
|
|
26
|
+
"hasDynamicHelp": false,
|
|
27
|
+
"multiple": false,
|
|
28
|
+
"type": "option"
|
|
29
|
+
},
|
|
30
|
+
"output-dir": {
|
|
31
|
+
"aliases": [
|
|
32
|
+
"outputdir"
|
|
33
|
+
],
|
|
34
|
+
"char": "d",
|
|
35
|
+
"deprecateAliases": true,
|
|
36
|
+
"description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
|
|
37
|
+
"name": "output-dir",
|
|
38
|
+
"summary": "Directory for saving the created files.",
|
|
39
|
+
"default": ".",
|
|
40
|
+
"hasDynamicHelp": false,
|
|
41
|
+
"multiple": false,
|
|
42
|
+
"type": "option"
|
|
43
|
+
},
|
|
44
|
+
"api-version": {
|
|
45
|
+
"aliases": [
|
|
46
|
+
"apiversion"
|
|
47
|
+
],
|
|
48
|
+
"deprecateAliases": true,
|
|
49
|
+
"description": "Override the api version used for api requests made by this command",
|
|
50
|
+
"name": "api-version",
|
|
51
|
+
"hasDynamicHelp": false,
|
|
52
|
+
"multiple": false,
|
|
53
|
+
"type": "option"
|
|
54
|
+
},
|
|
55
|
+
"name": {
|
|
56
|
+
"aliases": [
|
|
57
|
+
"templatename"
|
|
58
|
+
],
|
|
59
|
+
"char": "n",
|
|
60
|
+
"deprecateAliases": true,
|
|
61
|
+
"name": "name",
|
|
62
|
+
"required": true,
|
|
63
|
+
"summary": "Name of the Analytics template.",
|
|
64
|
+
"hasDynamicHelp": false,
|
|
65
|
+
"multiple": false,
|
|
66
|
+
"type": "option"
|
|
67
|
+
},
|
|
68
|
+
"loglevel": {
|
|
69
|
+
"deprecated": {
|
|
70
|
+
"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."
|
|
71
|
+
},
|
|
72
|
+
"hidden": true,
|
|
73
|
+
"name": "loglevel",
|
|
74
|
+
"hasDynamicHelp": false,
|
|
75
|
+
"multiple": false,
|
|
76
|
+
"type": "option"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"hasDynamicHelp": false,
|
|
80
|
+
"hiddenAliases": [],
|
|
81
|
+
"id": "template:generate:analytics:template",
|
|
82
|
+
"pluginAlias": "@salesforce/plugin-templates",
|
|
83
|
+
"pluginName": "@salesforce/plugin-templates",
|
|
84
|
+
"pluginType": "core",
|
|
85
|
+
"strict": true,
|
|
86
|
+
"summary": "Generate a simple Analytics template.",
|
|
87
|
+
"enableJsonFlag": true,
|
|
88
|
+
"isESM": true,
|
|
89
|
+
"relativePath": [
|
|
90
|
+
"lib",
|
|
91
|
+
"commands",
|
|
92
|
+
"template",
|
|
93
|
+
"generate",
|
|
94
|
+
"analytics",
|
|
95
|
+
"template.js"
|
|
96
|
+
],
|
|
97
|
+
"aliasPermutations": [
|
|
98
|
+
"force:analytics:template:create",
|
|
99
|
+
"analytics:force:template:create",
|
|
100
|
+
"analytics:template:force:create",
|
|
101
|
+
"analytics:template:create:force",
|
|
102
|
+
"force:template:analytics:create",
|
|
103
|
+
"template:force:analytics:create",
|
|
104
|
+
"template:analytics:force:create",
|
|
105
|
+
"template:analytics:create:force",
|
|
106
|
+
"force:template:create:analytics",
|
|
107
|
+
"template:force:create:analytics",
|
|
108
|
+
"template:create:force:analytics",
|
|
109
|
+
"template:create:analytics:force",
|
|
110
|
+
"force:analytics:create:template",
|
|
111
|
+
"analytics:force:create:template",
|
|
112
|
+
"analytics:create:force:template",
|
|
113
|
+
"analytics:create:template:force",
|
|
114
|
+
"force:create:analytics:template",
|
|
115
|
+
"create:force:analytics:template",
|
|
116
|
+
"create:analytics:force:template",
|
|
117
|
+
"create:analytics:template:force",
|
|
118
|
+
"force:create:template:analytics",
|
|
119
|
+
"create:force:template:analytics",
|
|
120
|
+
"create:template:force:analytics",
|
|
121
|
+
"create:template:analytics:force",
|
|
122
|
+
"analytics:generate:template",
|
|
123
|
+
"generate:analytics:template",
|
|
124
|
+
"generate:template:analytics",
|
|
125
|
+
"analytics:template:generate",
|
|
126
|
+
"template:analytics:generate",
|
|
127
|
+
"template:generate:analytics"
|
|
128
|
+
],
|
|
129
|
+
"permutations": [
|
|
130
|
+
"template:generate:analytics:template",
|
|
131
|
+
"generate:template:analytics:template",
|
|
132
|
+
"generate:analytics:template:template",
|
|
133
|
+
"generate:analytics:template:template",
|
|
134
|
+
"template:analytics:generate:template",
|
|
135
|
+
"analytics:template:generate:template",
|
|
136
|
+
"analytics:generate:template:template",
|
|
137
|
+
"analytics:generate:template:template",
|
|
138
|
+
"template:analytics:template:generate",
|
|
139
|
+
"analytics:template:template:generate",
|
|
140
|
+
"analytics:template:template:generate",
|
|
141
|
+
"analytics:template:generate:template",
|
|
142
|
+
"template:generate:template:analytics",
|
|
143
|
+
"generate:template:template:analytics",
|
|
144
|
+
"generate:template:template:analytics",
|
|
145
|
+
"generate:template:analytics:template",
|
|
146
|
+
"template:template:generate:analytics",
|
|
147
|
+
"template:template:generate:analytics",
|
|
148
|
+
"template:generate:template:analytics",
|
|
149
|
+
"template:generate:analytics:template",
|
|
150
|
+
"template:template:analytics:generate",
|
|
151
|
+
"template:template:analytics:generate",
|
|
152
|
+
"template:analytics:template:generate",
|
|
153
|
+
"template:analytics:generate:template"
|
|
154
|
+
]
|
|
155
|
+
},
|
|
3
156
|
"template:generate:apex:class": {
|
|
4
157
|
"aliases": [
|
|
5
158
|
"force:apex:class:create",
|
|
@@ -375,159 +528,6 @@
|
|
|
375
528
|
"trigger:apex:generate:template"
|
|
376
529
|
]
|
|
377
530
|
},
|
|
378
|
-
"template:generate:analytics:template": {
|
|
379
|
-
"aliases": [
|
|
380
|
-
"force:analytics:template:create",
|
|
381
|
-
"analytics:generate:template"
|
|
382
|
-
],
|
|
383
|
-
"args": {},
|
|
384
|
-
"deprecateAliases": true,
|
|
385
|
-
"description": "The metadata files associated with the Analytics template must be contained in a parent directory called \"waveTemplates\" in your package directory. Either run this command from an existing directory of this name, or use the --output-dir flag to generate one or point to an existing one.",
|
|
386
|
-
"examples": [
|
|
387
|
-
"Generate the metadata files for a simple Analytics template file called myTemplate in the force-app/main/default/waveTemplates directory:\n<%= config.bin %> <%= command.id %> --name myTemplate --output-dir force-app/main/default/waveTemplates"
|
|
388
|
-
],
|
|
389
|
-
"flags": {
|
|
390
|
-
"json": {
|
|
391
|
-
"description": "Format output as json.",
|
|
392
|
-
"helpGroup": "GLOBAL",
|
|
393
|
-
"name": "json",
|
|
394
|
-
"allowNo": false,
|
|
395
|
-
"type": "boolean"
|
|
396
|
-
},
|
|
397
|
-
"flags-dir": {
|
|
398
|
-
"helpGroup": "GLOBAL",
|
|
399
|
-
"name": "flags-dir",
|
|
400
|
-
"summary": "Import flag values from a directory.",
|
|
401
|
-
"hasDynamicHelp": false,
|
|
402
|
-
"multiple": false,
|
|
403
|
-
"type": "option"
|
|
404
|
-
},
|
|
405
|
-
"output-dir": {
|
|
406
|
-
"aliases": [
|
|
407
|
-
"outputdir"
|
|
408
|
-
],
|
|
409
|
-
"char": "d",
|
|
410
|
-
"deprecateAliases": true,
|
|
411
|
-
"description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
|
|
412
|
-
"name": "output-dir",
|
|
413
|
-
"summary": "Directory for saving the created files.",
|
|
414
|
-
"default": ".",
|
|
415
|
-
"hasDynamicHelp": false,
|
|
416
|
-
"multiple": false,
|
|
417
|
-
"type": "option"
|
|
418
|
-
},
|
|
419
|
-
"api-version": {
|
|
420
|
-
"aliases": [
|
|
421
|
-
"apiversion"
|
|
422
|
-
],
|
|
423
|
-
"deprecateAliases": true,
|
|
424
|
-
"description": "Override the api version used for api requests made by this command",
|
|
425
|
-
"name": "api-version",
|
|
426
|
-
"hasDynamicHelp": false,
|
|
427
|
-
"multiple": false,
|
|
428
|
-
"type": "option"
|
|
429
|
-
},
|
|
430
|
-
"name": {
|
|
431
|
-
"aliases": [
|
|
432
|
-
"templatename"
|
|
433
|
-
],
|
|
434
|
-
"char": "n",
|
|
435
|
-
"deprecateAliases": true,
|
|
436
|
-
"name": "name",
|
|
437
|
-
"required": true,
|
|
438
|
-
"summary": "Name of the Analytics template.",
|
|
439
|
-
"hasDynamicHelp": false,
|
|
440
|
-
"multiple": false,
|
|
441
|
-
"type": "option"
|
|
442
|
-
},
|
|
443
|
-
"loglevel": {
|
|
444
|
-
"deprecated": {
|
|
445
|
-
"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."
|
|
446
|
-
},
|
|
447
|
-
"hidden": true,
|
|
448
|
-
"name": "loglevel",
|
|
449
|
-
"hasDynamicHelp": false,
|
|
450
|
-
"multiple": false,
|
|
451
|
-
"type": "option"
|
|
452
|
-
}
|
|
453
|
-
},
|
|
454
|
-
"hasDynamicHelp": false,
|
|
455
|
-
"hiddenAliases": [],
|
|
456
|
-
"id": "template:generate:analytics:template",
|
|
457
|
-
"pluginAlias": "@salesforce/plugin-templates",
|
|
458
|
-
"pluginName": "@salesforce/plugin-templates",
|
|
459
|
-
"pluginType": "core",
|
|
460
|
-
"strict": true,
|
|
461
|
-
"summary": "Generate a simple Analytics template.",
|
|
462
|
-
"enableJsonFlag": true,
|
|
463
|
-
"isESM": true,
|
|
464
|
-
"relativePath": [
|
|
465
|
-
"lib",
|
|
466
|
-
"commands",
|
|
467
|
-
"template",
|
|
468
|
-
"generate",
|
|
469
|
-
"analytics",
|
|
470
|
-
"template.js"
|
|
471
|
-
],
|
|
472
|
-
"aliasPermutations": [
|
|
473
|
-
"force:analytics:template:create",
|
|
474
|
-
"analytics:force:template:create",
|
|
475
|
-
"analytics:template:force:create",
|
|
476
|
-
"analytics:template:create:force",
|
|
477
|
-
"force:template:analytics:create",
|
|
478
|
-
"template:force:analytics:create",
|
|
479
|
-
"template:analytics:force:create",
|
|
480
|
-
"template:analytics:create:force",
|
|
481
|
-
"force:template:create:analytics",
|
|
482
|
-
"template:force:create:analytics",
|
|
483
|
-
"template:create:force:analytics",
|
|
484
|
-
"template:create:analytics:force",
|
|
485
|
-
"force:analytics:create:template",
|
|
486
|
-
"analytics:force:create:template",
|
|
487
|
-
"analytics:create:force:template",
|
|
488
|
-
"analytics:create:template:force",
|
|
489
|
-
"force:create:analytics:template",
|
|
490
|
-
"create:force:analytics:template",
|
|
491
|
-
"create:analytics:force:template",
|
|
492
|
-
"create:analytics:template:force",
|
|
493
|
-
"force:create:template:analytics",
|
|
494
|
-
"create:force:template:analytics",
|
|
495
|
-
"create:template:force:analytics",
|
|
496
|
-
"create:template:analytics:force",
|
|
497
|
-
"analytics:generate:template",
|
|
498
|
-
"generate:analytics:template",
|
|
499
|
-
"generate:template:analytics",
|
|
500
|
-
"analytics:template:generate",
|
|
501
|
-
"template:analytics:generate",
|
|
502
|
-
"template:generate:analytics"
|
|
503
|
-
],
|
|
504
|
-
"permutations": [
|
|
505
|
-
"template:generate:analytics:template",
|
|
506
|
-
"generate:template:analytics:template",
|
|
507
|
-
"generate:analytics:template:template",
|
|
508
|
-
"generate:analytics:template:template",
|
|
509
|
-
"template:analytics:generate:template",
|
|
510
|
-
"analytics:template:generate:template",
|
|
511
|
-
"analytics:generate:template:template",
|
|
512
|
-
"analytics:generate:template:template",
|
|
513
|
-
"template:analytics:template:generate",
|
|
514
|
-
"analytics:template:template:generate",
|
|
515
|
-
"analytics:template:template:generate",
|
|
516
|
-
"analytics:template:generate:template",
|
|
517
|
-
"template:generate:template:analytics",
|
|
518
|
-
"generate:template:template:analytics",
|
|
519
|
-
"generate:template:template:analytics",
|
|
520
|
-
"generate:template:analytics:template",
|
|
521
|
-
"template:template:generate:analytics",
|
|
522
|
-
"template:template:generate:analytics",
|
|
523
|
-
"template:generate:template:analytics",
|
|
524
|
-
"template:generate:analytics:template",
|
|
525
|
-
"template:template:analytics:generate",
|
|
526
|
-
"template:template:analytics:generate",
|
|
527
|
-
"template:analytics:template:generate",
|
|
528
|
-
"template:analytics:generate:template"
|
|
529
|
-
]
|
|
530
|
-
},
|
|
531
531
|
"template:generate:digital-experience:site": {
|
|
532
532
|
"aliases": [],
|
|
533
533
|
"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.",
|
|
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 reactb2e and reactb2x templates provide React-based project scaffolding for B2E and B2X web application use cases.",
|
|
1785
1785
|
"name": "template",
|
|
1786
1786
|
"summary": "Template to use for project creation.",
|
|
1787
1787
|
"default": "standard",
|
|
@@ -1790,7 +1790,9 @@
|
|
|
1790
1790
|
"options": [
|
|
1791
1791
|
"standard",
|
|
1792
1792
|
"empty",
|
|
1793
|
-
"analytics"
|
|
1793
|
+
"analytics",
|
|
1794
|
+
"reactb2e",
|
|
1795
|
+
"reactb2x"
|
|
1794
1796
|
],
|
|
1795
1797
|
"type": "option"
|
|
1796
1798
|
},
|
|
@@ -2505,5 +2507,5 @@
|
|
|
2505
2507
|
]
|
|
2506
2508
|
}
|
|
2507
2509
|
},
|
|
2508
|
-
"version": "56.
|
|
2510
|
+
"version": "56.10.0"
|
|
2509
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.
|
|
4
|
+
"version": "56.10.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.26.2",
|
|
11
11
|
"@salesforce/sf-plugins-core": "^12",
|
|
12
|
-
"@salesforce/templates": "^
|
|
12
|
+
"@salesforce/templates": "^66.2.1"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"@oclif/plugin-command-snapshot": "^5.3.9",
|
|
@@ -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.10.0.crt",
|
|
253
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.10.0.sig"
|
|
254
254
|
}
|
|
255
255
|
}
|