@salesforce/plugin-community 2.0.17 → 2.0.19
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 +2 -2
- package/oclif.manifest.json +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -52,11 +52,11 @@ yarn install
|
|
|
52
52
|
yarn build
|
|
53
53
|
```
|
|
54
54
|
|
|
55
|
-
To use your plugin, run using the local `./bin/
|
|
55
|
+
To use your plugin, run using the local `./bin/dev` or `./bin/dev.cmd` file.
|
|
56
56
|
|
|
57
57
|
```bash
|
|
58
58
|
# Run using local run file.
|
|
59
|
-
./bin/
|
|
59
|
+
./bin/dev community
|
|
60
60
|
```
|
|
61
61
|
|
|
62
62
|
There should be no differences when running via the Salesforce CLI or using the local run file. However, it can be useful to link the plugin to do some additional testing or run your commands from anywhere on your machine.
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"2.0.
|
|
1
|
+
{"version":"2.0.19","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.","strict":true,"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","pluginAlias":"@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)","multiple":false,"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","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"name":{"name":"name","type":"option","char":"n","description":"name of the site to create","required":true,"multiple":false},"templatename":{"name":"templatename","type":"option","char":"t","description":"template to use to create a site","required":true,"multiple":false},"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,"multiple":false},"description":{"name":"description","type":"option","char":"d","description":"description of the site","multiple":false}},"args":[],"requiresUsername":true,"varargs":true,"flagsConfig":{"name":{"kind":"string","char":"n","description":"name of the site to create","longDescription":"The name of the site to create.","required":true,"input":[],"multiple":false,"type":"option"},"templatename":{"kind":"string","char":"t","description":"template to use to create a site","longDescription":"The template to use to create the site, such as the Customer Service template. Run force:community:template:list to see which templates are available in your org.","required":true,"input":[],"multiple":false,"type":"option"},"urlpathprefix":{"kind":"string","char":"p","description":"URL to append to the domain created when Digital Experiences was enabled for this org","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.","required":true,"input":[],"multiple":false,"type":"option"},"description":{"kind":"string","char":"d","description":"description of the site","longDescription":"The description of the site. The description displays in Digital Experiences - All Sites in Setup and helps with site identification.","input":[],"multiple":false,"type":"option"}},"validationPatterns":["name","urlPathPrefix","templateName","description","templateParams(\\.\\w+)+"]},"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.","strict":true,"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","pluginAlias":"@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)","multiple":false,"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","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"name":{"name":"name","type":"option","char":"n","description":"name of the Experience Builder site to publish","required":true,"multiple":false}},"args":[],"requiresUsername":true,"flagsConfig":{"name":{"kind":"string","char":"n","description":"name of the Experience Builder site to publish","longDescription":"The name of the Experience Builder site that you want to publish.","required":true,"input":[],"multiple":false,"type":"option"}}},"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.","strict":true,"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","pluginAlias":"@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)","multiple":false,"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","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false}},"args":[],"requiresUsername":true}}}
|
package/package.json
CHANGED
|
@@ -1,22 +1,21 @@
|
|
|
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.0.
|
|
4
|
+
"version": "2.0.19",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@oclif/core": "^1.20.4",
|
|
9
9
|
"@salesforce/command": "^5.2.24",
|
|
10
|
-
"@salesforce/core": "^3.
|
|
10
|
+
"@salesforce/core": "^3.32.2",
|
|
11
11
|
"tslib": "^2"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
|
-
"@oclif/
|
|
15
|
-
"@oclif/plugin-command-snapshot": "^3.2.9",
|
|
14
|
+
"@oclif/plugin-command-snapshot": "^3.2.11",
|
|
16
15
|
"@salesforce/cli-plugins-testkit": "^3.2.6",
|
|
17
16
|
"@salesforce/dev-config": "^3.0.1",
|
|
18
17
|
"@salesforce/dev-scripts": "^3.1.0",
|
|
19
|
-
"@salesforce/plugin-command-reference": "^1.5.
|
|
18
|
+
"@salesforce/plugin-command-reference": "^1.5.2",
|
|
20
19
|
"@salesforce/prettier-config": "^0.0.2",
|
|
21
20
|
"@salesforce/ts-sinon": "1.4.1",
|
|
22
21
|
"@swc/core": "^1.3.14",
|
|
@@ -35,6 +34,7 @@
|
|
|
35
34
|
"jsforce": "^2.0.0-beta.18",
|
|
36
35
|
"mocha": "^9.2.2",
|
|
37
36
|
"nyc": "^15.1.0",
|
|
37
|
+
"oclif": "^3.2.28",
|
|
38
38
|
"prettier": "^2.7.1",
|
|
39
39
|
"pretty-quick": "^3.1.3",
|
|
40
40
|
"shx": "0.3.4",
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"access": "public"
|
|
111
111
|
},
|
|
112
112
|
"sfdx": {
|
|
113
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-community/2.0.
|
|
114
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-community/2.0.
|
|
113
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-community/2.0.19.crt",
|
|
114
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-community/2.0.19.sig"
|
|
115
115
|
}
|
|
116
116
|
}
|