@salesforce/plugin-community 2.4.9 → 3.0.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 +26 -26
- package/lib/commands/community/create.d.ts +8 -8
- package/lib/commands/community/create.js +52 -55
- package/lib/commands/community/create.js.map +1 -1
- package/lib/commands/community/list/template.d.ts +4 -4
- package/lib/commands/community/list/template.js +21 -23
- package/lib/commands/community/list/template.js.map +1 -1
- package/lib/commands/community/publish.d.ts +5 -5
- package/lib/commands/community/publish.js +26 -28
- package/lib/commands/community/publish.js.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -2
- package/lib/index.js.map +1 -1
- package/lib/shared/community/connect/CommunityCreateResource.d.ts +3 -3
- package/lib/shared/community/connect/CommunityCreateResource.js +13 -8
- package/lib/shared/community/connect/CommunityCreateResource.js.map +1 -1
- package/lib/shared/community/connect/CommunityPublishResource.d.ts +2 -2
- package/lib/shared/community/connect/CommunityPublishResource.js +11 -12
- package/lib/shared/community/connect/CommunityPublishResource.js.map +1 -1
- package/lib/shared/community/connect/CommunityTemplatesResource.d.ts +2 -2
- package/lib/shared/community/connect/CommunityTemplatesResource.js +1 -5
- package/lib/shared/community/connect/CommunityTemplatesResource.js.map +1 -1
- package/lib/shared/community/defs/CommunityCreateParams.js +1 -2
- package/lib/shared/community/defs/CommunityCreateParams.js.map +1 -1
- package/lib/shared/community/defs/CommunityCreateResponse.js +1 -2
- package/lib/shared/community/defs/CommunityCreateResponse.js.map +1 -1
- package/lib/shared/community/defs/CommunityInfo.d.ts +1 -1
- package/lib/shared/community/defs/CommunityInfo.js +1 -2
- package/lib/shared/community/defs/CommunityPublishResponse.d.ts +1 -1
- package/lib/shared/community/defs/CommunityPublishResponse.js +1 -2
- package/lib/shared/community/defs/CommunityPublishResponse.js.map +1 -1
- package/lib/shared/community/defs/CommunityStatusEnum.js +1 -2
- package/lib/shared/community/defs/CommunityStatusEnum.js.map +1 -1
- package/lib/shared/community/defs/CommunityTemplates.js +1 -2
- package/lib/shared/community/defs/CommunityTemplates.js.map +1 -1
- package/lib/shared/community/defs/CommunityTemplatesListResponse.d.ts +1 -1
- package/lib/shared/community/defs/CommunityTemplatesListResponse.js +1 -2
- package/lib/shared/community/defs/CommunityTemplatesListResponse.js.map +1 -1
- package/lib/shared/community/service/CommunitiesServices.d.ts +3 -3
- package/lib/shared/community/service/CommunitiesServices.js +5 -8
- package/lib/shared/community/service/CommunitiesServices.js.map +1 -1
- package/lib/shared/connect/services/ConnectExecutor.d.ts +1 -1
- package/lib/shared/connect/services/ConnectExecutor.js +15 -9
- package/lib/shared/connect/services/ConnectExecutor.js.map +1 -1
- package/lib/shared/connect/services/ConnectResource.js +1 -2
- package/oclif.lock +428 -526
- package/oclif.manifest.json +222 -125
- package/package.json +31 -49
package/oclif.manifest.json
CHANGED
|
@@ -1,243 +1,340 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.4.9",
|
|
3
2
|
"commands": {
|
|
4
3
|
"community:create": {
|
|
5
|
-
"id": "community:create",
|
|
6
|
-
"summary": "Create an Experience Cloud site using a template.",
|
|
7
|
-
"description": "Run the \"community list template\" command to see the templates available in your org. See 'Which Experience Cloud Template Should I Use?' in Salesforce Help for more information about the different template types available. (https://help.salesforce.com/s/articleView?id=sf.siteforce_commtemp_intro.htm&type=5)\n\nWhen you create 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 or AUTHENTICATED_WITH_PUBLIC_ACCESS_ENABLED. Name and values are case-sensitive. See 'DigitalExperienceBundle' in the Metadata API Developer Guide for more information. (https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_digitalexperiencebundle.htm)\n\nThe site creation process is an async job that generates a jobId. To check the site creation status, query the BackgroundOperation object and enter the jobId as the Id. See ‘BackgroundOperation’ in the Object Reference for the Salesforce Platform for more information. (https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_backgroundoperation.htm)\n\nIf the job doesn’t complete within 10 minutes, it times out. You receive an error message and must restart the site creation process. Completed jobs expire after 24 hours and are removed from the database.\n\nWhen you run this command, it creates the site in preview status, which means that the site 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, to activate the site and make it live, update the status field of the Network type in Metadata API. (https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_network.htm) Alternatively, in Experience Workspaces, go to Administration | Settings, and click Activate.\n\nFor Experience Builder sites, activating the site sends a welcome email to site members.",
|
|
8
|
-
"strict": false,
|
|
9
|
-
"pluginName": "@salesforce/plugin-community",
|
|
10
|
-
"pluginAlias": "@salesforce/plugin-community",
|
|
11
|
-
"pluginType": "core",
|
|
12
4
|
"aliases": [
|
|
13
5
|
"force:community:create"
|
|
14
6
|
],
|
|
7
|
+
"args": {},
|
|
8
|
+
"deprecateAliases": true,
|
|
9
|
+
"description": "Run the \"community list template\" command to see the templates available in your org. See 'Which Experience Cloud Template Should I Use?' in Salesforce Help for more information about the different template types available. (https://help.salesforce.com/s/articleView?id=sf.siteforce_commtemp_intro.htm&type=5)\n\nWhen you create 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 or AUTHENTICATED_WITH_PUBLIC_ACCESS_ENABLED. Name and values are case-sensitive. See 'DigitalExperienceBundle' in the Metadata API Developer Guide for more information. (https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_digitalexperiencebundle.htm)\n\nThe site creation process is an async job that generates a jobId. To check the site creation status, query the BackgroundOperation object and enter the jobId as the Id. See ‘BackgroundOperation’ in the Object Reference for the Salesforce Platform for more information. (https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_backgroundoperation.htm)\n\nIf the job doesn’t complete within 10 minutes, it times out. You receive an error message and must restart the site creation process. Completed jobs expire after 24 hours and are removed from the database.\n\nWhen you run this command, it creates the site in preview status, which means that the site 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, to activate the site and make it live, update the status field of the Network type in Metadata API. (https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_network.htm) Alternatively, in Experience Workspaces, go to Administration | Settings, and click Activate.\n\nFor Experience Builder sites, activating the site sends a welcome email to site members.",
|
|
15
10
|
"examples": [
|
|
16
11
|
"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
12
|
"Create a site using 'Partner Central' template:\n<%= config.bin %> <%= command.id %> --name partnercentral --template-name 'Partner Central' --url-path-prefix partners",
|
|
18
13
|
"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
14
|
],
|
|
20
|
-
"deprecateAliases": true,
|
|
21
15
|
"flags": {
|
|
22
16
|
"json": {
|
|
23
|
-
"name": "json",
|
|
24
|
-
"type": "boolean",
|
|
25
17
|
"description": "Format output as json.",
|
|
26
18
|
"helpGroup": "GLOBAL",
|
|
19
|
+
"name": "json",
|
|
27
20
|
"allowNo": false,
|
|
28
|
-
"
|
|
21
|
+
"type": "boolean"
|
|
29
22
|
},
|
|
30
23
|
"name": {
|
|
31
|
-
"name": "name",
|
|
32
|
-
"type": "option",
|
|
33
24
|
"char": "n",
|
|
34
|
-
"
|
|
25
|
+
"name": "name",
|
|
35
26
|
"required": true,
|
|
27
|
+
"summary": "Name of the site to create.",
|
|
28
|
+
"hasDynamicHelp": false,
|
|
36
29
|
"multiple": false,
|
|
37
|
-
"
|
|
30
|
+
"type": "option"
|
|
38
31
|
},
|
|
39
32
|
"template-name": {
|
|
40
|
-
"
|
|
41
|
-
|
|
33
|
+
"aliases": [
|
|
34
|
+
"templatename"
|
|
35
|
+
],
|
|
42
36
|
"char": "t",
|
|
43
|
-
"
|
|
37
|
+
"deprecateAliases": true,
|
|
44
38
|
"description": "An example of a template is Customer Service. Run the \"community template list\" command to see which templates are available in your org.",
|
|
39
|
+
"name": "template-name",
|
|
45
40
|
"required": true,
|
|
41
|
+
"summary": "Template to use to create a site.",
|
|
42
|
+
"hasDynamicHelp": false,
|
|
46
43
|
"multiple": false,
|
|
47
|
-
"
|
|
48
|
-
"aliases": [
|
|
49
|
-
"templatename"
|
|
50
|
-
]
|
|
44
|
+
"type": "option"
|
|
51
45
|
},
|
|
52
46
|
"url-path-prefix": {
|
|
53
|
-
"
|
|
54
|
-
|
|
47
|
+
"aliases": [
|
|
48
|
+
"urlpathprefix"
|
|
49
|
+
],
|
|
55
50
|
"char": "p",
|
|
56
|
-
"
|
|
51
|
+
"deprecateAliases": true,
|
|
57
52
|
"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.",
|
|
58
|
-
"
|
|
53
|
+
"name": "url-path-prefix",
|
|
54
|
+
"summary": "URL to append to the domain created when Digital Experiences was enabled for this org.",
|
|
59
55
|
"default": "",
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
|
|
63
|
-
]
|
|
56
|
+
"hasDynamicHelp": false,
|
|
57
|
+
"multiple": false,
|
|
58
|
+
"type": "option"
|
|
64
59
|
},
|
|
65
60
|
"description": {
|
|
66
|
-
"name": "description",
|
|
67
|
-
"type": "option",
|
|
68
61
|
"char": "d",
|
|
69
|
-
"summary": "Description of the site.",
|
|
70
62
|
"description": "The description displays in Digital Experiences - All Sites in Setup and helps with site identification.",
|
|
63
|
+
"name": "description",
|
|
64
|
+
"summary": "Description of the site.",
|
|
65
|
+
"hasDynamicHelp": false,
|
|
71
66
|
"multiple": false,
|
|
72
|
-
"
|
|
67
|
+
"type": "option"
|
|
73
68
|
},
|
|
74
69
|
"target-org": {
|
|
75
|
-
"name": "target-org",
|
|
76
|
-
"type": "option",
|
|
77
|
-
"char": "o",
|
|
78
|
-
"summary": "Username or alias of the target org.",
|
|
79
|
-
"required": true,
|
|
80
|
-
"multiple": false,
|
|
81
|
-
"deprecateAliases": true,
|
|
82
70
|
"aliases": [
|
|
83
71
|
"targetusername",
|
|
84
72
|
"u"
|
|
85
|
-
]
|
|
73
|
+
],
|
|
74
|
+
"char": "o",
|
|
75
|
+
"deprecateAliases": true,
|
|
76
|
+
"name": "target-org",
|
|
77
|
+
"noCacheDefault": true,
|
|
78
|
+
"required": true,
|
|
79
|
+
"summary": "Username or alias of the target org.",
|
|
80
|
+
"hasDynamicHelp": true,
|
|
81
|
+
"multiple": false,
|
|
82
|
+
"type": "option"
|
|
86
83
|
},
|
|
87
84
|
"loglevel": {
|
|
88
|
-
"name": "loglevel",
|
|
89
|
-
"type": "option",
|
|
90
|
-
"hidden": true,
|
|
91
|
-
"multiple": false,
|
|
92
85
|
"deprecated": {
|
|
93
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."
|
|
94
87
|
},
|
|
95
|
-
"
|
|
88
|
+
"hidden": true,
|
|
89
|
+
"name": "loglevel",
|
|
90
|
+
"hasDynamicHelp": false,
|
|
91
|
+
"multiple": false,
|
|
92
|
+
"type": "option"
|
|
96
93
|
},
|
|
97
94
|
"api-version": {
|
|
98
|
-
"name": "api-version",
|
|
99
|
-
"type": "option",
|
|
100
|
-
"description": "Override the api version used for api requests made by this command",
|
|
101
|
-
"multiple": false,
|
|
102
|
-
"deprecateAliases": true,
|
|
103
95
|
"aliases": [
|
|
104
96
|
"apiversion"
|
|
105
|
-
]
|
|
97
|
+
],
|
|
98
|
+
"deprecateAliases": true,
|
|
99
|
+
"description": "Override the api version used for api requests made by this command",
|
|
100
|
+
"name": "api-version",
|
|
101
|
+
"hasDynamicHelp": false,
|
|
102
|
+
"multiple": false,
|
|
103
|
+
"type": "option"
|
|
106
104
|
}
|
|
107
105
|
},
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
|
|
111
|
-
"community:publish": {
|
|
112
|
-
"id": "community:publish",
|
|
113
|
-
"summary": "Publish an Experience Builder site to make it live.",
|
|
114
|
-
"description": "Each time you publish a site, 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\nIn addition to publishing, you must activate a site to send a welcome email to all site members. Activation is also required to set up SEO for Experience Builder sites. To activate a site, update the status field of the Network type in Metadata API. (https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_network.htm)Alternatively, in Experience Workspaces, go to Administration | Settings, and click Activate.\n\nAn email notification informs you when your changes are live on the published site. The site publish process is an async job that generates a jobId. To check the site publish status manually, query the BackgroundOperation object and enter the jobId as the Id. See ‘BackgroundOperation’ in the Object Reference for the Salesforce Platform for more information. (https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_backgroundoperation.htm)\n\nIf the job doesn’t complete within 15 minutes, it times out. You receive an error message and must restart the site publish process. Completed jobs expire after 24 hours and are removed from the database.",
|
|
115
|
-
"strict": true,
|
|
116
|
-
"pluginName": "@salesforce/plugin-community",
|
|
106
|
+
"hasDynamicHelp": true,
|
|
107
|
+
"hiddenAliases": [],
|
|
108
|
+
"id": "community:create",
|
|
117
109
|
"pluginAlias": "@salesforce/plugin-community",
|
|
110
|
+
"pluginName": "@salesforce/plugin-community",
|
|
118
111
|
"pluginType": "core",
|
|
112
|
+
"strict": false,
|
|
113
|
+
"summary": "Create an Experience Cloud site using a template.",
|
|
114
|
+
"enableJsonFlag": true,
|
|
115
|
+
"SF_ENV": "SF_ENV",
|
|
116
|
+
"isESM": true,
|
|
117
|
+
"relativePath": [
|
|
118
|
+
"lib",
|
|
119
|
+
"commands",
|
|
120
|
+
"community",
|
|
121
|
+
"create.js"
|
|
122
|
+
],
|
|
123
|
+
"aliasPermutations": [
|
|
124
|
+
"force:community:create",
|
|
125
|
+
"community:force:create",
|
|
126
|
+
"community:create:force",
|
|
127
|
+
"force:create:community",
|
|
128
|
+
"create:force:community",
|
|
129
|
+
"create:community:force"
|
|
130
|
+
],
|
|
131
|
+
"permutations": [
|
|
132
|
+
"community:create",
|
|
133
|
+
"create:community"
|
|
134
|
+
]
|
|
135
|
+
},
|
|
136
|
+
"community:publish": {
|
|
119
137
|
"aliases": [
|
|
120
138
|
"force:community:publish"
|
|
121
139
|
],
|
|
140
|
+
"args": {},
|
|
141
|
+
"deprecateAliases": true,
|
|
142
|
+
"description": "Each time you publish a site, 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\nIn addition to publishing, you must activate a site to send a welcome email to all site members. Activation is also required to set up SEO for Experience Builder sites. To activate a site, update the status field of the Network type in Metadata API. (https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_network.htm)Alternatively, in Experience Workspaces, go to Administration | Settings, and click Activate.\n\nAn email notification informs you when your changes are live on the published site. The site publish process is an async job that generates a jobId. To check the site publish status manually, query the BackgroundOperation object and enter the jobId as the Id. See ‘BackgroundOperation’ in the Object Reference for the Salesforce Platform for more information. (https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_backgroundoperation.htm)\n\nIf the job doesn’t complete within 15 minutes, it times out. You receive an error message and must restart the site publish process. Completed jobs expire after 24 hours and are removed from the database.",
|
|
122
143
|
"examples": [
|
|
123
144
|
"Publish the Experience Builder site with name \"My Customer Site':\n<%= config.bin %> <%= command.id %> --name 'My Customer Site'"
|
|
124
145
|
],
|
|
125
|
-
"deprecateAliases": true,
|
|
126
146
|
"flags": {
|
|
127
147
|
"json": {
|
|
128
|
-
"name": "json",
|
|
129
|
-
"type": "boolean",
|
|
130
148
|
"description": "Format output as json.",
|
|
131
149
|
"helpGroup": "GLOBAL",
|
|
150
|
+
"name": "json",
|
|
132
151
|
"allowNo": false,
|
|
133
|
-
"
|
|
152
|
+
"type": "boolean"
|
|
134
153
|
},
|
|
135
154
|
"name": {
|
|
136
|
-
"name": "name",
|
|
137
|
-
"type": "option",
|
|
138
155
|
"char": "n",
|
|
139
|
-
"
|
|
156
|
+
"name": "name",
|
|
140
157
|
"required": true,
|
|
158
|
+
"summary": "Name of the Experience Builder site to publish.",
|
|
159
|
+
"hasDynamicHelp": false,
|
|
141
160
|
"multiple": false,
|
|
142
|
-
"
|
|
161
|
+
"type": "option"
|
|
143
162
|
},
|
|
144
163
|
"target-org": {
|
|
145
|
-
"name": "target-org",
|
|
146
|
-
"type": "option",
|
|
147
|
-
"char": "o",
|
|
148
|
-
"summary": "Username or alias of the target org.",
|
|
149
|
-
"required": true,
|
|
150
|
-
"multiple": false,
|
|
151
|
-
"deprecateAliases": true,
|
|
152
164
|
"aliases": [
|
|
153
165
|
"targetusername",
|
|
154
166
|
"u"
|
|
155
|
-
]
|
|
167
|
+
],
|
|
168
|
+
"char": "o",
|
|
169
|
+
"deprecateAliases": true,
|
|
170
|
+
"name": "target-org",
|
|
171
|
+
"noCacheDefault": true,
|
|
172
|
+
"required": true,
|
|
173
|
+
"summary": "Username or alias of the target org.",
|
|
174
|
+
"hasDynamicHelp": true,
|
|
175
|
+
"multiple": false,
|
|
176
|
+
"type": "option"
|
|
156
177
|
},
|
|
157
178
|
"api-version": {
|
|
158
|
-
"name": "api-version",
|
|
159
|
-
"type": "option",
|
|
160
|
-
"description": "Override the api version used for api requests made by this command",
|
|
161
|
-
"multiple": false,
|
|
162
|
-
"deprecateAliases": true,
|
|
163
179
|
"aliases": [
|
|
164
180
|
"apiversion"
|
|
165
|
-
]
|
|
181
|
+
],
|
|
182
|
+
"deprecateAliases": true,
|
|
183
|
+
"description": "Override the api version used for api requests made by this command",
|
|
184
|
+
"name": "api-version",
|
|
185
|
+
"hasDynamicHelp": false,
|
|
186
|
+
"multiple": false,
|
|
187
|
+
"type": "option"
|
|
166
188
|
},
|
|
167
189
|
"loglevel": {
|
|
168
|
-
"name": "loglevel",
|
|
169
|
-
"type": "option",
|
|
170
|
-
"hidden": true,
|
|
171
|
-
"multiple": false,
|
|
172
190
|
"deprecated": {
|
|
173
191
|
"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."
|
|
174
192
|
},
|
|
175
|
-
"
|
|
193
|
+
"hidden": true,
|
|
194
|
+
"name": "loglevel",
|
|
195
|
+
"hasDynamicHelp": false,
|
|
196
|
+
"multiple": false,
|
|
197
|
+
"type": "option"
|
|
176
198
|
}
|
|
177
199
|
},
|
|
178
|
-
"
|
|
179
|
-
"
|
|
180
|
-
|
|
181
|
-
"community:list:template": {
|
|
182
|
-
"id": "community:list:template",
|
|
183
|
-
"summary": "Retrieve the list of templates available in your org.",
|
|
184
|
-
"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.",
|
|
185
|
-
"strict": true,
|
|
186
|
-
"pluginName": "@salesforce/plugin-community",
|
|
200
|
+
"hasDynamicHelp": true,
|
|
201
|
+
"hiddenAliases": [],
|
|
202
|
+
"id": "community:publish",
|
|
187
203
|
"pluginAlias": "@salesforce/plugin-community",
|
|
204
|
+
"pluginName": "@salesforce/plugin-community",
|
|
188
205
|
"pluginType": "core",
|
|
206
|
+
"strict": true,
|
|
207
|
+
"summary": "Publish an Experience Builder site to make it live.",
|
|
208
|
+
"enableJsonFlag": true,
|
|
209
|
+
"SF_ENV": "SF_ENV",
|
|
210
|
+
"isESM": true,
|
|
211
|
+
"relativePath": [
|
|
212
|
+
"lib",
|
|
213
|
+
"commands",
|
|
214
|
+
"community",
|
|
215
|
+
"publish.js"
|
|
216
|
+
],
|
|
217
|
+
"aliasPermutations": [
|
|
218
|
+
"force:community:publish",
|
|
219
|
+
"community:force:publish",
|
|
220
|
+
"community:publish:force",
|
|
221
|
+
"force:publish:community",
|
|
222
|
+
"publish:force:community",
|
|
223
|
+
"publish:community:force"
|
|
224
|
+
],
|
|
225
|
+
"permutations": [
|
|
226
|
+
"community:publish",
|
|
227
|
+
"publish:community"
|
|
228
|
+
]
|
|
229
|
+
},
|
|
230
|
+
"community:list:template": {
|
|
189
231
|
"aliases": [
|
|
190
232
|
"force:community:template:list"
|
|
191
233
|
],
|
|
234
|
+
"args": {},
|
|
235
|
+
"deprecateAliases": true,
|
|
236
|
+
"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.",
|
|
192
237
|
"examples": [
|
|
193
238
|
"Retrieve the template list from an org with alias my-scratch-org:\n<%= config.bin %> <%= command.id %> --target-org my-scratch-org"
|
|
194
239
|
],
|
|
195
|
-
"deprecateAliases": true,
|
|
196
240
|
"flags": {
|
|
197
241
|
"json": {
|
|
198
|
-
"name": "json",
|
|
199
|
-
"type": "boolean",
|
|
200
242
|
"description": "Format output as json.",
|
|
201
243
|
"helpGroup": "GLOBAL",
|
|
244
|
+
"name": "json",
|
|
202
245
|
"allowNo": false,
|
|
203
|
-
"
|
|
246
|
+
"type": "boolean"
|
|
204
247
|
},
|
|
205
248
|
"target-org": {
|
|
206
|
-
"name": "target-org",
|
|
207
|
-
"type": "option",
|
|
208
|
-
"char": "o",
|
|
209
|
-
"summary": "Username or alias of the target org.",
|
|
210
|
-
"required": true,
|
|
211
|
-
"multiple": false,
|
|
212
|
-
"deprecateAliases": true,
|
|
213
249
|
"aliases": [
|
|
214
250
|
"targetusername",
|
|
215
251
|
"u"
|
|
216
|
-
]
|
|
252
|
+
],
|
|
253
|
+
"char": "o",
|
|
254
|
+
"deprecateAliases": true,
|
|
255
|
+
"name": "target-org",
|
|
256
|
+
"noCacheDefault": true,
|
|
257
|
+
"required": true,
|
|
258
|
+
"summary": "Username or alias of the target org.",
|
|
259
|
+
"hasDynamicHelp": true,
|
|
260
|
+
"multiple": false,
|
|
261
|
+
"type": "option"
|
|
217
262
|
},
|
|
218
263
|
"api-version": {
|
|
219
|
-
"name": "api-version",
|
|
220
|
-
"type": "option",
|
|
221
|
-
"description": "Override the api version used for api requests made by this command",
|
|
222
|
-
"multiple": false,
|
|
223
|
-
"deprecateAliases": true,
|
|
224
264
|
"aliases": [
|
|
225
265
|
"apiversion"
|
|
226
|
-
]
|
|
266
|
+
],
|
|
267
|
+
"deprecateAliases": true,
|
|
268
|
+
"description": "Override the api version used for api requests made by this command",
|
|
269
|
+
"name": "api-version",
|
|
270
|
+
"hasDynamicHelp": false,
|
|
271
|
+
"multiple": false,
|
|
272
|
+
"type": "option"
|
|
227
273
|
},
|
|
228
274
|
"loglevel": {
|
|
229
|
-
"name": "loglevel",
|
|
230
|
-
"type": "option",
|
|
231
|
-
"hidden": true,
|
|
232
|
-
"multiple": false,
|
|
233
275
|
"deprecated": {
|
|
234
276
|
"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."
|
|
235
277
|
},
|
|
236
|
-
"
|
|
278
|
+
"hidden": true,
|
|
279
|
+
"name": "loglevel",
|
|
280
|
+
"hasDynamicHelp": false,
|
|
281
|
+
"multiple": false,
|
|
282
|
+
"type": "option"
|
|
237
283
|
}
|
|
238
284
|
},
|
|
239
|
-
"
|
|
240
|
-
"
|
|
285
|
+
"hasDynamicHelp": true,
|
|
286
|
+
"hiddenAliases": [],
|
|
287
|
+
"id": "community:list:template",
|
|
288
|
+
"pluginAlias": "@salesforce/plugin-community",
|
|
289
|
+
"pluginName": "@salesforce/plugin-community",
|
|
290
|
+
"pluginType": "core",
|
|
291
|
+
"strict": true,
|
|
292
|
+
"summary": "Retrieve the list of templates available in your org.",
|
|
293
|
+
"enableJsonFlag": true,
|
|
294
|
+
"SF_ENV": "SF_ENV",
|
|
295
|
+
"isESM": true,
|
|
296
|
+
"relativePath": [
|
|
297
|
+
"lib",
|
|
298
|
+
"commands",
|
|
299
|
+
"community",
|
|
300
|
+
"list",
|
|
301
|
+
"template.js"
|
|
302
|
+
],
|
|
303
|
+
"aliasPermutations": [
|
|
304
|
+
"force:community:template:list",
|
|
305
|
+
"community:force:template:list",
|
|
306
|
+
"community:template:force:list",
|
|
307
|
+
"community:template:list:force",
|
|
308
|
+
"force:template:community:list",
|
|
309
|
+
"template:force:community:list",
|
|
310
|
+
"template:community:force:list",
|
|
311
|
+
"template:community:list:force",
|
|
312
|
+
"force:template:list:community",
|
|
313
|
+
"template:force:list:community",
|
|
314
|
+
"template:list:force:community",
|
|
315
|
+
"template:list:community:force",
|
|
316
|
+
"force:community:list:template",
|
|
317
|
+
"community:force:list:template",
|
|
318
|
+
"community:list:force:template",
|
|
319
|
+
"community:list:template:force",
|
|
320
|
+
"force:list:community:template",
|
|
321
|
+
"list:force:community:template",
|
|
322
|
+
"list:community:force:template",
|
|
323
|
+
"list:community:template:force",
|
|
324
|
+
"force:list:template:community",
|
|
325
|
+
"list:force:template:community",
|
|
326
|
+
"list:template:force:community",
|
|
327
|
+
"list:template:community:force"
|
|
328
|
+
],
|
|
329
|
+
"permutations": [
|
|
330
|
+
"community:list:template",
|
|
331
|
+
"list:community:template",
|
|
332
|
+
"list:template:community",
|
|
333
|
+
"community:template:list",
|
|
334
|
+
"template:community:list",
|
|
335
|
+
"template:list:community"
|
|
336
|
+
]
|
|
241
337
|
}
|
|
242
|
-
}
|
|
338
|
+
},
|
|
339
|
+
"version": "3.0.1"
|
|
243
340
|
}
|
package/package.json
CHANGED
|
@@ -1,55 +1,31 @@
|
|
|
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": "
|
|
4
|
+
"version": "3.0.1",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@oclif/core": "^
|
|
9
|
-
"@salesforce/core": "^5.3.
|
|
10
|
-
"@salesforce/kit": "^3.0.
|
|
11
|
-
"@salesforce/sf-plugins-core": "^
|
|
12
|
-
"tslib": "^2"
|
|
8
|
+
"@oclif/core": "^3.11.0",
|
|
9
|
+
"@salesforce/core": "^5.3.20",
|
|
10
|
+
"@salesforce/kit": "^3.0.15",
|
|
11
|
+
"@salesforce/sf-plugins-core": "^4.1.2"
|
|
13
12
|
},
|
|
14
13
|
"devDependencies": {
|
|
15
|
-
"@oclif/plugin-command-snapshot": "^
|
|
16
|
-
"@salesforce/cli-plugins-testkit": "^
|
|
17
|
-
"@salesforce/dev-
|
|
18
|
-
"@salesforce/
|
|
19
|
-
"@salesforce/plugin-command-reference": "^3.0.33",
|
|
20
|
-
"@salesforce/prettier-config": "^0.0.3",
|
|
21
|
-
"@salesforce/ts-sinon": "1.4.18",
|
|
14
|
+
"@oclif/plugin-command-snapshot": "^5.0.2",
|
|
15
|
+
"@salesforce/cli-plugins-testkit": "^5.0.4",
|
|
16
|
+
"@salesforce/dev-scripts": "^6.0.4",
|
|
17
|
+
"@salesforce/plugin-command-reference": "^3.0.46",
|
|
22
18
|
"@salesforce/ts-types": "^2.0.9",
|
|
23
|
-
"
|
|
24
|
-
"@types/inquirer": "^9.0.4",
|
|
25
|
-
"@typescript-eslint/eslint-plugin": "5.62.0",
|
|
26
|
-
"@typescript-eslint/parser": "^5.62.0",
|
|
27
|
-
"chai": "^4.3.10",
|
|
28
|
-
"eslint": "^8.52.0",
|
|
29
|
-
"eslint-config-prettier": "^8.10.0",
|
|
30
|
-
"eslint-config-salesforce": "^2.0.2",
|
|
31
|
-
"eslint-config-salesforce-license": "^0.2.0",
|
|
32
|
-
"eslint-config-salesforce-typescript": "^2.0.0",
|
|
33
|
-
"eslint-plugin-header": "^3.1.1",
|
|
34
|
-
"eslint-plugin-import": "^2.28.1",
|
|
35
|
-
"eslint-plugin-jsdoc": "^46.8.2",
|
|
36
|
-
"eslint-plugin-sf-plugin": "^1.16.12",
|
|
37
|
-
"husky": "^7.0.4",
|
|
19
|
+
"eslint-plugin-sf-plugin": "^1.16.15",
|
|
38
20
|
"jsforce": "^2.0.0-beta.28",
|
|
39
|
-
"
|
|
40
|
-
"nyc": "^15.1.0",
|
|
41
|
-
"oclif": "^3.16.0",
|
|
42
|
-
"prettier": "^2.8.8",
|
|
43
|
-
"pretty-quick": "^3.1.3",
|
|
21
|
+
"oclif": "^4.0.3",
|
|
44
22
|
"shx": "0.3.4",
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"typescript": "^5.2.2",
|
|
48
|
-
"wireit": "^0.14.1"
|
|
23
|
+
"ts-node": "^10.9.1",
|
|
24
|
+
"typescript": "^5.2.2"
|
|
49
25
|
},
|
|
50
26
|
"config": {},
|
|
51
27
|
"engines": {
|
|
52
|
-
"node": ">=
|
|
28
|
+
"node": ">=18.0.0"
|
|
53
29
|
},
|
|
54
30
|
"files": [
|
|
55
31
|
"/lib",
|
|
@@ -61,14 +37,16 @@
|
|
|
61
37
|
"keywords": [
|
|
62
38
|
"force",
|
|
63
39
|
"salesforce",
|
|
64
|
-
"sfdx",
|
|
65
40
|
"salesforcedx",
|
|
41
|
+
"sf",
|
|
42
|
+
"sf-plugin",
|
|
43
|
+
"sfdx",
|
|
66
44
|
"sfdx-plugin"
|
|
67
45
|
],
|
|
68
46
|
"license": "BSD-3-Clause",
|
|
69
47
|
"oclif": {
|
|
70
48
|
"commands": "./lib/commands",
|
|
71
|
-
"bin": "
|
|
49
|
+
"bin": "sf",
|
|
72
50
|
"devPlugins": [
|
|
73
51
|
"@oclif/plugin-help",
|
|
74
52
|
"@oclif/plugin-command-snapshot",
|
|
@@ -83,25 +61,27 @@
|
|
|
83
61
|
}
|
|
84
62
|
}
|
|
85
63
|
}
|
|
86
|
-
}
|
|
64
|
+
},
|
|
65
|
+
"flexibleTaxonomy": true,
|
|
66
|
+
"topicSeparator": " "
|
|
87
67
|
},
|
|
88
68
|
"repository": "salesforcecli/plugin-community",
|
|
89
69
|
"scripts": {
|
|
90
70
|
"build": "wireit",
|
|
91
71
|
"clean": "sf-clean",
|
|
92
72
|
"clean-all": "sf-clean all",
|
|
93
|
-
"clean:lib": "shx rm -rf lib && shx rm -rf coverage && shx rm -rf .nyc_output && shx rm -f oclif.manifest.json",
|
|
73
|
+
"clean:lib": "shx rm -rf lib && shx rm -rf coverage && shx rm -rf .nyc_output && shx rm -f oclif.manifest.json oclif.lock",
|
|
94
74
|
"compile": "wireit",
|
|
95
75
|
"docs": "sf-docs",
|
|
96
76
|
"format": "wireit",
|
|
97
77
|
"lint": "wireit",
|
|
98
|
-
"postpack": "shx rm -f oclif.manifest.json",
|
|
78
|
+
"postpack": "shx rm -f oclif.manifest.json oclif.lock",
|
|
99
79
|
"prepack": "sf-prepack",
|
|
100
80
|
"prepare": "sf-install",
|
|
101
81
|
"test": "wireit",
|
|
102
82
|
"test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000",
|
|
103
83
|
"test:only": "wireit",
|
|
104
|
-
"version": "oclif
|
|
84
|
+
"version": "oclif readme"
|
|
105
85
|
},
|
|
106
86
|
"publishConfig": {
|
|
107
87
|
"access": "public"
|
|
@@ -182,7 +162,7 @@
|
|
|
182
162
|
"output": []
|
|
183
163
|
},
|
|
184
164
|
"test:command-reference": {
|
|
185
|
-
"command": "\"./bin/dev\" commandreference:generate --erroronwarnings",
|
|
165
|
+
"command": "ts-node \"./bin/dev.js\" commandreference:generate --erroronwarnings",
|
|
186
166
|
"files": [
|
|
187
167
|
"src/**/*.ts",
|
|
188
168
|
"messages/**",
|
|
@@ -193,7 +173,7 @@
|
|
|
193
173
|
]
|
|
194
174
|
},
|
|
195
175
|
"test:deprecation-policy": {
|
|
196
|
-
"command": "\"./bin/dev\" snapshot:compare",
|
|
176
|
+
"command": "ts-node \"./bin/dev.js\" snapshot:compare",
|
|
197
177
|
"files": [
|
|
198
178
|
"src/**/*.ts"
|
|
199
179
|
],
|
|
@@ -203,7 +183,7 @@
|
|
|
203
183
|
]
|
|
204
184
|
},
|
|
205
185
|
"test:json-schema": {
|
|
206
|
-
"command": "\"./bin/dev\" schema:compare",
|
|
186
|
+
"command": "ts-node \"./bin/dev.js\" schema:compare",
|
|
207
187
|
"files": [
|
|
208
188
|
"src/**/*.ts",
|
|
209
189
|
"schemas"
|
|
@@ -211,8 +191,10 @@
|
|
|
211
191
|
"output": []
|
|
212
192
|
}
|
|
213
193
|
},
|
|
194
|
+
"exports": "./lib/index.js",
|
|
195
|
+
"type": "module",
|
|
214
196
|
"sfdx": {
|
|
215
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-community/
|
|
216
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-community/
|
|
197
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-community/3.0.1.crt",
|
|
198
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-community/3.0.1.sig"
|
|
217
199
|
}
|
|
218
200
|
}
|