@salesforce/plugin-templates 57.0.3 → 57.0.4
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 +15 -15
- package/oclif.manifest.json +194 -194
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -177,7 +177,7 @@ FLAG DESCRIPTIONS
|
|
|
177
177
|
directory.
|
|
178
178
|
```
|
|
179
179
|
|
|
180
|
-
_See code: [src/commands/template/generate/analytics/template.ts](https://github.com/salesforcecli/plugin-templates/blob/57.0.
|
|
180
|
+
_See code: [src/commands/template/generate/analytics/template.ts](https://github.com/salesforcecli/plugin-templates/blob/57.0.4/src/commands/template/generate/analytics/template.ts)_
|
|
181
181
|
|
|
182
182
|
## `sf template generate apex class`
|
|
183
183
|
|
|
@@ -239,7 +239,7 @@ FLAG DESCRIPTIONS
|
|
|
239
239
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
240
240
|
```
|
|
241
241
|
|
|
242
|
-
_See code: [src/commands/template/generate/apex/class.ts](https://github.com/salesforcecli/plugin-templates/blob/57.0.
|
|
242
|
+
_See code: [src/commands/template/generate/apex/class.ts](https://github.com/salesforcecli/plugin-templates/blob/57.0.4/src/commands/template/generate/apex/class.ts)_
|
|
243
243
|
|
|
244
244
|
## `sf template generate apex trigger`
|
|
245
245
|
|
|
@@ -309,7 +309,7 @@ FLAG DESCRIPTIONS
|
|
|
309
309
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
310
310
|
```
|
|
311
311
|
|
|
312
|
-
_See code: [src/commands/template/generate/apex/trigger.ts](https://github.com/salesforcecli/plugin-templates/blob/57.0.
|
|
312
|
+
_See code: [src/commands/template/generate/apex/trigger.ts](https://github.com/salesforcecli/plugin-templates/blob/57.0.4/src/commands/template/generate/apex/trigger.ts)_
|
|
313
313
|
|
|
314
314
|
## `sf template generate digital-experience site`
|
|
315
315
|
|
|
@@ -363,7 +363,7 @@ FLAG DESCRIPTIONS
|
|
|
363
363
|
project, defaults to the current directory.
|
|
364
364
|
```
|
|
365
365
|
|
|
366
|
-
_See code: [src/commands/template/generate/digital-experience/site.ts](https://github.com/salesforcecli/plugin-templates/blob/57.0.
|
|
366
|
+
_See code: [src/commands/template/generate/digital-experience/site.ts](https://github.com/salesforcecli/plugin-templates/blob/57.0.4/src/commands/template/generate/digital-experience/site.ts)_
|
|
367
367
|
|
|
368
368
|
## `sf template generate flexipage`
|
|
369
369
|
|
|
@@ -445,7 +445,7 @@ FLAG DESCRIPTIONS
|
|
|
445
445
|
'Custom_Object__c'. This sets the `sobjectType` field in the FlexiPage metadata.
|
|
446
446
|
```
|
|
447
447
|
|
|
448
|
-
_See code: [src/commands/template/generate/flexipage/index.ts](https://github.com/salesforcecli/plugin-templates/blob/57.0.
|
|
448
|
+
_See code: [src/commands/template/generate/flexipage/index.ts](https://github.com/salesforcecli/plugin-templates/blob/57.0.4/src/commands/template/generate/flexipage/index.ts)_
|
|
449
449
|
|
|
450
450
|
## `sf template generate lightning app`
|
|
451
451
|
|
|
@@ -503,7 +503,7 @@ FLAG DESCRIPTIONS
|
|
|
503
503
|
field in the DX project's "sfdx-project.json" file.
|
|
504
504
|
```
|
|
505
505
|
|
|
506
|
-
_See code: [src/commands/template/generate/lightning/app.ts](https://github.com/salesforcecli/plugin-templates/blob/57.0.
|
|
506
|
+
_See code: [src/commands/template/generate/lightning/app.ts](https://github.com/salesforcecli/plugin-templates/blob/57.0.4/src/commands/template/generate/lightning/app.ts)_
|
|
507
507
|
|
|
508
508
|
## `sf template generate lightning component`
|
|
509
509
|
|
|
@@ -580,7 +580,7 @@ FLAG DESCRIPTIONS
|
|
|
580
580
|
field in the DX project's "sfdx-project.json" file.
|
|
581
581
|
```
|
|
582
582
|
|
|
583
|
-
_See code: [src/commands/template/generate/lightning/component.ts](https://github.com/salesforcecli/plugin-templates/blob/57.0.
|
|
583
|
+
_See code: [src/commands/template/generate/lightning/component.ts](https://github.com/salesforcecli/plugin-templates/blob/57.0.4/src/commands/template/generate/lightning/component.ts)_
|
|
584
584
|
|
|
585
585
|
## `sf template generate lightning event`
|
|
586
586
|
|
|
@@ -638,7 +638,7 @@ FLAG DESCRIPTIONS
|
|
|
638
638
|
field in the DX project's "sfdx-project.json" file.
|
|
639
639
|
```
|
|
640
640
|
|
|
641
|
-
_See code: [src/commands/template/generate/lightning/event.ts](https://github.com/salesforcecli/plugin-templates/blob/57.0.
|
|
641
|
+
_See code: [src/commands/template/generate/lightning/event.ts](https://github.com/salesforcecli/plugin-templates/blob/57.0.4/src/commands/template/generate/lightning/event.ts)_
|
|
642
642
|
|
|
643
643
|
## `sf template generate lightning interface`
|
|
644
644
|
|
|
@@ -696,7 +696,7 @@ FLAG DESCRIPTIONS
|
|
|
696
696
|
field in the DX project's "sfdx-project.json" file.
|
|
697
697
|
```
|
|
698
698
|
|
|
699
|
-
_See code: [src/commands/template/generate/lightning/interface.ts](https://github.com/salesforcecli/plugin-templates/blob/57.0.
|
|
699
|
+
_See code: [src/commands/template/generate/lightning/interface.ts](https://github.com/salesforcecli/plugin-templates/blob/57.0.4/src/commands/template/generate/lightning/interface.ts)_
|
|
700
700
|
|
|
701
701
|
## `sf template generate lightning test`
|
|
702
702
|
|
|
@@ -754,7 +754,7 @@ FLAG DESCRIPTIONS
|
|
|
754
754
|
field in the DX project's "sfdx-project.json" file.
|
|
755
755
|
```
|
|
756
756
|
|
|
757
|
-
_See code: [src/commands/template/generate/lightning/test.ts](https://github.com/salesforcecli/plugin-templates/blob/57.0.
|
|
757
|
+
_See code: [src/commands/template/generate/lightning/test.ts](https://github.com/salesforcecli/plugin-templates/blob/57.0.4/src/commands/template/generate/lightning/test.ts)_
|
|
758
758
|
|
|
759
759
|
## `sf template generate project`
|
|
760
760
|
|
|
@@ -886,7 +886,7 @@ FLAG DESCRIPTIONS
|
|
|
886
886
|
server-side type stripping.
|
|
887
887
|
```
|
|
888
888
|
|
|
889
|
-
_See code: [src/commands/template/generate/project/index.ts](https://github.com/salesforcecli/plugin-templates/blob/57.0.
|
|
889
|
+
_See code: [src/commands/template/generate/project/index.ts](https://github.com/salesforcecli/plugin-templates/blob/57.0.4/src/commands/template/generate/project/index.ts)_
|
|
890
890
|
|
|
891
891
|
## `sf template generate static-resource`
|
|
892
892
|
|
|
@@ -949,7 +949,7 @@ FLAG DESCRIPTIONS
|
|
|
949
949
|
etc.
|
|
950
950
|
```
|
|
951
951
|
|
|
952
|
-
_See code: [src/commands/template/generate/static-resource/index.ts](https://github.com/salesforcecli/plugin-templates/blob/57.0.
|
|
952
|
+
_See code: [src/commands/template/generate/static-resource/index.ts](https://github.com/salesforcecli/plugin-templates/blob/57.0.4/src/commands/template/generate/static-resource/index.ts)_
|
|
953
953
|
|
|
954
954
|
## `sf template generate ui-bundle`
|
|
955
955
|
|
|
@@ -1038,7 +1038,7 @@ FLAG DESCRIPTIONS
|
|
|
1038
1038
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
1039
1039
|
```
|
|
1040
1040
|
|
|
1041
|
-
_See code: [src/commands/template/generate/ui-bundle/index.ts](https://github.com/salesforcecli/plugin-templates/blob/57.0.
|
|
1041
|
+
_See code: [src/commands/template/generate/ui-bundle/index.ts](https://github.com/salesforcecli/plugin-templates/blob/57.0.4/src/commands/template/generate/ui-bundle/index.ts)_
|
|
1042
1042
|
|
|
1043
1043
|
## `sf template generate visualforce component`
|
|
1044
1044
|
|
|
@@ -1095,7 +1095,7 @@ FLAG DESCRIPTIONS
|
|
|
1095
1095
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
1096
1096
|
```
|
|
1097
1097
|
|
|
1098
|
-
_See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/57.0.
|
|
1098
|
+
_See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/57.0.4/src/commands/template/generate/visualforce/component.ts)_
|
|
1099
1099
|
|
|
1100
1100
|
## `sf template generate visualforce page`
|
|
1101
1101
|
|
|
@@ -1146,6 +1146,6 @@ FLAG DESCRIPTIONS
|
|
|
1146
1146
|
The name can be up to 40 characters and must start with a letter.
|
|
1147
1147
|
```
|
|
1148
1148
|
|
|
1149
|
-
_See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/57.0.
|
|
1149
|
+
_See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/57.0.4/src/commands/template/generate/visualforce/page.ts)_
|
|
1150
1150
|
|
|
1151
1151
|
<!-- commandsstop -->
|
package/oclif.manifest.json
CHANGED
|
@@ -841,199 +841,6 @@
|
|
|
841
841
|
"flexipage:generate:template"
|
|
842
842
|
]
|
|
843
843
|
},
|
|
844
|
-
"template:generate:project": {
|
|
845
|
-
"aliases": [
|
|
846
|
-
"force:project:create",
|
|
847
|
-
"project:generate"
|
|
848
|
-
],
|
|
849
|
-
"args": {},
|
|
850
|
-
"deprecateAliases": true,
|
|
851
|
-
"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\".",
|
|
852
|
-
"examples": [
|
|
853
|
-
"Generate a project called \"mywork\":\n<%= config.bin %> <%= command.id %> --name mywork",
|
|
854
|
-
"Similar to previous example, but generate the files in a directory called \"myapp\":\n<%= config.bin %> <%= command.id %> --name mywork --default-package-dir myapp",
|
|
855
|
-
"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",
|
|
856
|
-
"Generate a project with the minimum files and directories:\n<%= config.bin %> <%= command.id %> --name mywork --template empty",
|
|
857
|
-
"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"
|
|
858
|
-
],
|
|
859
|
-
"flags": {
|
|
860
|
-
"json": {
|
|
861
|
-
"description": "Format output as json.",
|
|
862
|
-
"helpGroup": "GLOBAL",
|
|
863
|
-
"name": "json",
|
|
864
|
-
"allowNo": false,
|
|
865
|
-
"type": "boolean"
|
|
866
|
-
},
|
|
867
|
-
"flags-dir": {
|
|
868
|
-
"helpGroup": "GLOBAL",
|
|
869
|
-
"name": "flags-dir",
|
|
870
|
-
"summary": "Import flag values from a directory.",
|
|
871
|
-
"hasDynamicHelp": false,
|
|
872
|
-
"multiple": false,
|
|
873
|
-
"type": "option"
|
|
874
|
-
},
|
|
875
|
-
"name": {
|
|
876
|
-
"aliases": [
|
|
877
|
-
"projectname"
|
|
878
|
-
],
|
|
879
|
-
"char": "n",
|
|
880
|
-
"deprecateAliases": true,
|
|
881
|
-
"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.",
|
|
882
|
-
"name": "name",
|
|
883
|
-
"required": true,
|
|
884
|
-
"summary": "Name of the generated project.",
|
|
885
|
-
"hasDynamicHelp": false,
|
|
886
|
-
"multiple": false,
|
|
887
|
-
"type": "option"
|
|
888
|
-
},
|
|
889
|
-
"template": {
|
|
890
|
-
"char": "t",
|
|
891
|
-
"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.",
|
|
892
|
-
"name": "template",
|
|
893
|
-
"summary": "Template to use for project creation.",
|
|
894
|
-
"default": "standard",
|
|
895
|
-
"hasDynamicHelp": false,
|
|
896
|
-
"multiple": false,
|
|
897
|
-
"options": [
|
|
898
|
-
"standard",
|
|
899
|
-
"empty",
|
|
900
|
-
"analytics",
|
|
901
|
-
"reactinternalapp",
|
|
902
|
-
"reactexternalapp",
|
|
903
|
-
"angularinternalapp",
|
|
904
|
-
"angularexternalapp",
|
|
905
|
-
"agent"
|
|
906
|
-
],
|
|
907
|
-
"type": "option"
|
|
908
|
-
},
|
|
909
|
-
"output-dir": {
|
|
910
|
-
"aliases": [
|
|
911
|
-
"outputdir"
|
|
912
|
-
],
|
|
913
|
-
"char": "d",
|
|
914
|
-
"deprecateAliases": true,
|
|
915
|
-
"description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
|
|
916
|
-
"name": "output-dir",
|
|
917
|
-
"summary": "Directory for saving the created files.",
|
|
918
|
-
"default": ".",
|
|
919
|
-
"hasDynamicHelp": false,
|
|
920
|
-
"multiple": false,
|
|
921
|
-
"type": "option"
|
|
922
|
-
},
|
|
923
|
-
"namespace": {
|
|
924
|
-
"char": "s",
|
|
925
|
-
"name": "namespace",
|
|
926
|
-
"summary": "Namespace associated with this project and any connected scratch orgs.",
|
|
927
|
-
"default": "",
|
|
928
|
-
"hasDynamicHelp": false,
|
|
929
|
-
"multiple": false,
|
|
930
|
-
"type": "option"
|
|
931
|
-
},
|
|
932
|
-
"default-package-dir": {
|
|
933
|
-
"aliases": [
|
|
934
|
-
"defaultpackagedir"
|
|
935
|
-
],
|
|
936
|
-
"char": "p",
|
|
937
|
-
"deprecateAliases": true,
|
|
938
|
-
"description": "Metadata items such as classes and Lightning bundles are placed inside this folder.",
|
|
939
|
-
"name": "default-package-dir",
|
|
940
|
-
"summary": "Default package directory name.",
|
|
941
|
-
"default": "force-app",
|
|
942
|
-
"hasDynamicHelp": false,
|
|
943
|
-
"multiple": false,
|
|
944
|
-
"type": "option"
|
|
945
|
-
},
|
|
946
|
-
"manifest": {
|
|
947
|
-
"char": "x",
|
|
948
|
-
"description": "Generates a default manifest (package.xml) for fetching Apex, Visualforce, Lightning components, and static resources.",
|
|
949
|
-
"name": "manifest",
|
|
950
|
-
"summary": "Generate a manifest (package.xml) for change-set based development.",
|
|
951
|
-
"allowNo": false,
|
|
952
|
-
"type": "boolean"
|
|
953
|
-
},
|
|
954
|
-
"login-url": {
|
|
955
|
-
"aliases": [
|
|
956
|
-
"loginurl"
|
|
957
|
-
],
|
|
958
|
-
"char": "l",
|
|
959
|
-
"deprecateAliases": true,
|
|
960
|
-
"description": "Normally defaults to https://login.salesforce.com.",
|
|
961
|
-
"hidden": true,
|
|
962
|
-
"name": "login-url",
|
|
963
|
-
"summary": "Salesforce instance login URL.",
|
|
964
|
-
"default": "https://login.salesforce.com",
|
|
965
|
-
"hasDynamicHelp": false,
|
|
966
|
-
"multiple": false,
|
|
967
|
-
"type": "option"
|
|
968
|
-
},
|
|
969
|
-
"lwc-language": {
|
|
970
|
-
"description": "When set to `'typescript'`, generates TypeScript configuration files (tsconfig.json, package.json with TypeScript dependencies, and TypeScript-aware ESLint config). When you deploy the TypeScript-based Lightning Web Components, the TypeScript files are first compiled locally for validation and then the `.ts` files are deployed to your org for server-side type stripping.",
|
|
971
|
-
"name": "lwc-language",
|
|
972
|
-
"summary": "Language of the Lightning Web Components. If not specified, \"javascript\" is used.",
|
|
973
|
-
"hasDynamicHelp": false,
|
|
974
|
-
"multiple": false,
|
|
975
|
-
"options": [
|
|
976
|
-
"javascript",
|
|
977
|
-
"typescript"
|
|
978
|
-
],
|
|
979
|
-
"type": "option"
|
|
980
|
-
},
|
|
981
|
-
"loglevel": {
|
|
982
|
-
"deprecated": {
|
|
983
|
-
"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."
|
|
984
|
-
},
|
|
985
|
-
"hidden": true,
|
|
986
|
-
"name": "loglevel",
|
|
987
|
-
"hasDynamicHelp": false,
|
|
988
|
-
"multiple": false,
|
|
989
|
-
"type": "option"
|
|
990
|
-
},
|
|
991
|
-
"api-version": {
|
|
992
|
-
"description": "Override the api version used for api requests made by this command",
|
|
993
|
-
"name": "api-version",
|
|
994
|
-
"summary": "Will set this version as sourceApiVersion in the sfdx-project.json file",
|
|
995
|
-
"hasDynamicHelp": false,
|
|
996
|
-
"multiple": false,
|
|
997
|
-
"type": "option"
|
|
998
|
-
}
|
|
999
|
-
},
|
|
1000
|
-
"hasDynamicHelp": false,
|
|
1001
|
-
"hiddenAliases": [],
|
|
1002
|
-
"id": "template:generate:project",
|
|
1003
|
-
"pluginAlias": "@salesforce/plugin-templates",
|
|
1004
|
-
"pluginName": "@salesforce/plugin-templates",
|
|
1005
|
-
"pluginType": "core",
|
|
1006
|
-
"strict": true,
|
|
1007
|
-
"summary": "Generate a Salesforce DX project.",
|
|
1008
|
-
"enableJsonFlag": true,
|
|
1009
|
-
"isESM": true,
|
|
1010
|
-
"relativePath": [
|
|
1011
|
-
"lib",
|
|
1012
|
-
"commands",
|
|
1013
|
-
"template",
|
|
1014
|
-
"generate",
|
|
1015
|
-
"project",
|
|
1016
|
-
"index.js"
|
|
1017
|
-
],
|
|
1018
|
-
"aliasPermutations": [
|
|
1019
|
-
"force:project:create",
|
|
1020
|
-
"project:force:create",
|
|
1021
|
-
"project:create:force",
|
|
1022
|
-
"force:create:project",
|
|
1023
|
-
"create:force:project",
|
|
1024
|
-
"create:project:force",
|
|
1025
|
-
"project:generate",
|
|
1026
|
-
"generate:project"
|
|
1027
|
-
],
|
|
1028
|
-
"permutations": [
|
|
1029
|
-
"template:generate:project",
|
|
1030
|
-
"generate:template:project",
|
|
1031
|
-
"generate:project:template",
|
|
1032
|
-
"template:project:generate",
|
|
1033
|
-
"project:template:generate",
|
|
1034
|
-
"project:generate:template"
|
|
1035
|
-
]
|
|
1036
|
-
},
|
|
1037
844
|
"template:generate:lightning:app": {
|
|
1038
845
|
"aliases": [
|
|
1039
846
|
"force:lightning:app:create",
|
|
@@ -1932,6 +1739,199 @@
|
|
|
1932
1739
|
"test:lightning:generate:template"
|
|
1933
1740
|
]
|
|
1934
1741
|
},
|
|
1742
|
+
"template:generate:project": {
|
|
1743
|
+
"aliases": [
|
|
1744
|
+
"force:project:create",
|
|
1745
|
+
"project:generate"
|
|
1746
|
+
],
|
|
1747
|
+
"args": {},
|
|
1748
|
+
"deprecateAliases": true,
|
|
1749
|
+
"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\".",
|
|
1750
|
+
"examples": [
|
|
1751
|
+
"Generate a project called \"mywork\":\n<%= config.bin %> <%= command.id %> --name mywork",
|
|
1752
|
+
"Similar to previous example, but generate the files in a directory called \"myapp\":\n<%= config.bin %> <%= command.id %> --name mywork --default-package-dir myapp",
|
|
1753
|
+
"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",
|
|
1754
|
+
"Generate a project with the minimum files and directories:\n<%= config.bin %> <%= command.id %> --name mywork --template empty",
|
|
1755
|
+
"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"
|
|
1756
|
+
],
|
|
1757
|
+
"flags": {
|
|
1758
|
+
"json": {
|
|
1759
|
+
"description": "Format output as json.",
|
|
1760
|
+
"helpGroup": "GLOBAL",
|
|
1761
|
+
"name": "json",
|
|
1762
|
+
"allowNo": false,
|
|
1763
|
+
"type": "boolean"
|
|
1764
|
+
},
|
|
1765
|
+
"flags-dir": {
|
|
1766
|
+
"helpGroup": "GLOBAL",
|
|
1767
|
+
"name": "flags-dir",
|
|
1768
|
+
"summary": "Import flag values from a directory.",
|
|
1769
|
+
"hasDynamicHelp": false,
|
|
1770
|
+
"multiple": false,
|
|
1771
|
+
"type": "option"
|
|
1772
|
+
},
|
|
1773
|
+
"name": {
|
|
1774
|
+
"aliases": [
|
|
1775
|
+
"projectname"
|
|
1776
|
+
],
|
|
1777
|
+
"char": "n",
|
|
1778
|
+
"deprecateAliases": true,
|
|
1779
|
+
"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.",
|
|
1780
|
+
"name": "name",
|
|
1781
|
+
"required": true,
|
|
1782
|
+
"summary": "Name of the generated project.",
|
|
1783
|
+
"hasDynamicHelp": false,
|
|
1784
|
+
"multiple": false,
|
|
1785
|
+
"type": "option"
|
|
1786
|
+
},
|
|
1787
|
+
"template": {
|
|
1788
|
+
"char": "t",
|
|
1789
|
+
"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.",
|
|
1790
|
+
"name": "template",
|
|
1791
|
+
"summary": "Template to use for project creation.",
|
|
1792
|
+
"default": "standard",
|
|
1793
|
+
"hasDynamicHelp": false,
|
|
1794
|
+
"multiple": false,
|
|
1795
|
+
"options": [
|
|
1796
|
+
"standard",
|
|
1797
|
+
"empty",
|
|
1798
|
+
"analytics",
|
|
1799
|
+
"reactinternalapp",
|
|
1800
|
+
"reactexternalapp",
|
|
1801
|
+
"angularinternalapp",
|
|
1802
|
+
"angularexternalapp",
|
|
1803
|
+
"agent"
|
|
1804
|
+
],
|
|
1805
|
+
"type": "option"
|
|
1806
|
+
},
|
|
1807
|
+
"output-dir": {
|
|
1808
|
+
"aliases": [
|
|
1809
|
+
"outputdir"
|
|
1810
|
+
],
|
|
1811
|
+
"char": "d",
|
|
1812
|
+
"deprecateAliases": true,
|
|
1813
|
+
"description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
|
|
1814
|
+
"name": "output-dir",
|
|
1815
|
+
"summary": "Directory for saving the created files.",
|
|
1816
|
+
"default": ".",
|
|
1817
|
+
"hasDynamicHelp": false,
|
|
1818
|
+
"multiple": false,
|
|
1819
|
+
"type": "option"
|
|
1820
|
+
},
|
|
1821
|
+
"namespace": {
|
|
1822
|
+
"char": "s",
|
|
1823
|
+
"name": "namespace",
|
|
1824
|
+
"summary": "Namespace associated with this project and any connected scratch orgs.",
|
|
1825
|
+
"default": "",
|
|
1826
|
+
"hasDynamicHelp": false,
|
|
1827
|
+
"multiple": false,
|
|
1828
|
+
"type": "option"
|
|
1829
|
+
},
|
|
1830
|
+
"default-package-dir": {
|
|
1831
|
+
"aliases": [
|
|
1832
|
+
"defaultpackagedir"
|
|
1833
|
+
],
|
|
1834
|
+
"char": "p",
|
|
1835
|
+
"deprecateAliases": true,
|
|
1836
|
+
"description": "Metadata items such as classes and Lightning bundles are placed inside this folder.",
|
|
1837
|
+
"name": "default-package-dir",
|
|
1838
|
+
"summary": "Default package directory name.",
|
|
1839
|
+
"default": "force-app",
|
|
1840
|
+
"hasDynamicHelp": false,
|
|
1841
|
+
"multiple": false,
|
|
1842
|
+
"type": "option"
|
|
1843
|
+
},
|
|
1844
|
+
"manifest": {
|
|
1845
|
+
"char": "x",
|
|
1846
|
+
"description": "Generates a default manifest (package.xml) for fetching Apex, Visualforce, Lightning components, and static resources.",
|
|
1847
|
+
"name": "manifest",
|
|
1848
|
+
"summary": "Generate a manifest (package.xml) for change-set based development.",
|
|
1849
|
+
"allowNo": false,
|
|
1850
|
+
"type": "boolean"
|
|
1851
|
+
},
|
|
1852
|
+
"login-url": {
|
|
1853
|
+
"aliases": [
|
|
1854
|
+
"loginurl"
|
|
1855
|
+
],
|
|
1856
|
+
"char": "l",
|
|
1857
|
+
"deprecateAliases": true,
|
|
1858
|
+
"description": "Normally defaults to https://login.salesforce.com.",
|
|
1859
|
+
"hidden": true,
|
|
1860
|
+
"name": "login-url",
|
|
1861
|
+
"summary": "Salesforce instance login URL.",
|
|
1862
|
+
"default": "https://login.salesforce.com",
|
|
1863
|
+
"hasDynamicHelp": false,
|
|
1864
|
+
"multiple": false,
|
|
1865
|
+
"type": "option"
|
|
1866
|
+
},
|
|
1867
|
+
"lwc-language": {
|
|
1868
|
+
"description": "When set to `'typescript'`, generates TypeScript configuration files (tsconfig.json, package.json with TypeScript dependencies, and TypeScript-aware ESLint config). When you deploy the TypeScript-based Lightning Web Components, the TypeScript files are first compiled locally for validation and then the `.ts` files are deployed to your org for server-side type stripping.",
|
|
1869
|
+
"name": "lwc-language",
|
|
1870
|
+
"summary": "Language of the Lightning Web Components. If not specified, \"javascript\" is used.",
|
|
1871
|
+
"hasDynamicHelp": false,
|
|
1872
|
+
"multiple": false,
|
|
1873
|
+
"options": [
|
|
1874
|
+
"javascript",
|
|
1875
|
+
"typescript"
|
|
1876
|
+
],
|
|
1877
|
+
"type": "option"
|
|
1878
|
+
},
|
|
1879
|
+
"loglevel": {
|
|
1880
|
+
"deprecated": {
|
|
1881
|
+
"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."
|
|
1882
|
+
},
|
|
1883
|
+
"hidden": true,
|
|
1884
|
+
"name": "loglevel",
|
|
1885
|
+
"hasDynamicHelp": false,
|
|
1886
|
+
"multiple": false,
|
|
1887
|
+
"type": "option"
|
|
1888
|
+
},
|
|
1889
|
+
"api-version": {
|
|
1890
|
+
"description": "Override the api version used for api requests made by this command",
|
|
1891
|
+
"name": "api-version",
|
|
1892
|
+
"summary": "Will set this version as sourceApiVersion in the sfdx-project.json file",
|
|
1893
|
+
"hasDynamicHelp": false,
|
|
1894
|
+
"multiple": false,
|
|
1895
|
+
"type": "option"
|
|
1896
|
+
}
|
|
1897
|
+
},
|
|
1898
|
+
"hasDynamicHelp": false,
|
|
1899
|
+
"hiddenAliases": [],
|
|
1900
|
+
"id": "template:generate:project",
|
|
1901
|
+
"pluginAlias": "@salesforce/plugin-templates",
|
|
1902
|
+
"pluginName": "@salesforce/plugin-templates",
|
|
1903
|
+
"pluginType": "core",
|
|
1904
|
+
"strict": true,
|
|
1905
|
+
"summary": "Generate a Salesforce DX project.",
|
|
1906
|
+
"enableJsonFlag": true,
|
|
1907
|
+
"isESM": true,
|
|
1908
|
+
"relativePath": [
|
|
1909
|
+
"lib",
|
|
1910
|
+
"commands",
|
|
1911
|
+
"template",
|
|
1912
|
+
"generate",
|
|
1913
|
+
"project",
|
|
1914
|
+
"index.js"
|
|
1915
|
+
],
|
|
1916
|
+
"aliasPermutations": [
|
|
1917
|
+
"force:project:create",
|
|
1918
|
+
"project:force:create",
|
|
1919
|
+
"project:create:force",
|
|
1920
|
+
"force:create:project",
|
|
1921
|
+
"create:force:project",
|
|
1922
|
+
"create:project:force",
|
|
1923
|
+
"project:generate",
|
|
1924
|
+
"generate:project"
|
|
1925
|
+
],
|
|
1926
|
+
"permutations": [
|
|
1927
|
+
"template:generate:project",
|
|
1928
|
+
"generate:template:project",
|
|
1929
|
+
"generate:project:template",
|
|
1930
|
+
"template:project:generate",
|
|
1931
|
+
"project:template:generate",
|
|
1932
|
+
"project:generate:template"
|
|
1933
|
+
]
|
|
1934
|
+
},
|
|
1935
1935
|
"template:generate:static-resource": {
|
|
1936
1936
|
"aliases": [
|
|
1937
1937
|
"force:staticresource:create",
|
|
@@ -2672,5 +2672,5 @@
|
|
|
2672
2672
|
]
|
|
2673
2673
|
}
|
|
2674
2674
|
},
|
|
2675
|
-
"version": "57.0.
|
|
2675
|
+
"version": "57.0.4"
|
|
2676
2676
|
}
|
package/package.json
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-templates",
|
|
3
3
|
"description": "Commands to create metadata from a default or custom template",
|
|
4
|
-
"version": "57.0.
|
|
4
|
+
"version": "57.0.4",
|
|
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": "^9.
|
|
10
|
+
"@salesforce/core": "^9.1.0",
|
|
11
11
|
"@salesforce/sf-plugins-core": "^13.0.0",
|
|
12
12
|
"@salesforce/templates": "^66.13.4"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@oclif/plugin-command-snapshot": "^5.3.
|
|
15
|
+
"@oclif/plugin-command-snapshot": "^5.3.34",
|
|
16
16
|
"@salesforce/cli-plugins-testkit": "^5.3.64",
|
|
17
17
|
"@salesforce/dev-scripts": "^11.0.4",
|
|
18
|
-
"@salesforce/plugin-command-reference": "^3.1.
|
|
18
|
+
"@salesforce/plugin-command-reference": "^3.1.131",
|
|
19
19
|
"@types/yeoman-assert": "^3.1.4",
|
|
20
20
|
"eslint-plugin-sf-plugin": "^1.20.33",
|
|
21
21
|
"oclif": "^4.23.29",
|
|
@@ -252,7 +252,7 @@
|
|
|
252
252
|
"exports": "./lib/index.js",
|
|
253
253
|
"type": "module",
|
|
254
254
|
"sfdx": {
|
|
255
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/57.0.
|
|
256
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/57.0.
|
|
255
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/57.0.4.crt",
|
|
256
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/57.0.4.sig"
|
|
257
257
|
}
|
|
258
258
|
}
|