@salesforce/plugin-templates 56.18.18 → 56.19.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 +25 -19
- package/lib/commands/template/generate/lightning/embedding.js +4 -4
- package/lib/commands/template/generate/lightning/embedding.js.map +1 -1
- package/lib/commands/template/generate/project/index.d.ts +1 -1
- package/lib/commands/template/generate/project/index.js +1 -1
- package/lib/commands/template/generate/project/index.js.map +1 -1
- package/messages/project.md +2 -0
- package/oclif.manifest.json +4 -2
- package/package.json +4 -4
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.19.1/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.
|
|
242
|
+
_See code: [src/commands/template/generate/apex/class.ts](https://github.com/salesforcecli/plugin-templates/blob/56.19.1/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.
|
|
312
|
+
_See code: [src/commands/template/generate/apex/trigger.ts](https://github.com/salesforcecli/plugin-templates/blob/56.19.1/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.
|
|
366
|
+
_See code: [src/commands/template/generate/digital-experience/site.ts](https://github.com/salesforcecli/plugin-templates/blob/56.19.1/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.
|
|
448
|
+
_See code: [src/commands/template/generate/flexipage/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.19.1/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.
|
|
506
|
+
_See code: [src/commands/template/generate/lightning/app.ts](https://github.com/salesforcecli/plugin-templates/blob/56.19.1/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.
|
|
583
|
+
_See code: [src/commands/template/generate/lightning/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.19.1/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.
|
|
641
|
+
_See code: [src/commands/template/generate/lightning/event.ts](https://github.com/salesforcecli/plugin-templates/blob/56.19.1/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.
|
|
699
|
+
_See code: [src/commands/template/generate/lightning/interface.ts](https://github.com/salesforcecli/plugin-templates/blob/56.19.1/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.
|
|
757
|
+
_See code: [src/commands/template/generate/lightning/test.ts](https://github.com/salesforcecli/plugin-templates/blob/56.19.1/src/commands/template/generate/lightning/test.ts)_
|
|
758
758
|
|
|
759
759
|
## `sf template generate project`
|
|
760
760
|
|
|
@@ -763,8 +763,8 @@ Generate a Salesforce DX project.
|
|
|
763
763
|
```
|
|
764
764
|
USAGE
|
|
765
765
|
$ sf template generate project -n <value> [--json] [--flags-dir <value>] [-t
|
|
766
|
-
standard|empty|analytics|reactinternalapp|reactexternalapp|agent] [-d <value>]
|
|
767
|
-
[--lwc-language javascript|typescript] [--api-version <value>]
|
|
766
|
+
standard|empty|analytics|reactinternalapp|reactexternalapp|angularinternalapp|angularexternalapp|agent] [-d <value>]
|
|
767
|
+
[-s <value>] [-p <value>] [-x] [--lwc-language javascript|typescript] [--api-version <value>]
|
|
768
768
|
|
|
769
769
|
FLAGS
|
|
770
770
|
-d, --output-dir=<value> [default: .] Directory for saving the created files.
|
|
@@ -772,7 +772,8 @@ FLAGS
|
|
|
772
772
|
-p, --default-package-dir=<value> [default: force-app] Default package directory name.
|
|
773
773
|
-s, --namespace=<value> Namespace associated with this project and any connected scratch orgs.
|
|
774
774
|
-t, --template=<option> [default: standard] Template to use for project creation.
|
|
775
|
-
<options: standard|empty|analytics|reactinternalapp|reactexternalapp|
|
|
775
|
+
<options: standard|empty|analytics|reactinternalapp|reactexternalapp|angularinterna
|
|
776
|
+
lapp|angularexternalapp|agent>
|
|
776
777
|
-x, --manifest Generate a manifest (package.xml) for change-set based development.
|
|
777
778
|
--api-version=<value> Will set this version as sourceApiVersion in the sfdx-project.json file
|
|
778
779
|
--lwc-language=<option> Language of the Lightning Web Components. If not specified, "javascript" is used.
|
|
@@ -833,7 +834,9 @@ FLAG DESCRIPTIONS
|
|
|
833
834
|
|
|
834
835
|
Metadata items such as classes and Lightning bundles are placed inside this folder.
|
|
835
836
|
|
|
836
|
-
-t, --template=standard|empty|analytics|reactinternalapp|reactexternalapp|agent
|
|
837
|
+
-t, --template=standard|empty|analytics|reactinternalapp|reactexternalapp|angularinternalapp|angularexternalapp|agent
|
|
838
|
+
|
|
839
|
+
Template to use for project creation.
|
|
837
840
|
|
|
838
841
|
The template determines the sample configuration files and directories that this command generates. For example, the
|
|
839
842
|
empty template provides these files and directory to get you started.
|
|
@@ -860,6 +863,9 @@ FLAG DESCRIPTIONS
|
|
|
860
863
|
The reactinternalapp and reactexternalapp templates provide React-based project scaffolding for internal and
|
|
861
864
|
external UI bundle use cases.
|
|
862
865
|
|
|
866
|
+
The angularinternalapp and angularexternalapp templates provide Angular-based project scaffolding for internal and
|
|
867
|
+
external UI bundle use cases.
|
|
868
|
+
|
|
863
869
|
The agent template provides project scaffolding for building Agentforce agents and includes a sample agent called
|
|
864
870
|
Local Info Agent.
|
|
865
871
|
|
|
@@ -880,7 +886,7 @@ FLAG DESCRIPTIONS
|
|
|
880
886
|
server-side type stripping.
|
|
881
887
|
```
|
|
882
888
|
|
|
883
|
-
_See code: [src/commands/template/generate/project/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
889
|
+
_See code: [src/commands/template/generate/project/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.19.1/src/commands/template/generate/project/index.ts)_
|
|
884
890
|
|
|
885
891
|
## `sf template generate static-resource`
|
|
886
892
|
|
|
@@ -943,7 +949,7 @@ FLAG DESCRIPTIONS
|
|
|
943
949
|
etc.
|
|
944
950
|
```
|
|
945
951
|
|
|
946
|
-
_See code: [src/commands/template/generate/static-resource/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
952
|
+
_See code: [src/commands/template/generate/static-resource/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.19.1/src/commands/template/generate/static-resource/index.ts)_
|
|
947
953
|
|
|
948
954
|
## `sf template generate ui-bundle`
|
|
949
955
|
|
|
@@ -1032,7 +1038,7 @@ FLAG DESCRIPTIONS
|
|
|
1032
1038
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
1033
1039
|
```
|
|
1034
1040
|
|
|
1035
|
-
_See code: [src/commands/template/generate/ui-bundle/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
1041
|
+
_See code: [src/commands/template/generate/ui-bundle/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.19.1/src/commands/template/generate/ui-bundle/index.ts)_
|
|
1036
1042
|
|
|
1037
1043
|
## `sf template generate visualforce component`
|
|
1038
1044
|
|
|
@@ -1089,7 +1095,7 @@ FLAG DESCRIPTIONS
|
|
|
1089
1095
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
1090
1096
|
```
|
|
1091
1097
|
|
|
1092
|
-
_See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
1098
|
+
_See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.19.1/src/commands/template/generate/visualforce/component.ts)_
|
|
1093
1099
|
|
|
1094
1100
|
## `sf template generate visualforce page`
|
|
1095
1101
|
|
|
@@ -1140,6 +1146,6 @@ FLAG DESCRIPTIONS
|
|
|
1140
1146
|
The name can be up to 40 characters and must start with a letter.
|
|
1141
1147
|
```
|
|
1142
1148
|
|
|
1143
|
-
_See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
1149
|
+
_See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/56.19.1/src/commands/template/generate/visualforce/page.ts)_
|
|
1144
1150
|
|
|
1145
1151
|
<!-- commandsstop -->
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
6
6
|
*/
|
|
7
7
|
import { Flags, loglevel, orgApiVersionFlagWithDeprecations, SfCommand, Ux } from '@salesforce/sf-plugins-core';
|
|
8
|
-
import {
|
|
8
|
+
import { isAllowedUIEmbeddingSrcUrl, UI_EMBEDDING_SANDBOX_TOKENS, TemplateType, } from '@salesforce/templates';
|
|
9
9
|
import { Messages } from '@salesforce/core';
|
|
10
10
|
import { getCustomTemplates, runGenerator } from '../../../../utils/templateCommand.js';
|
|
11
11
|
import { internalFlag, outputDirFlagLightning } from '../../../../utils/flags.js';
|
|
@@ -30,7 +30,7 @@ export default class LightningEmbedding extends SfCommand {
|
|
|
30
30
|
description: messages.getMessage('flags.src.description'),
|
|
31
31
|
required: true,
|
|
32
32
|
parse: (input) => {
|
|
33
|
-
if (!
|
|
33
|
+
if (!isAllowedUIEmbeddingSrcUrl(input)) {
|
|
34
34
|
throw new Error(messages.getMessage('flags.src.error'));
|
|
35
35
|
}
|
|
36
36
|
return Promise.resolve(input);
|
|
@@ -39,7 +39,7 @@ export default class LightningEmbedding extends SfCommand {
|
|
|
39
39
|
sandbox: Flags.option({
|
|
40
40
|
summary: messages.getMessage('flags.sandbox.summary'),
|
|
41
41
|
description: messages.getMessage('flags.sandbox.description'),
|
|
42
|
-
options:
|
|
42
|
+
options: UI_EMBEDDING_SANDBOX_TOKENS,
|
|
43
43
|
multiple: true,
|
|
44
44
|
required: true,
|
|
45
45
|
})(),
|
|
@@ -65,7 +65,7 @@ export default class LightningEmbedding extends SfCommand {
|
|
|
65
65
|
internal: flags.internal,
|
|
66
66
|
};
|
|
67
67
|
return runGenerator({
|
|
68
|
-
templateType: TemplateType.
|
|
68
|
+
templateType: TemplateType.UIEmbedding,
|
|
69
69
|
opts: flagsAsOptions,
|
|
70
70
|
ux: new Ux({ jsonEnabled: this.jsonEnabled() }),
|
|
71
71
|
templates: getCustomTemplates(this.configAggregator),
|
|
@@ -1 +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,
|
|
1
|
+
{"version":3,"file":"embedding.js","sourceRoot":"","sources":["../../../../../src/commands/template/generate/lightning/embedding.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,KAAK,EAAE,QA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AE,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,WAAW;YACtC,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"}
|
|
@@ -8,7 +8,7 @@ export default class Project extends SfCommand<CreateOutput> {
|
|
|
8
8
|
static readonly deprecateAliases = true;
|
|
9
9
|
static readonly flags: {
|
|
10
10
|
name: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
11
|
-
template: import("@oclif/core/interfaces").OptionFlag<"standard" | "empty" | "analytics" | "reactinternalapp" | "reactexternalapp" | "agent", import("@oclif/core/interfaces").CustomOptions>;
|
|
11
|
+
template: import("@oclif/core/interfaces").OptionFlag<"standard" | "empty" | "analytics" | "reactinternalapp" | "reactexternalapp" | "angularinternalapp" | "angularexternalapp" | "agent", import("@oclif/core/interfaces").CustomOptions>;
|
|
12
12
|
'output-dir': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
13
13
|
namespace: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
14
14
|
'default-package-dir': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
@@ -31,7 +31,7 @@ export default class Project extends SfCommand {
|
|
|
31
31
|
summary: messages.getMessage('flags.template.summary'),
|
|
32
32
|
description: messages.getMessage('flags.template.description'),
|
|
33
33
|
default: 'standard',
|
|
34
|
-
options: ['standard', 'empty', 'analytics', 'reactinternalapp', 'reactexternalapp', 'agent'],
|
|
34
|
+
options: ['standard', 'empty', 'analytics', 'reactinternalapp', 'reactexternalapp', 'angularinternalapp', 'angularexternalapp', 'agent'],
|
|
35
35
|
})(),
|
|
36
36
|
'output-dir': outputDirFlag,
|
|
37
37
|
namespace: Flags.string({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/commands/template/generate/project/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,6BAA6B,CAAC;AAC7E,OAAO,EAAgC,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACnF,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AACxF,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAE3D,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,8BAA8B,EAAE,SAAS,CAAC,CAAC;AAClF,MAAM,CAAC,OAAO,OAAO,OAAQ,SAAQ,SAAuB;IACnD,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,OAAO,GAAG,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAAC;IACvE,MAAM,CAAU,gBAAgB,GAAG,IAAI,CAAC;IACxC,MAAM,CAAU,KAAK,GAAG;QAC7B,IAAI,EAAE,KAAK,CAAC,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YACvB,SAAS,EAAE,KAAK,CAAC,YAAY,CAAC;YAC9B,QAAQ,EAAE,KAAK,CAAC,QAAQ;YACxB,QAAQ,EAAE,KAAK,CAAC,WAAW,CAAC;YAC5B,QAAQ,EAAE,KAAK,CAAC,QAAQ;YACxB,oDAAoD;YACpD,EAAE,EAAE,KAAK,CAAC,SAAS;YACnB,iBAAiB,EAAE,KAAK,CAAC,qBAAqB,CAAC;YAC/C,UAAU,EAAE,KAAK,CAAC,aAAa,CAAC;SACjC,CAAC;QAEF,IAAI,KAAK,CAAC,cAAc,CAAC,EAAE,CAAC;YAC1B,cAAc,CAAC,WAAW,GAAG,KAAK,CAAC,cAAc,CAAC,CAAC;QACrD,CAAC;QAED,KAAK,SAAS,CAAC,WAAW,EAAE,CAAC,aAAa,CAAC,EAAE,SAAS,EAAE,6BAA6B,EAAE,QAAQ,EAAE,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC;QAEnH,OAAO,YAAY,CAAC;YAClB,YAAY,EAAE,YAAY,CAAC,OAAO;YAClC,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"}
|
package/messages/project.md
CHANGED
|
@@ -64,6 +64,8 @@ The analytics template provides similar files and the force-app/main/default/wav
|
|
|
64
64
|
|
|
65
65
|
The reactinternalapp and reactexternalapp templates provide React-based project scaffolding for internal and external UI bundle use cases.
|
|
66
66
|
|
|
67
|
+
The angularinternalapp and angularexternalapp templates provide Angular-based project scaffolding for internal and external UI bundle use cases.
|
|
68
|
+
|
|
67
69
|
The agent template provides project scaffolding for building Agentforce agents and includes a sample agent called Local Info Agent.
|
|
68
70
|
|
|
69
71
|
# flags.namespace.summary
|
package/oclif.manifest.json
CHANGED
|
@@ -1954,7 +1954,7 @@
|
|
|
1954
1954
|
},
|
|
1955
1955
|
"template": {
|
|
1956
1956
|
"char": "t",
|
|
1957
|
-
"description": "The template determines the sample configuration files and directories that this command generates. For example, the empty template provides these files and directory to get you started.\n\n- .forceignore\n- config/project-scratch-def.json\n- sfdx-project.json\n- package.json\n- force-app (basic source directory structure)\n\nThe standard template provides a complete force-app directory structure so you know where to put your source. It also provides additional files and scripts, especially useful when using Salesforce Extensions for VS Code. For example:\n\n- .gitignore: Use Git for version control.\n- .prettierrc and .prettierignore: Use Prettier to format your Aura components.\n- .vscode/extensions.json: When launched, Visual Studio Code, prompts you to install the recommended extensions for your project.\n- .vscode/launch.json: Configures Replay Debugger.\n- .vscode/settings.json: Additional configuration settings.\n\nThe analytics template provides similar files and the force-app/main/default/waveTemplates directory.\n\nThe reactinternalapp and reactexternalapp templates provide React-based project scaffolding for internal and external UI bundle use cases.\n\nThe agent template provides project scaffolding for building Agentforce agents and includes a sample agent called Local Info Agent.",
|
|
1957
|
+
"description": "The template determines the sample configuration files and directories that this command generates. For example, the empty template provides these files and directory to get you started.\n\n- .forceignore\n- config/project-scratch-def.json\n- sfdx-project.json\n- package.json\n- force-app (basic source directory structure)\n\nThe standard template provides a complete force-app directory structure so you know where to put your source. It also provides additional files and scripts, especially useful when using Salesforce Extensions for VS Code. For example:\n\n- .gitignore: Use Git for version control.\n- .prettierrc and .prettierignore: Use Prettier to format your Aura components.\n- .vscode/extensions.json: When launched, Visual Studio Code, prompts you to install the recommended extensions for your project.\n- .vscode/launch.json: Configures Replay Debugger.\n- .vscode/settings.json: Additional configuration settings.\n\nThe analytics template provides similar files and the force-app/main/default/waveTemplates directory.\n\nThe reactinternalapp and reactexternalapp templates provide React-based project scaffolding for internal and external UI bundle use cases.\n\nThe angularinternalapp and angularexternalapp templates provide Angular-based project scaffolding for internal and external UI bundle use cases.\n\nThe agent template provides project scaffolding for building Agentforce agents and includes a sample agent called Local Info Agent.",
|
|
1958
1958
|
"name": "template",
|
|
1959
1959
|
"summary": "Template to use for project creation.",
|
|
1960
1960
|
"default": "standard",
|
|
@@ -1966,6 +1966,8 @@
|
|
|
1966
1966
|
"analytics",
|
|
1967
1967
|
"reactinternalapp",
|
|
1968
1968
|
"reactexternalapp",
|
|
1969
|
+
"angularinternalapp",
|
|
1970
|
+
"angularexternalapp",
|
|
1969
1971
|
"agent"
|
|
1970
1972
|
],
|
|
1971
1973
|
"type": "option"
|
|
@@ -2688,5 +2690,5 @@
|
|
|
2688
2690
|
]
|
|
2689
2691
|
}
|
|
2690
2692
|
},
|
|
2691
|
-
"version": "56.
|
|
2693
|
+
"version": "56.19.1"
|
|
2692
2694
|
}
|
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.19.1",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/salesforcecli/plugin-templates/issues",
|
|
7
7
|
"enableO11y": true,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@salesforce/core": "^8.32.4",
|
|
11
11
|
"@salesforce/sf-plugins-core": "^12",
|
|
12
|
-
"@salesforce/templates": "^66.
|
|
12
|
+
"@salesforce/templates": "^66.13.0"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"@oclif/plugin-command-snapshot": "^5.3.31",
|
|
@@ -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.19.1.crt",
|
|
253
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.19.1.sig"
|
|
254
254
|
}
|
|
255
255
|
}
|