@salesforce/plugin-templates 57.4.5 → 57.4.6
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 +16 -16
- package/oclif.manifest.json +314 -314
- package/package.json +8 -8
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.6/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.6/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.6/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.6/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.6/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.6/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.6/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.6/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.6/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.6/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.6/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.6/src/commands/template/generate/static-resource/index.ts)_
|
|
954
954
|
|
|
955
955
|
## `sf template generate ui-bundle`
|
|
956
956
|
|
|
@@ -1039,7 +1039,7 @@ FLAG DESCRIPTIONS
|
|
|
1039
1039
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
1040
1040
|
```
|
|
1041
1041
|
|
|
1042
|
-
_See code: [src/commands/template/generate/ui-bundle/index.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.
|
|
1042
|
+
_See code: [src/commands/template/generate/ui-bundle/index.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.6/src/commands/template/generate/ui-bundle/index.ts)_
|
|
1043
1043
|
|
|
1044
1044
|
## `sf template generate ui-embedding`
|
|
1045
1045
|
|
|
@@ -1118,7 +1118,7 @@ FLAG DESCRIPTIONS
|
|
|
1118
1118
|
(announced by screen readers).
|
|
1119
1119
|
```
|
|
1120
1120
|
|
|
1121
|
-
_See code: [src/commands/template/generate/ui-embedding/index.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.
|
|
1121
|
+
_See code: [src/commands/template/generate/ui-embedding/index.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.6/src/commands/template/generate/ui-embedding/index.ts)_
|
|
1122
1122
|
|
|
1123
1123
|
## `sf template generate visualforce component`
|
|
1124
1124
|
|
|
@@ -1175,7 +1175,7 @@ FLAG DESCRIPTIONS
|
|
|
1175
1175
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
1176
1176
|
```
|
|
1177
1177
|
|
|
1178
|
-
_See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.
|
|
1178
|
+
_See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.6/src/commands/template/generate/visualforce/component.ts)_
|
|
1179
1179
|
|
|
1180
1180
|
## `sf template generate visualforce page`
|
|
1181
1181
|
|
|
@@ -1226,6 +1226,6 @@ FLAG DESCRIPTIONS
|
|
|
1226
1226
|
The name can be up to 40 characters and must start with a letter.
|
|
1227
1227
|
```
|
|
1228
1228
|
|
|
1229
|
-
_See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.
|
|
1229
|
+
_See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/57.4.6/src/commands/template/generate/visualforce/page.ts)_
|
|
1230
1230
|
|
|
1231
1231
|
<!-- commandsstop -->
|
package/oclif.manifest.json
CHANGED
|
@@ -841,6 +841,149 @@
|
|
|
841
841
|
"flexipage:generate:template"
|
|
842
842
|
]
|
|
843
843
|
},
|
|
844
|
+
"template:generate:lightning-out": {
|
|
845
|
+
"aliases": [],
|
|
846
|
+
"args": {},
|
|
847
|
+
"description": "Lightning Out 2.0 lets you embed custom Lightning web components (LWCs) into your external, non-Salesforce apps.\n\nThis command gets you started by generating the seven metadata artifact types that a Lightning Out 2.0 app requires into your Salesforce DX project: LightningOutApp, MyDomain and Security settings, one CorsWhitelistOrigin per host domain, and the three External Client Application OAuth components (ExternalClientApplication, ExtlClntAppGlobalOauthSettings, ExtlClntAppOauthSettings). The command is generate-only; it doesn't deploy any metadata to an org.\n\nInputs may come from a --definition-file JSON, individual flags, or both. Flag values take precedence over the file on a per-key basis. The command validates the types of definition-file fields; the underlying generator performs the remaining structural validation, such as required fields and formats.",
|
|
848
|
+
"examples": [
|
|
849
|
+
"Generate a Lightning Out 2.0 app using individual flags to specify the values:\n<%= config.bin %> <%= command.id %> --app-name MyLoApp --runtime LWR_CORE --host-domains https://example.com --eca-name MyLoAppEca --eca-contact-email dev@example.com --eca-callback-url https://example.com/cb",
|
|
850
|
+
"Generate an app using the values in a JSON definition file called lo-def.json:\n<%= config.bin %> <%= command.id %> --definition-file lo-def.json",
|
|
851
|
+
"Generate the app into a specific directory:\n<%= config.bin %> <%= command.id %> --definition-file lo-def.json --output-dir force-app/main/default",
|
|
852
|
+
"Generate the app using most of the values from a definition file, but the --host-domains value overrides its equivalent in the file:\n<%= config.bin %> <%= command.id %> --definition-file lo-def.json --host-domains https://staging.example.com"
|
|
853
|
+
],
|
|
854
|
+
"flags": {
|
|
855
|
+
"json": {
|
|
856
|
+
"description": "Format output as json.",
|
|
857
|
+
"helpGroup": "GLOBAL",
|
|
858
|
+
"name": "json",
|
|
859
|
+
"allowNo": false,
|
|
860
|
+
"type": "boolean"
|
|
861
|
+
},
|
|
862
|
+
"flags-dir": {
|
|
863
|
+
"helpGroup": "GLOBAL",
|
|
864
|
+
"name": "flags-dir",
|
|
865
|
+
"summary": "Import flag values from a directory.",
|
|
866
|
+
"hasDynamicHelp": false,
|
|
867
|
+
"multiple": false,
|
|
868
|
+
"type": "option"
|
|
869
|
+
},
|
|
870
|
+
"app-name": {
|
|
871
|
+
"name": "app-name",
|
|
872
|
+
"required": false,
|
|
873
|
+
"summary": "Developer name of the new Lightning Out 2.0 app.",
|
|
874
|
+
"hasDynamicHelp": false,
|
|
875
|
+
"multiple": false,
|
|
876
|
+
"type": "option"
|
|
877
|
+
},
|
|
878
|
+
"eca-name": {
|
|
879
|
+
"name": "eca-name",
|
|
880
|
+
"required": false,
|
|
881
|
+
"summary": "Developer name of the External Client Application associated with the app.",
|
|
882
|
+
"hasDynamicHelp": false,
|
|
883
|
+
"multiple": false,
|
|
884
|
+
"type": "option"
|
|
885
|
+
},
|
|
886
|
+
"runtime": {
|
|
887
|
+
"name": "runtime",
|
|
888
|
+
"summary": "Runtime the app targets. LWR_CORE serves from your Salesforce org for authenticated users; CLWR serves from an Experience Cloud site (guest access, extra site-deployment step).",
|
|
889
|
+
"hasDynamicHelp": false,
|
|
890
|
+
"multiple": false,
|
|
891
|
+
"options": [
|
|
892
|
+
"LWR_CORE",
|
|
893
|
+
"CLWR"
|
|
894
|
+
],
|
|
895
|
+
"type": "option"
|
|
896
|
+
},
|
|
897
|
+
"host-domains": {
|
|
898
|
+
"name": "host-domains",
|
|
899
|
+
"summary": "HTTP or HTTPS origin of an external host page that embeds the app. Repeat the flag to specify more than one. Replaces, rather than merges with, any hostDomains in the --definition-file.",
|
|
900
|
+
"hasDynamicHelp": false,
|
|
901
|
+
"multiple": true,
|
|
902
|
+
"type": "option"
|
|
903
|
+
},
|
|
904
|
+
"components": {
|
|
905
|
+
"name": "components",
|
|
906
|
+
"summary": "Name of a Lightning web component exposed by the app. Repeat the flag to specify more than one. Replaces, rather than merges with, any components in the --definition-file.",
|
|
907
|
+
"hasDynamicHelp": false,
|
|
908
|
+
"multiple": true,
|
|
909
|
+
"type": "option"
|
|
910
|
+
},
|
|
911
|
+
"eca-contact-email": {
|
|
912
|
+
"name": "eca-contact-email",
|
|
913
|
+
"summary": "Contact email for the External Client Application.",
|
|
914
|
+
"hasDynamicHelp": false,
|
|
915
|
+
"multiple": false,
|
|
916
|
+
"type": "option"
|
|
917
|
+
},
|
|
918
|
+
"eca-callback-url": {
|
|
919
|
+
"name": "eca-callback-url",
|
|
920
|
+
"summary": "OAuth callback URL for the External Client Application.",
|
|
921
|
+
"hasDynamicHelp": false,
|
|
922
|
+
"multiple": false,
|
|
923
|
+
"type": "option"
|
|
924
|
+
},
|
|
925
|
+
"definition-file": {
|
|
926
|
+
"name": "definition-file",
|
|
927
|
+
"summary": "Path to a JSON file describing the Lightning Out 2.0 app. Individual flags, when supplied, override the corresponding value in this file.",
|
|
928
|
+
"hasDynamicHelp": false,
|
|
929
|
+
"multiple": false,
|
|
930
|
+
"type": "option"
|
|
931
|
+
},
|
|
932
|
+
"output-dir": {
|
|
933
|
+
"aliases": [
|
|
934
|
+
"outputdir"
|
|
935
|
+
],
|
|
936
|
+
"char": "d",
|
|
937
|
+
"deprecateAliases": true,
|
|
938
|
+
"description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
|
|
939
|
+
"name": "output-dir",
|
|
940
|
+
"summary": "Directory for saving the created files.",
|
|
941
|
+
"default": ".",
|
|
942
|
+
"hasDynamicHelp": false,
|
|
943
|
+
"multiple": false,
|
|
944
|
+
"type": "option"
|
|
945
|
+
},
|
|
946
|
+
"loglevel": {
|
|
947
|
+
"deprecated": {
|
|
948
|
+
"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."
|
|
949
|
+
},
|
|
950
|
+
"hidden": true,
|
|
951
|
+
"name": "loglevel",
|
|
952
|
+
"hasDynamicHelp": false,
|
|
953
|
+
"multiple": false,
|
|
954
|
+
"type": "option"
|
|
955
|
+
}
|
|
956
|
+
},
|
|
957
|
+
"hasDynamicHelp": false,
|
|
958
|
+
"hidden": true,
|
|
959
|
+
"hiddenAliases": [],
|
|
960
|
+
"id": "template:generate:lightning-out",
|
|
961
|
+
"pluginAlias": "@salesforce/plugin-templates",
|
|
962
|
+
"pluginName": "@salesforce/plugin-templates",
|
|
963
|
+
"pluginType": "core",
|
|
964
|
+
"state": "beta",
|
|
965
|
+
"strict": true,
|
|
966
|
+
"summary": "Generate the required metadata to scaffold a Lightning Out 2.0 app.",
|
|
967
|
+
"enableJsonFlag": true,
|
|
968
|
+
"isESM": true,
|
|
969
|
+
"relativePath": [
|
|
970
|
+
"lib",
|
|
971
|
+
"commands",
|
|
972
|
+
"template",
|
|
973
|
+
"generate",
|
|
974
|
+
"lightning-out",
|
|
975
|
+
"index.js"
|
|
976
|
+
],
|
|
977
|
+
"aliasPermutations": [],
|
|
978
|
+
"permutations": [
|
|
979
|
+
"template:generate:lightning-out",
|
|
980
|
+
"generate:template:lightning-out",
|
|
981
|
+
"generate:lightning-out:template",
|
|
982
|
+
"template:lightning-out:generate",
|
|
983
|
+
"lightning-out:template:generate",
|
|
984
|
+
"lightning-out:generate:template"
|
|
985
|
+
]
|
|
986
|
+
},
|
|
844
987
|
"template:generate:lightning:app": {
|
|
845
988
|
"aliases": [
|
|
846
989
|
"force:lightning:app:create",
|
|
@@ -1739,15 +1882,20 @@
|
|
|
1739
1882
|
"test:lightning:generate:template"
|
|
1740
1883
|
]
|
|
1741
1884
|
},
|
|
1742
|
-
"template:generate:
|
|
1743
|
-
"aliases": [
|
|
1885
|
+
"template:generate:project": {
|
|
1886
|
+
"aliases": [
|
|
1887
|
+
"force:project:create",
|
|
1888
|
+
"project:generate"
|
|
1889
|
+
],
|
|
1744
1890
|
"args": {},
|
|
1745
|
-
"
|
|
1891
|
+
"deprecateAliases": true,
|
|
1892
|
+
"description": "A Salesforce DX project has a specific structure and a configuration file (sfdx-project.json) that identifies the directory as a Salesforce DX project. This command generates the necessary configuration files and directories to get you started.\n\nBy default, the generated sfdx-project.json file sets the sourceApiVersion property to the default API version currently used by Salesforce CLI. To specify a different version, set the apiVersion configuration variable. For example: \"sf config set apiVersion=57.0 --global\".",
|
|
1746
1893
|
"examples": [
|
|
1747
|
-
"Generate a
|
|
1748
|
-
"
|
|
1749
|
-
"
|
|
1750
|
-
"Generate
|
|
1894
|
+
"Generate a project called \"mywork\":\n<%= config.bin %> <%= command.id %> --name mywork",
|
|
1895
|
+
"Similar to previous example, but generate the files in a directory called \"myapp\":\n<%= config.bin %> <%= command.id %> --name mywork --default-package-dir myapp",
|
|
1896
|
+
"Similar to prevoius example, but also generate a default package.xml manifest file:\n<%= config.bin %> <%= command.id %> --name mywork --default-package-dir myapp --manifest",
|
|
1897
|
+
"Generate a project with the minimum files and directories:\n<%= config.bin %> <%= command.id %> --name mywork --template empty",
|
|
1898
|
+
"Generate a project in which the Lightning Web Components use TypeScript rather than the default JavaScript:\n<%= config.bin %> <%= command.id %> --name mywork --lwc-language typescript"
|
|
1751
1899
|
],
|
|
1752
1900
|
"flags": {
|
|
1753
1901
|
"json": {
|
|
@@ -1765,68 +1913,40 @@
|
|
|
1765
1913
|
"multiple": false,
|
|
1766
1914
|
"type": "option"
|
|
1767
1915
|
},
|
|
1768
|
-
"
|
|
1769
|
-
"
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
"
|
|
1773
|
-
"
|
|
1774
|
-
"
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
"
|
|
1778
|
-
"required": false,
|
|
1779
|
-
"summary": "Developer name of the External Client Application associated with the app.",
|
|
1916
|
+
"name": {
|
|
1917
|
+
"aliases": [
|
|
1918
|
+
"projectname"
|
|
1919
|
+
],
|
|
1920
|
+
"char": "n",
|
|
1921
|
+
"deprecateAliases": true,
|
|
1922
|
+
"description": "Generates a project directory with this name; any valid directory name is accepted. Also sets the \"name\" property in the sfdx-project.json file to this name.",
|
|
1923
|
+
"name": "name",
|
|
1924
|
+
"required": true,
|
|
1925
|
+
"summary": "Name of the generated project.",
|
|
1780
1926
|
"hasDynamicHelp": false,
|
|
1781
1927
|
"multiple": false,
|
|
1782
1928
|
"type": "option"
|
|
1783
1929
|
},
|
|
1784
|
-
"
|
|
1785
|
-
"
|
|
1786
|
-
"
|
|
1930
|
+
"template": {
|
|
1931
|
+
"char": "t",
|
|
1932
|
+
"description": "The template determines the sample configuration files and directories that this command generates. For example, the empty template provides these files and directory to get you started.\n\n- .forceignore\n- config/project-scratch-def.json\n- sfdx-project.json\n- package.json\n- force-app (basic source directory structure)\n\nThe standard template provides a complete force-app directory structure so you know where to put your source. It also provides additional files and scripts, especially useful when using Salesforce Extensions for VS Code. For example:\n\n- .gitignore: Use Git for version control.\n- .prettierrc and .prettierignore: Use Prettier to format your Aura components.\n- .vscode/extensions.json: When launched, Visual Studio Code, prompts you to install the recommended extensions for your project.\n- .vscode/launch.json: Configures Replay Debugger.\n- .vscode/settings.json: Additional configuration settings.\n\nThe analytics template provides similar files and the force-app/main/default/waveTemplates directory.\n\nThe reactinternalapp and reactexternalapp templates provide React-based project scaffolding for internal and external UI bundle use cases.\n\nThe angularinternalapp and angularexternalapp templates provide Angular-based project scaffolding for internal and external UI bundle use cases.\n\nThe agent template provides project scaffolding for building Agentforce agents and includes a sample agent called Local Info Agent.",
|
|
1933
|
+
"name": "template",
|
|
1934
|
+
"summary": "Template to use for project creation.",
|
|
1935
|
+
"default": "standard",
|
|
1787
1936
|
"hasDynamicHelp": false,
|
|
1788
1937
|
"multiple": false,
|
|
1789
1938
|
"options": [
|
|
1790
|
-
"
|
|
1791
|
-
"
|
|
1939
|
+
"standard",
|
|
1940
|
+
"empty",
|
|
1941
|
+
"analytics",
|
|
1942
|
+
"reactinternalapp",
|
|
1943
|
+
"reactexternalapp",
|
|
1944
|
+
"angularinternalapp",
|
|
1945
|
+
"angularexternalapp",
|
|
1946
|
+
"agent"
|
|
1792
1947
|
],
|
|
1793
1948
|
"type": "option"
|
|
1794
1949
|
},
|
|
1795
|
-
"host-domains": {
|
|
1796
|
-
"name": "host-domains",
|
|
1797
|
-
"summary": "HTTP or HTTPS origin of an external host page that embeds the app. Repeat the flag to specify more than one. Replaces, rather than merges with, any hostDomains in the --definition-file.",
|
|
1798
|
-
"hasDynamicHelp": false,
|
|
1799
|
-
"multiple": true,
|
|
1800
|
-
"type": "option"
|
|
1801
|
-
},
|
|
1802
|
-
"components": {
|
|
1803
|
-
"name": "components",
|
|
1804
|
-
"summary": "Name of a Lightning web component exposed by the app. Repeat the flag to specify more than one. Replaces, rather than merges with, any components in the --definition-file.",
|
|
1805
|
-
"hasDynamicHelp": false,
|
|
1806
|
-
"multiple": true,
|
|
1807
|
-
"type": "option"
|
|
1808
|
-
},
|
|
1809
|
-
"eca-contact-email": {
|
|
1810
|
-
"name": "eca-contact-email",
|
|
1811
|
-
"summary": "Contact email for the External Client Application.",
|
|
1812
|
-
"hasDynamicHelp": false,
|
|
1813
|
-
"multiple": false,
|
|
1814
|
-
"type": "option"
|
|
1815
|
-
},
|
|
1816
|
-
"eca-callback-url": {
|
|
1817
|
-
"name": "eca-callback-url",
|
|
1818
|
-
"summary": "OAuth callback URL for the External Client Application.",
|
|
1819
|
-
"hasDynamicHelp": false,
|
|
1820
|
-
"multiple": false,
|
|
1821
|
-
"type": "option"
|
|
1822
|
-
},
|
|
1823
|
-
"definition-file": {
|
|
1824
|
-
"name": "definition-file",
|
|
1825
|
-
"summary": "Path to a JSON file describing the Lightning Out 2.0 app. Individual flags, when supplied, override the corresponding value in this file.",
|
|
1826
|
-
"hasDynamicHelp": false,
|
|
1827
|
-
"multiple": false,
|
|
1828
|
-
"type": "option"
|
|
1829
|
-
},
|
|
1830
1950
|
"output-dir": {
|
|
1831
1951
|
"aliases": [
|
|
1832
1952
|
"outputdir"
|
|
@@ -1841,131 +1961,11 @@
|
|
|
1841
1961
|
"multiple": false,
|
|
1842
1962
|
"type": "option"
|
|
1843
1963
|
},
|
|
1844
|
-
"
|
|
1845
|
-
"
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
"
|
|
1849
|
-
"name": "loglevel",
|
|
1850
|
-
"hasDynamicHelp": false,
|
|
1851
|
-
"multiple": false,
|
|
1852
|
-
"type": "option"
|
|
1853
|
-
}
|
|
1854
|
-
},
|
|
1855
|
-
"hasDynamicHelp": false,
|
|
1856
|
-
"hidden": true,
|
|
1857
|
-
"hiddenAliases": [],
|
|
1858
|
-
"id": "template:generate:lightning-out",
|
|
1859
|
-
"pluginAlias": "@salesforce/plugin-templates",
|
|
1860
|
-
"pluginName": "@salesforce/plugin-templates",
|
|
1861
|
-
"pluginType": "core",
|
|
1862
|
-
"state": "beta",
|
|
1863
|
-
"strict": true,
|
|
1864
|
-
"summary": "Generate the required metadata to scaffold a Lightning Out 2.0 app.",
|
|
1865
|
-
"enableJsonFlag": true,
|
|
1866
|
-
"isESM": true,
|
|
1867
|
-
"relativePath": [
|
|
1868
|
-
"lib",
|
|
1869
|
-
"commands",
|
|
1870
|
-
"template",
|
|
1871
|
-
"generate",
|
|
1872
|
-
"lightning-out",
|
|
1873
|
-
"index.js"
|
|
1874
|
-
],
|
|
1875
|
-
"aliasPermutations": [],
|
|
1876
|
-
"permutations": [
|
|
1877
|
-
"template:generate:lightning-out",
|
|
1878
|
-
"generate:template:lightning-out",
|
|
1879
|
-
"generate:lightning-out:template",
|
|
1880
|
-
"template:lightning-out:generate",
|
|
1881
|
-
"lightning-out:template:generate",
|
|
1882
|
-
"lightning-out:generate:template"
|
|
1883
|
-
]
|
|
1884
|
-
},
|
|
1885
|
-
"template:generate:project": {
|
|
1886
|
-
"aliases": [
|
|
1887
|
-
"force:project:create",
|
|
1888
|
-
"project:generate"
|
|
1889
|
-
],
|
|
1890
|
-
"args": {},
|
|
1891
|
-
"deprecateAliases": true,
|
|
1892
|
-
"description": "A Salesforce DX project has a specific structure and a configuration file (sfdx-project.json) that identifies the directory as a Salesforce DX project. This command generates the necessary configuration files and directories to get you started.\n\nBy default, the generated sfdx-project.json file sets the sourceApiVersion property to the default API version currently used by Salesforce CLI. To specify a different version, set the apiVersion configuration variable. For example: \"sf config set apiVersion=57.0 --global\".",
|
|
1893
|
-
"examples": [
|
|
1894
|
-
"Generate a project called \"mywork\":\n<%= config.bin %> <%= command.id %> --name mywork",
|
|
1895
|
-
"Similar to previous example, but generate the files in a directory called \"myapp\":\n<%= config.bin %> <%= command.id %> --name mywork --default-package-dir myapp",
|
|
1896
|
-
"Similar to prevoius example, but also generate a default package.xml manifest file:\n<%= config.bin %> <%= command.id %> --name mywork --default-package-dir myapp --manifest",
|
|
1897
|
-
"Generate a project with the minimum files and directories:\n<%= config.bin %> <%= command.id %> --name mywork --template empty",
|
|
1898
|
-
"Generate a project in which the Lightning Web Components use TypeScript rather than the default JavaScript:\n<%= config.bin %> <%= command.id %> --name mywork --lwc-language typescript"
|
|
1899
|
-
],
|
|
1900
|
-
"flags": {
|
|
1901
|
-
"json": {
|
|
1902
|
-
"description": "Format output as json.",
|
|
1903
|
-
"helpGroup": "GLOBAL",
|
|
1904
|
-
"name": "json",
|
|
1905
|
-
"allowNo": false,
|
|
1906
|
-
"type": "boolean"
|
|
1907
|
-
},
|
|
1908
|
-
"flags-dir": {
|
|
1909
|
-
"helpGroup": "GLOBAL",
|
|
1910
|
-
"name": "flags-dir",
|
|
1911
|
-
"summary": "Import flag values from a directory.",
|
|
1912
|
-
"hasDynamicHelp": false,
|
|
1913
|
-
"multiple": false,
|
|
1914
|
-
"type": "option"
|
|
1915
|
-
},
|
|
1916
|
-
"name": {
|
|
1917
|
-
"aliases": [
|
|
1918
|
-
"projectname"
|
|
1919
|
-
],
|
|
1920
|
-
"char": "n",
|
|
1921
|
-
"deprecateAliases": true,
|
|
1922
|
-
"description": "Generates a project directory with this name; any valid directory name is accepted. Also sets the \"name\" property in the sfdx-project.json file to this name.",
|
|
1923
|
-
"name": "name",
|
|
1924
|
-
"required": true,
|
|
1925
|
-
"summary": "Name of the generated project.",
|
|
1926
|
-
"hasDynamicHelp": false,
|
|
1927
|
-
"multiple": false,
|
|
1928
|
-
"type": "option"
|
|
1929
|
-
},
|
|
1930
|
-
"template": {
|
|
1931
|
-
"char": "t",
|
|
1932
|
-
"description": "The template determines the sample configuration files and directories that this command generates. For example, the empty template provides these files and directory to get you started.\n\n- .forceignore\n- config/project-scratch-def.json\n- sfdx-project.json\n- package.json\n- force-app (basic source directory structure)\n\nThe standard template provides a complete force-app directory structure so you know where to put your source. It also provides additional files and scripts, especially useful when using Salesforce Extensions for VS Code. For example:\n\n- .gitignore: Use Git for version control.\n- .prettierrc and .prettierignore: Use Prettier to format your Aura components.\n- .vscode/extensions.json: When launched, Visual Studio Code, prompts you to install the recommended extensions for your project.\n- .vscode/launch.json: Configures Replay Debugger.\n- .vscode/settings.json: Additional configuration settings.\n\nThe analytics template provides similar files and the force-app/main/default/waveTemplates directory.\n\nThe reactinternalapp and reactexternalapp templates provide React-based project scaffolding for internal and external UI bundle use cases.\n\nThe angularinternalapp and angularexternalapp templates provide Angular-based project scaffolding for internal and external UI bundle use cases.\n\nThe agent template provides project scaffolding for building Agentforce agents and includes a sample agent called Local Info Agent.",
|
|
1933
|
-
"name": "template",
|
|
1934
|
-
"summary": "Template to use for project creation.",
|
|
1935
|
-
"default": "standard",
|
|
1936
|
-
"hasDynamicHelp": false,
|
|
1937
|
-
"multiple": false,
|
|
1938
|
-
"options": [
|
|
1939
|
-
"standard",
|
|
1940
|
-
"empty",
|
|
1941
|
-
"analytics",
|
|
1942
|
-
"reactinternalapp",
|
|
1943
|
-
"reactexternalapp",
|
|
1944
|
-
"angularinternalapp",
|
|
1945
|
-
"angularexternalapp",
|
|
1946
|
-
"agent"
|
|
1947
|
-
],
|
|
1948
|
-
"type": "option"
|
|
1949
|
-
},
|
|
1950
|
-
"output-dir": {
|
|
1951
|
-
"aliases": [
|
|
1952
|
-
"outputdir"
|
|
1953
|
-
],
|
|
1954
|
-
"char": "d",
|
|
1955
|
-
"deprecateAliases": true,
|
|
1956
|
-
"description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
|
|
1957
|
-
"name": "output-dir",
|
|
1958
|
-
"summary": "Directory for saving the created files.",
|
|
1959
|
-
"default": ".",
|
|
1960
|
-
"hasDynamicHelp": false,
|
|
1961
|
-
"multiple": false,
|
|
1962
|
-
"type": "option"
|
|
1963
|
-
},
|
|
1964
|
-
"namespace": {
|
|
1965
|
-
"char": "s",
|
|
1966
|
-
"name": "namespace",
|
|
1967
|
-
"summary": "Namespace associated with this project and any connected scratch orgs.",
|
|
1968
|
-
"default": "",
|
|
1964
|
+
"namespace": {
|
|
1965
|
+
"char": "s",
|
|
1966
|
+
"name": "namespace",
|
|
1967
|
+
"summary": "Namespace associated with this project and any connected scratch orgs.",
|
|
1968
|
+
"default": "",
|
|
1969
1969
|
"hasDynamicHelp": false,
|
|
1970
1970
|
"multiple": false,
|
|
1971
1971
|
"type": "option"
|
|
@@ -2075,135 +2075,6 @@
|
|
|
2075
2075
|
"project:generate:template"
|
|
2076
2076
|
]
|
|
2077
2077
|
},
|
|
2078
|
-
"template:generate:static-resource": {
|
|
2079
|
-
"aliases": [
|
|
2080
|
-
"force:staticresource:create",
|
|
2081
|
-
"static-resource:generate"
|
|
2082
|
-
],
|
|
2083
|
-
"args": {},
|
|
2084
|
-
"deprecateAliases": true,
|
|
2085
|
-
"description": "Generates the metadata resource file in the specified directory or the current working directory. Static resource files must be contained in a parent directory called \"staticresources\" 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.",
|
|
2086
|
-
"examples": [
|
|
2087
|
-
"Generate the metadata file for a static resource called MyResource in the current directory:\n<%= config.bin %> <%= command.id %> --name MyResource",
|
|
2088
|
-
"Similar to previous example, but specifies a MIME type of application/json:\n<%= config.bin %> <%= command.id %> --name MyResource --type application/json",
|
|
2089
|
-
"Generate the resource file in the \"force-app/main/default/staticresources\" directory:\n<%= config.bin %> <%= command.id %> --name MyResource --output-dir force-app/main/default/staticresources"
|
|
2090
|
-
],
|
|
2091
|
-
"flags": {
|
|
2092
|
-
"json": {
|
|
2093
|
-
"description": "Format output as json.",
|
|
2094
|
-
"helpGroup": "GLOBAL",
|
|
2095
|
-
"name": "json",
|
|
2096
|
-
"allowNo": false,
|
|
2097
|
-
"type": "boolean"
|
|
2098
|
-
},
|
|
2099
|
-
"flags-dir": {
|
|
2100
|
-
"helpGroup": "GLOBAL",
|
|
2101
|
-
"name": "flags-dir",
|
|
2102
|
-
"summary": "Import flag values from a directory.",
|
|
2103
|
-
"hasDynamicHelp": false,
|
|
2104
|
-
"multiple": false,
|
|
2105
|
-
"type": "option"
|
|
2106
|
-
},
|
|
2107
|
-
"name": {
|
|
2108
|
-
"aliases": [
|
|
2109
|
-
"resourcename"
|
|
2110
|
-
],
|
|
2111
|
-
"char": "n",
|
|
2112
|
-
"deprecateAliases": true,
|
|
2113
|
-
"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.",
|
|
2114
|
-
"name": "name",
|
|
2115
|
-
"required": true,
|
|
2116
|
-
"summary": "Name of the generated static resource.",
|
|
2117
|
-
"hasDynamicHelp": false,
|
|
2118
|
-
"multiple": false,
|
|
2119
|
-
"type": "option"
|
|
2120
|
-
},
|
|
2121
|
-
"type": {
|
|
2122
|
-
"aliases": [
|
|
2123
|
-
"contenttype"
|
|
2124
|
-
],
|
|
2125
|
-
"deprecateAliases": true,
|
|
2126
|
-
"description": "Must be a valid MIME type such as application/json, application/javascript, application/zip, text/plain, text/css, etc.",
|
|
2127
|
-
"name": "type",
|
|
2128
|
-
"summary": "Content type (mime type) of the generated static resource.",
|
|
2129
|
-
"default": "application/zip",
|
|
2130
|
-
"hasDynamicHelp": false,
|
|
2131
|
-
"multiple": false,
|
|
2132
|
-
"type": "option"
|
|
2133
|
-
},
|
|
2134
|
-
"output-dir": {
|
|
2135
|
-
"aliases": [
|
|
2136
|
-
"outputdir"
|
|
2137
|
-
],
|
|
2138
|
-
"char": "d",
|
|
2139
|
-
"deprecateAliases": true,
|
|
2140
|
-
"description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
|
|
2141
|
-
"name": "output-dir",
|
|
2142
|
-
"summary": "Directory for saving the created files.",
|
|
2143
|
-
"default": ".",
|
|
2144
|
-
"hasDynamicHelp": false,
|
|
2145
|
-
"multiple": false,
|
|
2146
|
-
"type": "option"
|
|
2147
|
-
},
|
|
2148
|
-
"api-version": {
|
|
2149
|
-
"aliases": [
|
|
2150
|
-
"apiversion"
|
|
2151
|
-
],
|
|
2152
|
-
"deprecateAliases": true,
|
|
2153
|
-
"description": "Override the api version used for api requests made by this command",
|
|
2154
|
-
"name": "api-version",
|
|
2155
|
-
"hasDynamicHelp": false,
|
|
2156
|
-
"multiple": false,
|
|
2157
|
-
"type": "option"
|
|
2158
|
-
},
|
|
2159
|
-
"loglevel": {
|
|
2160
|
-
"deprecated": {
|
|
2161
|
-
"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."
|
|
2162
|
-
},
|
|
2163
|
-
"hidden": true,
|
|
2164
|
-
"name": "loglevel",
|
|
2165
|
-
"hasDynamicHelp": false,
|
|
2166
|
-
"multiple": false,
|
|
2167
|
-
"type": "option"
|
|
2168
|
-
}
|
|
2169
|
-
},
|
|
2170
|
-
"hasDynamicHelp": false,
|
|
2171
|
-
"hiddenAliases": [],
|
|
2172
|
-
"id": "template:generate:static-resource",
|
|
2173
|
-
"pluginAlias": "@salesforce/plugin-templates",
|
|
2174
|
-
"pluginName": "@salesforce/plugin-templates",
|
|
2175
|
-
"pluginType": "core",
|
|
2176
|
-
"strict": true,
|
|
2177
|
-
"summary": "Generate a static resource.",
|
|
2178
|
-
"enableJsonFlag": true,
|
|
2179
|
-
"isESM": true,
|
|
2180
|
-
"relativePath": [
|
|
2181
|
-
"lib",
|
|
2182
|
-
"commands",
|
|
2183
|
-
"template",
|
|
2184
|
-
"generate",
|
|
2185
|
-
"static-resource",
|
|
2186
|
-
"index.js"
|
|
2187
|
-
],
|
|
2188
|
-
"aliasPermutations": [
|
|
2189
|
-
"force:staticresource:create",
|
|
2190
|
-
"staticresource:force:create",
|
|
2191
|
-
"staticresource:create:force",
|
|
2192
|
-
"force:create:staticresource",
|
|
2193
|
-
"create:force:staticresource",
|
|
2194
|
-
"create:staticresource:force",
|
|
2195
|
-
"static-resource:generate",
|
|
2196
|
-
"generate:static-resource"
|
|
2197
|
-
],
|
|
2198
|
-
"permutations": [
|
|
2199
|
-
"template:generate:static-resource",
|
|
2200
|
-
"generate:template:static-resource",
|
|
2201
|
-
"generate:static-resource:template",
|
|
2202
|
-
"template:static-resource:generate",
|
|
2203
|
-
"static-resource:template:generate",
|
|
2204
|
-
"static-resource:generate:template"
|
|
2205
|
-
]
|
|
2206
|
-
},
|
|
2207
2078
|
"template:generate:ui-bundle": {
|
|
2208
2079
|
"aliases": [],
|
|
2209
2080
|
"args": {},
|
|
@@ -2811,7 +2682,136 @@
|
|
|
2811
2682
|
"page:visualforce:template:generate",
|
|
2812
2683
|
"page:visualforce:generate:template"
|
|
2813
2684
|
]
|
|
2685
|
+
},
|
|
2686
|
+
"template:generate:static-resource": {
|
|
2687
|
+
"aliases": [
|
|
2688
|
+
"force:staticresource:create",
|
|
2689
|
+
"static-resource:generate"
|
|
2690
|
+
],
|
|
2691
|
+
"args": {},
|
|
2692
|
+
"deprecateAliases": true,
|
|
2693
|
+
"description": "Generates the metadata resource file in the specified directory or the current working directory. Static resource files must be contained in a parent directory called \"staticresources\" 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.",
|
|
2694
|
+
"examples": [
|
|
2695
|
+
"Generate the metadata file for a static resource called MyResource in the current directory:\n<%= config.bin %> <%= command.id %> --name MyResource",
|
|
2696
|
+
"Similar to previous example, but specifies a MIME type of application/json:\n<%= config.bin %> <%= command.id %> --name MyResource --type application/json",
|
|
2697
|
+
"Generate the resource file in the \"force-app/main/default/staticresources\" directory:\n<%= config.bin %> <%= command.id %> --name MyResource --output-dir force-app/main/default/staticresources"
|
|
2698
|
+
],
|
|
2699
|
+
"flags": {
|
|
2700
|
+
"json": {
|
|
2701
|
+
"description": "Format output as json.",
|
|
2702
|
+
"helpGroup": "GLOBAL",
|
|
2703
|
+
"name": "json",
|
|
2704
|
+
"allowNo": false,
|
|
2705
|
+
"type": "boolean"
|
|
2706
|
+
},
|
|
2707
|
+
"flags-dir": {
|
|
2708
|
+
"helpGroup": "GLOBAL",
|
|
2709
|
+
"name": "flags-dir",
|
|
2710
|
+
"summary": "Import flag values from a directory.",
|
|
2711
|
+
"hasDynamicHelp": false,
|
|
2712
|
+
"multiple": false,
|
|
2713
|
+
"type": "option"
|
|
2714
|
+
},
|
|
2715
|
+
"name": {
|
|
2716
|
+
"aliases": [
|
|
2717
|
+
"resourcename"
|
|
2718
|
+
],
|
|
2719
|
+
"char": "n",
|
|
2720
|
+
"deprecateAliases": true,
|
|
2721
|
+
"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.",
|
|
2722
|
+
"name": "name",
|
|
2723
|
+
"required": true,
|
|
2724
|
+
"summary": "Name of the generated static resource.",
|
|
2725
|
+
"hasDynamicHelp": false,
|
|
2726
|
+
"multiple": false,
|
|
2727
|
+
"type": "option"
|
|
2728
|
+
},
|
|
2729
|
+
"type": {
|
|
2730
|
+
"aliases": [
|
|
2731
|
+
"contenttype"
|
|
2732
|
+
],
|
|
2733
|
+
"deprecateAliases": true,
|
|
2734
|
+
"description": "Must be a valid MIME type such as application/json, application/javascript, application/zip, text/plain, text/css, etc.",
|
|
2735
|
+
"name": "type",
|
|
2736
|
+
"summary": "Content type (mime type) of the generated static resource.",
|
|
2737
|
+
"default": "application/zip",
|
|
2738
|
+
"hasDynamicHelp": false,
|
|
2739
|
+
"multiple": false,
|
|
2740
|
+
"type": "option"
|
|
2741
|
+
},
|
|
2742
|
+
"output-dir": {
|
|
2743
|
+
"aliases": [
|
|
2744
|
+
"outputdir"
|
|
2745
|
+
],
|
|
2746
|
+
"char": "d",
|
|
2747
|
+
"deprecateAliases": true,
|
|
2748
|
+
"description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
|
|
2749
|
+
"name": "output-dir",
|
|
2750
|
+
"summary": "Directory for saving the created files.",
|
|
2751
|
+
"default": ".",
|
|
2752
|
+
"hasDynamicHelp": false,
|
|
2753
|
+
"multiple": false,
|
|
2754
|
+
"type": "option"
|
|
2755
|
+
},
|
|
2756
|
+
"api-version": {
|
|
2757
|
+
"aliases": [
|
|
2758
|
+
"apiversion"
|
|
2759
|
+
],
|
|
2760
|
+
"deprecateAliases": true,
|
|
2761
|
+
"description": "Override the api version used for api requests made by this command",
|
|
2762
|
+
"name": "api-version",
|
|
2763
|
+
"hasDynamicHelp": false,
|
|
2764
|
+
"multiple": false,
|
|
2765
|
+
"type": "option"
|
|
2766
|
+
},
|
|
2767
|
+
"loglevel": {
|
|
2768
|
+
"deprecated": {
|
|
2769
|
+
"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."
|
|
2770
|
+
},
|
|
2771
|
+
"hidden": true,
|
|
2772
|
+
"name": "loglevel",
|
|
2773
|
+
"hasDynamicHelp": false,
|
|
2774
|
+
"multiple": false,
|
|
2775
|
+
"type": "option"
|
|
2776
|
+
}
|
|
2777
|
+
},
|
|
2778
|
+
"hasDynamicHelp": false,
|
|
2779
|
+
"hiddenAliases": [],
|
|
2780
|
+
"id": "template:generate:static-resource",
|
|
2781
|
+
"pluginAlias": "@salesforce/plugin-templates",
|
|
2782
|
+
"pluginName": "@salesforce/plugin-templates",
|
|
2783
|
+
"pluginType": "core",
|
|
2784
|
+
"strict": true,
|
|
2785
|
+
"summary": "Generate a static resource.",
|
|
2786
|
+
"enableJsonFlag": true,
|
|
2787
|
+
"isESM": true,
|
|
2788
|
+
"relativePath": [
|
|
2789
|
+
"lib",
|
|
2790
|
+
"commands",
|
|
2791
|
+
"template",
|
|
2792
|
+
"generate",
|
|
2793
|
+
"static-resource",
|
|
2794
|
+
"index.js"
|
|
2795
|
+
],
|
|
2796
|
+
"aliasPermutations": [
|
|
2797
|
+
"force:staticresource:create",
|
|
2798
|
+
"staticresource:force:create",
|
|
2799
|
+
"staticresource:create:force",
|
|
2800
|
+
"force:create:staticresource",
|
|
2801
|
+
"create:force:staticresource",
|
|
2802
|
+
"create:staticresource:force",
|
|
2803
|
+
"static-resource:generate",
|
|
2804
|
+
"generate:static-resource"
|
|
2805
|
+
],
|
|
2806
|
+
"permutations": [
|
|
2807
|
+
"template:generate:static-resource",
|
|
2808
|
+
"generate:template:static-resource",
|
|
2809
|
+
"generate:static-resource:template",
|
|
2810
|
+
"template:static-resource:generate",
|
|
2811
|
+
"static-resource:template:generate",
|
|
2812
|
+
"static-resource:generate:template"
|
|
2813
|
+
]
|
|
2814
2814
|
}
|
|
2815
2815
|
},
|
|
2816
|
-
"version": "57.4.
|
|
2816
|
+
"version": "57.4.6"
|
|
2817
2817
|
}
|
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.
|
|
4
|
+
"version": "57.4.6",
|
|
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.
|
|
11
|
+
"@salesforce/sf-plugins-core": "^13.0.5",
|
|
12
12
|
"@salesforce/templates": "^66.16.0"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"@oclif/plugin-command-snapshot": "^6.0.0",
|
|
16
16
|
"@salesforce/cli-plugins-testkit": "^5.3.66",
|
|
17
|
-
"@salesforce/dev-scripts": "^
|
|
18
|
-
"@salesforce/plugin-command-reference": "^3.1.
|
|
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.
|
|
24
|
+
"eslint": "^10.12.0",
|
|
25
25
|
"eslint-config-salesforce-typescript": "^7.0.0",
|
|
26
|
-
"eslint-plugin-sf-plugin": "^3.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.
|
|
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.6.crt",
|
|
263
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/57.4.6.sig"
|
|
264
264
|
}
|
|
265
265
|
}
|