@salesforce/plugin-templates 57.4.5 → 57.4.7

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
@@ -178,7 +178,7 @@ FLAG DESCRIPTIONS
178
178
  directory.
179
179
  ```
180
180
 
181
- _See code: [src/commands/template/generate/analytics/template.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.5/src/commands/template/generate/analytics/template.ts)_
181
+ _See code: [src/commands/template/generate/analytics/template.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.7/src/commands/template/generate/analytics/template.ts)_
182
182
 
183
183
  ## `sf template generate apex class`
184
184
 
@@ -240,7 +240,7 @@ FLAG DESCRIPTIONS
240
240
  Supplied parameter values or default values are filled into a copy of the template.
241
241
  ```
242
242
 
243
- _See code: [src/commands/template/generate/apex/class.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.5/src/commands/template/generate/apex/class.ts)_
243
+ _See code: [src/commands/template/generate/apex/class.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.7/src/commands/template/generate/apex/class.ts)_
244
244
 
245
245
  ## `sf template generate apex trigger`
246
246
 
@@ -310,7 +310,7 @@ FLAG DESCRIPTIONS
310
310
  Supplied parameter values or default values are filled into a copy of the template.
311
311
  ```
312
312
 
313
- _See code: [src/commands/template/generate/apex/trigger.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.5/src/commands/template/generate/apex/trigger.ts)_
313
+ _See code: [src/commands/template/generate/apex/trigger.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.7/src/commands/template/generate/apex/trigger.ts)_
314
314
 
315
315
  ## `sf template generate digital-experience site`
316
316
 
@@ -364,7 +364,7 @@ FLAG DESCRIPTIONS
364
364
  project, defaults to the current directory.
365
365
  ```
366
366
 
367
- _See code: [src/commands/template/generate/digital-experience/site.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.5/src/commands/template/generate/digital-experience/site.ts)_
367
+ _See code: [src/commands/template/generate/digital-experience/site.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.7/src/commands/template/generate/digital-experience/site.ts)_
368
368
 
369
369
  ## `sf template generate flexipage`
370
370
 
@@ -446,7 +446,7 @@ FLAG DESCRIPTIONS
446
446
  'Custom_Object__c'. This sets the `sobjectType` field in the FlexiPage metadata.
447
447
  ```
448
448
 
449
- _See code: [src/commands/template/generate/flexipage/index.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.5/src/commands/template/generate/flexipage/index.ts)_
449
+ _See code: [src/commands/template/generate/flexipage/index.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.7/src/commands/template/generate/flexipage/index.ts)_
450
450
 
451
451
  ## `sf template generate lightning app`
452
452
 
@@ -504,7 +504,7 @@ FLAG DESCRIPTIONS
504
504
  field in the DX project's "sfdx-project.json" file.
505
505
  ```
506
506
 
507
- _See code: [src/commands/template/generate/lightning/app.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.5/src/commands/template/generate/lightning/app.ts)_
507
+ _See code: [src/commands/template/generate/lightning/app.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.7/src/commands/template/generate/lightning/app.ts)_
508
508
 
509
509
  ## `sf template generate lightning component`
510
510
 
@@ -581,7 +581,7 @@ FLAG DESCRIPTIONS
581
581
  field in the DX project's "sfdx-project.json" file.
582
582
  ```
583
583
 
584
- _See code: [src/commands/template/generate/lightning/component.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.5/src/commands/template/generate/lightning/component.ts)_
584
+ _See code: [src/commands/template/generate/lightning/component.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.7/src/commands/template/generate/lightning/component.ts)_
585
585
 
586
586
  ## `sf template generate lightning event`
587
587
 
@@ -639,7 +639,7 @@ FLAG DESCRIPTIONS
639
639
  field in the DX project's "sfdx-project.json" file.
640
640
  ```
641
641
 
642
- _See code: [src/commands/template/generate/lightning/event.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.5/src/commands/template/generate/lightning/event.ts)_
642
+ _See code: [src/commands/template/generate/lightning/event.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.7/src/commands/template/generate/lightning/event.ts)_
643
643
 
644
644
  ## `sf template generate lightning interface`
645
645
 
@@ -697,7 +697,7 @@ FLAG DESCRIPTIONS
697
697
  field in the DX project's "sfdx-project.json" file.
698
698
  ```
699
699
 
700
- _See code: [src/commands/template/generate/lightning/interface.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.5/src/commands/template/generate/lightning/interface.ts)_
700
+ _See code: [src/commands/template/generate/lightning/interface.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.7/src/commands/template/generate/lightning/interface.ts)_
701
701
 
702
702
  ## `sf template generate lightning test`
703
703
 
@@ -755,7 +755,7 @@ FLAG DESCRIPTIONS
755
755
  field in the DX project's "sfdx-project.json" file.
756
756
  ```
757
757
 
758
- _See code: [src/commands/template/generate/lightning/test.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.5/src/commands/template/generate/lightning/test.ts)_
758
+ _See code: [src/commands/template/generate/lightning/test.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.7/src/commands/template/generate/lightning/test.ts)_
759
759
 
760
760
  ## `sf template generate project`
761
761
 
@@ -887,7 +887,7 @@ FLAG DESCRIPTIONS
887
887
  server-side type stripping.
888
888
  ```
889
889
 
890
- _See code: [src/commands/template/generate/project/index.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.5/src/commands/template/generate/project/index.ts)_
890
+ _See code: [src/commands/template/generate/project/index.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.7/src/commands/template/generate/project/index.ts)_
891
891
 
892
892
  ## `sf template generate static-resource`
893
893
 
@@ -950,7 +950,7 @@ FLAG DESCRIPTIONS
950
950
  etc.
951
951
  ```
952
952
 
953
- _See code: [src/commands/template/generate/static-resource/index.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.5/src/commands/template/generate/static-resource/index.ts)_
953
+ _See code: [src/commands/template/generate/static-resource/index.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.7/src/commands/template/generate/static-resource/index.ts)_
954
954
 
955
955
  ## `sf template generate ui-bundle`
956
956
 
@@ -958,15 +958,15 @@ Generate a UI bundle, which contains the code and metadata to build a UI experie
958
958
 
959
959
  ```
960
960
  USAGE
961
- $ sf template generate ui-bundle -n <value> [--json] [--flags-dir <value>] [-t default|reactbasic|angularbasic] [-l <value>]
962
- [-d <value>] [--api-version <value>]
961
+ $ sf template generate ui-bundle -n <value> [--json] [--flags-dir <value>] [-t default|reactbasic|angularbasic|vuebasic] [-l
962
+ <value>] [-d <value>] [--api-version <value>]
963
963
 
964
964
  FLAGS
965
965
  -d, --output-dir=<value> Directory into which the files are created.
966
966
  -l, --label=<value> Master label for the UI bundle.
967
967
  -n, --name=<value> (required) API name of the generated UI bundle.
968
968
  -t, --template=<option> [default: default] Template to use when creating the files for a specific UI framework.
969
- <options: default|reactbasic|angularbasic>
969
+ <options: default|reactbasic|angularbasic|vuebasic>
970
970
  --api-version=<value> Override the api version used for api requests made by this command
971
971
 
972
972
  GLOBAL FLAGS
@@ -1003,6 +1003,10 @@ EXAMPLES
1003
1003
 
1004
1004
  $ sf template generate ui-bundle --name MyAngularApp --template angularbasic
1005
1005
 
1006
+ Generate a Vue-based UI bundle:
1007
+
1008
+ $ sf template generate ui-bundle --name MyVueApp --template vuebasic
1009
+
1006
1010
  Generate the React-based UI bundle in the "force-app/main/default/uiBundles" directory:
1007
1011
 
1008
1012
  $ sf template generate ui-bundle --name MyUiBundle --template reactbasic --output-dir \
@@ -1034,12 +1038,14 @@ FLAG DESCRIPTIONS
1034
1038
  This name can contain only underscores and alphanumeric characters, and must be unique in your org. It must begin
1035
1039
  with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores.
1036
1040
 
1037
- -t, --template=default|reactbasic|angularbasic Template to use when creating the files for a specific UI framework.
1041
+ -t, --template=default|reactbasic|angularbasic|vuebasic
1042
+
1043
+ Template to use when creating the files for a specific UI framework.
1038
1044
 
1039
1045
  Supplied parameter values or default values are filled into a copy of the template.
1040
1046
  ```
1041
1047
 
1042
- _See code: [src/commands/template/generate/ui-bundle/index.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.5/src/commands/template/generate/ui-bundle/index.ts)_
1048
+ _See code: [src/commands/template/generate/ui-bundle/index.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.7/src/commands/template/generate/ui-bundle/index.ts)_
1043
1049
 
1044
1050
  ## `sf template generate ui-embedding`
1045
1051
 
@@ -1118,7 +1124,7 @@ FLAG DESCRIPTIONS
1118
1124
  (announced by screen readers).
1119
1125
  ```
1120
1126
 
1121
- _See code: [src/commands/template/generate/ui-embedding/index.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.5/src/commands/template/generate/ui-embedding/index.ts)_
1127
+ _See code: [src/commands/template/generate/ui-embedding/index.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.7/src/commands/template/generate/ui-embedding/index.ts)_
1122
1128
 
1123
1129
  ## `sf template generate visualforce component`
1124
1130
 
@@ -1175,7 +1181,7 @@ FLAG DESCRIPTIONS
1175
1181
  Supplied parameter values or default values are filled into a copy of the template.
1176
1182
  ```
1177
1183
 
1178
- _See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.5/src/commands/template/generate/visualforce/component.ts)_
1184
+ _See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.7/src/commands/template/generate/visualforce/component.ts)_
1179
1185
 
1180
1186
  ## `sf template generate visualforce page`
1181
1187
 
@@ -1226,6 +1232,6 @@ FLAG DESCRIPTIONS
1226
1232
  The name can be up to 40 characters and must start with a letter.
1227
1233
  ```
1228
1234
 
1229
- _See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.5/src/commands/template/generate/visualforce/page.ts)_
1235
+ _See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.7/src/commands/template/generate/visualforce/page.ts)_
1230
1236
 
1231
1237
  <!-- commandsstop -->
@@ -39,7 +39,7 @@ export default class UiBundleGenerate extends SfCommand {
39
39
  summary: messages.getMessage('flags.template.summary'),
40
40
  description: messages.getMessage('flags.template.description'),
41
41
  default: 'default',
42
- options: ['default', 'reactbasic', 'angularbasic'],
42
+ options: ['default', 'reactbasic', 'angularbasic', 'vuebasic'],
43
43
  }),
44
44
  label: Flags.string({
45
45
  char: 'l',
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/commands/template/generate/ui-bundle/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAClC,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAiC,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACpF,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AAExF,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,8BAA8B,EAAE,oBAAoB,CAAC,CAAC;AAE7F,MAAM,CAAC,MAAM,cAAc,GAAG,WAAW,CAAC;AAC1C,MAAM,kBAAkB,GAAG,gBAAgB,CAAC;AAE5C,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,SAAuB;IAC5D,MAAM,CAAU,OAAO,GAAG,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;IACzD,MAAM,CAAU,WAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;IACjE,MA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Q;YACnC,IAAI,EAAE,cAAc;YACpB,EAAE;YACF,SAAS,EAAE,kBAAkB,CAAC,IAAI,CAAC,gBAAgB,CAAC;SACrD,CAAC,CAAC;QAEH,+FAA+F;QAC/F,+FAA+F;QAC/F,8FAA8F;QAC9F,sFAAsF;QACtF,MAAM,gBAAgB,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,SAAS,EAAE,KAAK,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAAC;QACrF,MAAM,OAAO,GAAG,MAAM,gBAAgB,CAAC,4BAA4B,CAAC,gBAAgB,CAAC,CAAC;QACtF,IAAI,OAAO,EAAE,CAAC;YACZ,MAAM,cAAc,GAAG,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,OAAO,CAAC,CAAC;YAC7D,MAAM,UAAU,GAAG,YAAY,cAAc,EAAE,CAAC;YAChD,EAAE,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;YACnB,OAAO;gBACL,GAAG,MAAM;gBACT,OAAO,EAAE,CAAC,GAAG,MAAM,CAAC,OAAO,EAAE,cAAc,CAAC;gBAC5C,SAAS,EAAE,GAAG,MAAM,CAAC,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,UAAU,IAAI;aACrE,CAAC;QACJ,CAAC;QAED,OAAO,MAAM,CAAC;IAChB,CAAC"}
@@ -24,6 +24,10 @@ Use the --template flag for generating the files to get started with a specific
24
24
 
25
25
  <%= config.bin %> <%= command.id %> --name MyAngularApp --template angularbasic
26
26
 
27
+ - Generate a Vue-based UI bundle:
28
+
29
+ <%= config.bin %> <%= command.id %> --name MyVueApp --template vuebasic
30
+
27
31
  - Generate the React-based UI bundle in the "force-app/main/default/uiBundles" directory:
28
32
 
29
33
  <%= config.bin %> <%= command.id %> --name MyUiBundle --template reactbasic --output-dir force-app/main/default/uiBundles
@@ -1,158 +1,5 @@
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 `SF_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
- },
156
3
  "template:generate:apex:class": {
157
4
  "aliases": [
158
5
  "force:apex:class:create",
@@ -530,6 +377,159 @@
530
377
  "trigger:apex:generate:template"
531
378
  ]
532
379
  },
380
+ "template:generate:analytics:template": {
381
+ "aliases": [
382
+ "force:analytics:template:create",
383
+ "analytics:generate:template"
384
+ ],
385
+ "args": {},
386
+ "deprecateAliases": true,
387
+ "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.",
388
+ "examples": [
389
+ "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"
390
+ ],
391
+ "flags": {
392
+ "json": {
393
+ "description": "Format output as json.",
394
+ "helpGroup": "GLOBAL",
395
+ "name": "json",
396
+ "allowNo": false,
397
+ "type": "boolean"
398
+ },
399
+ "flags-dir": {
400
+ "helpGroup": "GLOBAL",
401
+ "name": "flags-dir",
402
+ "summary": "Import flag values from a directory.",
403
+ "hasDynamicHelp": false,
404
+ "multiple": false,
405
+ "type": "option"
406
+ },
407
+ "output-dir": {
408
+ "aliases": [
409
+ "outputdir"
410
+ ],
411
+ "char": "d",
412
+ "deprecateAliases": true,
413
+ "description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
414
+ "name": "output-dir",
415
+ "summary": "Directory for saving the created files.",
416
+ "default": ".",
417
+ "hasDynamicHelp": false,
418
+ "multiple": false,
419
+ "type": "option"
420
+ },
421
+ "api-version": {
422
+ "aliases": [
423
+ "apiversion"
424
+ ],
425
+ "deprecateAliases": true,
426
+ "description": "Override the api version used for api requests made by this command",
427
+ "name": "api-version",
428
+ "hasDynamicHelp": false,
429
+ "multiple": false,
430
+ "type": "option"
431
+ },
432
+ "name": {
433
+ "aliases": [
434
+ "templatename"
435
+ ],
436
+ "char": "n",
437
+ "deprecateAliases": true,
438
+ "name": "name",
439
+ "required": true,
440
+ "summary": "Name of the Analytics template.",
441
+ "hasDynamicHelp": false,
442
+ "multiple": false,
443
+ "type": "option"
444
+ },
445
+ "loglevel": {
446
+ "deprecated": {
447
+ "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 `SF_LOG_LEVEL` environment variable."
448
+ },
449
+ "hidden": true,
450
+ "name": "loglevel",
451
+ "hasDynamicHelp": false,
452
+ "multiple": false,
453
+ "type": "option"
454
+ }
455
+ },
456
+ "hasDynamicHelp": false,
457
+ "hiddenAliases": [],
458
+ "id": "template:generate:analytics:template",
459
+ "pluginAlias": "@salesforce/plugin-templates",
460
+ "pluginName": "@salesforce/plugin-templates",
461
+ "pluginType": "core",
462
+ "strict": true,
463
+ "summary": "Generate a simple Analytics template.",
464
+ "enableJsonFlag": true,
465
+ "isESM": true,
466
+ "relativePath": [
467
+ "lib",
468
+ "commands",
469
+ "template",
470
+ "generate",
471
+ "analytics",
472
+ "template.js"
473
+ ],
474
+ "aliasPermutations": [
475
+ "force:analytics:template:create",
476
+ "analytics:force:template:create",
477
+ "analytics:template:force:create",
478
+ "analytics:template:create:force",
479
+ "force:template:analytics:create",
480
+ "template:force:analytics:create",
481
+ "template:analytics:force:create",
482
+ "template:analytics:create:force",
483
+ "force:template:create:analytics",
484
+ "template:force:create:analytics",
485
+ "template:create:force:analytics",
486
+ "template:create:analytics:force",
487
+ "force:analytics:create:template",
488
+ "analytics:force:create:template",
489
+ "analytics:create:force:template",
490
+ "analytics:create:template:force",
491
+ "force:create:analytics:template",
492
+ "create:force:analytics:template",
493
+ "create:analytics:force:template",
494
+ "create:analytics:template:force",
495
+ "force:create:template:analytics",
496
+ "create:force:template:analytics",
497
+ "create:template:force:analytics",
498
+ "create:template:analytics:force",
499
+ "analytics:generate:template",
500
+ "generate:analytics:template",
501
+ "generate:template:analytics",
502
+ "analytics:template:generate",
503
+ "template:analytics:generate",
504
+ "template:generate:analytics"
505
+ ],
506
+ "permutations": [
507
+ "template:generate:analytics:template",
508
+ "generate:template:analytics:template",
509
+ "generate:analytics:template:template",
510
+ "generate:analytics:template:template",
511
+ "template:analytics:generate:template",
512
+ "analytics:template:generate:template",
513
+ "analytics:generate:template:template",
514
+ "analytics:generate:template:template",
515
+ "template:analytics:template:generate",
516
+ "analytics:template:template:generate",
517
+ "analytics:template:template:generate",
518
+ "analytics:template:generate:template",
519
+ "template:generate:template:analytics",
520
+ "generate:template:template:analytics",
521
+ "generate:template:template:analytics",
522
+ "generate:template:analytics:template",
523
+ "template:template:generate:analytics",
524
+ "template:template:generate:analytics",
525
+ "template:generate:template:analytics",
526
+ "template:generate:analytics:template",
527
+ "template:template:analytics:generate",
528
+ "template:template:analytics:generate",
529
+ "template:analytics:template:generate",
530
+ "template:analytics:generate:template"
531
+ ]
532
+ },
533
533
  "template:generate:digital-experience:site": {
534
534
  "aliases": [],
535
535
  "args": {},
@@ -2212,6 +2212,7 @@
2212
2212
  "Generate a UI bundle called MyUiBundle in the current directory:\n<%= config.bin %> <%= command.id %> --name MyUiBundle",
2213
2213
  "Generate a React-based UI bundle:\n<%= config.bin %> <%= command.id %> --name MyReactApp --template reactbasic",
2214
2214
  "Generate an Angular-based UI bundle:\n<%= config.bin %> <%= command.id %> --name MyAngularApp --template angularbasic",
2215
+ "Generate a Vue-based UI bundle:\n<%= config.bin %> <%= command.id %> --name MyVueApp --template vuebasic",
2215
2216
  "Generate the React-based UI bundle in the \"force-app/main/default/uiBundles\" directory:\n<%= config.bin %> <%= command.id %> --name MyUiBundle --template reactbasic --output-dir force-app/main/default/uiBundles"
2216
2217
  ],
2217
2218
  "flags": {
@@ -2251,7 +2252,8 @@
2251
2252
  "options": [
2252
2253
  "default",
2253
2254
  "reactbasic",
2254
- "angularbasic"
2255
+ "angularbasic",
2256
+ "vuebasic"
2255
2257
  ],
2256
2258
  "type": "option"
2257
2259
  },
@@ -2813,5 +2815,5 @@
2813
2815
  ]
2814
2816
  }
2815
2817
  },
2816
- "version": "57.4.5"
2818
+ "version": "57.4.7"
2817
2819
  }
package/package.json CHANGED
@@ -1,29 +1,29 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-templates",
3
3
  "description": "Commands to create metadata from a default or custom template",
4
- "version": "57.4.5",
4
+ "version": "57.4.7",
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
10
  "@salesforce/core": "^9.2.0",
11
- "@salesforce/sf-plugins-core": "^13.0.4",
12
- "@salesforce/templates": "^66.16.0"
11
+ "@salesforce/sf-plugins-core": "^13.0.5",
12
+ "@salesforce/templates": "^66.17.2"
13
13
  },
14
14
  "devDependencies": {
15
15
  "@oclif/plugin-command-snapshot": "^6.0.0",
16
- "@salesforce/cli-plugins-testkit": "^5.3.66",
17
- "@salesforce/dev-scripts": "^14.0.0",
18
- "@salesforce/plugin-command-reference": "^3.1.132",
16
+ "@salesforce/cli-plugins-testkit": "^5.3.68",
17
+ "@salesforce/dev-scripts": "^15.0.0",
18
+ "@salesforce/plugin-command-reference": "^3.1.134",
19
19
  "@types/chai": "^4.3.17",
20
20
  "@types/mocha": "^10.0.10",
21
21
  "@types/node": "^18",
22
22
  "@types/sinon": "^10.0.20",
23
23
  "@types/yeoman-assert": "^3.1.4",
24
- "eslint": "^10.4.0",
24
+ "eslint": "^10.12.0",
25
25
  "eslint-config-salesforce-typescript": "^7.0.0",
26
- "eslint-plugin-sf-plugin": "^3.0.0",
26
+ "eslint-plugin-sf-plugin": "^3.0.1",
27
27
  "oclif": "^5.0.2",
28
28
  "ts-node": "^10.9.2",
29
29
  "typescript": "^6.0.0",
@@ -259,7 +259,7 @@
259
259
  "exports": "./lib/index.js",
260
260
  "type": "module",
261
261
  "sfdx": {
262
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/57.4.5.crt",
263
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/57.4.5.sig"
262
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/57.4.7.crt",
263
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/57.4.7.sig"
264
264
  }
265
265
  }