@salesforce/plugin-community 2.1.4 → 2.2.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.
|
@@ -12,13 +12,13 @@ export declare class CommunityCreateCommand extends SfCommand<CommunityCreateRes
|
|
|
12
12
|
static readonly examples: string[];
|
|
13
13
|
static readonly strict = false;
|
|
14
14
|
static readonly flags: {
|
|
15
|
-
name: import("@oclif/core/lib/interfaces").OptionFlag<string>;
|
|
16
|
-
'template-name': import("@oclif/core/lib/interfaces").OptionFlag<string>;
|
|
17
|
-
'url-path-prefix': import("@oclif/core/lib/interfaces").OptionFlag<string>;
|
|
18
|
-
description: import("@oclif/core/lib/interfaces").OptionFlag<string>;
|
|
19
|
-
'target-org': import("@oclif/core/lib/interfaces").OptionFlag<import("@salesforce/core").Org>;
|
|
20
|
-
loglevel: import("@oclif/core/lib/interfaces").OptionFlag<string>;
|
|
21
|
-
'api-version': import("@oclif/core/lib/interfaces").OptionFlag<string>;
|
|
15
|
+
name: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
16
|
+
'template-name': import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
17
|
+
'url-path-prefix': import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
18
|
+
description: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
19
|
+
'target-org': import("@oclif/core/lib/interfaces").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
20
|
+
loglevel: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
21
|
+
'api-version': import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
22
22
|
};
|
|
23
23
|
static readonly validationPatterns: string[];
|
|
24
24
|
private logger;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../src/commands/community/create.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAGH,2CAAoD;AACpD,iEAMqC;AACrC,uGAAoG;AACpG,mFAAgF;AAChF,oGAAiG;AAEjG,8CAA0D;AAE1D,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,8BAA8B,EAAE,QAAQ,CAAC,CAAC;AAEjF,MAAM,WAAW,GAAG,SAAS,CAAC;AAC9B,MAAM,QAAQ,GAAG,MAAM,CAAC;AACxB,MAAM,UAAU,GAAG,QAAQ,CAAC;AAE5B;;;GAGG;AACH,MAAa,sBAAuB,SAAQ,2BAAkC;IAgDrE,KAAK,CAAC,GAAG;QACd,IAAI,CAAC,MAAM,GAAG,aAAM,CAAC,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;QAC1D,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC;QACjE,MAAM,OAAO,GAAG,IAAI,CAAC,YAAY,CAAC,
|
|
1
|
+
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../src/commands/community/create.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAGH,2CAAoD;AACpD,iEAMqC;AACrC,uGAAoG;AACpG,mFAAgF;AAChF,oGAAiG;AAEjG,8CAA0D;AAE1D,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,8BAA8B,EAAE,QAAQ,CAAC,CAAC;AAEjF,MAAM,WAAW,GAAG,SAAS,CAAC;AAC9B,MAAM,QAAQ,GAAG,MAAM,CAAC;AAC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W,EAAE,QAAQ,CAAC,UAAU,CAAC,gCAAgC,CAAC;QAClE,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,CAAC,cAAc,CAAC;KAC1B,CAAC;IACF,iBAAiB,EAAE,uBAAK,CAAC,MAAM,CAAC;QAC9B,IAAI,EAAE,GAAG;QACT,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,6BAA6B,CAAC;QAC3D,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,iCAAiC,CAAC;QACnE,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,CAAC,eAAe,CAAC;KAC3B,CAAC;IACF,WAAW,EAAE,uBAAK,CAAC,MAAM,CAAC;QACxB,IAAI,EAAE,GAAG;QACT,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,2BAA2B,CAAC;QACzD,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,+BAA+B,CAAC;KAClE,CAAC;IACF,YAAY,EAAE,iDAA+B;IAC7C,QAAQ,EAAR,0BAAQ;IACR,aAAa,EAAE,mDAAiC;CACjD,CAAC;AAEqB,yCAAkB,GAAa;IACpD,gBAAgB;IAChB,MAAM;IACN,eAAe;IACf,cAAc;IACd,aAAa;IAEb,qFAAqF;IACrF,0BAA0B;CAC3B,CAAC"}
|
|
@@ -10,9 +10,9 @@ export declare class CommunityListTemplatesCommand extends SfCommand<CommunityTe
|
|
|
10
10
|
static readonly description: string;
|
|
11
11
|
static readonly examples: string[];
|
|
12
12
|
static readonly flags: {
|
|
13
|
-
'target-org': import("@oclif/core/lib/interfaces").OptionFlag<import("@salesforce/core").Org>;
|
|
14
|
-
'api-version': import("@oclif/core/lib/interfaces").OptionFlag<string>;
|
|
15
|
-
loglevel: import("@oclif/core/lib/interfaces").OptionFlag<string>;
|
|
13
|
+
'target-org': import("@oclif/core/lib/interfaces").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
14
|
+
'api-version': import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
15
|
+
loglevel: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
16
16
|
};
|
|
17
17
|
run(): Promise<CommunityTemplatesListResponse>;
|
|
18
18
|
private displayResults;
|
|
@@ -10,10 +10,10 @@ export declare class CommunityPublishCommand extends SfCommand<CommunityPublishR
|
|
|
10
10
|
static readonly description: string;
|
|
11
11
|
static readonly examples: string[];
|
|
12
12
|
static readonly flags: {
|
|
13
|
-
name: import("@oclif/core/lib/interfaces").OptionFlag<string>;
|
|
14
|
-
'target-org': import("@oclif/core/lib/interfaces").OptionFlag<import("@salesforce/core").Org>;
|
|
15
|
-
'api-version': import("@oclif/core/lib/interfaces").OptionFlag<string>;
|
|
16
|
-
loglevel: import("@oclif/core/lib/interfaces").OptionFlag<string>;
|
|
13
|
+
name: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
14
|
+
'target-org': import("@oclif/core/lib/interfaces").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
15
|
+
'api-version': import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
16
|
+
loglevel: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
17
17
|
};
|
|
18
18
|
run(): Promise<CommunityPublishResponse>;
|
|
19
19
|
private displayResults;
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1,230 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": "2.2.0",
|
|
3
|
+
"commands": {
|
|
4
|
+
"community:create": {
|
|
5
|
+
"id": "community:create",
|
|
6
|
+
"summary": "Create an Experience Cloud site using a template.",
|
|
7
|
+
"description": "See 'Which Experience Cloud Template Should I Use?' (https://help.salesforce.com/s/articleView?id=sf.siteforce_commtemp_intro.htm&type=5) in Salesforce Help for more information about the different template\ntypes available for Experience Cloud.\n\nWhen creating a site with the Build Your Own (LWR) template, you must also specify the AuthenticationType value using the format templateParams.AuthenticationType=value, where value is AUTHENTICATED, UNAUTHENTICATED, or AUTHENTICATED_WITH_PUBLIC_ACCESS. Name and values are case-sensitive. See 'ExperienceBundle' in the Metadata API Developer Guide for more information. (https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_experiencebundle.htm)\n\nWhen you execute this command, it creates the site in preview status, which means that it isn't yet live. After you finish building your site, you can make it live.\n\nIf you have an Experience Builder site, publish the site using the \"community publish\" command to make it live.\n\nIf you have a Salesforce Tabs + Visualforce site, activate the site to make it live by updating the status field of the Network type in the Metadata API. Alternatively, in Experience Workspaces, go to Administration | Settings, and click Activate.\n\nFor Experience Builder sites, activating the site just sends out a welcome email to site members.",
|
|
8
|
+
"strict": false,
|
|
9
|
+
"pluginName": "@salesforce/plugin-community",
|
|
10
|
+
"pluginAlias": "@salesforce/plugin-community",
|
|
11
|
+
"pluginType": "core",
|
|
12
|
+
"aliases": [
|
|
13
|
+
"force:community:create"
|
|
14
|
+
],
|
|
15
|
+
"examples": [
|
|
16
|
+
"Create an Experience Cloud site using template 'Customer Service' and URL path prefix 'customers':\n<%= config.bin %> <%= command.id %> --name 'My Customer Site' --template-name 'Customer Service' --url-path-prefix customers --description 'My customer site'",
|
|
17
|
+
"Create a site using 'Partner Central' template:\n<%= config.bin %> <%= command.id %> --name partnercentral --template-name 'Partner Central' --url-path-prefix partners",
|
|
18
|
+
"Create a site using the 'Build Your Own (LWR)' template with authentication type of UNAUTHENTICATED:\n<%= config.bin %> <%= command.id %> --name lwrsite --template-name 'Build Your Own (LWR)' --url-path-prefix lwrsite templateParams.AuthenticationType=UNAUTHENTICATED"
|
|
19
|
+
],
|
|
20
|
+
"flags": {
|
|
21
|
+
"json": {
|
|
22
|
+
"name": "json",
|
|
23
|
+
"type": "boolean",
|
|
24
|
+
"description": "Format output as json.",
|
|
25
|
+
"helpGroup": "GLOBAL",
|
|
26
|
+
"allowNo": false
|
|
27
|
+
},
|
|
28
|
+
"name": {
|
|
29
|
+
"name": "name",
|
|
30
|
+
"type": "option",
|
|
31
|
+
"char": "n",
|
|
32
|
+
"summary": "Name of the site to create.",
|
|
33
|
+
"required": true,
|
|
34
|
+
"multiple": false
|
|
35
|
+
},
|
|
36
|
+
"template-name": {
|
|
37
|
+
"name": "template-name",
|
|
38
|
+
"type": "option",
|
|
39
|
+
"char": "t",
|
|
40
|
+
"summary": "Template to use to create a site.",
|
|
41
|
+
"description": "An example of a template is Customer Service. Run the \"community template list\" command to see which templates are available in your org.",
|
|
42
|
+
"required": true,
|
|
43
|
+
"multiple": false,
|
|
44
|
+
"aliases": [
|
|
45
|
+
"templatename"
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
"url-path-prefix": {
|
|
49
|
+
"name": "url-path-prefix",
|
|
50
|
+
"type": "option",
|
|
51
|
+
"char": "p",
|
|
52
|
+
"summary": "URL to append to the domain created when Digital Experiences was enabled for this org.",
|
|
53
|
+
"description": "For example, if your domain name is https://MyDomainName.my.site.com and you create a customer site, enter 'customers' to create the unique URL https://MyDomainName.my.site.com/customers.",
|
|
54
|
+
"required": true,
|
|
55
|
+
"multiple": false,
|
|
56
|
+
"aliases": [
|
|
57
|
+
"urlpathprefix"
|
|
58
|
+
]
|
|
59
|
+
},
|
|
60
|
+
"description": {
|
|
61
|
+
"name": "description",
|
|
62
|
+
"type": "option",
|
|
63
|
+
"char": "d",
|
|
64
|
+
"summary": "Description of the site.",
|
|
65
|
+
"description": "The description displays in Digital Experiences - All Sites in Setup and helps with site identification.",
|
|
66
|
+
"multiple": false
|
|
67
|
+
},
|
|
68
|
+
"target-org": {
|
|
69
|
+
"name": "target-org",
|
|
70
|
+
"type": "option",
|
|
71
|
+
"char": "o",
|
|
72
|
+
"summary": "Username or alias of the target org.",
|
|
73
|
+
"required": true,
|
|
74
|
+
"multiple": false,
|
|
75
|
+
"aliases": [
|
|
76
|
+
"targetusername",
|
|
77
|
+
"u"
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
"loglevel": {
|
|
81
|
+
"name": "loglevel",
|
|
82
|
+
"type": "option",
|
|
83
|
+
"hidden": true,
|
|
84
|
+
"multiple": false,
|
|
85
|
+
"deprecated": {
|
|
86
|
+
"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."
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"api-version": {
|
|
90
|
+
"name": "api-version",
|
|
91
|
+
"type": "option",
|
|
92
|
+
"description": "Override the api version used for api requests made by this command",
|
|
93
|
+
"multiple": false,
|
|
94
|
+
"aliases": [
|
|
95
|
+
"apiversion"
|
|
96
|
+
]
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"args": {},
|
|
100
|
+
"validationPatterns": [
|
|
101
|
+
"name",
|
|
102
|
+
"urlPathPrefix",
|
|
103
|
+
"templateName",
|
|
104
|
+
"description",
|
|
105
|
+
"templateParams(\\.\\w+)+"
|
|
106
|
+
],
|
|
107
|
+
"hasDynamicHelp": true
|
|
108
|
+
},
|
|
109
|
+
"community:publish": {
|
|
110
|
+
"id": "community:publish",
|
|
111
|
+
"summary": "Publish an Experience Builder site to make it live.",
|
|
112
|
+
"description": "Each time you publish it, you update the live site with the most recent updates. When you publish an Experience Builder site for the first time, you make the site's URL live and enable login access for site members.\n\nAdditionally, to send a welcome email to all site members, you must activate the site. (Activation is also required to successfully set up SEO for Experience Builder sites.) To activate a site, update the status field of the Network type in the Metadata API. Alternatively, in Experience Workspaces, go to Administration | Settings, and click Activate.\n\nSubsequently, each time you publish the site, you update the live site with all changes made to the site since it was last published.\n\nAn email notification informs you when your changes are live.",
|
|
113
|
+
"strict": true,
|
|
114
|
+
"pluginName": "@salesforce/plugin-community",
|
|
115
|
+
"pluginAlias": "@salesforce/plugin-community",
|
|
116
|
+
"pluginType": "core",
|
|
117
|
+
"aliases": [
|
|
118
|
+
"force:community:publish"
|
|
119
|
+
],
|
|
120
|
+
"examples": [
|
|
121
|
+
"Publish the Experience Builder site with name \"My Customer Site':\n<%= config.bin %> <%= command.id %> --name 'My Customer Site'"
|
|
122
|
+
],
|
|
123
|
+
"flags": {
|
|
124
|
+
"json": {
|
|
125
|
+
"name": "json",
|
|
126
|
+
"type": "boolean",
|
|
127
|
+
"description": "Format output as json.",
|
|
128
|
+
"helpGroup": "GLOBAL",
|
|
129
|
+
"allowNo": false
|
|
130
|
+
},
|
|
131
|
+
"name": {
|
|
132
|
+
"name": "name",
|
|
133
|
+
"type": "option",
|
|
134
|
+
"char": "n",
|
|
135
|
+
"summary": "Name of the Experience Builder site to publish.",
|
|
136
|
+
"required": true,
|
|
137
|
+
"multiple": false
|
|
138
|
+
},
|
|
139
|
+
"target-org": {
|
|
140
|
+
"name": "target-org",
|
|
141
|
+
"type": "option",
|
|
142
|
+
"char": "o",
|
|
143
|
+
"summary": "Username or alias of the target org.",
|
|
144
|
+
"required": true,
|
|
145
|
+
"multiple": false,
|
|
146
|
+
"aliases": [
|
|
147
|
+
"targetusername",
|
|
148
|
+
"u"
|
|
149
|
+
]
|
|
150
|
+
},
|
|
151
|
+
"api-version": {
|
|
152
|
+
"name": "api-version",
|
|
153
|
+
"type": "option",
|
|
154
|
+
"description": "Override the api version used for api requests made by this command",
|
|
155
|
+
"multiple": false,
|
|
156
|
+
"aliases": [
|
|
157
|
+
"apiversion"
|
|
158
|
+
]
|
|
159
|
+
},
|
|
160
|
+
"loglevel": {
|
|
161
|
+
"name": "loglevel",
|
|
162
|
+
"type": "option",
|
|
163
|
+
"hidden": true,
|
|
164
|
+
"multiple": false,
|
|
165
|
+
"deprecated": {
|
|
166
|
+
"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."
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"args": {},
|
|
171
|
+
"hasDynamicHelp": true
|
|
172
|
+
},
|
|
173
|
+
"community:list:template": {
|
|
174
|
+
"id": "community:list:template",
|
|
175
|
+
"summary": "Retrieve the list of templates available in your org.",
|
|
176
|
+
"description": "See 'Which Experience Cloud Template Should I Use?' (https://help.salesforce.com/s/articleView?id=sf.siteforce_commtemp_intro.htm&type=5) in Salesforce Help for more information about the different template types available for Experience Cloud.",
|
|
177
|
+
"strict": true,
|
|
178
|
+
"pluginName": "@salesforce/plugin-community",
|
|
179
|
+
"pluginAlias": "@salesforce/plugin-community",
|
|
180
|
+
"pluginType": "core",
|
|
181
|
+
"aliases": [
|
|
182
|
+
"force:community:template:list"
|
|
183
|
+
],
|
|
184
|
+
"examples": [
|
|
185
|
+
"Retrieve the template list from an org with alias my-scratch-org:\n<%= config.bin %> <%= command.id %> --target-org my-scratch-org"
|
|
186
|
+
],
|
|
187
|
+
"flags": {
|
|
188
|
+
"json": {
|
|
189
|
+
"name": "json",
|
|
190
|
+
"type": "boolean",
|
|
191
|
+
"description": "Format output as json.",
|
|
192
|
+
"helpGroup": "GLOBAL",
|
|
193
|
+
"allowNo": false
|
|
194
|
+
},
|
|
195
|
+
"target-org": {
|
|
196
|
+
"name": "target-org",
|
|
197
|
+
"type": "option",
|
|
198
|
+
"char": "o",
|
|
199
|
+
"summary": "Username or alias of the target org.",
|
|
200
|
+
"required": true,
|
|
201
|
+
"multiple": false,
|
|
202
|
+
"aliases": [
|
|
203
|
+
"targetusername",
|
|
204
|
+
"u"
|
|
205
|
+
]
|
|
206
|
+
},
|
|
207
|
+
"api-version": {
|
|
208
|
+
"name": "api-version",
|
|
209
|
+
"type": "option",
|
|
210
|
+
"description": "Override the api version used for api requests made by this command",
|
|
211
|
+
"multiple": false,
|
|
212
|
+
"aliases": [
|
|
213
|
+
"apiversion"
|
|
214
|
+
]
|
|
215
|
+
},
|
|
216
|
+
"loglevel": {
|
|
217
|
+
"name": "loglevel",
|
|
218
|
+
"type": "option",
|
|
219
|
+
"hidden": true,
|
|
220
|
+
"multiple": false,
|
|
221
|
+
"deprecated": {
|
|
222
|
+
"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."
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
"args": {},
|
|
227
|
+
"hasDynamicHelp": true
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
package/package.json
CHANGED
|
@@ -1,29 +1,28 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-community",
|
|
3
3
|
"description": "Community commands to create and publish an Experience Cloud site, and view a list of available templates in you org.",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.2.0",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@oclif/core": "^
|
|
9
|
-
"@
|
|
10
|
-
"@salesforce/core": "^3.33.0",
|
|
8
|
+
"@oclif/core": "^2.0.7",
|
|
9
|
+
"@salesforce/core": "^3.33.1",
|
|
11
10
|
"@salesforce/kit": "^1.8.0",
|
|
12
|
-
"@salesforce/sf-plugins-core": "^
|
|
11
|
+
"@salesforce/sf-plugins-core": "^2.0.1",
|
|
13
12
|
"tslib": "^2"
|
|
14
13
|
},
|
|
15
14
|
"devDependencies": {
|
|
16
15
|
"@oclif/plugin-command-snapshot": "^3.2.16",
|
|
17
|
-
"@salesforce/cli-plugins-testkit": "^3.2.
|
|
16
|
+
"@salesforce/cli-plugins-testkit": "^3.2.18",
|
|
18
17
|
"@salesforce/dev-config": "^3.0.1",
|
|
19
18
|
"@salesforce/dev-scripts": "^3.1.0",
|
|
20
|
-
"@salesforce/plugin-command-reference": "^2.2.
|
|
19
|
+
"@salesforce/plugin-command-reference": "^2.2.10",
|
|
21
20
|
"@salesforce/prettier-config": "^0.0.2",
|
|
22
21
|
"@salesforce/ts-sinon": "1.4.2",
|
|
23
22
|
"@salesforce/ts-types": "^1.7.2",
|
|
24
23
|
"@swc/core": "^1.3.27",
|
|
25
24
|
"@typescript-eslint/eslint-plugin": "5.44.0",
|
|
26
|
-
"@typescript-eslint/parser": "^5.
|
|
25
|
+
"@typescript-eslint/parser": "^5.49.0",
|
|
27
26
|
"chai": "^4.3.7",
|
|
28
27
|
"eslint": "^8.31.0",
|
|
29
28
|
"eslint-config-prettier": "^8.5.0",
|
|
@@ -32,13 +31,13 @@
|
|
|
32
31
|
"eslint-config-salesforce-typescript": "^1.1.1",
|
|
33
32
|
"eslint-plugin-header": "^3.1.1",
|
|
34
33
|
"eslint-plugin-import": "^2.27.4",
|
|
35
|
-
"eslint-plugin-jsdoc": "^39.6.
|
|
34
|
+
"eslint-plugin-jsdoc": "^39.6.9",
|
|
36
35
|
"eslint-plugin-sf-plugin": "^1.6.2",
|
|
37
36
|
"husky": "^7.0.4",
|
|
38
37
|
"jsforce": "^2.0.0-beta.18",
|
|
39
38
|
"mocha": "^9.2.2",
|
|
40
39
|
"nyc": "^15.1.0",
|
|
41
|
-
"oclif": "^3.
|
|
40
|
+
"oclif": "^3.6.1",
|
|
42
41
|
"prettier": "^2.8.1",
|
|
43
42
|
"pretty-quick": "^3.1.3",
|
|
44
43
|
"shx": "0.3.4",
|
|
@@ -110,7 +109,7 @@
|
|
|
110
109
|
"access": "public"
|
|
111
110
|
},
|
|
112
111
|
"sfdx": {
|
|
113
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-community/2.
|
|
114
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-community/2.
|
|
112
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-community/2.2.0.crt",
|
|
113
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-community/2.2.0.sig"
|
|
115
114
|
}
|
|
116
115
|
}
|