@salesforce/plugin-templates 56.5.0 → 56.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -171,7 +171,7 @@ FLAG DESCRIPTIONS
171
171
  directory.
172
172
  ```
173
173
 
174
- _See code: [src/commands/analytics/generate/template.ts](https://github.com/salesforcecli/plugin-templates/blob/56.5.0/src/commands/analytics/generate/template.ts)_
174
+ _See code: [src/commands/analytics/generate/template.ts](https://github.com/salesforcecli/plugin-templates/blob/56.5.1/src/commands/analytics/generate/template.ts)_
175
175
 
176
176
  ## `sf lightning generate app`
177
177
 
@@ -226,7 +226,7 @@ FLAG DESCRIPTIONS
226
226
  Supplied parameter values or default values are filled into a copy of the template.
227
227
  ```
228
228
 
229
- _See code: [src/commands/lightning/generate/app.ts](https://github.com/salesforcecli/plugin-templates/blob/56.5.0/src/commands/lightning/generate/app.ts)_
229
+ _See code: [src/commands/lightning/generate/app.ts](https://github.com/salesforcecli/plugin-templates/blob/56.5.1/src/commands/lightning/generate/app.ts)_
230
230
 
231
231
  ## `sf lightning generate component`
232
232
 
@@ -295,7 +295,7 @@ FLAG DESCRIPTIONS
295
295
  Supplied parameter values or default values are filled into a copy of the template.
296
296
  ```
297
297
 
298
- _See code: [src/commands/lightning/generate/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.5.0/src/commands/lightning/generate/component.ts)_
298
+ _See code: [src/commands/lightning/generate/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.5.1/src/commands/lightning/generate/component.ts)_
299
299
 
300
300
  ## `sf lightning generate event`
301
301
 
@@ -350,7 +350,7 @@ FLAG DESCRIPTIONS
350
350
  Supplied parameter values or default values are filled into a copy of the template.
351
351
  ```
352
352
 
353
- _See code: [src/commands/lightning/generate/event.ts](https://github.com/salesforcecli/plugin-templates/blob/56.5.0/src/commands/lightning/generate/event.ts)_
353
+ _See code: [src/commands/lightning/generate/event.ts](https://github.com/salesforcecli/plugin-templates/blob/56.5.1/src/commands/lightning/generate/event.ts)_
354
354
 
355
355
  ## `sf lightning generate interface`
356
356
 
@@ -405,7 +405,7 @@ FLAG DESCRIPTIONS
405
405
  Supplied parameter values or default values are filled into a copy of the template.
406
406
  ```
407
407
 
408
- _See code: [src/commands/lightning/generate/interface.ts](https://github.com/salesforcecli/plugin-templates/blob/56.5.0/src/commands/lightning/generate/interface.ts)_
408
+ _See code: [src/commands/lightning/generate/interface.ts](https://github.com/salesforcecli/plugin-templates/blob/56.5.1/src/commands/lightning/generate/interface.ts)_
409
409
 
410
410
  ## `sf lightning generate test`
411
411
 
@@ -460,7 +460,7 @@ FLAG DESCRIPTIONS
460
460
  Supplied parameter values or default values are filled into a copy of the template.
461
461
  ```
462
462
 
463
- _See code: [src/commands/lightning/generate/test.ts](https://github.com/salesforcecli/plugin-templates/blob/56.5.0/src/commands/lightning/generate/test.ts)_
463
+ _See code: [src/commands/lightning/generate/test.ts](https://github.com/salesforcecli/plugin-templates/blob/56.5.1/src/commands/lightning/generate/test.ts)_
464
464
 
465
465
  ## `sf project generate`
466
466
 
@@ -565,7 +565,7 @@ FLAG DESCRIPTIONS
565
565
  Override the api version used for api requests made by this command
566
566
  ```
567
567
 
568
- _See code: [src/commands/project/generate.ts](https://github.com/salesforcecli/plugin-templates/blob/56.5.0/src/commands/project/generate.ts)_
568
+ _See code: [src/commands/project/generate.ts](https://github.com/salesforcecli/plugin-templates/blob/56.5.1/src/commands/project/generate.ts)_
569
569
 
570
570
  ## `sf static-resource generate`
571
571
 
@@ -627,7 +627,7 @@ FLAG DESCRIPTIONS
627
627
  etc.
628
628
  ```
629
629
 
630
- _See code: [src/commands/static-resource/generate.ts](https://github.com/salesforcecli/plugin-templates/blob/56.5.0/src/commands/static-resource/generate.ts)_
630
+ _See code: [src/commands/static-resource/generate.ts](https://github.com/salesforcecli/plugin-templates/blob/56.5.1/src/commands/static-resource/generate.ts)_
631
631
 
632
632
  ## `sf template generate apex class`
633
633
 
@@ -687,7 +687,7 @@ FLAG DESCRIPTIONS
687
687
  Supplied parameter values or default values are filled into a copy of the template.
688
688
  ```
689
689
 
690
- _See code: [src/commands/template/generate/apex/class.ts](https://github.com/salesforcecli/plugin-templates/blob/56.5.0/src/commands/template/generate/apex/class.ts)_
690
+ _See code: [src/commands/template/generate/apex/class.ts](https://github.com/salesforcecli/plugin-templates/blob/56.5.1/src/commands/template/generate/apex/class.ts)_
691
691
 
692
692
  ## `sf template generate apex trigger`
693
693
 
@@ -757,7 +757,7 @@ FLAG DESCRIPTIONS
757
757
  Supplied parameter values or default values are filled into a copy of the template.
758
758
  ```
759
759
 
760
- _See code: [src/commands/template/generate/apex/trigger.ts](https://github.com/salesforcecli/plugin-templates/blob/56.5.0/src/commands/template/generate/apex/trigger.ts)_
760
+ _See code: [src/commands/template/generate/apex/trigger.ts](https://github.com/salesforcecli/plugin-templates/blob/56.5.1/src/commands/template/generate/apex/trigger.ts)_
761
761
 
762
762
  ## `sf visualforce generate component`
763
763
 
@@ -813,7 +813,7 @@ FLAG DESCRIPTIONS
813
813
  Supplied parameter values or default values are filled into a copy of the template.
814
814
  ```
815
815
 
816
- _See code: [src/commands/visualforce/generate/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.5.0/src/commands/visualforce/generate/component.ts)_
816
+ _See code: [src/commands/visualforce/generate/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.5.1/src/commands/visualforce/generate/component.ts)_
817
817
 
818
818
  ## `sf visualforce generate page`
819
819
 
@@ -863,6 +863,6 @@ FLAG DESCRIPTIONS
863
863
  The name can be up to 40 characters and must start with a letter.
864
864
  ```
865
865
 
866
- _See code: [src/commands/visualforce/generate/page.ts](https://github.com/salesforcecli/plugin-templates/blob/56.5.0/src/commands/visualforce/generate/page.ts)_
866
+ _See code: [src/commands/visualforce/generate/page.ts](https://github.com/salesforcecli/plugin-templates/blob/56.5.1/src/commands/visualforce/generate/page.ts)_
867
867
 
868
868
  <!-- commandsstop -->
@@ -14,7 +14,7 @@ export default class WebAppGenerate extends SfCommand<CreateOutput> {
14
14
  };
15
15
  /**
16
16
  * Resolves the default output directory by reading the project's sfdx-project.json.
17
- * Returns the path to webApplications under the default package directory,
17
+ * Returns the path to webapplications under the default package directory,
18
18
  * or falls back to the current directory if not in a project context.
19
19
  */
20
20
  private static getDefaultOutputDir;
@@ -44,14 +44,14 @@ export default class WebAppGenerate extends SfCommand {
44
44
  };
45
45
  /**
46
46
  * Resolves the default output directory by reading the project's sfdx-project.json.
47
- * Returns the path to webApplications under the default package directory,
47
+ * Returns the path to webapplications under the default package directory,
48
48
  * or falls back to the current directory if not in a project context.
49
49
  */
50
50
  static async getDefaultOutputDir() {
51
51
  try {
52
52
  const project = await SfProject.resolve();
53
53
  const defaultPackage = project.getDefaultPackage();
54
- return path.join(defaultPackage.path, 'main', 'default', 'webApplications');
54
+ return path.join(defaultPackage.path, 'main', 'default', 'webapplications');
55
55
  }
56
56
  catch {
57
57
  return '.';
@@ -4,7 +4,7 @@ Generate a web application.
4
4
 
5
5
  # description
6
6
 
7
- Generates a web application in the specified directory or the current working directory. The web application files are created in a folder with the designated name. Web application files must be contained in a parent directory called "webApplications" in your package directory. Either run this command from an existing directory of this name, or use the --output-dir flag to create one or point to an existing one.
7
+ Generates a web application in the specified directory or the current working directory. The web application files are created in a folder with the designated name. Web application files must be contained in a parent directory called "webapplications" in your package directory. Either run this command from an existing directory of this name, or use the --output-dir flag to create one or point to an existing one.
8
8
 
9
9
  # examples
10
10
 
@@ -16,9 +16,9 @@ Generates a web application in the specified directory or the current working di
16
16
 
17
17
  <%= config.bin %> <%= command.id %> --name MyReactApp --template reactbasic
18
18
 
19
- - Generate the web application in the "force-app/main/default/webApplications" directory:
19
+ - Generate the web application in the "force-app/main/default/webapplications" directory:
20
20
 
21
- <%= config.bin %> <%= command.id %> --name MyWebApp --output-dir force-app/main/default/webApplications
21
+ <%= config.bin %> <%= command.id %> --name MyWebApp --output-dir force-app/main/default/webapplications
22
22
 
23
23
  # flags.name.summary
24
24
 
@@ -50,4 +50,4 @@ Directory for saving the created files.
50
50
 
51
51
  # flags.output-dir.description
52
52
 
53
- The location can be an absolute path or relative to the current working directory. If not specified, the command reads your sfdx-project.json and defaults to the webApplications directory within your default package directory. When running outside a Salesforce DX project, defaults to the current directory.
53
+ The location can be an absolute path or relative to the current working directory. If not specified, the command reads your sfdx-project.json and defaults to the webapplications directory within your default package directory. When running outside a Salesforce DX project, defaults to the current directory.
@@ -1,16 +1,17 @@
1
1
  {
2
2
  "commands": {
3
- "static-resource:generate": {
3
+ "project:generate": {
4
4
  "aliases": [
5
- "force:staticresource:create"
5
+ "force:project:create"
6
6
  ],
7
7
  "args": {},
8
8
  "deprecateAliases": true,
9
- "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.",
9
+ "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\".",
10
10
  "examples": [
11
- "Generate the metadata file for a static resource called MyResource in the current directory:\n<%= config.bin %> <%= command.id %> --name MyResource",
12
- "Similar to previous example, but specifies a MIME type of application/json:\n<%= config.bin %> <%= command.id %> --name MyResource --type application/json",
13
- "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"
11
+ "Generate a project called \"mywork\":\n<%= config.bin %> <%= command.id %> --name mywork",
12
+ "Similar to previous example, but generate the files in a directory called \"myapp\":\n<%= config.bin %> <%= command.id %> --name mywork --default-package-dir myapp",
13
+ "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",
14
+ "Generate a project with the minimum files and directories:\n<%= config.bin %> <%= command.id %> --name mywork --template empty"
14
15
  ],
15
16
  "flags": {
16
17
  "json": {
@@ -30,29 +31,31 @@
30
31
  },
31
32
  "name": {
32
33
  "aliases": [
33
- "resourcename"
34
+ "projectname"
34
35
  ],
35
36
  "char": "n",
36
37
  "deprecateAliases": true,
37
- "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.",
38
+ "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.",
38
39
  "name": "name",
39
40
  "required": true,
40
- "summary": "Name of the generated static resource.",
41
+ "summary": "Name of the generated project.",
41
42
  "hasDynamicHelp": false,
42
43
  "multiple": false,
43
44
  "type": "option"
44
45
  },
45
- "type": {
46
- "aliases": [
47
- "contenttype"
48
- ],
49
- "deprecateAliases": true,
50
- "description": "Must be a valid MIME type such as application/json, application/javascript, application/zip, text/plain, text/css, etc.",
51
- "name": "type",
52
- "summary": "Content type (mime type) of the generated static resource.",
53
- "default": "application/zip",
46
+ "template": {
47
+ "char": "t",
48
+ "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.",
49
+ "name": "template",
50
+ "summary": "Template to use for project creation.",
51
+ "default": "standard",
54
52
  "hasDynamicHelp": false,
55
53
  "multiple": false,
54
+ "options": [
55
+ "standard",
56
+ "empty",
57
+ "analytics"
58
+ ],
56
59
  "type": "option"
57
60
  },
58
61
  "output-dir": {
@@ -69,13 +72,48 @@
69
72
  "multiple": false,
70
73
  "type": "option"
71
74
  },
72
- "api-version": {
75
+ "namespace": {
76
+ "char": "s",
77
+ "name": "namespace",
78
+ "summary": "Namespace associated with this project and any connected scratch orgs.",
79
+ "default": "",
80
+ "hasDynamicHelp": false,
81
+ "multiple": false,
82
+ "type": "option"
83
+ },
84
+ "default-package-dir": {
73
85
  "aliases": [
74
- "apiversion"
86
+ "defaultpackagedir"
75
87
  ],
88
+ "char": "p",
76
89
  "deprecateAliases": true,
77
- "description": "Override the api version used for api requests made by this command",
78
- "name": "api-version",
90
+ "description": "Metadata items such as classes and Lightning bundles are placed inside this folder.",
91
+ "name": "default-package-dir",
92
+ "summary": "Default package directory name.",
93
+ "default": "force-app",
94
+ "hasDynamicHelp": false,
95
+ "multiple": false,
96
+ "type": "option"
97
+ },
98
+ "manifest": {
99
+ "char": "x",
100
+ "description": "Generates a default manifest (package.xml) for fetching Apex, Visualforce, Lightning components, and static resources.",
101
+ "name": "manifest",
102
+ "summary": "Generate a manifest (package.xml) for change-set based development.",
103
+ "allowNo": false,
104
+ "type": "boolean"
105
+ },
106
+ "login-url": {
107
+ "aliases": [
108
+ "loginurl"
109
+ ],
110
+ "char": "l",
111
+ "deprecateAliases": true,
112
+ "description": "Normally defaults to https://login.salesforce.com.",
113
+ "hidden": true,
114
+ "name": "login-url",
115
+ "summary": "Salesforce instance login URL.",
116
+ "default": "https://login.salesforce.com",
79
117
  "hasDynamicHelp": false,
80
118
  "multiple": false,
81
119
  "type": "option"
@@ -89,49 +127,56 @@
89
127
  "hasDynamicHelp": false,
90
128
  "multiple": false,
91
129
  "type": "option"
130
+ },
131
+ "api-version": {
132
+ "description": "Override the api version used for api requests made by this command",
133
+ "name": "api-version",
134
+ "summary": "Will set this version as sourceApiVersion in the sfdx-project.json file",
135
+ "hasDynamicHelp": false,
136
+ "multiple": false,
137
+ "type": "option"
92
138
  }
93
139
  },
94
140
  "hasDynamicHelp": false,
95
141
  "hiddenAliases": [],
96
- "id": "static-resource:generate",
142
+ "id": "project:generate",
97
143
  "pluginAlias": "@salesforce/plugin-templates",
98
144
  "pluginName": "@salesforce/plugin-templates",
99
145
  "pluginType": "core",
100
146
  "strict": true,
101
- "summary": "Generate a static resource.",
147
+ "summary": "Generate a Salesforce DX project.",
102
148
  "enableJsonFlag": true,
103
149
  "isESM": true,
104
150
  "relativePath": [
105
151
  "lib",
106
152
  "commands",
107
- "static-resource",
153
+ "project",
108
154
  "generate.js"
109
155
  ],
110
156
  "aliasPermutations": [
111
- "force:staticresource:create",
112
- "staticresource:force:create",
113
- "staticresource:create:force",
114
- "force:create:staticresource",
115
- "create:force:staticresource",
116
- "create:staticresource:force"
157
+ "force:project:create",
158
+ "project:force:create",
159
+ "project:create:force",
160
+ "force:create:project",
161
+ "create:force:project",
162
+ "create:project:force"
117
163
  ],
118
164
  "permutations": [
119
- "static-resource:generate",
120
- "generate:static-resource"
165
+ "project:generate",
166
+ "generate:project"
121
167
  ]
122
168
  },
123
- "project:generate": {
169
+ "static-resource:generate": {
124
170
  "aliases": [
125
- "force:project:create"
171
+ "force:staticresource:create"
126
172
  ],
127
173
  "args": {},
128
174
  "deprecateAliases": true,
129
- "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\".",
175
+ "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.",
130
176
  "examples": [
131
- "Generate a project called \"mywork\":\n<%= config.bin %> <%= command.id %> --name mywork",
132
- "Similar to previous example, but generate the files in a directory called \"myapp\":\n<%= config.bin %> <%= command.id %> --name mywork --default-package-dir myapp",
133
- "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",
134
- "Generate a project with the minimum files and directories:\n<%= config.bin %> <%= command.id %> --name mywork --template empty"
177
+ "Generate the metadata file for a static resource called MyResource in the current directory:\n<%= config.bin %> <%= command.id %> --name MyResource",
178
+ "Similar to previous example, but specifies a MIME type of application/json:\n<%= config.bin %> <%= command.id %> --name MyResource --type application/json",
179
+ "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"
135
180
  ],
136
181
  "flags": {
137
182
  "json": {
@@ -151,31 +196,29 @@
151
196
  },
152
197
  "name": {
153
198
  "aliases": [
154
- "projectname"
199
+ "resourcename"
155
200
  ],
156
201
  "char": "n",
157
202
  "deprecateAliases": true,
158
- "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.",
203
+ "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.",
159
204
  "name": "name",
160
205
  "required": true,
161
- "summary": "Name of the generated project.",
206
+ "summary": "Name of the generated static resource.",
162
207
  "hasDynamicHelp": false,
163
208
  "multiple": false,
164
209
  "type": "option"
165
210
  },
166
- "template": {
167
- "char": "t",
168
- "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.",
169
- "name": "template",
170
- "summary": "Template to use for project creation.",
171
- "default": "standard",
211
+ "type": {
212
+ "aliases": [
213
+ "contenttype"
214
+ ],
215
+ "deprecateAliases": true,
216
+ "description": "Must be a valid MIME type such as application/json, application/javascript, application/zip, text/plain, text/css, etc.",
217
+ "name": "type",
218
+ "summary": "Content type (mime type) of the generated static resource.",
219
+ "default": "application/zip",
172
220
  "hasDynamicHelp": false,
173
221
  "multiple": false,
174
- "options": [
175
- "standard",
176
- "empty",
177
- "analytics"
178
- ],
179
222
  "type": "option"
180
223
  },
181
224
  "output-dir": {
@@ -192,48 +235,13 @@
192
235
  "multiple": false,
193
236
  "type": "option"
194
237
  },
195
- "namespace": {
196
- "char": "s",
197
- "name": "namespace",
198
- "summary": "Namespace associated with this project and any connected scratch orgs.",
199
- "default": "",
200
- "hasDynamicHelp": false,
201
- "multiple": false,
202
- "type": "option"
203
- },
204
- "default-package-dir": {
205
- "aliases": [
206
- "defaultpackagedir"
207
- ],
208
- "char": "p",
209
- "deprecateAliases": true,
210
- "description": "Metadata items such as classes and Lightning bundles are placed inside this folder.",
211
- "name": "default-package-dir",
212
- "summary": "Default package directory name.",
213
- "default": "force-app",
214
- "hasDynamicHelp": false,
215
- "multiple": false,
216
- "type": "option"
217
- },
218
- "manifest": {
219
- "char": "x",
220
- "description": "Generates a default manifest (package.xml) for fetching Apex, Visualforce, Lightning components, and static resources.",
221
- "name": "manifest",
222
- "summary": "Generate a manifest (package.xml) for change-set based development.",
223
- "allowNo": false,
224
- "type": "boolean"
225
- },
226
- "login-url": {
238
+ "api-version": {
227
239
  "aliases": [
228
- "loginurl"
240
+ "apiversion"
229
241
  ],
230
- "char": "l",
231
242
  "deprecateAliases": true,
232
- "description": "Normally defaults to https://login.salesforce.com.",
233
- "hidden": true,
234
- "name": "login-url",
235
- "summary": "Salesforce instance login URL.",
236
- "default": "https://login.salesforce.com",
243
+ "description": "Override the api version used for api requests made by this command",
244
+ "name": "api-version",
237
245
  "hasDynamicHelp": false,
238
246
  "multiple": false,
239
247
  "type": "option"
@@ -247,53 +255,45 @@
247
255
  "hasDynamicHelp": false,
248
256
  "multiple": false,
249
257
  "type": "option"
250
- },
251
- "api-version": {
252
- "description": "Override the api version used for api requests made by this command",
253
- "name": "api-version",
254
- "summary": "Will set this version as sourceApiVersion in the sfdx-project.json file",
255
- "hasDynamicHelp": false,
256
- "multiple": false,
257
- "type": "option"
258
258
  }
259
259
  },
260
260
  "hasDynamicHelp": false,
261
261
  "hiddenAliases": [],
262
- "id": "project:generate",
262
+ "id": "static-resource:generate",
263
263
  "pluginAlias": "@salesforce/plugin-templates",
264
264
  "pluginName": "@salesforce/plugin-templates",
265
265
  "pluginType": "core",
266
266
  "strict": true,
267
- "summary": "Generate a Salesforce DX project.",
267
+ "summary": "Generate a static resource.",
268
268
  "enableJsonFlag": true,
269
269
  "isESM": true,
270
270
  "relativePath": [
271
271
  "lib",
272
272
  "commands",
273
- "project",
273
+ "static-resource",
274
274
  "generate.js"
275
275
  ],
276
276
  "aliasPermutations": [
277
- "force:project:create",
278
- "project:force:create",
279
- "project:create:force",
280
- "force:create:project",
281
- "create:force:project",
282
- "create:project:force"
277
+ "force:staticresource:create",
278
+ "staticresource:force:create",
279
+ "staticresource:create:force",
280
+ "force:create:staticresource",
281
+ "create:force:staticresource",
282
+ "create:staticresource:force"
283
283
  ],
284
284
  "permutations": [
285
- "project:generate",
286
- "generate:project"
285
+ "static-resource:generate",
286
+ "generate:static-resource"
287
287
  ]
288
288
  },
289
289
  "webapp:generate": {
290
290
  "aliases": [],
291
291
  "args": {},
292
- "description": "Generates a web application in the specified directory or the current working directory. The web application files are created in a folder with the designated name. Web application files must be contained in a parent directory called \"webApplications\" in your package directory. Either run this command from an existing directory of this name, or use the --output-dir flag to create one or point to an existing one.",
292
+ "description": "Generates a web application in the specified directory or the current working directory. The web application files are created in a folder with the designated name. Web application files must be contained in a parent directory called \"webapplications\" in your package directory. Either run this command from an existing directory of this name, or use the --output-dir flag to create one or point to an existing one.",
293
293
  "examples": [
294
294
  "Generate a web application called MyWebApp in the current directory:\n<%= config.bin %> <%= command.id %> --name MyWebApp",
295
295
  "Generate a React-based web application:\n<%= config.bin %> <%= command.id %> --name MyReactApp --template reactbasic",
296
- "Generate the web application in the \"force-app/main/default/webApplications\" directory:\n<%= config.bin %> <%= command.id %> --name MyWebApp --output-dir force-app/main/default/webApplications"
296
+ "Generate the web application in the \"force-app/main/default/webapplications\" directory:\n<%= config.bin %> <%= command.id %> --name MyWebApp --output-dir force-app/main/default/webapplications"
297
297
  ],
298
298
  "flags": {
299
299
  "json": {
@@ -346,7 +346,7 @@
346
346
  },
347
347
  "output-dir": {
348
348
  "char": "d",
349
- "description": "The location can be an absolute path or relative to the current working directory. If not specified, the command reads your sfdx-project.json and defaults to the webApplications directory within your default package directory. When running outside a Salesforce DX project, defaults to the current directory.",
349
+ "description": "The location can be an absolute path or relative to the current working directory. If not specified, the command reads your sfdx-project.json and defaults to the webapplications directory within your default package directory. When running outside a Salesforce DX project, defaults to the current directory.",
350
350
  "name": "output-dir",
351
351
  "summary": "Directory for saving the created files.",
352
352
  "hasDynamicHelp": false,
@@ -1956,5 +1956,5 @@
1956
1956
  ]
1957
1957
  }
1958
1958
  },
1959
- "version": "56.5.0"
1959
+ "version": "56.5.1"
1960
1960
  }
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-templates",
3
3
  "description": "Commands to create metadata from a default or custom template",
4
- "version": "56.5.0",
4
+ "version": "56.5.1",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/salesforcecli/plugin-templates/issues",
7
7
  "dependencies": {
8
8
  "@salesforce/core": "^8.25.0",
9
9
  "@salesforce/sf-plugins-core": "^12",
10
- "@salesforce/templates": "^65.4.3"
10
+ "@salesforce/templates": "^65.5.2"
11
11
  },
12
12
  "devDependencies": {
13
13
  "@oclif/plugin-command-snapshot": "^5.3.8",
@@ -255,7 +255,7 @@
255
255
  "exports": "./lib/index.js",
256
256
  "type": "module",
257
257
  "sfdx": {
258
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.5.0.crt",
259
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.5.0.sig"
258
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.5.1.crt",
259
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.5.1.sig"
260
260
  }
261
261
  }