@salesforce/plugin-templates 56.17.6 → 56.18.0
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/lib/commands/template/generate/lightning/embedding.d.ts +20 -0
- package/lib/commands/template/generate/lightning/embedding.js +75 -0
- package/lib/commands/template/generate/lightning/embedding.js.map +1 -0
- package/messages/lightningEmbedding.md +55 -0
- package/oclif.manifest.json +446 -278
- package/package.json +5 -5
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.
|
|
180
|
+
_See code: [src/commands/template/generate/analytics/template.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.0/src/commands/template/generate/analytics/template.ts)_
|
|
181
181
|
|
|
182
182
|
## `sf template generate apex class`
|
|
183
183
|
|
|
@@ -237,7 +237,7 @@ FLAG DESCRIPTIONS
|
|
|
237
237
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
238
238
|
```
|
|
239
239
|
|
|
240
|
-
_See code: [src/commands/template/generate/apex/class.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
240
|
+
_See code: [src/commands/template/generate/apex/class.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.0/src/commands/template/generate/apex/class.ts)_
|
|
241
241
|
|
|
242
242
|
## `sf template generate apex trigger`
|
|
243
243
|
|
|
@@ -307,7 +307,7 @@ FLAG DESCRIPTIONS
|
|
|
307
307
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
308
308
|
```
|
|
309
309
|
|
|
310
|
-
_See code: [src/commands/template/generate/apex/trigger.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
310
|
+
_See code: [src/commands/template/generate/apex/trigger.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.0/src/commands/template/generate/apex/trigger.ts)_
|
|
311
311
|
|
|
312
312
|
## `sf template generate digital-experience site`
|
|
313
313
|
|
|
@@ -361,7 +361,7 @@ FLAG DESCRIPTIONS
|
|
|
361
361
|
project, defaults to the current directory.
|
|
362
362
|
```
|
|
363
363
|
|
|
364
|
-
_See code: [src/commands/template/generate/digital-experience/site.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
364
|
+
_See code: [src/commands/template/generate/digital-experience/site.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.0/src/commands/template/generate/digital-experience/site.ts)_
|
|
365
365
|
|
|
366
366
|
## `sf template generate flexipage`
|
|
367
367
|
|
|
@@ -443,7 +443,7 @@ FLAG DESCRIPTIONS
|
|
|
443
443
|
'Custom_Object__c'. This sets the `sobjectType` field in the FlexiPage metadata.
|
|
444
444
|
```
|
|
445
445
|
|
|
446
|
-
_See code: [src/commands/template/generate/flexipage/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
446
|
+
_See code: [src/commands/template/generate/flexipage/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.0/src/commands/template/generate/flexipage/index.ts)_
|
|
447
447
|
|
|
448
448
|
## `sf template generate lightning app`
|
|
449
449
|
|
|
@@ -501,7 +501,7 @@ FLAG DESCRIPTIONS
|
|
|
501
501
|
field in the DX project's "sfdx-project.json" file.
|
|
502
502
|
```
|
|
503
503
|
|
|
504
|
-
_See code: [src/commands/template/generate/lightning/app.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
504
|
+
_See code: [src/commands/template/generate/lightning/app.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.0/src/commands/template/generate/lightning/app.ts)_
|
|
505
505
|
|
|
506
506
|
## `sf template generate lightning component`
|
|
507
507
|
|
|
@@ -578,7 +578,7 @@ FLAG DESCRIPTIONS
|
|
|
578
578
|
field in the DX project's "sfdx-project.json" file.
|
|
579
579
|
```
|
|
580
580
|
|
|
581
|
-
_See code: [src/commands/template/generate/lightning/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
581
|
+
_See code: [src/commands/template/generate/lightning/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.0/src/commands/template/generate/lightning/component.ts)_
|
|
582
582
|
|
|
583
583
|
## `sf template generate lightning event`
|
|
584
584
|
|
|
@@ -636,7 +636,7 @@ FLAG DESCRIPTIONS
|
|
|
636
636
|
field in the DX project's "sfdx-project.json" file.
|
|
637
637
|
```
|
|
638
638
|
|
|
639
|
-
_See code: [src/commands/template/generate/lightning/event.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
639
|
+
_See code: [src/commands/template/generate/lightning/event.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.0/src/commands/template/generate/lightning/event.ts)_
|
|
640
640
|
|
|
641
641
|
## `sf template generate lightning interface`
|
|
642
642
|
|
|
@@ -694,7 +694,7 @@ FLAG DESCRIPTIONS
|
|
|
694
694
|
field in the DX project's "sfdx-project.json" file.
|
|
695
695
|
```
|
|
696
696
|
|
|
697
|
-
_See code: [src/commands/template/generate/lightning/interface.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
697
|
+
_See code: [src/commands/template/generate/lightning/interface.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.0/src/commands/template/generate/lightning/interface.ts)_
|
|
698
698
|
|
|
699
699
|
## `sf template generate lightning test`
|
|
700
700
|
|
|
@@ -752,7 +752,7 @@ FLAG DESCRIPTIONS
|
|
|
752
752
|
field in the DX project's "sfdx-project.json" file.
|
|
753
753
|
```
|
|
754
754
|
|
|
755
|
-
_See code: [src/commands/template/generate/lightning/test.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
755
|
+
_See code: [src/commands/template/generate/lightning/test.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.0/src/commands/template/generate/lightning/test.ts)_
|
|
756
756
|
|
|
757
757
|
## `sf template generate project`
|
|
758
758
|
|
|
@@ -878,7 +878,7 @@ FLAG DESCRIPTIONS
|
|
|
878
878
|
server-side type stripping.
|
|
879
879
|
```
|
|
880
880
|
|
|
881
|
-
_See code: [src/commands/template/generate/project/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
881
|
+
_See code: [src/commands/template/generate/project/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.0/src/commands/template/generate/project/index.ts)_
|
|
882
882
|
|
|
883
883
|
## `sf template generate static-resource`
|
|
884
884
|
|
|
@@ -941,7 +941,7 @@ FLAG DESCRIPTIONS
|
|
|
941
941
|
etc.
|
|
942
942
|
```
|
|
943
943
|
|
|
944
|
-
_See code: [src/commands/template/generate/static-resource/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
944
|
+
_See code: [src/commands/template/generate/static-resource/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.0/src/commands/template/generate/static-resource/index.ts)_
|
|
945
945
|
|
|
946
946
|
## `sf template generate ui-bundle`
|
|
947
947
|
|
|
@@ -1025,7 +1025,7 @@ FLAG DESCRIPTIONS
|
|
|
1025
1025
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
1026
1026
|
```
|
|
1027
1027
|
|
|
1028
|
-
_See code: [src/commands/template/generate/ui-bundle/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
1028
|
+
_See code: [src/commands/template/generate/ui-bundle/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.0/src/commands/template/generate/ui-bundle/index.ts)_
|
|
1029
1029
|
|
|
1030
1030
|
## `sf template generate visualforce component`
|
|
1031
1031
|
|
|
@@ -1082,7 +1082,7 @@ FLAG DESCRIPTIONS
|
|
|
1082
1082
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
1083
1083
|
```
|
|
1084
1084
|
|
|
1085
|
-
_See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
1085
|
+
_See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.0/src/commands/template/generate/visualforce/component.ts)_
|
|
1086
1086
|
|
|
1087
1087
|
## `sf template generate visualforce page`
|
|
1088
1088
|
|
|
@@ -1133,6 +1133,6 @@ FLAG DESCRIPTIONS
|
|
|
1133
1133
|
The name can be up to 40 characters and must start with a letter.
|
|
1134
1134
|
```
|
|
1135
1135
|
|
|
1136
|
-
_See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
1136
|
+
_See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/56.18.0/src/commands/template/generate/visualforce/page.ts)_
|
|
1137
1137
|
|
|
1138
1138
|
<!-- commandsstop -->
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { SfCommand } from '@salesforce/sf-plugins-core';
|
|
2
|
+
import { CreateOutput } from '@salesforce/templates';
|
|
3
|
+
export default class LightningEmbedding extends SfCommand<CreateOutput> {
|
|
4
|
+
static readonly summary: string;
|
|
5
|
+
static readonly description: string;
|
|
6
|
+
static readonly examples: string[];
|
|
7
|
+
static readonly state = "beta";
|
|
8
|
+
static readonly hidden = true;
|
|
9
|
+
static readonly flags: {
|
|
10
|
+
name: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
11
|
+
src: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
12
|
+
sandbox: import("@oclif/core/interfaces").OptionFlag<("allow-forms" | "allow-modals" | "allow-orientation-lock" | "allow-pointer-lock" | "allow-popups" | "allow-popups-to-escape-sandbox" | "allow-presentation" | "allow-same-origin" | "allow-scripts" | "allow-storage-access-by-user-activation" | "allow-top-navigation" | "allow-top-navigation-by-user-activation")[], import("@oclif/core/interfaces").CustomOptions>;
|
|
13
|
+
'shell-title': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
14
|
+
'output-dir': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
15
|
+
'api-version': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
16
|
+
internal: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
17
|
+
loglevel: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
18
|
+
};
|
|
19
|
+
run(): Promise<CreateOutput>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2026, salesforce.com, inc.
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
* Licensed under the BSD 3-Clause license.
|
|
5
|
+
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
6
|
+
*/
|
|
7
|
+
import { Flags, loglevel, orgApiVersionFlagWithDeprecations, SfCommand, Ux } from '@salesforce/sf-plugins-core';
|
|
8
|
+
import { isAllowedLightningEmbeddingSrcUrl, LIGHTNING_EMBEDDING_SANDBOX_TOKENS, TemplateType, } from '@salesforce/templates';
|
|
9
|
+
import { Messages } from '@salesforce/core';
|
|
10
|
+
import { getCustomTemplates, runGenerator } from '../../../../utils/templateCommand.js';
|
|
11
|
+
import { internalFlag, outputDirFlagLightning } from '../../../../utils/flags.js';
|
|
12
|
+
Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
|
|
13
|
+
const messages = Messages.loadMessages('@salesforce/plugin-templates', 'lightningEmbedding');
|
|
14
|
+
export default class LightningEmbedding extends SfCommand {
|
|
15
|
+
static summary = messages.getMessage('summary');
|
|
16
|
+
static description = messages.getMessage('description');
|
|
17
|
+
static examples = messages.getMessages('examples');
|
|
18
|
+
static state = 'beta';
|
|
19
|
+
static hidden = true;
|
|
20
|
+
static flags = {
|
|
21
|
+
name: Flags.string({
|
|
22
|
+
char: 'n',
|
|
23
|
+
summary: messages.getMessage('flags.name.summary'),
|
|
24
|
+
description: messages.getMessage('flags.name.description'),
|
|
25
|
+
required: true,
|
|
26
|
+
}),
|
|
27
|
+
src: Flags.string({
|
|
28
|
+
char: 's',
|
|
29
|
+
summary: messages.getMessage('flags.src.summary'),
|
|
30
|
+
description: messages.getMessage('flags.src.description'),
|
|
31
|
+
required: true,
|
|
32
|
+
parse: (input) => {
|
|
33
|
+
if (!isAllowedLightningEmbeddingSrcUrl(input)) {
|
|
34
|
+
throw new Error(messages.getMessage('flags.src.error'));
|
|
35
|
+
}
|
|
36
|
+
return Promise.resolve(input);
|
|
37
|
+
},
|
|
38
|
+
}),
|
|
39
|
+
sandbox: Flags.option({
|
|
40
|
+
summary: messages.getMessage('flags.sandbox.summary'),
|
|
41
|
+
description: messages.getMessage('flags.sandbox.description'),
|
|
42
|
+
options: LIGHTNING_EMBEDDING_SANDBOX_TOKENS,
|
|
43
|
+
multiple: true,
|
|
44
|
+
required: true,
|
|
45
|
+
})(),
|
|
46
|
+
'shell-title': Flags.string({
|
|
47
|
+
summary: messages.getMessage('flags.shell-title.summary'),
|
|
48
|
+
description: messages.getMessage('flags.shell-title.description'),
|
|
49
|
+
required: true,
|
|
50
|
+
}),
|
|
51
|
+
'output-dir': outputDirFlagLightning,
|
|
52
|
+
'api-version': orgApiVersionFlagWithDeprecations,
|
|
53
|
+
internal: internalFlag,
|
|
54
|
+
loglevel,
|
|
55
|
+
};
|
|
56
|
+
async run() {
|
|
57
|
+
const { flags } = await this.parse(LightningEmbedding);
|
|
58
|
+
const flagsAsOptions = {
|
|
59
|
+
componentname: flags.name,
|
|
60
|
+
src: flags.src,
|
|
61
|
+
sandbox: flags.sandbox.join(' '),
|
|
62
|
+
shellTitle: flags['shell-title'],
|
|
63
|
+
outputdir: flags['output-dir'],
|
|
64
|
+
apiversion: flags['api-version'],
|
|
65
|
+
internal: flags.internal,
|
|
66
|
+
};
|
|
67
|
+
return runGenerator({
|
|
68
|
+
templateType: TemplateType.LightningEmbedding,
|
|
69
|
+
opts: flagsAsOptions,
|
|
70
|
+
ux: new Ux({ jsonEnabled: this.jsonEnabled() }),
|
|
71
|
+
templates: getCustomTemplates(this.configAggregator),
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
//# sourceMappingURL=embedding.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"embedding.js","sourceRoot":"","sources":["../../../../../src/commands/template/generate/lightning/embedding.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,iCAAiC,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,6BAA6B,CAAC;AAChH,OAAO,EAEL,iCAAiC,EACjC,kCAAkC,EAElC,YAAY,GACb,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AACxF,OAAO,EAAE,YAAY,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAElF,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,8BAA8B,EAAE,oBAAoB,CAAC,CAAC;AAE7F,MAAM,CAAC,OAAO,OAAO,kBAAmB,SAAQ,SAAuB;IAC9D,MAAM,CAAU,OAAO,GAAG,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;IACzD,MAAM,CAAU,WAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;IACjE,MAAM,CAAU,QAAQ,GAAG,QAAQ,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;IAC5D,MAAM,CAAU,KAAK,GAAG,MAAM,CAAC;IAC/B,MAAM,CAAU,MAAM,GAAG,IAAI,CAAC;IAE9B,MAAM,CAAU,KAAK,GAAG;QAC7B,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC;YACjB,IAAI,EAAE,GAAG;YACT,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,oBAAoB,CAAC;YAClD,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,wBAAwB,CAAC;YAC1D,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,GAAG,EAAE,KAAK,CAAC,MAAM,CAAC;YAChB,IAAI,EAAE,GAAG;YACT,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,mBAAmB,CAAC;YACjD,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,uBAAuB,CAAC;YACzD,QAAQ,EAAE,IAAI;YACd,KAAK,EAAE,CAAC,KAAa,EAAE,EAAE;gBACvB,IAAI,CAAC,iCAAiC,CAAC,KAAK,CAAC,EAAE,CAAC;oBAC9C,MAAM,IAAI,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC,iBAAiB,CAAC,CAAC,CAAC;gBAC1D,CAAC;gBACD,OAAO,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;YAChC,CAAC;SACF,CAAC;QACF,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC;YACpB,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,uBAAuB,CAAC;YACrD,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,2BAA2B,CAAC;YAC7D,OAAO,EAAE,kCAAkC;YAC3C,QAAQ,EAAE,IAAI;YACd,QAAQ,EAAE,IAAI;SACf,CAAC,EAAE;QACJ,aAAa,EAAE,KAAK,CAAC,MAAM,CAAC;YAC1B,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,2BAA2B,CAAC;YACzD,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,+BAA+B,CAAC;YACjE,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,YAAY,EAAE,sBAAsB;QACpC,aAAa,EAAE,iCAAiC;QAChD,QAAQ,EAAE,YAAY;QACtB,QAAQ;KACT,CAAC;IAEK,KAAK,CAAC,GAAG;QACd,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC;QAEvD,MAAM,cAAc,GAA8B;YAChD,aAAa,EAAE,KAAK,CAAC,IAAI;YACzB,GAAG,EAAE,KAAK,CAAC,GAAG;YACd,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC;YAChC,UAAU,EAAE,KAAK,CAAC,aAAa,CAAC;YAChC,SAAS,EAAE,KAAK,CAAC,YAAY,CAAC;YAC9B,UAAU,EAAE,KAAK,CAAC,aAAa,CAAC;YAChC,QAAQ,EAAE,KAAK,CAAC,QAAQ;SACzB,CAAC;QAEF,OAAO,YAAY,CAAC;YAClB,YAAY,EAAE,YAAY,CAAC,kBAAkB;YAC7C,IAAI,EAAE,cAAc;YACpB,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,WAAW,EAAE,IAAI,CAAC,WAAW,EAAE,EAAE,CAAC;YAC/C,SAAS,EAAE,kBAAkB,CAAC,IAAI,CAAC,gBAAgB,CAAC;SACrD,CAAC,CAAC;IACL,CAAC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# examples
|
|
2
|
+
|
|
3
|
+
- Generate an embedding wrapper LWC in the current directory:
|
|
4
|
+
|
|
5
|
+
<%= config.bin %> <%= command.id %> --name MyEmbeddingWrapper --src https://app.example.com --sandbox allow-forms --shell-title "Expense Report Widget"
|
|
6
|
+
|
|
7
|
+
- Generate an embedding wrapper LWC in the "force-app/main/default/lwc" directory with multiple sandbox tokens:
|
|
8
|
+
|
|
9
|
+
<%= config.bin %> <%= command.id %> --name MyEmbeddingWrapper --src https://app.example.com --sandbox allow-forms --sandbox allow-scripts --shell-title "Expense Report Widget" --output-dir force-app/main/default/lwc
|
|
10
|
+
|
|
11
|
+
# summary
|
|
12
|
+
|
|
13
|
+
Generate a Lightning Web Component (LWC) bundle that wraps the lightning-embedding base component.
|
|
14
|
+
|
|
15
|
+
# description
|
|
16
|
+
|
|
17
|
+
The generated LWC bundle consumes the first-party <lightning-embedding> component, which is pre-wired with the three required attributes: the widget URL (src), iframe sandbox tokens, and an accessible iframe title (shell-title).
|
|
18
|
+
|
|
19
|
+
The generated LWC bundle contains four files (.html, .js, .js-meta.xml, .css) in a directory named with the camelCased component name. The bundle must live under a parent folder named "lwc".
|
|
20
|
+
|
|
21
|
+
# flags.name.summary
|
|
22
|
+
|
|
23
|
+
Name of the generated component; must be in PascalCase format.
|
|
24
|
+
|
|
25
|
+
# flags.name.description
|
|
26
|
+
|
|
27
|
+
The component name is also used (camelCased) as the LWC folder name and file stem. Must contain only alphanumeric characters and start with a letter.
|
|
28
|
+
|
|
29
|
+
# flags.src.summary
|
|
30
|
+
|
|
31
|
+
Absolute HTTPS URL that the iframe will load.
|
|
32
|
+
|
|
33
|
+
# flags.src.description
|
|
34
|
+
|
|
35
|
+
The URL is bound to the <lightning-embedding> "src" attribute as a reactive property in the generated LWC. Must use HTTPS; plain HTTP is allowed only for localhost or 127.0.0.1 (for local development).
|
|
36
|
+
|
|
37
|
+
# flags.src.error
|
|
38
|
+
|
|
39
|
+
The --src flag must be an absolute HTTPS URL, such as https://app.example.com. Plain HTTP is allowed only for localhost or 127.0.0.1.
|
|
40
|
+
|
|
41
|
+
# flags.sandbox.summary
|
|
42
|
+
|
|
43
|
+
Iframe sandbox token. Specify this flag multiple times to set more than one token.
|
|
44
|
+
|
|
45
|
+
# flags.sandbox.description
|
|
46
|
+
|
|
47
|
+
Each token is written into the space-separated "sandbox" attribute on <lightning-embedding>. Only W3C-defined sandbox tokens are accepted.
|
|
48
|
+
|
|
49
|
+
# flags.shell-title.summary
|
|
50
|
+
|
|
51
|
+
Accessible title for the embedded iframe.
|
|
52
|
+
|
|
53
|
+
# flags.shell-title.description
|
|
54
|
+
|
|
55
|
+
Written to the "shell-title" attribute on <lightning-embedding> and used as the iframe's accessible name (announced by screen readers).
|
package/oclif.manifest.json
CHANGED
|
@@ -1,5 +1,158 @@
|
|
|
1
1
|
{
|
|
2
2
|
"commands": {
|
|
3
|
+
"template:generate:analytics:template": {
|
|
4
|
+
"aliases": [
|
|
5
|
+
"force:analytics:template:create",
|
|
6
|
+
"analytics:generate:template"
|
|
7
|
+
],
|
|
8
|
+
"args": {},
|
|
9
|
+
"deprecateAliases": true,
|
|
10
|
+
"description": "The metadata files associated with the Analytics template must be contained in a parent directory called \"waveTemplates\" in your package directory. Either run this command from an existing directory of this name, or use the --output-dir flag to generate one or point to an existing one.",
|
|
11
|
+
"examples": [
|
|
12
|
+
"Generate the metadata files for a simple Analytics template file called myTemplate in the force-app/main/default/waveTemplates directory:\n<%= config.bin %> <%= command.id %> --name myTemplate --output-dir force-app/main/default/waveTemplates"
|
|
13
|
+
],
|
|
14
|
+
"flags": {
|
|
15
|
+
"json": {
|
|
16
|
+
"description": "Format output as json.",
|
|
17
|
+
"helpGroup": "GLOBAL",
|
|
18
|
+
"name": "json",
|
|
19
|
+
"allowNo": false,
|
|
20
|
+
"type": "boolean"
|
|
21
|
+
},
|
|
22
|
+
"flags-dir": {
|
|
23
|
+
"helpGroup": "GLOBAL",
|
|
24
|
+
"name": "flags-dir",
|
|
25
|
+
"summary": "Import flag values from a directory.",
|
|
26
|
+
"hasDynamicHelp": false,
|
|
27
|
+
"multiple": false,
|
|
28
|
+
"type": "option"
|
|
29
|
+
},
|
|
30
|
+
"output-dir": {
|
|
31
|
+
"aliases": [
|
|
32
|
+
"outputdir"
|
|
33
|
+
],
|
|
34
|
+
"char": "d",
|
|
35
|
+
"deprecateAliases": true,
|
|
36
|
+
"description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
|
|
37
|
+
"name": "output-dir",
|
|
38
|
+
"summary": "Directory for saving the created files.",
|
|
39
|
+
"default": ".",
|
|
40
|
+
"hasDynamicHelp": false,
|
|
41
|
+
"multiple": false,
|
|
42
|
+
"type": "option"
|
|
43
|
+
},
|
|
44
|
+
"api-version": {
|
|
45
|
+
"aliases": [
|
|
46
|
+
"apiversion"
|
|
47
|
+
],
|
|
48
|
+
"deprecateAliases": true,
|
|
49
|
+
"description": "Override the api version used for api requests made by this command",
|
|
50
|
+
"name": "api-version",
|
|
51
|
+
"hasDynamicHelp": false,
|
|
52
|
+
"multiple": false,
|
|
53
|
+
"type": "option"
|
|
54
|
+
},
|
|
55
|
+
"name": {
|
|
56
|
+
"aliases": [
|
|
57
|
+
"templatename"
|
|
58
|
+
],
|
|
59
|
+
"char": "n",
|
|
60
|
+
"deprecateAliases": true,
|
|
61
|
+
"name": "name",
|
|
62
|
+
"required": true,
|
|
63
|
+
"summary": "Name of the Analytics template.",
|
|
64
|
+
"hasDynamicHelp": false,
|
|
65
|
+
"multiple": false,
|
|
66
|
+
"type": "option"
|
|
67
|
+
},
|
|
68
|
+
"loglevel": {
|
|
69
|
+
"deprecated": {
|
|
70
|
+
"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 `SFDX_LOG_LEVEL` environment variable."
|
|
71
|
+
},
|
|
72
|
+
"hidden": true,
|
|
73
|
+
"name": "loglevel",
|
|
74
|
+
"hasDynamicHelp": false,
|
|
75
|
+
"multiple": false,
|
|
76
|
+
"type": "option"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"hasDynamicHelp": false,
|
|
80
|
+
"hiddenAliases": [],
|
|
81
|
+
"id": "template:generate:analytics:template",
|
|
82
|
+
"pluginAlias": "@salesforce/plugin-templates",
|
|
83
|
+
"pluginName": "@salesforce/plugin-templates",
|
|
84
|
+
"pluginType": "core",
|
|
85
|
+
"strict": true,
|
|
86
|
+
"summary": "Generate a simple Analytics template.",
|
|
87
|
+
"enableJsonFlag": true,
|
|
88
|
+
"isESM": true,
|
|
89
|
+
"relativePath": [
|
|
90
|
+
"lib",
|
|
91
|
+
"commands",
|
|
92
|
+
"template",
|
|
93
|
+
"generate",
|
|
94
|
+
"analytics",
|
|
95
|
+
"template.js"
|
|
96
|
+
],
|
|
97
|
+
"aliasPermutations": [
|
|
98
|
+
"force:analytics:template:create",
|
|
99
|
+
"analytics:force:template:create",
|
|
100
|
+
"analytics:template:force:create",
|
|
101
|
+
"analytics:template:create:force",
|
|
102
|
+
"force:template:analytics:create",
|
|
103
|
+
"template:force:analytics:create",
|
|
104
|
+
"template:analytics:force:create",
|
|
105
|
+
"template:analytics:create:force",
|
|
106
|
+
"force:template:create:analytics",
|
|
107
|
+
"template:force:create:analytics",
|
|
108
|
+
"template:create:force:analytics",
|
|
109
|
+
"template:create:analytics:force",
|
|
110
|
+
"force:analytics:create:template",
|
|
111
|
+
"analytics:force:create:template",
|
|
112
|
+
"analytics:create:force:template",
|
|
113
|
+
"analytics:create:template:force",
|
|
114
|
+
"force:create:analytics:template",
|
|
115
|
+
"create:force:analytics:template",
|
|
116
|
+
"create:analytics:force:template",
|
|
117
|
+
"create:analytics:template:force",
|
|
118
|
+
"force:create:template:analytics",
|
|
119
|
+
"create:force:template:analytics",
|
|
120
|
+
"create:template:force:analytics",
|
|
121
|
+
"create:template:analytics:force",
|
|
122
|
+
"analytics:generate:template",
|
|
123
|
+
"generate:analytics:template",
|
|
124
|
+
"generate:template:analytics",
|
|
125
|
+
"analytics:template:generate",
|
|
126
|
+
"template:analytics:generate",
|
|
127
|
+
"template:generate:analytics"
|
|
128
|
+
],
|
|
129
|
+
"permutations": [
|
|
130
|
+
"template:generate:analytics:template",
|
|
131
|
+
"generate:template:analytics:template",
|
|
132
|
+
"generate:analytics:template:template",
|
|
133
|
+
"generate:analytics:template:template",
|
|
134
|
+
"template:analytics:generate:template",
|
|
135
|
+
"analytics:template:generate:template",
|
|
136
|
+
"analytics:generate:template:template",
|
|
137
|
+
"analytics:generate:template:template",
|
|
138
|
+
"template:analytics:template:generate",
|
|
139
|
+
"analytics:template:template:generate",
|
|
140
|
+
"analytics:template:template:generate",
|
|
141
|
+
"analytics:template:generate:template",
|
|
142
|
+
"template:generate:template:analytics",
|
|
143
|
+
"generate:template:template:analytics",
|
|
144
|
+
"generate:template:template:analytics",
|
|
145
|
+
"generate:template:analytics:template",
|
|
146
|
+
"template:template:generate:analytics",
|
|
147
|
+
"template:template:generate:analytics",
|
|
148
|
+
"template:generate:template:analytics",
|
|
149
|
+
"template:generate:analytics:template",
|
|
150
|
+
"template:template:analytics:generate",
|
|
151
|
+
"template:template:analytics:generate",
|
|
152
|
+
"template:analytics:template:generate",
|
|
153
|
+
"template:analytics:generate:template"
|
|
154
|
+
]
|
|
155
|
+
},
|
|
3
156
|
"template:generate:apex:class": {
|
|
4
157
|
"aliases": [
|
|
5
158
|
"force:apex:class:create",
|
|
@@ -375,159 +528,6 @@
|
|
|
375
528
|
"trigger:apex:generate:template"
|
|
376
529
|
]
|
|
377
530
|
},
|
|
378
|
-
"template:generate:analytics:template": {
|
|
379
|
-
"aliases": [
|
|
380
|
-
"force:analytics:template:create",
|
|
381
|
-
"analytics:generate:template"
|
|
382
|
-
],
|
|
383
|
-
"args": {},
|
|
384
|
-
"deprecateAliases": true,
|
|
385
|
-
"description": "The metadata files associated with the Analytics template must be contained in a parent directory called \"waveTemplates\" in your package directory. Either run this command from an existing directory of this name, or use the --output-dir flag to generate one or point to an existing one.",
|
|
386
|
-
"examples": [
|
|
387
|
-
"Generate the metadata files for a simple Analytics template file called myTemplate in the force-app/main/default/waveTemplates directory:\n<%= config.bin %> <%= command.id %> --name myTemplate --output-dir force-app/main/default/waveTemplates"
|
|
388
|
-
],
|
|
389
|
-
"flags": {
|
|
390
|
-
"json": {
|
|
391
|
-
"description": "Format output as json.",
|
|
392
|
-
"helpGroup": "GLOBAL",
|
|
393
|
-
"name": "json",
|
|
394
|
-
"allowNo": false,
|
|
395
|
-
"type": "boolean"
|
|
396
|
-
},
|
|
397
|
-
"flags-dir": {
|
|
398
|
-
"helpGroup": "GLOBAL",
|
|
399
|
-
"name": "flags-dir",
|
|
400
|
-
"summary": "Import flag values from a directory.",
|
|
401
|
-
"hasDynamicHelp": false,
|
|
402
|
-
"multiple": false,
|
|
403
|
-
"type": "option"
|
|
404
|
-
},
|
|
405
|
-
"output-dir": {
|
|
406
|
-
"aliases": [
|
|
407
|
-
"outputdir"
|
|
408
|
-
],
|
|
409
|
-
"char": "d",
|
|
410
|
-
"deprecateAliases": true,
|
|
411
|
-
"description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
|
|
412
|
-
"name": "output-dir",
|
|
413
|
-
"summary": "Directory for saving the created files.",
|
|
414
|
-
"default": ".",
|
|
415
|
-
"hasDynamicHelp": false,
|
|
416
|
-
"multiple": false,
|
|
417
|
-
"type": "option"
|
|
418
|
-
},
|
|
419
|
-
"api-version": {
|
|
420
|
-
"aliases": [
|
|
421
|
-
"apiversion"
|
|
422
|
-
],
|
|
423
|
-
"deprecateAliases": true,
|
|
424
|
-
"description": "Override the api version used for api requests made by this command",
|
|
425
|
-
"name": "api-version",
|
|
426
|
-
"hasDynamicHelp": false,
|
|
427
|
-
"multiple": false,
|
|
428
|
-
"type": "option"
|
|
429
|
-
},
|
|
430
|
-
"name": {
|
|
431
|
-
"aliases": [
|
|
432
|
-
"templatename"
|
|
433
|
-
],
|
|
434
|
-
"char": "n",
|
|
435
|
-
"deprecateAliases": true,
|
|
436
|
-
"name": "name",
|
|
437
|
-
"required": true,
|
|
438
|
-
"summary": "Name of the Analytics template.",
|
|
439
|
-
"hasDynamicHelp": false,
|
|
440
|
-
"multiple": false,
|
|
441
|
-
"type": "option"
|
|
442
|
-
},
|
|
443
|
-
"loglevel": {
|
|
444
|
-
"deprecated": {
|
|
445
|
-
"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 `SFDX_LOG_LEVEL` environment variable."
|
|
446
|
-
},
|
|
447
|
-
"hidden": true,
|
|
448
|
-
"name": "loglevel",
|
|
449
|
-
"hasDynamicHelp": false,
|
|
450
|
-
"multiple": false,
|
|
451
|
-
"type": "option"
|
|
452
|
-
}
|
|
453
|
-
},
|
|
454
|
-
"hasDynamicHelp": false,
|
|
455
|
-
"hiddenAliases": [],
|
|
456
|
-
"id": "template:generate:analytics:template",
|
|
457
|
-
"pluginAlias": "@salesforce/plugin-templates",
|
|
458
|
-
"pluginName": "@salesforce/plugin-templates",
|
|
459
|
-
"pluginType": "core",
|
|
460
|
-
"strict": true,
|
|
461
|
-
"summary": "Generate a simple Analytics template.",
|
|
462
|
-
"enableJsonFlag": true,
|
|
463
|
-
"isESM": true,
|
|
464
|
-
"relativePath": [
|
|
465
|
-
"lib",
|
|
466
|
-
"commands",
|
|
467
|
-
"template",
|
|
468
|
-
"generate",
|
|
469
|
-
"analytics",
|
|
470
|
-
"template.js"
|
|
471
|
-
],
|
|
472
|
-
"aliasPermutations": [
|
|
473
|
-
"force:analytics:template:create",
|
|
474
|
-
"analytics:force:template:create",
|
|
475
|
-
"analytics:template:force:create",
|
|
476
|
-
"analytics:template:create:force",
|
|
477
|
-
"force:template:analytics:create",
|
|
478
|
-
"template:force:analytics:create",
|
|
479
|
-
"template:analytics:force:create",
|
|
480
|
-
"template:analytics:create:force",
|
|
481
|
-
"force:template:create:analytics",
|
|
482
|
-
"template:force:create:analytics",
|
|
483
|
-
"template:create:force:analytics",
|
|
484
|
-
"template:create:analytics:force",
|
|
485
|
-
"force:analytics:create:template",
|
|
486
|
-
"analytics:force:create:template",
|
|
487
|
-
"analytics:create:force:template",
|
|
488
|
-
"analytics:create:template:force",
|
|
489
|
-
"force:create:analytics:template",
|
|
490
|
-
"create:force:analytics:template",
|
|
491
|
-
"create:analytics:force:template",
|
|
492
|
-
"create:analytics:template:force",
|
|
493
|
-
"force:create:template:analytics",
|
|
494
|
-
"create:force:template:analytics",
|
|
495
|
-
"create:template:force:analytics",
|
|
496
|
-
"create:template:analytics:force",
|
|
497
|
-
"analytics:generate:template",
|
|
498
|
-
"generate:analytics:template",
|
|
499
|
-
"generate:template:analytics",
|
|
500
|
-
"analytics:template:generate",
|
|
501
|
-
"template:analytics:generate",
|
|
502
|
-
"template:generate:analytics"
|
|
503
|
-
],
|
|
504
|
-
"permutations": [
|
|
505
|
-
"template:generate:analytics:template",
|
|
506
|
-
"generate:template:analytics:template",
|
|
507
|
-
"generate:analytics:template:template",
|
|
508
|
-
"generate:analytics:template:template",
|
|
509
|
-
"template:analytics:generate:template",
|
|
510
|
-
"analytics:template:generate:template",
|
|
511
|
-
"analytics:generate:template:template",
|
|
512
|
-
"analytics:generate:template:template",
|
|
513
|
-
"template:analytics:template:generate",
|
|
514
|
-
"analytics:template:template:generate",
|
|
515
|
-
"analytics:template:template:generate",
|
|
516
|
-
"analytics:template:generate:template",
|
|
517
|
-
"template:generate:template:analytics",
|
|
518
|
-
"generate:template:template:analytics",
|
|
519
|
-
"generate:template:template:analytics",
|
|
520
|
-
"generate:template:analytics:template",
|
|
521
|
-
"template:template:generate:analytics",
|
|
522
|
-
"template:template:generate:analytics",
|
|
523
|
-
"template:generate:template:analytics",
|
|
524
|
-
"template:generate:analytics:template",
|
|
525
|
-
"template:template:analytics:generate",
|
|
526
|
-
"template:template:analytics:generate",
|
|
527
|
-
"template:analytics:template:generate",
|
|
528
|
-
"template:analytics:generate:template"
|
|
529
|
-
]
|
|
530
|
-
},
|
|
531
531
|
"template:generate:digital-experience:site": {
|
|
532
532
|
"aliases": [],
|
|
533
533
|
"args": {},
|
|
@@ -1183,30 +1183,198 @@
|
|
|
1183
1183
|
"component:generate:lightning"
|
|
1184
1184
|
],
|
|
1185
1185
|
"permutations": [
|
|
1186
|
-
"template:generate:lightning:component",
|
|
1187
|
-
"generate:template:lightning:component",
|
|
1188
|
-
"generate:lightning:template:component",
|
|
1189
|
-
"generate:lightning:component:template",
|
|
1190
|
-
"template:lightning:generate:component",
|
|
1191
|
-
"lightning:template:generate:component",
|
|
1192
|
-
"lightning:generate:template:component",
|
|
1193
|
-
"lightning:generate:component:template",
|
|
1194
|
-
"template:lightning:component:generate",
|
|
1195
|
-
"lightning:template:component:generate",
|
|
1196
|
-
"lightning:component:template:generate",
|
|
1197
|
-
"lightning:component:generate:template",
|
|
1198
|
-
"template:generate:component:lightning",
|
|
1199
|
-
"generate:template:component:lightning",
|
|
1200
|
-
"generate:component:template:lightning",
|
|
1201
|
-
"generate:component:lightning:template",
|
|
1202
|
-
"template:component:generate:lightning",
|
|
1203
|
-
"component:template:generate:lightning",
|
|
1204
|
-
"component:generate:template:lightning",
|
|
1205
|
-
"component:generate:lightning:template",
|
|
1206
|
-
"template:component:lightning:generate",
|
|
1207
|
-
"component:template:lightning:generate",
|
|
1208
|
-
"component:lightning:template:generate",
|
|
1209
|
-
"component:lightning:generate:template"
|
|
1186
|
+
"template:generate:lightning:component",
|
|
1187
|
+
"generate:template:lightning:component",
|
|
1188
|
+
"generate:lightning:template:component",
|
|
1189
|
+
"generate:lightning:component:template",
|
|
1190
|
+
"template:lightning:generate:component",
|
|
1191
|
+
"lightning:template:generate:component",
|
|
1192
|
+
"lightning:generate:template:component",
|
|
1193
|
+
"lightning:generate:component:template",
|
|
1194
|
+
"template:lightning:component:generate",
|
|
1195
|
+
"lightning:template:component:generate",
|
|
1196
|
+
"lightning:component:template:generate",
|
|
1197
|
+
"lightning:component:generate:template",
|
|
1198
|
+
"template:generate:component:lightning",
|
|
1199
|
+
"generate:template:component:lightning",
|
|
1200
|
+
"generate:component:template:lightning",
|
|
1201
|
+
"generate:component:lightning:template",
|
|
1202
|
+
"template:component:generate:lightning",
|
|
1203
|
+
"component:template:generate:lightning",
|
|
1204
|
+
"component:generate:template:lightning",
|
|
1205
|
+
"component:generate:lightning:template",
|
|
1206
|
+
"template:component:lightning:generate",
|
|
1207
|
+
"component:template:lightning:generate",
|
|
1208
|
+
"component:lightning:template:generate",
|
|
1209
|
+
"component:lightning:generate:template"
|
|
1210
|
+
]
|
|
1211
|
+
},
|
|
1212
|
+
"template:generate:lightning:embedding": {
|
|
1213
|
+
"aliases": [],
|
|
1214
|
+
"args": {},
|
|
1215
|
+
"description": "The generated LWC bundle consumes the first-party <lightning-embedding> component, which is pre-wired with the three required attributes: the widget URL (src), iframe sandbox tokens, and an accessible iframe title (shell-title).\n\nThe generated LWC bundle contains four files (.html, .js, .js-meta.xml, .css) in a directory named with the camelCased component name. The bundle must live under a parent folder named \"lwc\".",
|
|
1216
|
+
"examples": [
|
|
1217
|
+
"Generate an embedding wrapper LWC in the current directory:\n<%= config.bin %> <%= command.id %> --name MyEmbeddingWrapper --src https://app.example.com --sandbox allow-forms --shell-title \"Expense Report Widget\"",
|
|
1218
|
+
"Generate an embedding wrapper LWC in the \"force-app/main/default/lwc\" directory with multiple sandbox tokens:\n<%= config.bin %> <%= command.id %> --name MyEmbeddingWrapper --src https://app.example.com --sandbox allow-forms --sandbox allow-scripts --shell-title \"Expense Report Widget\" --output-dir force-app/main/default/lwc"
|
|
1219
|
+
],
|
|
1220
|
+
"flags": {
|
|
1221
|
+
"json": {
|
|
1222
|
+
"description": "Format output as json.",
|
|
1223
|
+
"helpGroup": "GLOBAL",
|
|
1224
|
+
"name": "json",
|
|
1225
|
+
"allowNo": false,
|
|
1226
|
+
"type": "boolean"
|
|
1227
|
+
},
|
|
1228
|
+
"flags-dir": {
|
|
1229
|
+
"helpGroup": "GLOBAL",
|
|
1230
|
+
"name": "flags-dir",
|
|
1231
|
+
"summary": "Import flag values from a directory.",
|
|
1232
|
+
"hasDynamicHelp": false,
|
|
1233
|
+
"multiple": false,
|
|
1234
|
+
"type": "option"
|
|
1235
|
+
},
|
|
1236
|
+
"name": {
|
|
1237
|
+
"char": "n",
|
|
1238
|
+
"description": "The component name is also used (camelCased) as the LWC folder name and file stem. Must contain only alphanumeric characters and start with a letter.",
|
|
1239
|
+
"name": "name",
|
|
1240
|
+
"required": true,
|
|
1241
|
+
"summary": "Name of the generated component; must be in PascalCase format.",
|
|
1242
|
+
"hasDynamicHelp": false,
|
|
1243
|
+
"multiple": false,
|
|
1244
|
+
"type": "option"
|
|
1245
|
+
},
|
|
1246
|
+
"src": {
|
|
1247
|
+
"char": "s",
|
|
1248
|
+
"description": "The URL is bound to the <lightning-embedding> \"src\" attribute as a reactive property in the generated LWC. Must use HTTPS; plain HTTP is allowed only for localhost or 127.0.0.1 (for local development).",
|
|
1249
|
+
"name": "src",
|
|
1250
|
+
"required": true,
|
|
1251
|
+
"summary": "Absolute HTTPS URL that the iframe will load.",
|
|
1252
|
+
"hasDynamicHelp": false,
|
|
1253
|
+
"multiple": false,
|
|
1254
|
+
"type": "option"
|
|
1255
|
+
},
|
|
1256
|
+
"sandbox": {
|
|
1257
|
+
"description": "Each token is written into the space-separated \"sandbox\" attribute on <lightning-embedding>. Only W3C-defined sandbox tokens are accepted.",
|
|
1258
|
+
"name": "sandbox",
|
|
1259
|
+
"required": true,
|
|
1260
|
+
"summary": "Iframe sandbox token. Specify this flag multiple times to set more than one token.",
|
|
1261
|
+
"hasDynamicHelp": false,
|
|
1262
|
+
"multiple": true,
|
|
1263
|
+
"options": [
|
|
1264
|
+
"allow-forms",
|
|
1265
|
+
"allow-modals",
|
|
1266
|
+
"allow-orientation-lock",
|
|
1267
|
+
"allow-pointer-lock",
|
|
1268
|
+
"allow-popups",
|
|
1269
|
+
"allow-popups-to-escape-sandbox",
|
|
1270
|
+
"allow-presentation",
|
|
1271
|
+
"allow-same-origin",
|
|
1272
|
+
"allow-scripts",
|
|
1273
|
+
"allow-storage-access-by-user-activation",
|
|
1274
|
+
"allow-top-navigation",
|
|
1275
|
+
"allow-top-navigation-by-user-activation"
|
|
1276
|
+
],
|
|
1277
|
+
"type": "option"
|
|
1278
|
+
},
|
|
1279
|
+
"shell-title": {
|
|
1280
|
+
"description": "Written to the \"shell-title\" attribute on <lightning-embedding> and used as the iframe's accessible name (announced by screen readers).",
|
|
1281
|
+
"name": "shell-title",
|
|
1282
|
+
"required": true,
|
|
1283
|
+
"summary": "Accessible title for the embedded iframe.",
|
|
1284
|
+
"hasDynamicHelp": false,
|
|
1285
|
+
"multiple": false,
|
|
1286
|
+
"type": "option"
|
|
1287
|
+
},
|
|
1288
|
+
"output-dir": {
|
|
1289
|
+
"aliases": [
|
|
1290
|
+
"outputdir"
|
|
1291
|
+
],
|
|
1292
|
+
"char": "d",
|
|
1293
|
+
"deprecateAliases": true,
|
|
1294
|
+
"description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
|
|
1295
|
+
"name": "output-dir",
|
|
1296
|
+
"summary": "Directory for saving the created files.",
|
|
1297
|
+
"default": ".",
|
|
1298
|
+
"hasDynamicHelp": false,
|
|
1299
|
+
"multiple": false,
|
|
1300
|
+
"type": "option"
|
|
1301
|
+
},
|
|
1302
|
+
"api-version": {
|
|
1303
|
+
"aliases": [
|
|
1304
|
+
"apiversion"
|
|
1305
|
+
],
|
|
1306
|
+
"deprecateAliases": true,
|
|
1307
|
+
"description": "Override the api version used for api requests made by this command",
|
|
1308
|
+
"name": "api-version",
|
|
1309
|
+
"hasDynamicHelp": false,
|
|
1310
|
+
"multiple": false,
|
|
1311
|
+
"type": "option"
|
|
1312
|
+
},
|
|
1313
|
+
"internal": {
|
|
1314
|
+
"char": "i",
|
|
1315
|
+
"hidden": true,
|
|
1316
|
+
"name": "internal",
|
|
1317
|
+
"summary": "Generate lightning bundles without creating a -meta.xml file.",
|
|
1318
|
+
"allowNo": false,
|
|
1319
|
+
"type": "boolean"
|
|
1320
|
+
},
|
|
1321
|
+
"loglevel": {
|
|
1322
|
+
"deprecated": {
|
|
1323
|
+
"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 `SFDX_LOG_LEVEL` environment variable."
|
|
1324
|
+
},
|
|
1325
|
+
"hidden": true,
|
|
1326
|
+
"name": "loglevel",
|
|
1327
|
+
"hasDynamicHelp": false,
|
|
1328
|
+
"multiple": false,
|
|
1329
|
+
"type": "option"
|
|
1330
|
+
}
|
|
1331
|
+
},
|
|
1332
|
+
"hasDynamicHelp": false,
|
|
1333
|
+
"hidden": true,
|
|
1334
|
+
"hiddenAliases": [],
|
|
1335
|
+
"id": "template:generate:lightning:embedding",
|
|
1336
|
+
"pluginAlias": "@salesforce/plugin-templates",
|
|
1337
|
+
"pluginName": "@salesforce/plugin-templates",
|
|
1338
|
+
"pluginType": "core",
|
|
1339
|
+
"state": "beta",
|
|
1340
|
+
"strict": true,
|
|
1341
|
+
"summary": "Generate a Lightning Web Component (LWC) bundle that wraps the lightning-embedding base component.",
|
|
1342
|
+
"enableJsonFlag": true,
|
|
1343
|
+
"isESM": true,
|
|
1344
|
+
"relativePath": [
|
|
1345
|
+
"lib",
|
|
1346
|
+
"commands",
|
|
1347
|
+
"template",
|
|
1348
|
+
"generate",
|
|
1349
|
+
"lightning",
|
|
1350
|
+
"embedding.js"
|
|
1351
|
+
],
|
|
1352
|
+
"aliasPermutations": [],
|
|
1353
|
+
"permutations": [
|
|
1354
|
+
"template:generate:lightning:embedding",
|
|
1355
|
+
"generate:template:lightning:embedding",
|
|
1356
|
+
"generate:lightning:template:embedding",
|
|
1357
|
+
"generate:lightning:embedding:template",
|
|
1358
|
+
"template:lightning:generate:embedding",
|
|
1359
|
+
"lightning:template:generate:embedding",
|
|
1360
|
+
"lightning:generate:template:embedding",
|
|
1361
|
+
"lightning:generate:embedding:template",
|
|
1362
|
+
"template:lightning:embedding:generate",
|
|
1363
|
+
"lightning:template:embedding:generate",
|
|
1364
|
+
"lightning:embedding:template:generate",
|
|
1365
|
+
"lightning:embedding:generate:template",
|
|
1366
|
+
"template:generate:embedding:lightning",
|
|
1367
|
+
"generate:template:embedding:lightning",
|
|
1368
|
+
"generate:embedding:template:lightning",
|
|
1369
|
+
"generate:embedding:lightning:template",
|
|
1370
|
+
"template:embedding:generate:lightning",
|
|
1371
|
+
"embedding:template:generate:lightning",
|
|
1372
|
+
"embedding:generate:template:lightning",
|
|
1373
|
+
"embedding:generate:lightning:template",
|
|
1374
|
+
"template:embedding:lightning:generate",
|
|
1375
|
+
"embedding:template:lightning:generate",
|
|
1376
|
+
"embedding:lightning:template:generate",
|
|
1377
|
+
"embedding:lightning:generate:template"
|
|
1210
1378
|
]
|
|
1211
1379
|
},
|
|
1212
1380
|
"template:generate:lightning:event": {
|
|
@@ -1928,18 +2096,14 @@
|
|
|
1928
2096
|
"project:generate:template"
|
|
1929
2097
|
]
|
|
1930
2098
|
},
|
|
1931
|
-
"template:generate:
|
|
1932
|
-
"aliases": [
|
|
1933
|
-
"force:staticresource:create",
|
|
1934
|
-
"static-resource:generate"
|
|
1935
|
-
],
|
|
2099
|
+
"template:generate:ui-bundle": {
|
|
2100
|
+
"aliases": [],
|
|
1936
2101
|
"args": {},
|
|
1937
|
-
"
|
|
1938
|
-
"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.",
|
|
2102
|
+
"description": "Salesforce provides native UI frameworks, such as Lighting Web Components (LWC), to build applications that run on the Salesforce Platform. But you can also use non-native JavaScript- or TypeScript-based UI frameworks, such as React, to build a UI experience for the Salesforce Platform and that you can launch from the App Launcher.\n\nThese non-native UI experiences are defined by the \"UIBundle\" metadata type in your DX project. Use this command to generate the required DX project structure and files. For example, when you run this command and specify the name MyUiBundle, then the files are generated into a \"uiBundles/MyUiBundle\" directory. Use the --output-dir flag to specify a different directory.\n\nUse the --template flag for generating the files to get started with a speciic UI framework, such as React. Check out the README.md file in the generated \"uiBundles/<bundlename>\" directory for more information about the template.",
|
|
1939
2103
|
"examples": [
|
|
1940
|
-
"Generate
|
|
1941
|
-
"
|
|
1942
|
-
"Generate the
|
|
2104
|
+
"Generate a UI bundle called MyUiBundle in the current directory:\n<%= config.bin %> <%= command.id %> --name MyUiBundle",
|
|
2105
|
+
"Generate a React-based UI bundle:\n<%= config.bin %> <%= command.id %> --name MyReactApp --template reactbasic",
|
|
2106
|
+
"Generate the React-based UI bundle in the \"force-app/main/default/uiBundles\" directory:\n<%= config.bin %> <%= command.id %> --name MyUiBundle --template reactbasic --output-dir force-app/main/default/uiBundles"
|
|
1943
2107
|
],
|
|
1944
2108
|
"flags": {
|
|
1945
2109
|
"json": {
|
|
@@ -1958,76 +2122,63 @@
|
|
|
1958
2122
|
"type": "option"
|
|
1959
2123
|
},
|
|
1960
2124
|
"name": {
|
|
1961
|
-
"aliases": [
|
|
1962
|
-
"resourcename"
|
|
1963
|
-
],
|
|
1964
2125
|
"char": "n",
|
|
1965
|
-
"deprecateAliases": true,
|
|
1966
2126
|
"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.",
|
|
1967
2127
|
"name": "name",
|
|
1968
2128
|
"required": true,
|
|
1969
|
-
"summary": "
|
|
2129
|
+
"summary": "API name of the generated UI bundle.",
|
|
1970
2130
|
"hasDynamicHelp": false,
|
|
1971
2131
|
"multiple": false,
|
|
1972
2132
|
"type": "option"
|
|
1973
2133
|
},
|
|
1974
|
-
"
|
|
1975
|
-
"
|
|
1976
|
-
|
|
2134
|
+
"template": {
|
|
2135
|
+
"char": "t",
|
|
2136
|
+
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
2137
|
+
"name": "template",
|
|
2138
|
+
"summary": "Template to use when creating the files for a specific UI framework.",
|
|
2139
|
+
"default": "default",
|
|
2140
|
+
"hasDynamicHelp": false,
|
|
2141
|
+
"multiple": false,
|
|
2142
|
+
"options": [
|
|
2143
|
+
"default",
|
|
2144
|
+
"reactbasic"
|
|
1977
2145
|
],
|
|
1978
|
-
"
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
"
|
|
1982
|
-
"
|
|
2146
|
+
"type": "option"
|
|
2147
|
+
},
|
|
2148
|
+
"label": {
|
|
2149
|
+
"char": "l",
|
|
2150
|
+
"description": "If not specified, the label is derived from the name.",
|
|
2151
|
+
"name": "label",
|
|
2152
|
+
"summary": "Master label for the UI bundle.",
|
|
1983
2153
|
"hasDynamicHelp": false,
|
|
1984
2154
|
"multiple": false,
|
|
1985
2155
|
"type": "option"
|
|
1986
2156
|
},
|
|
1987
2157
|
"output-dir": {
|
|
1988
|
-
"aliases": [
|
|
1989
|
-
"outputdir"
|
|
1990
|
-
],
|
|
1991
2158
|
"char": "d",
|
|
1992
|
-
"
|
|
1993
|
-
"description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
|
|
2159
|
+
"description": "The location can be an absolute path or relative to the current working directory.\n\nIf not specified, the command reads your sfdx-project.json and defaults to \"uiBundles\" directory within your default package directory. When running outside a Salesforce DX project, defaults to the current directory.\n\n**Important:** This command automatically ensures the output directory ends with \"uiBundles\". If your specified path doesn't end with \"uiBundles\", it's automatically appended. The UI bundle is created at \"<output-dir>/<name>\".\n\n**Examples:**\n\n- \"--output-dir force-app/main/default\" → Creates a UI bundle at \"force-app/main/default/uiBundles/MyUiBundle/\"\n- \"--output-dir force-app/main/default/uiBundles\" → Creates a UI bundle at \"force-app/main/default/uiBundles/MyUiBundle/\" (no change)",
|
|
1994
2160
|
"name": "output-dir",
|
|
1995
|
-
"summary": "Directory
|
|
1996
|
-
"default": ".",
|
|
2161
|
+
"summary": "Directory into which the files are created.",
|
|
1997
2162
|
"hasDynamicHelp": false,
|
|
1998
2163
|
"multiple": false,
|
|
1999
2164
|
"type": "option"
|
|
2000
2165
|
},
|
|
2001
2166
|
"api-version": {
|
|
2002
|
-
"aliases": [
|
|
2003
|
-
"apiversion"
|
|
2004
|
-
],
|
|
2005
|
-
"deprecateAliases": true,
|
|
2006
2167
|
"description": "Override the api version used for api requests made by this command",
|
|
2007
2168
|
"name": "api-version",
|
|
2008
2169
|
"hasDynamicHelp": false,
|
|
2009
2170
|
"multiple": false,
|
|
2010
2171
|
"type": "option"
|
|
2011
|
-
},
|
|
2012
|
-
"loglevel": {
|
|
2013
|
-
"deprecated": {
|
|
2014
|
-
"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 `SFDX_LOG_LEVEL` environment variable."
|
|
2015
|
-
},
|
|
2016
|
-
"hidden": true,
|
|
2017
|
-
"name": "loglevel",
|
|
2018
|
-
"hasDynamicHelp": false,
|
|
2019
|
-
"multiple": false,
|
|
2020
|
-
"type": "option"
|
|
2021
2172
|
}
|
|
2022
2173
|
},
|
|
2023
2174
|
"hasDynamicHelp": false,
|
|
2024
2175
|
"hiddenAliases": [],
|
|
2025
|
-
"id": "template:generate:
|
|
2176
|
+
"id": "template:generate:ui-bundle",
|
|
2026
2177
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
2027
2178
|
"pluginName": "@salesforce/plugin-templates",
|
|
2028
2179
|
"pluginType": "core",
|
|
2029
2180
|
"strict": true,
|
|
2030
|
-
"summary": "Generate a
|
|
2181
|
+
"summary": "Generate a UI bundle, which contains the code and metadata to build a UI experience that uses non-native Salesforce frameworks, such as React.",
|
|
2031
2182
|
"enableJsonFlag": true,
|
|
2032
2183
|
"isESM": true,
|
|
2033
2184
|
"relativePath": [
|
|
@@ -2035,36 +2186,31 @@
|
|
|
2035
2186
|
"commands",
|
|
2036
2187
|
"template",
|
|
2037
2188
|
"generate",
|
|
2038
|
-
"
|
|
2189
|
+
"ui-bundle",
|
|
2039
2190
|
"index.js"
|
|
2040
2191
|
],
|
|
2041
|
-
"aliasPermutations": [
|
|
2042
|
-
"force:staticresource:create",
|
|
2043
|
-
"staticresource:force:create",
|
|
2044
|
-
"staticresource:create:force",
|
|
2045
|
-
"force:create:staticresource",
|
|
2046
|
-
"create:force:staticresource",
|
|
2047
|
-
"create:staticresource:force",
|
|
2048
|
-
"static-resource:generate",
|
|
2049
|
-
"generate:static-resource"
|
|
2050
|
-
],
|
|
2192
|
+
"aliasPermutations": [],
|
|
2051
2193
|
"permutations": [
|
|
2052
|
-
"template:generate:
|
|
2053
|
-
"generate:template:
|
|
2054
|
-
"generate:
|
|
2055
|
-
"template:
|
|
2056
|
-
"
|
|
2057
|
-
"
|
|
2194
|
+
"template:generate:ui-bundle",
|
|
2195
|
+
"generate:template:ui-bundle",
|
|
2196
|
+
"generate:ui-bundle:template",
|
|
2197
|
+
"template:ui-bundle:generate",
|
|
2198
|
+
"ui-bundle:template:generate",
|
|
2199
|
+
"ui-bundle:generate:template"
|
|
2058
2200
|
]
|
|
2059
2201
|
},
|
|
2060
|
-
"template:generate:
|
|
2061
|
-
"aliases": [
|
|
2202
|
+
"template:generate:static-resource": {
|
|
2203
|
+
"aliases": [
|
|
2204
|
+
"force:staticresource:create",
|
|
2205
|
+
"static-resource:generate"
|
|
2206
|
+
],
|
|
2062
2207
|
"args": {},
|
|
2063
|
-
"
|
|
2208
|
+
"deprecateAliases": true,
|
|
2209
|
+
"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.",
|
|
2064
2210
|
"examples": [
|
|
2065
|
-
"Generate a
|
|
2066
|
-
"
|
|
2067
|
-
"Generate the
|
|
2211
|
+
"Generate the metadata file for a static resource called MyResource in the current directory:\n<%= config.bin %> <%= command.id %> --name MyResource",
|
|
2212
|
+
"Similar to previous example, but specifies a MIME type of application/json:\n<%= config.bin %> <%= command.id %> --name MyResource --type application/json",
|
|
2213
|
+
"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"
|
|
2068
2214
|
],
|
|
2069
2215
|
"flags": {
|
|
2070
2216
|
"json": {
|
|
@@ -2083,63 +2229,76 @@
|
|
|
2083
2229
|
"type": "option"
|
|
2084
2230
|
},
|
|
2085
2231
|
"name": {
|
|
2232
|
+
"aliases": [
|
|
2233
|
+
"resourcename"
|
|
2234
|
+
],
|
|
2086
2235
|
"char": "n",
|
|
2236
|
+
"deprecateAliases": true,
|
|
2087
2237
|
"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.",
|
|
2088
2238
|
"name": "name",
|
|
2089
2239
|
"required": true,
|
|
2090
|
-
"summary": "
|
|
2240
|
+
"summary": "Name of the generated static resource.",
|
|
2091
2241
|
"hasDynamicHelp": false,
|
|
2092
2242
|
"multiple": false,
|
|
2093
2243
|
"type": "option"
|
|
2094
2244
|
},
|
|
2095
|
-
"
|
|
2096
|
-
"
|
|
2097
|
-
|
|
2098
|
-
"name": "template",
|
|
2099
|
-
"summary": "Template to use when creating the files for a specific UI framework.",
|
|
2100
|
-
"default": "default",
|
|
2101
|
-
"hasDynamicHelp": false,
|
|
2102
|
-
"multiple": false,
|
|
2103
|
-
"options": [
|
|
2104
|
-
"default",
|
|
2105
|
-
"reactbasic"
|
|
2245
|
+
"type": {
|
|
2246
|
+
"aliases": [
|
|
2247
|
+
"contenttype"
|
|
2106
2248
|
],
|
|
2107
|
-
"
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
"
|
|
2111
|
-
"
|
|
2112
|
-
"name": "label",
|
|
2113
|
-
"summary": "Master label for the UI bundle.",
|
|
2249
|
+
"deprecateAliases": true,
|
|
2250
|
+
"description": "Must be a valid MIME type such as application/json, application/javascript, application/zip, text/plain, text/css, etc.",
|
|
2251
|
+
"name": "type",
|
|
2252
|
+
"summary": "Content type (mime type) of the generated static resource.",
|
|
2253
|
+
"default": "application/zip",
|
|
2114
2254
|
"hasDynamicHelp": false,
|
|
2115
2255
|
"multiple": false,
|
|
2116
2256
|
"type": "option"
|
|
2117
2257
|
},
|
|
2118
2258
|
"output-dir": {
|
|
2259
|
+
"aliases": [
|
|
2260
|
+
"outputdir"
|
|
2261
|
+
],
|
|
2119
2262
|
"char": "d",
|
|
2120
|
-
"
|
|
2263
|
+
"deprecateAliases": true,
|
|
2264
|
+
"description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
|
|
2121
2265
|
"name": "output-dir",
|
|
2122
|
-
"summary": "Directory
|
|
2266
|
+
"summary": "Directory for saving the created files.",
|
|
2267
|
+
"default": ".",
|
|
2123
2268
|
"hasDynamicHelp": false,
|
|
2124
2269
|
"multiple": false,
|
|
2125
2270
|
"type": "option"
|
|
2126
2271
|
},
|
|
2127
2272
|
"api-version": {
|
|
2273
|
+
"aliases": [
|
|
2274
|
+
"apiversion"
|
|
2275
|
+
],
|
|
2276
|
+
"deprecateAliases": true,
|
|
2128
2277
|
"description": "Override the api version used for api requests made by this command",
|
|
2129
2278
|
"name": "api-version",
|
|
2130
2279
|
"hasDynamicHelp": false,
|
|
2131
2280
|
"multiple": false,
|
|
2132
2281
|
"type": "option"
|
|
2282
|
+
},
|
|
2283
|
+
"loglevel": {
|
|
2284
|
+
"deprecated": {
|
|
2285
|
+
"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 `SFDX_LOG_LEVEL` environment variable."
|
|
2286
|
+
},
|
|
2287
|
+
"hidden": true,
|
|
2288
|
+
"name": "loglevel",
|
|
2289
|
+
"hasDynamicHelp": false,
|
|
2290
|
+
"multiple": false,
|
|
2291
|
+
"type": "option"
|
|
2133
2292
|
}
|
|
2134
2293
|
},
|
|
2135
2294
|
"hasDynamicHelp": false,
|
|
2136
2295
|
"hiddenAliases": [],
|
|
2137
|
-
"id": "template:generate:
|
|
2296
|
+
"id": "template:generate:static-resource",
|
|
2138
2297
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
2139
2298
|
"pluginName": "@salesforce/plugin-templates",
|
|
2140
2299
|
"pluginType": "core",
|
|
2141
2300
|
"strict": true,
|
|
2142
|
-
"summary": "Generate a
|
|
2301
|
+
"summary": "Generate a static resource.",
|
|
2143
2302
|
"enableJsonFlag": true,
|
|
2144
2303
|
"isESM": true,
|
|
2145
2304
|
"relativePath": [
|
|
@@ -2147,17 +2306,26 @@
|
|
|
2147
2306
|
"commands",
|
|
2148
2307
|
"template",
|
|
2149
2308
|
"generate",
|
|
2150
|
-
"
|
|
2309
|
+
"static-resource",
|
|
2151
2310
|
"index.js"
|
|
2152
2311
|
],
|
|
2153
|
-
"aliasPermutations": [
|
|
2312
|
+
"aliasPermutations": [
|
|
2313
|
+
"force:staticresource:create",
|
|
2314
|
+
"staticresource:force:create",
|
|
2315
|
+
"staticresource:create:force",
|
|
2316
|
+
"force:create:staticresource",
|
|
2317
|
+
"create:force:staticresource",
|
|
2318
|
+
"create:staticresource:force",
|
|
2319
|
+
"static-resource:generate",
|
|
2320
|
+
"generate:static-resource"
|
|
2321
|
+
],
|
|
2154
2322
|
"permutations": [
|
|
2155
|
-
"template:generate:
|
|
2156
|
-
"generate:template:
|
|
2157
|
-
"generate:
|
|
2158
|
-
"template:
|
|
2159
|
-
"
|
|
2160
|
-
"
|
|
2323
|
+
"template:generate:static-resource",
|
|
2324
|
+
"generate:template:static-resource",
|
|
2325
|
+
"generate:static-resource:template",
|
|
2326
|
+
"template:static-resource:generate",
|
|
2327
|
+
"static-resource:template:generate",
|
|
2328
|
+
"static-resource:generate:template"
|
|
2161
2329
|
]
|
|
2162
2330
|
},
|
|
2163
2331
|
"template:generate:visualforce:component": {
|
|
@@ -2516,5 +2684,5 @@
|
|
|
2516
2684
|
]
|
|
2517
2685
|
}
|
|
2518
2686
|
},
|
|
2519
|
-
"version": "56.
|
|
2687
|
+
"version": "56.18.0"
|
|
2520
2688
|
}
|
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.
|
|
4
|
+
"version": "56.18.0",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/salesforcecli/plugin-templates/issues",
|
|
7
7
|
"enableO11y": true,
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@salesforce/core": "^8.31.0",
|
|
11
11
|
"@salesforce/sf-plugins-core": "^12",
|
|
12
|
-
"@salesforce/templates": "^66.9.
|
|
12
|
+
"@salesforce/templates": "^66.9.1"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@oclif/plugin-command-snapshot": "^5.3.
|
|
15
|
+
"@oclif/plugin-command-snapshot": "^5.3.22",
|
|
16
16
|
"@salesforce/cli-plugins-testkit": "^5.3.58",
|
|
17
17
|
"@salesforce/dev-scripts": "^11.0.4",
|
|
18
18
|
"@salesforce/plugin-command-reference": "^3.1.106",
|
|
@@ -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.
|
|
253
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.
|
|
252
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.18.0.crt",
|
|
253
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.18.0.sig"
|
|
254
254
|
}
|
|
255
255
|
}
|