@salesforce/plugin-templates 56.9.3 → 56.10.1

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 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.9.3/src/commands/template/generate/analytics/template.ts)_
178
+ _See code: [src/commands/template/generate/analytics/template.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.1/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.9.3/src/commands/template/generate/apex/class.ts)_
238
+ _See code: [src/commands/template/generate/apex/class.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.1/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.9.3/src/commands/template/generate/apex/trigger.ts)_
308
+ _See code: [src/commands/template/generate/apex/trigger.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.1/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.9.3/src/commands/template/generate/digital-experience/site.ts)_
362
+ _See code: [src/commands/template/generate/digital-experience/site.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.1/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.9.3/src/commands/template/generate/flexipage/index.ts)_
444
+ _See code: [src/commands/template/generate/flexipage/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.1/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.9.3/src/commands/template/generate/lightning/app.ts)_
500
+ _See code: [src/commands/template/generate/lightning/app.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.1/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.9.3/src/commands/template/generate/lightning/component.ts)_
570
+ _See code: [src/commands/template/generate/lightning/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.1/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.9.3/src/commands/template/generate/lightning/event.ts)_
626
+ _See code: [src/commands/template/generate/lightning/event.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.1/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.9.3/src/commands/template/generate/lightning/interface.ts)_
682
+ _See code: [src/commands/template/generate/lightning/interface.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.1/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.9.3/src/commands/template/generate/lightning/test.ts)_
738
+ _See code: [src/commands/template/generate/lightning/test.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.1/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 <value>] [-s
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.9.3/src/commands/template/generate/project/index.ts)_
847
+ _See code: [src/commands/template/generate/project/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.1/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.9.3/src/commands/template/generate/static-resource/index.ts)_
910
+ _See code: [src/commands/template/generate/static-resource/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.1/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.9.3/src/commands/template/generate/visualforce/component.ts)_
967
+ _See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.1/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.9.3/src/commands/template/generate/visualforce/page.ts)_
1018
+ _See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/56.10.1/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,SAAS,EAAE,EAAE,EAAE,MAAM,6BAA6B,CAAC;AAC7E,OAAO,EAAgC,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACnF,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AACxF,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAE3D,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,8BAA8B,EAAE,SAAS,CAAC,CAAC;AAClF,MAAM,CAAC,OAAO,OAAO,OAAQ,SAAQ,SAAuB;IACnD,MAAM,CAAU,OAAO,GAAG,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;IACzD,MAAM,CAAU,WAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;IACjE,MAAM,CAAU,QAAQ,GAAG,QAAQ,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;IAC5D,MAAM,CAAU,OAAO,GAAG,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAAC;IACvE,MAAM,CAAU,gBAAgB,GAAG,IAAI,CAAC;IACxC,MAAM,CAAU,KAAK,GAAG;QAC7B,IAAI,EA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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"}
@@ -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.
@@ -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",
@@ -337,195 +490,42 @@
337
490
  "create:force:apex:trigger",
338
491
  "create:apex:force:trigger",
339
492
  "create:apex:trigger:force",
340
- "force:create:trigger:apex",
341
- "create:force:trigger:apex",
342
- "create:trigger:force:apex",
343
- "create:trigger:apex:force",
344
- "apex:generate:trigger",
345
- "generate:apex:trigger",
346
- "generate:trigger:apex",
347
- "apex:trigger:generate",
348
- "trigger:apex:generate",
349
- "trigger:generate:apex"
350
- ],
351
- "permutations": [
352
- "template:generate:apex:trigger",
353
- "generate:template:apex:trigger",
354
- "generate:apex:template:trigger",
355
- "generate:apex:trigger:template",
356
- "template:apex:generate:trigger",
357
- "apex:template:generate:trigger",
358
- "apex:generate:template:trigger",
359
- "apex:generate:trigger:template",
360
- "template:apex:trigger:generate",
361
- "apex:template:trigger:generate",
362
- "apex:trigger:template:generate",
363
- "apex:trigger:generate:template",
364
- "template:generate:trigger:apex",
365
- "generate:template:trigger:apex",
366
- "generate:trigger:template:apex",
367
- "generate:trigger:apex:template",
368
- "template:trigger:generate:apex",
369
- "trigger:template:generate:apex",
370
- "trigger:generate:template:apex",
371
- "trigger:generate:apex:template",
372
- "template:trigger:apex:generate",
373
- "trigger:template:apex:generate",
374
- "trigger:apex:template:generate",
375
- "trigger:apex:generate:template"
376
- ]
377
- },
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"
493
+ "force:create:trigger:apex",
494
+ "create:force:trigger:apex",
495
+ "create:trigger:force:apex",
496
+ "create:trigger:apex:force",
497
+ "apex:generate:trigger",
498
+ "generate:apex:trigger",
499
+ "generate:trigger:apex",
500
+ "apex:trigger:generate",
501
+ "trigger:apex:generate",
502
+ "trigger:generate:apex"
503
+ ],
504
+ "permutations": [
505
+ "template:generate:apex:trigger",
506
+ "generate:template:apex:trigger",
507
+ "generate:apex:template:trigger",
508
+ "generate:apex:trigger:template",
509
+ "template:apex:generate:trigger",
510
+ "apex:template:generate:trigger",
511
+ "apex:generate:template:trigger",
512
+ "apex:generate:trigger:template",
513
+ "template:apex:trigger:generate",
514
+ "apex:template:trigger:generate",
515
+ "apex:trigger:template:generate",
516
+ "apex:trigger:generate:template",
517
+ "template:generate:trigger:apex",
518
+ "generate:template:trigger:apex",
519
+ "generate:trigger:template:apex",
520
+ "generate:trigger:apex:template",
521
+ "template:trigger:generate:apex",
522
+ "trigger:template:generate:apex",
523
+ "trigger:generate:template:apex",
524
+ "trigger:generate:apex:template",
525
+ "template:trigger:apex:generate",
526
+ "trigger:template:apex:generate",
527
+ "trigger:apex:template:generate",
528
+ "trigger:apex:generate:template"
529
529
  ]
530
530
  },
531
531
  "template:generate:digital-experience:site": {
@@ -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
  },
@@ -2039,6 +2041,116 @@
2039
2041
  "static-resource:generate:template"
2040
2042
  ]
2041
2043
  },
2044
+ "template:generate:webapp": {
2045
+ "aliases": [
2046
+ "webapp:generate"
2047
+ ],
2048
+ "args": {},
2049
+ "deprecateAliases": true,
2050
+ "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.",
2051
+ "examples": [
2052
+ "Generate a web application called MyWebApp in the current directory:\n<%= config.bin %> <%= command.id %> --name MyWebApp",
2053
+ "Generate a React-based web application:\n<%= config.bin %> <%= command.id %> --name MyReactApp --template reactbasic",
2054
+ "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"
2055
+ ],
2056
+ "flags": {
2057
+ "json": {
2058
+ "description": "Format output as json.",
2059
+ "helpGroup": "GLOBAL",
2060
+ "name": "json",
2061
+ "allowNo": false,
2062
+ "type": "boolean"
2063
+ },
2064
+ "flags-dir": {
2065
+ "helpGroup": "GLOBAL",
2066
+ "name": "flags-dir",
2067
+ "summary": "Import flag values from a directory.",
2068
+ "hasDynamicHelp": false,
2069
+ "multiple": false,
2070
+ "type": "option"
2071
+ },
2072
+ "name": {
2073
+ "char": "n",
2074
+ "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.",
2075
+ "name": "name",
2076
+ "required": true,
2077
+ "summary": "Name of the generated web application.",
2078
+ "hasDynamicHelp": false,
2079
+ "multiple": false,
2080
+ "type": "option"
2081
+ },
2082
+ "template": {
2083
+ "char": "t",
2084
+ "description": "Supplied parameter values or default values are filled into a copy of the template.",
2085
+ "name": "template",
2086
+ "summary": "Template to use for file creation.",
2087
+ "default": "default",
2088
+ "hasDynamicHelp": false,
2089
+ "multiple": false,
2090
+ "options": [
2091
+ "default",
2092
+ "reactbasic"
2093
+ ],
2094
+ "type": "option"
2095
+ },
2096
+ "label": {
2097
+ "char": "l",
2098
+ "description": "If not specified, the label is derived from the name.",
2099
+ "name": "label",
2100
+ "summary": "Master label for the web application.",
2101
+ "hasDynamicHelp": false,
2102
+ "multiple": false,
2103
+ "type": "option"
2104
+ },
2105
+ "output-dir": {
2106
+ "char": "d",
2107
+ "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.",
2108
+ "name": "output-dir",
2109
+ "summary": "Directory for saving the created files.",
2110
+ "hasDynamicHelp": false,
2111
+ "multiple": false,
2112
+ "type": "option"
2113
+ },
2114
+ "api-version": {
2115
+ "description": "Override the api version used for api requests made by this command",
2116
+ "name": "api-version",
2117
+ "hasDynamicHelp": false,
2118
+ "multiple": false,
2119
+ "type": "option"
2120
+ }
2121
+ },
2122
+ "hasDynamicHelp": false,
2123
+ "hidden": true,
2124
+ "hiddenAliases": [],
2125
+ "id": "template:generate:webapp",
2126
+ "pluginAlias": "@salesforce/plugin-templates",
2127
+ "pluginName": "@salesforce/plugin-templates",
2128
+ "pluginType": "core",
2129
+ "strict": true,
2130
+ "summary": "Generate a web application.",
2131
+ "enableJsonFlag": true,
2132
+ "isESM": true,
2133
+ "relativePath": [
2134
+ "lib",
2135
+ "commands",
2136
+ "template",
2137
+ "generate",
2138
+ "webapp",
2139
+ "index.js"
2140
+ ],
2141
+ "aliasPermutations": [
2142
+ "webapp:generate",
2143
+ "generate:webapp"
2144
+ ],
2145
+ "permutations": [
2146
+ "template:generate:webapp",
2147
+ "generate:template:webapp",
2148
+ "generate:webapp:template",
2149
+ "template:webapp:generate",
2150
+ "webapp:template:generate",
2151
+ "webapp:generate:template"
2152
+ ]
2153
+ },
2042
2154
  "template:generate:visualforce:component": {
2043
2155
  "aliases": [
2044
2156
  "force:visualforce:component:create",
@@ -2393,117 +2505,7 @@
2393
2505
  "page:visualforce:template:generate",
2394
2506
  "page:visualforce:generate:template"
2395
2507
  ]
2396
- },
2397
- "template:generate:webapp": {
2398
- "aliases": [
2399
- "webapp:generate"
2400
- ],
2401
- "args": {},
2402
- "deprecateAliases": true,
2403
- "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.",
2404
- "examples": [
2405
- "Generate a web application called MyWebApp in the current directory:\n<%= config.bin %> <%= command.id %> --name MyWebApp",
2406
- "Generate a React-based web application:\n<%= config.bin %> <%= command.id %> --name MyReactApp --template reactbasic",
2407
- "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"
2408
- ],
2409
- "flags": {
2410
- "json": {
2411
- "description": "Format output as json.",
2412
- "helpGroup": "GLOBAL",
2413
- "name": "json",
2414
- "allowNo": false,
2415
- "type": "boolean"
2416
- },
2417
- "flags-dir": {
2418
- "helpGroup": "GLOBAL",
2419
- "name": "flags-dir",
2420
- "summary": "Import flag values from a directory.",
2421
- "hasDynamicHelp": false,
2422
- "multiple": false,
2423
- "type": "option"
2424
- },
2425
- "name": {
2426
- "char": "n",
2427
- "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.",
2428
- "name": "name",
2429
- "required": true,
2430
- "summary": "Name of the generated web application.",
2431
- "hasDynamicHelp": false,
2432
- "multiple": false,
2433
- "type": "option"
2434
- },
2435
- "template": {
2436
- "char": "t",
2437
- "description": "Supplied parameter values or default values are filled into a copy of the template.",
2438
- "name": "template",
2439
- "summary": "Template to use for file creation.",
2440
- "default": "default",
2441
- "hasDynamicHelp": false,
2442
- "multiple": false,
2443
- "options": [
2444
- "default",
2445
- "reactbasic"
2446
- ],
2447
- "type": "option"
2448
- },
2449
- "label": {
2450
- "char": "l",
2451
- "description": "If not specified, the label is derived from the name.",
2452
- "name": "label",
2453
- "summary": "Master label for the web application.",
2454
- "hasDynamicHelp": false,
2455
- "multiple": false,
2456
- "type": "option"
2457
- },
2458
- "output-dir": {
2459
- "char": "d",
2460
- "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.",
2461
- "name": "output-dir",
2462
- "summary": "Directory for saving the created files.",
2463
- "hasDynamicHelp": false,
2464
- "multiple": false,
2465
- "type": "option"
2466
- },
2467
- "api-version": {
2468
- "description": "Override the api version used for api requests made by this command",
2469
- "name": "api-version",
2470
- "hasDynamicHelp": false,
2471
- "multiple": false,
2472
- "type": "option"
2473
- }
2474
- },
2475
- "hasDynamicHelp": false,
2476
- "hidden": true,
2477
- "hiddenAliases": [],
2478
- "id": "template:generate:webapp",
2479
- "pluginAlias": "@salesforce/plugin-templates",
2480
- "pluginName": "@salesforce/plugin-templates",
2481
- "pluginType": "core",
2482
- "strict": true,
2483
- "summary": "Generate a web application.",
2484
- "enableJsonFlag": true,
2485
- "isESM": true,
2486
- "relativePath": [
2487
- "lib",
2488
- "commands",
2489
- "template",
2490
- "generate",
2491
- "webapp",
2492
- "index.js"
2493
- ],
2494
- "aliasPermutations": [
2495
- "webapp:generate",
2496
- "generate:webapp"
2497
- ],
2498
- "permutations": [
2499
- "template:generate:webapp",
2500
- "generate:template:webapp",
2501
- "generate:webapp:template",
2502
- "template:webapp:generate",
2503
- "webapp:template:generate",
2504
- "webapp:generate:template"
2505
- ]
2506
2508
  }
2507
2509
  },
2508
- "version": "56.9.3"
2510
+ "version": "56.10.1"
2509
2511
  }
package/package.json CHANGED
@@ -1,24 +1,24 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-templates",
3
3
  "description": "Commands to create metadata from a default or custom template",
4
- "version": "56.9.3",
4
+ "version": "56.10.1",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/salesforcecli/plugin-templates/issues",
7
7
  "enableO11y": true,
8
8
  "o11yUploadEndpoint": "https://794testsite.my.site.com/byolwr/webruntime/log/metrics",
9
9
  "dependencies": {
10
- "@salesforce/core": "^8.26.2",
10
+ "@salesforce/core": "^8.26.3",
11
11
  "@salesforce/sf-plugins-core": "^12",
12
- "@salesforce/templates": "^65.5.11"
12
+ "@salesforce/templates": "^66.2.1"
13
13
  },
14
14
  "devDependencies": {
15
- "@oclif/plugin-command-snapshot": "^5.3.9",
15
+ "@oclif/plugin-command-snapshot": "^5.3.10",
16
16
  "@salesforce/cli-plugins-testkit": "^5.3.41",
17
17
  "@salesforce/dev-scripts": "^11.0.4",
18
- "@salesforce/plugin-command-reference": "^3.1.80",
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.79",
21
+ "oclif": "^4.22.81",
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.9.3.crt",
253
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.9.3.sig"
252
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.10.1.crt",
253
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.10.1.sig"
254
254
  }
255
255
  }