@salesforce/plugin-templates 57.4.6 → 57.4.8
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.
|
|
181
|
+
_See code: [src/commands/template/generate/analytics/template.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.8/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.
|
|
243
|
+
_See code: [src/commands/template/generate/apex/class.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.8/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.
|
|
313
|
+
_See code: [src/commands/template/generate/apex/trigger.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.8/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.
|
|
367
|
+
_See code: [src/commands/template/generate/digital-experience/site.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.8/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.
|
|
449
|
+
_See code: [src/commands/template/generate/flexipage/index.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.8/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.
|
|
507
|
+
_See code: [src/commands/template/generate/lightning/app.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.8/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.
|
|
584
|
+
_See code: [src/commands/template/generate/lightning/component.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.8/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.
|
|
642
|
+
_See code: [src/commands/template/generate/lightning/event.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.8/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.
|
|
700
|
+
_See code: [src/commands/template/generate/lightning/interface.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.8/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.
|
|
758
|
+
_See code: [src/commands/template/generate/lightning/test.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.8/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.
|
|
890
|
+
_See code: [src/commands/template/generate/project/index.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.8/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.
|
|
953
|
+
_See code: [src/commands/template/generate/static-resource/index.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.8/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
|
|
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
|
|
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.
|
|
1048
|
+
_See code: [src/commands/template/generate/ui-bundle/index.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.8/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.
|
|
1127
|
+
_See code: [src/commands/template/generate/ui-embedding/index.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.8/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.
|
|
1184
|
+
_See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.8/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.
|
|
1235
|
+
_See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.8/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,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CAAC;QAEvD,MAAM,MAAM,GAAG,MAAM,YAAY,CAAC;YAChC,YAAY,EAAE,YAAY,CAAC,QAAQ;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
|
package/oclif.manifest.json
CHANGED
|
@@ -2083,6 +2083,7 @@
|
|
|
2083
2083
|
"Generate a UI bundle called MyUiBundle in the current directory:\n<%= config.bin %> <%= command.id %> --name MyUiBundle",
|
|
2084
2084
|
"Generate a React-based UI bundle:\n<%= config.bin %> <%= command.id %> --name MyReactApp --template reactbasic",
|
|
2085
2085
|
"Generate an Angular-based UI bundle:\n<%= config.bin %> <%= command.id %> --name MyAngularApp --template angularbasic",
|
|
2086
|
+
"Generate a Vue-based UI bundle:\n<%= config.bin %> <%= command.id %> --name MyVueApp --template vuebasic",
|
|
2086
2087
|
"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"
|
|
2087
2088
|
],
|
|
2088
2089
|
"flags": {
|
|
@@ -2122,7 +2123,8 @@
|
|
|
2122
2123
|
"options": [
|
|
2123
2124
|
"default",
|
|
2124
2125
|
"reactbasic",
|
|
2125
|
-
"angularbasic"
|
|
2126
|
+
"angularbasic",
|
|
2127
|
+
"vuebasic"
|
|
2126
2128
|
],
|
|
2127
2129
|
"type": "option"
|
|
2128
2130
|
},
|
|
@@ -2813,5 +2815,5 @@
|
|
|
2813
2815
|
]
|
|
2814
2816
|
}
|
|
2815
2817
|
},
|
|
2816
|
-
"version": "57.4.
|
|
2818
|
+
"version": "57.4.8"
|
|
2817
2819
|
}
|
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
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.
|
|
4
|
+
"version": "57.4.8",
|
|
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.
|
|
12
|
-
"@salesforce/templates": "^66.
|
|
11
|
+
"@salesforce/sf-plugins-core": "^13.0.7",
|
|
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.
|
|
16
|
+
"@salesforce/cli-plugins-testkit": "^5.3.68",
|
|
17
17
|
"@salesforce/dev-scripts": "^15.0.0",
|
|
18
18
|
"@salesforce/plugin-command-reference": "^3.1.134",
|
|
19
19
|
"@types/chai": "^4.3.17",
|
|
@@ -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.
|
|
263
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/57.4.
|
|
262
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/57.4.8.crt",
|
|
263
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/57.4.8.sig"
|
|
264
264
|
}
|
|
265
265
|
}
|