@salesforce/plugin-templates 56.18.16 → 56.18.17

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.
Files changed (3) hide show
  1. package/README.md +15 -15
  2. package/oclif.manifest.json +130 -130
  3. package/package.json +3 -3
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/56.18.16/src/commands/template/generate/analytics/template.ts)_
180
+ _See code: [src/commands/template/generate/analytics/template.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.17/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/56.18.16/src/commands/template/generate/apex/class.ts)_
242
+ _See code: [src/commands/template/generate/apex/class.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.17/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/56.18.16/src/commands/template/generate/apex/trigger.ts)_
312
+ _See code: [src/commands/template/generate/apex/trigger.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.17/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/56.18.16/src/commands/template/generate/digital-experience/site.ts)_
366
+ _See code: [src/commands/template/generate/digital-experience/site.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.17/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/56.18.16/src/commands/template/generate/flexipage/index.ts)_
448
+ _See code: [src/commands/template/generate/flexipage/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.17/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/56.18.16/src/commands/template/generate/lightning/app.ts)_
506
+ _See code: [src/commands/template/generate/lightning/app.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.17/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/56.18.16/src/commands/template/generate/lightning/component.ts)_
583
+ _See code: [src/commands/template/generate/lightning/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.17/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/56.18.16/src/commands/template/generate/lightning/event.ts)_
641
+ _See code: [src/commands/template/generate/lightning/event.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.17/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/56.18.16/src/commands/template/generate/lightning/interface.ts)_
699
+ _See code: [src/commands/template/generate/lightning/interface.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.17/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/56.18.16/src/commands/template/generate/lightning/test.ts)_
757
+ _See code: [src/commands/template/generate/lightning/test.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.17/src/commands/template/generate/lightning/test.ts)_
758
758
 
759
759
  ## `sf template generate project`
760
760
 
@@ -880,7 +880,7 @@ FLAG DESCRIPTIONS
880
880
  server-side type stripping.
881
881
  ```
882
882
 
883
- _See code: [src/commands/template/generate/project/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.16/src/commands/template/generate/project/index.ts)_
883
+ _See code: [src/commands/template/generate/project/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.17/src/commands/template/generate/project/index.ts)_
884
884
 
885
885
  ## `sf template generate static-resource`
886
886
 
@@ -943,7 +943,7 @@ FLAG DESCRIPTIONS
943
943
  etc.
944
944
  ```
945
945
 
946
- _See code: [src/commands/template/generate/static-resource/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.16/src/commands/template/generate/static-resource/index.ts)_
946
+ _See code: [src/commands/template/generate/static-resource/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.17/src/commands/template/generate/static-resource/index.ts)_
947
947
 
948
948
  ## `sf template generate ui-bundle`
949
949
 
@@ -1032,7 +1032,7 @@ FLAG DESCRIPTIONS
1032
1032
  Supplied parameter values or default values are filled into a copy of the template.
1033
1033
  ```
1034
1034
 
1035
- _See code: [src/commands/template/generate/ui-bundle/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.16/src/commands/template/generate/ui-bundle/index.ts)_
1035
+ _See code: [src/commands/template/generate/ui-bundle/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.17/src/commands/template/generate/ui-bundle/index.ts)_
1036
1036
 
1037
1037
  ## `sf template generate visualforce component`
1038
1038
 
@@ -1089,7 +1089,7 @@ FLAG DESCRIPTIONS
1089
1089
  Supplied parameter values or default values are filled into a copy of the template.
1090
1090
  ```
1091
1091
 
1092
- _See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.16/src/commands/template/generate/visualforce/component.ts)_
1092
+ _See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.17/src/commands/template/generate/visualforce/component.ts)_
1093
1093
 
1094
1094
  ## `sf template generate visualforce page`
1095
1095
 
@@ -1140,6 +1140,6 @@ FLAG DESCRIPTIONS
1140
1140
  The name can be up to 40 characters and must start with a letter.
1141
1141
  ```
1142
1142
 
1143
- _See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.16/src/commands/template/generate/visualforce/page.ts)_
1143
+ _See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.17/src/commands/template/generate/visualforce/page.ts)_
1144
1144
 
1145
1145
  <!-- commandsstop -->
@@ -1907,135 +1907,6 @@
1907
1907
  "test:lightning:generate:template"
1908
1908
  ]
1909
1909
  },
1910
- "template:generate:static-resource": {
1911
- "aliases": [
1912
- "force:staticresource:create",
1913
- "static-resource:generate"
1914
- ],
1915
- "args": {},
1916
- "deprecateAliases": true,
1917
- "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.",
1918
- "examples": [
1919
- "Generate the metadata file for a static resource called MyResource in the current directory:\n<%= config.bin %> <%= command.id %> --name MyResource",
1920
- "Similar to previous example, but specifies a MIME type of application/json:\n<%= config.bin %> <%= command.id %> --name MyResource --type application/json",
1921
- "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"
1922
- ],
1923
- "flags": {
1924
- "json": {
1925
- "description": "Format output as json.",
1926
- "helpGroup": "GLOBAL",
1927
- "name": "json",
1928
- "allowNo": false,
1929
- "type": "boolean"
1930
- },
1931
- "flags-dir": {
1932
- "helpGroup": "GLOBAL",
1933
- "name": "flags-dir",
1934
- "summary": "Import flag values from a directory.",
1935
- "hasDynamicHelp": false,
1936
- "multiple": false,
1937
- "type": "option"
1938
- },
1939
- "name": {
1940
- "aliases": [
1941
- "resourcename"
1942
- ],
1943
- "char": "n",
1944
- "deprecateAliases": true,
1945
- "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.",
1946
- "name": "name",
1947
- "required": true,
1948
- "summary": "Name of the generated static resource.",
1949
- "hasDynamicHelp": false,
1950
- "multiple": false,
1951
- "type": "option"
1952
- },
1953
- "type": {
1954
- "aliases": [
1955
- "contenttype"
1956
- ],
1957
- "deprecateAliases": true,
1958
- "description": "Must be a valid MIME type such as application/json, application/javascript, application/zip, text/plain, text/css, etc.",
1959
- "name": "type",
1960
- "summary": "Content type (mime type) of the generated static resource.",
1961
- "default": "application/zip",
1962
- "hasDynamicHelp": false,
1963
- "multiple": false,
1964
- "type": "option"
1965
- },
1966
- "output-dir": {
1967
- "aliases": [
1968
- "outputdir"
1969
- ],
1970
- "char": "d",
1971
- "deprecateAliases": true,
1972
- "description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
1973
- "name": "output-dir",
1974
- "summary": "Directory for saving the created files.",
1975
- "default": ".",
1976
- "hasDynamicHelp": false,
1977
- "multiple": false,
1978
- "type": "option"
1979
- },
1980
- "api-version": {
1981
- "aliases": [
1982
- "apiversion"
1983
- ],
1984
- "deprecateAliases": true,
1985
- "description": "Override the api version used for api requests made by this command",
1986
- "name": "api-version",
1987
- "hasDynamicHelp": false,
1988
- "multiple": false,
1989
- "type": "option"
1990
- },
1991
- "loglevel": {
1992
- "deprecated": {
1993
- "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."
1994
- },
1995
- "hidden": true,
1996
- "name": "loglevel",
1997
- "hasDynamicHelp": false,
1998
- "multiple": false,
1999
- "type": "option"
2000
- }
2001
- },
2002
- "hasDynamicHelp": false,
2003
- "hiddenAliases": [],
2004
- "id": "template:generate:static-resource",
2005
- "pluginAlias": "@salesforce/plugin-templates",
2006
- "pluginName": "@salesforce/plugin-templates",
2007
- "pluginType": "core",
2008
- "strict": true,
2009
- "summary": "Generate a static resource.",
2010
- "enableJsonFlag": true,
2011
- "isESM": true,
2012
- "relativePath": [
2013
- "lib",
2014
- "commands",
2015
- "template",
2016
- "generate",
2017
- "static-resource",
2018
- "index.js"
2019
- ],
2020
- "aliasPermutations": [
2021
- "force:staticresource:create",
2022
- "staticresource:force:create",
2023
- "staticresource:create:force",
2024
- "force:create:staticresource",
2025
- "create:force:staticresource",
2026
- "create:staticresource:force",
2027
- "static-resource:generate",
2028
- "generate:static-resource"
2029
- ],
2030
- "permutations": [
2031
- "template:generate:static-resource",
2032
- "generate:template:static-resource",
2033
- "generate:static-resource:template",
2034
- "template:static-resource:generate",
2035
- "static-resource:template:generate",
2036
- "static-resource:generate:template"
2037
- ]
2038
- },
2039
1910
  "template:generate:project": {
2040
1911
  "aliases": [
2041
1912
  "force:project:create",
@@ -2227,6 +2098,135 @@
2227
2098
  "project:generate:template"
2228
2099
  ]
2229
2100
  },
2101
+ "template:generate:static-resource": {
2102
+ "aliases": [
2103
+ "force:staticresource:create",
2104
+ "static-resource:generate"
2105
+ ],
2106
+ "args": {},
2107
+ "deprecateAliases": true,
2108
+ "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.",
2109
+ "examples": [
2110
+ "Generate the metadata file for a static resource called MyResource in the current directory:\n<%= config.bin %> <%= command.id %> --name MyResource",
2111
+ "Similar to previous example, but specifies a MIME type of application/json:\n<%= config.bin %> <%= command.id %> --name MyResource --type application/json",
2112
+ "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"
2113
+ ],
2114
+ "flags": {
2115
+ "json": {
2116
+ "description": "Format output as json.",
2117
+ "helpGroup": "GLOBAL",
2118
+ "name": "json",
2119
+ "allowNo": false,
2120
+ "type": "boolean"
2121
+ },
2122
+ "flags-dir": {
2123
+ "helpGroup": "GLOBAL",
2124
+ "name": "flags-dir",
2125
+ "summary": "Import flag values from a directory.",
2126
+ "hasDynamicHelp": false,
2127
+ "multiple": false,
2128
+ "type": "option"
2129
+ },
2130
+ "name": {
2131
+ "aliases": [
2132
+ "resourcename"
2133
+ ],
2134
+ "char": "n",
2135
+ "deprecateAliases": true,
2136
+ "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.",
2137
+ "name": "name",
2138
+ "required": true,
2139
+ "summary": "Name of the generated static resource.",
2140
+ "hasDynamicHelp": false,
2141
+ "multiple": false,
2142
+ "type": "option"
2143
+ },
2144
+ "type": {
2145
+ "aliases": [
2146
+ "contenttype"
2147
+ ],
2148
+ "deprecateAliases": true,
2149
+ "description": "Must be a valid MIME type such as application/json, application/javascript, application/zip, text/plain, text/css, etc.",
2150
+ "name": "type",
2151
+ "summary": "Content type (mime type) of the generated static resource.",
2152
+ "default": "application/zip",
2153
+ "hasDynamicHelp": false,
2154
+ "multiple": false,
2155
+ "type": "option"
2156
+ },
2157
+ "output-dir": {
2158
+ "aliases": [
2159
+ "outputdir"
2160
+ ],
2161
+ "char": "d",
2162
+ "deprecateAliases": true,
2163
+ "description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
2164
+ "name": "output-dir",
2165
+ "summary": "Directory for saving the created files.",
2166
+ "default": ".",
2167
+ "hasDynamicHelp": false,
2168
+ "multiple": false,
2169
+ "type": "option"
2170
+ },
2171
+ "api-version": {
2172
+ "aliases": [
2173
+ "apiversion"
2174
+ ],
2175
+ "deprecateAliases": true,
2176
+ "description": "Override the api version used for api requests made by this command",
2177
+ "name": "api-version",
2178
+ "hasDynamicHelp": false,
2179
+ "multiple": false,
2180
+ "type": "option"
2181
+ },
2182
+ "loglevel": {
2183
+ "deprecated": {
2184
+ "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."
2185
+ },
2186
+ "hidden": true,
2187
+ "name": "loglevel",
2188
+ "hasDynamicHelp": false,
2189
+ "multiple": false,
2190
+ "type": "option"
2191
+ }
2192
+ },
2193
+ "hasDynamicHelp": false,
2194
+ "hiddenAliases": [],
2195
+ "id": "template:generate:static-resource",
2196
+ "pluginAlias": "@salesforce/plugin-templates",
2197
+ "pluginName": "@salesforce/plugin-templates",
2198
+ "pluginType": "core",
2199
+ "strict": true,
2200
+ "summary": "Generate a static resource.",
2201
+ "enableJsonFlag": true,
2202
+ "isESM": true,
2203
+ "relativePath": [
2204
+ "lib",
2205
+ "commands",
2206
+ "template",
2207
+ "generate",
2208
+ "static-resource",
2209
+ "index.js"
2210
+ ],
2211
+ "aliasPermutations": [
2212
+ "force:staticresource:create",
2213
+ "staticresource:force:create",
2214
+ "staticresource:create:force",
2215
+ "force:create:staticresource",
2216
+ "create:force:staticresource",
2217
+ "create:staticresource:force",
2218
+ "static-resource:generate",
2219
+ "generate:static-resource"
2220
+ ],
2221
+ "permutations": [
2222
+ "template:generate:static-resource",
2223
+ "generate:template:static-resource",
2224
+ "generate:static-resource:template",
2225
+ "template:static-resource:generate",
2226
+ "static-resource:template:generate",
2227
+ "static-resource:generate:template"
2228
+ ]
2229
+ },
2230
2230
  "template:generate:ui-bundle": {
2231
2231
  "aliases": [],
2232
2232
  "args": {},
@@ -2688,5 +2688,5 @@
2688
2688
  ]
2689
2689
  }
2690
2690
  },
2691
- "version": "56.18.16"
2691
+ "version": "56.18.17"
2692
2692
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-templates",
3
3
  "description": "Commands to create metadata from a default or custom template",
4
- "version": "56.18.16",
4
+ "version": "56.18.17",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/salesforcecli/plugin-templates/issues",
7
7
  "enableO11y": true,
@@ -249,7 +249,7 @@
249
249
  "exports": "./lib/index.js",
250
250
  "type": "module",
251
251
  "sfdx": {
252
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.18.16.crt",
253
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.18.16.sig"
252
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.18.17.crt",
253
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.18.17.sig"
254
254
  }
255
255
  }