@salesforce/plugin-community 1.1.2 → 1.1.5

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/CHANGELOG.md CHANGED
@@ -2,24 +2,38 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [1.1.5](https://github.com/salesforcecli/plugin-community/compare/v1.1.4...v1.1.5) (2022-05-23)
6
+
7
+ ### Bug Fixes
8
+
9
+ - add prompt to examples ([568088b](https://github.com/salesforcecli/plugin-community/commit/568088ba8c283944b17295eef4cf7d487aa2bf4a))
10
+ - add prompt to examples ([cf43ddb](https://github.com/salesforcecli/plugin-community/commit/cf43ddb36a2c415fc62f4b3b0051eef0c83e4947))
11
+ - add prompt to examples ([8a24baf](https://github.com/salesforcecli/plugin-community/commit/8a24baf990768b012a6278ba2bc9ba615f63838d))
12
+
13
+ ### [1.1.4](https://github.com/salesforcecli/plugin-community/compare/v1.1.3...v1.1.4) (2022-02-10)
14
+
15
+ ### [1.1.3](https://github.com/salesforcecli/plugin-community/compare/v1.1.2...v1.1.3) (2021-11-17)
16
+
17
+ ### Bug Fixes
18
+
19
+ - update domain URLs ([0925413](https://github.com/salesforcecli/plugin-community/commit/09254130530b9d7b35cf9d97240639c49dd6545f))
20
+
5
21
  ### [1.1.2](https://github.com/salesforcecli/plugin-community/compare/v1.1.1...v1.1.2) (2021-10-12)
6
22
 
7
23
  ### [1.1.1](https://github.com/salesforcecli/plugin-community/compare/v1.1.0...v1.1.1) (2021-09-15)
8
24
 
9
-
10
25
  ### Bug Fixes
11
26
 
12
- * add CTC context ([e45d58b](https://github.com/salesforcecli/plugin-community/commit/e45d58b0a27f14c2417ff73aa07f5227fe043323))
13
- * dedupe release jobs ([70e6e52](https://github.com/salesforcecli/plugin-community/commit/70e6e52791f3cefffac7c509aad0d503d6515778))
27
+ - add CTC context ([e45d58b](https://github.com/salesforcecli/plugin-community/commit/e45d58b0a27f14c2417ff73aa07f5227fe043323))
28
+ - dedupe release jobs ([70e6e52](https://github.com/salesforcecli/plugin-community/commit/70e6e52791f3cefffac7c509aad0d503d6515778))
14
29
 
15
30
  ## 1.1.0 (2021-09-15)
16
31
 
17
-
18
32
  ### Bug Fixes
19
33
 
20
- * add long desc back on template:list ([2f1f5a9](https://github.com/salesforcecli/plugin-community/commit/2f1f5a97183e41d01f84d130ad36ae2df3b246d2))
21
- * add long descriptions back ([41d5fba](https://github.com/salesforcecli/plugin-community/commit/41d5fbab81367e97c9f596ec1848ba4144a4cea1))
22
- * circle config syntax ([02b6c83](https://github.com/salesforcecli/plugin-community/commit/02b6c83cbdac3cc6fe0f39129182ddd4d18bc20e))
23
- * linting, fix tests, update messages ([48b4d78](https://github.com/salesforcecli/plugin-community/commit/48b4d78d579ec842d5264b2d77fb721d08bf11be))
24
- * member-access linting updates ([3b5b35d](https://github.com/salesforcecli/plugin-community/commit/3b5b35d5e2ff60296d60f3e04b29a1edead23d67))
25
- * template:list messages ([2ff4e52](https://github.com/salesforcecli/plugin-community/commit/2ff4e524c81dac04af3959a0d4f38579dc7d4f09))
34
+ - add long desc back on template:list ([2f1f5a9](https://github.com/salesforcecli/plugin-community/commit/2f1f5a97183e41d01f84d130ad36ae2df3b246d2))
35
+ - add long descriptions back ([41d5fba](https://github.com/salesforcecli/plugin-community/commit/41d5fbab81367e97c9f596ec1848ba4144a4cea1))
36
+ - circle config syntax ([02b6c83](https://github.com/salesforcecli/plugin-community/commit/02b6c83cbdac3cc6fe0f39129182ddd4d18bc20e))
37
+ - linting, fix tests, update messages ([48b4d78](https://github.com/salesforcecli/plugin-community/commit/48b4d78d579ec842d5264b2d77fb721d08bf11be))
38
+ - member-access linting updates ([3b5b35d](https://github.com/salesforcecli/plugin-community/commit/3b5b35d5e2ff60296d60f3e04b29a1edead23d67))
39
+ - template:list messages ([2ff4e52](https://github.com/salesforcecli/plugin-community/commit/2ff4e524c81dac04af3959a0d4f38579dc7d4f09))
package/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2018, Salesforce.com, Inc.
1
+ Copyright (c) 2022, Salesforce.com, Inc.
2
2
  All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
package/README.md CHANGED
@@ -71,30 +71,18 @@ sfdx plugins
71
71
  ## Commands
72
72
 
73
73
  <!-- commands -->
74
- * [`sfdx force:community:create [name=value...] -n <string> -t <string> -p <string> [-d <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcecommunitycreate-namevalue--n-string--t-string--p-string--d-string--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
75
- * [`sfdx force:community:publish -n <string> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcecommunitypublish--n-string--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
76
- * [`sfdx force:community:template:list [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcecommunitytemplatelist--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
74
+
75
+ - [`sfdx force:community:create [name=value...] -n <string> -t <string> -p <string> [-d <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcecommunitycreate-namevalue--n-string--t-string--p-string--d-string--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
76
+ - [`sfdx force:community:publish -n <string> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcecommunitypublish--n-string--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
77
+ - [`sfdx force:community:template:list [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcecommunitytemplatelist--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
77
78
 
78
79
  ## `sfdx force:community:create [name=value...] -n <string> -t <string> -p <string> [-d <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
79
80
 
80
81
  creates an Experience Cloud site using a template
81
82
 
82
83
  ```
83
- creates an Experience Cloud site using a template
84
- See 'Which Experience Cloud Template Should I Use?' in Salesforce Help for more information about the different template types available for Experience Cloud.
85
-
86
- When 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.
87
-
88
- When 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.
89
-
90
- If you have an Experience Builder site, publish the site using the sfdx force:community:publish command to make it live.
91
-
92
- If 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.
93
-
94
- For Experience Builder sites, activating the site just sends out a welcome email to site members.
95
-
96
84
  USAGE
97
- $ sfdx force:community:create [name=value...] -n <string> -t <string> -p <string> [-d <string>] [-u <string>]
85
+ $ sfdx force:community:create [name=value...] -n <string> -t <string> -p <string> [-d <string>] [-u <string>]
98
86
  [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
99
87
 
100
88
  OPTIONS
@@ -122,53 +110,43 @@ OPTIONS
122
110
  this command invocation
123
111
 
124
112
  DESCRIPTION
125
- See 'Which Experience Cloud Template Should I Use?' in Salesforce Help for more information about the different
113
+ See 'Which Experience Cloud Template Should I Use?' in Salesforce Help for more information about the different
126
114
  template types available for Experience Cloud.
127
115
 
128
- When creating a site with the Build Your Own (LWR) template, you must also specify the AuthenticationType value using
129
- the format templateParams.AuthenticationType=value, where value is AUTHENTICATED, UNAUTHENTICATED, or
130
- AUTHENTICATED_WITH_PUBLIC_ACCESS. Name and values are case-sensitive. See 'ExperienceBundle' in the Metadata API
116
+ When creating a site with the Build Your Own (LWR) template, you must also specify the AuthenticationType value using
117
+ the format templateParams.AuthenticationType=value, where value is AUTHENTICATED, UNAUTHENTICATED, or
118
+ AUTHENTICATED_WITH_PUBLIC_ACCESS. Name and values are case-sensitive. See 'ExperienceBundle' in the Metadata API
131
119
  Developer Guide for more information.
132
120
 
133
- When you execute this command, it creates the site in preview status, which means that it isn’t yet live. After you
121
+ When you execute this command, it creates the site in preview status, which means that it isn’t yet live. After you
134
122
  finish building your site, you can make it live.
135
123
 
136
- If you have an Experience Builder site, publish the site using the sfdx force:community:publish command to make it
124
+ If you have an Experience Builder site, publish the site using the sfdx force:community:publish command to make it
137
125
  live.
138
126
 
139
- If you have a Salesforce Tabs + Visualforce site, activate the site to make it live by updating the status field of
140
- the Network type in the Metadata API. Alternatively, in Experience Workspaces, go to Administration | Settings, and
127
+ If you have a Salesforce Tabs + Visualforce site, activate the site to make it live by updating the status field of
128
+ the Network type in the Metadata API. Alternatively, in Experience Workspaces, go to Administration | Settings, and
141
129
  click Activate.
142
130
 
143
131
  For Experience Builder sites, activating the site just sends out a welcome email to site members.
144
132
 
145
133
  EXAMPLES
146
- sfdx force:community:create --name 'My Customer Site' --templatename 'Customer Service' --urlpathprefix customers
134
+ $ sfdx force:community:create --name 'My Customer Site' --templatename 'Customer Service' --urlpathprefix customers
147
135
  --description 'My customer site'
148
- sfdx force:community:create -n partnercentral -t 'Partner Central' -p partners
149
- sfdx force:community:create -n lwrsite -t 'Build Your Own (LWR)' -p lwrsite
150
- templateParams.AuthenticatedType=UNAUTHENTICATED
136
+ $ sfdx force:community:create -n partnercentral -t 'Partner Central' -p partners
137
+ $ sfdx force:community:create -n lwrsite -t 'Build Your Own (LWR)' -p lwrsite
138
+ templateParams.AuthenticationType=UNAUTHENTICATED
151
139
  ```
152
140
 
153
- _See code: [src/commands/force/community/create.ts](https://github.com/salesforcecli/plugin-community/blob/v1.1.1/src/commands/force/community/create.ts)_
141
+ _See code: [src/commands/force/community/create.ts](https://github.com/salesforcecli/plugin-community/blob/v1.1.4/src/commands/force/community/create.ts)_
154
142
 
155
143
  ## `sfdx force:community:publish -n <string> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
156
144
 
157
145
  publishes an Experience Builder site to make it live
158
146
 
159
147
  ```
160
- publishes an Experience Builder site to make it live
161
- Each time you publish it, you update the live site with the most recent updates.
162
- 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.
163
-
164
- Additionally, 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.
165
-
166
- Subsequently, each time you publish the site, you update the live site with all changes made to the site since it was last published.
167
-
168
- An email notification informs you when your changes are live.
169
-
170
148
  USAGE
171
- $ sfdx force:community:publish -n <string> [-u <string>] [--apiversion <string>] [--json] [--loglevel
149
+ $ sfdx force:community:publish -n <string> [-u <string>] [--apiversion <string>] [--json] [--loglevel
172
150
  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
173
151
 
174
152
  OPTIONS
@@ -188,34 +166,32 @@ OPTIONS
188
166
 
189
167
  DESCRIPTION
190
168
  Each time you publish it, you update the live site with the most recent updates.
191
- When you publish an Experience Builder site for the first time, you make the site’s URL live and enable login access
169
+ When you publish an Experience Builder site for the first time, you make the site’s URL live and enable login access
192
170
  for site members.
193
171
 
194
- Additionally, to send a welcome email to all site members, you must activate the site. (Activation is also required to
195
- successfully set up SEO for Experience Builder sites.) To activate a site, update the status field of the Network type
196
- in the Metadata API. Alternatively, in Experience Workspaces, go to Administration | Settings, and click Activate.
172
+ Additionally, to send a welcome email to all site members, you must activate the site. (Activation is also required to
173
+ successfully set up SEO for Experience Builder sites.) To activate a site, update the status field of the Network
174
+ type in the Metadata API. Alternatively, in Experience Workspaces, go to Administration | Settings, and click
175
+ Activate.
197
176
 
198
- Subsequently, each time you publish the site, you update the live site with all changes made to the site since it was
177
+ Subsequently, each time you publish the site, you update the live site with all changes made to the site since it was
199
178
  last published.
200
179
 
201
180
  An email notification informs you when your changes are live.
202
181
 
203
182
  EXAMPLE
204
- sfdx force:community:publish --name 'My Customer Site'
183
+ $ sfdx force:community:publish --name 'My Customer Site'
205
184
  ```
206
185
 
207
- _See code: [src/commands/force/community/publish.ts](https://github.com/salesforcecli/plugin-community/blob/v1.1.1/src/commands/force/community/publish.ts)_
186
+ _See code: [src/commands/force/community/publish.ts](https://github.com/salesforcecli/plugin-community/blob/v1.1.4/src/commands/force/community/publish.ts)_
208
187
 
209
188
  ## `sfdx force:community:template:list [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
210
189
 
211
190
  retrieves the list of templates available in your org
212
191
 
213
192
  ```
214
- retrieves the list of templates available in your org
215
- See 'Which Experience Cloud Template Should I Use?' in Salesforce Help for more information about the different template types available for Experience Cloud.
216
-
217
193
  USAGE
218
- $ sfdx force:community:template:list [-u <string>] [--apiversion <string>] [--json] [--loglevel
194
+ $ sfdx force:community:template:list [-u <string>] [--apiversion <string>] [--json] [--loglevel
219
195
  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
220
196
 
221
197
  OPTIONS
@@ -231,12 +207,13 @@ OPTIONS
231
207
  this command invocation
232
208
 
233
209
  DESCRIPTION
234
- See 'Which Experience Cloud Template Should I Use?' in Salesforce Help for more information about the different
210
+ See 'Which Experience Cloud Template Should I Use?' in Salesforce Help for more information about the different
235
211
  template types available for Experience Cloud.
236
212
 
237
213
  EXAMPLE
238
- sfdx force:community:template:list
214
+ $ sfdx force:community:template:list
239
215
  ```
240
216
 
241
- _See code: [src/commands/force/community/template/list.ts](https://github.com/salesforcecli/plugin-community/blob/v1.1.1/src/commands/force/community/template/list.ts)_
217
+ _See code: [src/commands/force/community/template/list.ts](https://github.com/salesforcecli/plugin-community/blob/v1.1.4/src/commands/force/community/template/list.ts)_
218
+
242
219
  <!-- commandsstop -->
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "description": "creates an Experience Cloud site using a template\nSee 'Which Experience Cloud Template Should I Use?' in Salesforce Help for more information about the different template types 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.\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 sfdx force: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.",
3
3
  "examples": [
4
- "sfdx force:community:create --name 'My Customer Site' --templatename 'Customer Service' --urlpathprefix customers --description 'My customer site'",
5
- "sfdx force:community:create -n partnercentral -t 'Partner Central' -p partners",
6
- "sfdx force:community:create -n lwrsite -t 'Build Your Own (LWR)' -p lwrsite templateParams.AuthenticatedType=UNAUTHENTICATED"
4
+ "$ sfdx force:community:create --name 'My Customer Site' --templatename 'Customer Service' --urlpathprefix customers --description 'My customer site'",
5
+ "$ sfdx force:community:create -n partnercentral -t 'Partner Central' -p partners",
6
+ "$ sfdx force:community:create -n lwrsite -t 'Build Your Own (LWR)' -p lwrsite templateParams.AuthenticationType=UNAUTHENTICATED"
7
7
  ],
8
8
  "flags": {
9
9
  "name": {
@@ -16,7 +16,7 @@
16
16
  },
17
17
  "urlPathPrefix": {
18
18
  "description": "URL to append to the domain created when Digital Experiences was enabled for this org",
19
- "longDescription": "The URL to append to the domain that you created when you enabled Digital Experiences for this org. For example, if your domain name is UniversalTelco.force.com and you’re creating a customer site, enter 'customers' to create the unique URL \nUniversalTelco.force.com/customers."
19
+ "longDescription": "The URL to append to the domain that you created when you enabled Digital Experiences for this org. For example, if your domain name is https://MyDomainName.my.site.com and you’re creating a customer site, enter 'customers' to create the unique URL \nhttps://MyDomainName.my.site.com/customers."
20
20
  },
21
21
  "description": {
22
22
  "description": "description of the site",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "description": "publishes an Experience Builder site to make it live\nEach time you publish it, you update the live site with the most recent updates.\nWhen 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.",
3
- "examples": ["sfdx force:community:publish --name 'My Customer Site'"],
3
+ "examples": ["$ sfdx force:community:publish --name 'My Customer Site'"],
4
4
  "flags": {
5
5
  "name": {
6
6
  "description": "name of the Experience Builder site to publish",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "description": "retrieves the list of templates available in your org\nSee 'Which Experience Cloud Template Should I Use?' in Salesforce Help for more information about the different template types available for Experience Cloud.",
3
- "examples": ["sfdx force:community:template:list"],
3
+ "examples": ["$ sfdx force:community:template:list"],
4
4
  "response": {
5
5
  "styledHeader": "Site list template result",
6
6
  "TotalField": "Total "
@@ -1 +1 @@
1
- {"version":"1.1.2","commands":{"force:community:create":{"id":"force:community:create","description":"creates an Experience Cloud site using a template\nSee 'Which Experience Cloud Template Should I Use?' in Salesforce Help for more information about the different template types 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.\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 sfdx force: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.","usage":"<%= command.id %> [name=value...] -n <string> -t <string> -p <string> [-d <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-community","pluginType":"core","aliases":[],"examples":["sfdx force:community:create --name 'My Customer Site' --templatename 'Customer Service' --urlpathprefix customers --description 'My customer site'","sfdx force:community:create -n partnercentral -t 'Partner Central' -p partners","sfdx force:community:create -n lwrsite -t 'Build Your Own (LWR)' -p lwrsite templateParams.AuthenticatedType=UNAUTHENTICATED"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"name":{"name":"name","type":"option","char":"n","description":"name of the site to create","required":true},"templatename":{"name":"templatename","type":"option","char":"t","description":"template to use to create a site","required":true},"urlpathprefix":{"name":"urlpathprefix","type":"option","char":"p","description":"URL to append to the domain created when Digital Experiences was enabled for this org","required":true},"description":{"name":"description","type":"option","char":"d","description":"description of the site"}},"args":[]},"force:community:publish":{"id":"force:community:publish","description":"publishes an Experience Builder site to make it live\nEach time you publish it, you update the live site with the most recent updates.\nWhen 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.","usage":"<%= command.id %> -n <string> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-community","pluginType":"core","aliases":[],"examples":["sfdx force:community:publish --name 'My Customer Site'"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"name":{"name":"name","type":"option","char":"n","description":"name of the Experience Builder site to publish","required":true}},"args":[]},"force:community:template:list":{"id":"force:community:template:list","description":"retrieves the list of templates available in your org\nSee 'Which Experience Cloud Template Should I Use?' in Salesforce Help for more information about the different template types available for Experience Cloud.","usage":"<%= command.id %> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-community","pluginType":"core","aliases":[],"examples":["sfdx force:community:template:list"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"}},"args":[]}}}
1
+ {"version":"1.1.5","commands":{"force:community:create":{"id":"force:community:create","description":"creates an Experience Cloud site using a template\nSee 'Which Experience Cloud Template Should I Use?' in Salesforce Help for more information about the different template types 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.\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 sfdx force: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.","usage":"<%= command.id %> [name=value...] -n <string> -t <string> -p <string> [-d <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-community","pluginType":"core","aliases":[],"examples":["$ sfdx force:community:create --name 'My Customer Site' --templatename 'Customer Service' --urlpathprefix customers --description 'My customer site'","$ sfdx force:community:create -n partnercentral -t 'Partner Central' -p partners","$ sfdx force:community:create -n lwrsite -t 'Build Your Own (LWR)' -p lwrsite templateParams.AuthenticationType=UNAUTHENTICATED"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"name":{"name":"name","type":"option","char":"n","description":"name of the site to create","required":true},"templatename":{"name":"templatename","type":"option","char":"t","description":"template to use to create a site","required":true},"urlpathprefix":{"name":"urlpathprefix","type":"option","char":"p","description":"URL to append to the domain created when Digital Experiences was enabled for this org","required":true},"description":{"name":"description","type":"option","char":"d","description":"description of the site"}},"args":[]},"force:community:publish":{"id":"force:community:publish","description":"publishes an Experience Builder site to make it live\nEach time you publish it, you update the live site with the most recent updates.\nWhen 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.","usage":"<%= command.id %> -n <string> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-community","pluginType":"core","aliases":[],"examples":["$ sfdx force:community:publish --name 'My Customer Site'"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"name":{"name":"name","type":"option","char":"n","description":"name of the Experience Builder site to publish","required":true}},"args":[]},"force:community:template:list":{"id":"force:community:template:list","description":"retrieves the list of templates available in your org\nSee 'Which Experience Cloud Template Should I Use?' in Salesforce Help for more information about the different template types available for Experience Cloud.","usage":"<%= command.id %> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-community","pluginType":"core","aliases":[],"examples":["$ sfdx force:community:template:list"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"}},"args":[]}}}
package/package.json CHANGED
@@ -1,22 +1,22 @@
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": "1.1.2",
4
+ "version": "1.1.5",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "dependencies": {
8
8
  "@oclif/config": "^1",
9
- "@salesforce/command": "^4.1.0",
10
- "@salesforce/core": "^2.27.2",
9
+ "@salesforce/command": "^4.2.2",
10
+ "@salesforce/core": "^2.35.1",
11
11
  "tslib": "^2"
12
12
  },
13
13
  "devDependencies": {
14
14
  "@oclif/dev-cli": "^1",
15
15
  "@oclif/plugin-command-snapshot": "^2.2.2",
16
- "@salesforce/cli-plugins-testkit": "^1.3.7",
17
- "@salesforce/dev-config": "^2.1.2",
18
- "@salesforce/dev-scripts": "^0.9.18",
19
- "@salesforce/plugin-command-reference": "^1.3.14",
16
+ "@salesforce/cli-plugins-testkit": "^1.5.11",
17
+ "@salesforce/dev-config": "^3.0.0",
18
+ "@salesforce/dev-scripts": "^2.0.0",
19
+ "@salesforce/plugin-command-reference": "^1.3.18",
20
20
  "@salesforce/prettier-config": "^0.0.2",
21
21
  "@salesforce/ts-sinon": "1.3.21",
22
22
  "@typescript-eslint/eslint-plugin": "^4.31.0",
@@ -32,13 +32,13 @@
32
32
  "eslint-plugin-import": "^2.24.2",
33
33
  "eslint-plugin-jsdoc": "^35.5.1",
34
34
  "eslint-plugin-prettier": "^3.4.1",
35
- "husky": "^4.3.8",
35
+ "husky": "^7.0.4",
36
36
  "lint-staged": "^11.1.2",
37
- "mocha": "^8.4.0",
37
+ "mocha": "^9.1.3",
38
38
  "nyc": "^15.1.0",
39
39
  "prettier": "^2.4.0",
40
40
  "pretty-quick": "^3.1.1",
41
- "shx": "0.3.3",
41
+ "shx": "0.3.4",
42
42
  "sinon": "^11.1.2",
43
43
  "ts-node": "^10.2.1",
44
44
  "typescript": "^4.4.2"
@@ -49,7 +49,7 @@
49
49
  }
50
50
  },
51
51
  "engines": {
52
- "node": ">=12.0.0"
52
+ "node": ">=14.0.0"
53
53
  },
54
54
  "files": [
55
55
  "/lib",
@@ -114,15 +114,8 @@
114
114
  "publishConfig": {
115
115
  "access": "public"
116
116
  },
117
- "husky": {
118
- "hooks": {
119
- "commit-msg": "sf-husky-commit-msg",
120
- "pre-commit": "sf-husky-pre-commit",
121
- "pre-push": "sf-husky-pre-push"
122
- }
123
- },
124
117
  "sfdx": {
125
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-community/1.1.2.crt",
126
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-community/1.1.2.sig"
118
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-community/1.1.5.crt",
119
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-community/1.1.5.sig"
127
120
  }
128
121
  }