@salesforce/plugin-community 4.0.20 → 4.0.22

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 CHANGED
@@ -22,22 +22,7 @@ Please report any issues at https://github.com/forcedotcom/cli/issues
22
22
 
23
23
  ## Contributing
24
24
 
25
- 1. Please read our [Code of Conduct](CODE_OF_CONDUCT.md)
26
- 2. Create a new issue before starting your project so that we can keep track of
27
- what you are trying to add/fix. That way, we can also offer suggestions or
28
- let you know if there is already an effort in progress.
29
- 3. Fork this repository.
30
- 4. [Build the plugin locally](#build)
31
- 5. Create a _topic_ branch in your fork. Note, this step is recommended but technically not required if contributing using a fork.
32
- 6. Edit the code in your fork.
33
- 7. Write appropriate tests for your changes. Try to achieve at least 95% code coverage on any new code. No pull request will be accepted without unit tests.
34
- 8. Sign CLA (see [CLA](#cla) below).
35
- 9. Send us a pull request when you are done. We'll review your code, suggest any needed changes, and merge it in.
36
-
37
- ### CLA
38
-
39
- External contributors will be required to sign a Contributor's License
40
- Agreement. You can do so by going to https://cla.salesforce.com/sign-cla.
25
+ If you're interested in contributing, take a look at the [CONTRIBUTING](CONTRIBUTING.md) guide.
41
26
 
42
27
  ### Build
43
28
 
@@ -48,24 +33,23 @@ To build the plugin locally, make sure to have yarn installed and run the follow
48
33
  git clone git@github.com:salesforcecli/plugin-community
49
34
 
50
35
  # Install the dependencies and compile
51
- yarn install
52
- yarn build
36
+ yarn && yarn build
53
37
  ```
54
38
 
55
- To use your plugin, run using the local `./bin/dev` or `./bin/dev.cmd` file.
39
+ To use your plugin, run using the local `./bin/dev.js` or `./bin/dev.cmd` file.
56
40
 
57
41
  ```bash
58
42
  # Run using local run file.
59
- ./bin/dev community
43
+ ./bin/dev.js community create --name MySite --template-name 'Build Your Own'
60
44
  ```
61
45
 
62
46
  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.
63
47
 
64
48
  ```bash
65
- # Link your plugin to the sfdx cli
66
- sfdx plugins:link .
49
+ # Link your plugin to the sf cli
50
+ sf plugins link .
67
51
  # To verify
68
- sfdx plugins
52
+ sf plugins
69
53
  ```
70
54
 
71
55
  ## Commands
@@ -165,7 +149,7 @@ FLAG DESCRIPTIONS
165
149
  available in your org.
166
150
  ```
167
151
 
168
- _See code: [src/commands/community/create.ts](https://github.com/salesforcecli/plugin-community/blob/4.0.20/src/commands/community/create.ts)_
152
+ _See code: [src/commands/community/create.ts](https://github.com/salesforcecli/plugin-community/blob/4.0.22/src/commands/community/create.ts)_
169
153
 
170
154
  ## `sf community list template`
171
155
 
@@ -200,7 +184,7 @@ EXAMPLES
200
184
  $ sf community list template --target-org my-scratch-org
201
185
  ```
202
186
 
203
- _See code: [src/commands/community/list/template.ts](https://github.com/salesforcecli/plugin-community/blob/4.0.20/src/commands/community/list/template.ts)_
187
+ _See code: [src/commands/community/list/template.ts](https://github.com/salesforcecli/plugin-community/blob/4.0.22/src/commands/community/list/template.ts)_
204
188
 
205
189
  ## `sf community publish`
206
190
 
@@ -249,6 +233,6 @@ EXAMPLES
249
233
  $ sf community publish --name 'My Customer Site'
250
234
  ```
251
235
 
252
- _See code: [src/commands/community/publish.ts](https://github.com/salesforcecli/plugin-community/blob/4.0.20/src/commands/community/publish.ts)_
236
+ _See code: [src/commands/community/publish.ts](https://github.com/salesforcecli/plugin-community/blob/4.0.22/src/commands/community/publish.ts)_
253
237
 
254
238
  <!-- commandsstop -->
@@ -357,5 +357,5 @@
357
357
  ]
358
358
  }
359
359
  },
360
- "version": "4.0.20"
360
+ "version": "4.0.22"
361
361
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
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.0.20",
4
+ "version": "4.0.22",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "dependencies": {
@@ -15,14 +15,14 @@
15
15
  "@oclif/plugin-command-snapshot": "^6.0.7",
16
16
  "@salesforce/cli-plugins-testkit": "^5.3.75",
17
17
  "@salesforce/dev-scripts": "^15.0.0",
18
- "@salesforce/plugin-command-reference": "^3.1.142",
18
+ "@salesforce/plugin-command-reference": "^3.1.147",
19
19
  "@salesforce/ts-types": "^3.2.1",
20
20
  "@types/chai": "^4.3.17",
21
21
  "@types/mocha": "^10.0.10",
22
22
  "@types/node": "^18",
23
23
  "@types/sinon": "^10.0.20",
24
24
  "eslint": "^10.13.0",
25
- "eslint-config-salesforce-typescript": "^7.0.1",
25
+ "eslint-config-salesforce-typescript": "^7.0.5",
26
26
  "eslint-plugin-sf-plugin": "^3.0.4",
27
27
  "oclif": "^5.0.2",
28
28
  "ts-node": "^10.9.2",
@@ -210,7 +210,7 @@
210
210
  "exports": "./lib/index.js",
211
211
  "type": "module",
212
212
  "sfdx": {
213
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-community/4.0.20.crt",
214
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-community/4.0.20.sig"
213
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-community/4.0.22.crt",
214
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-community/4.0.22.sig"
215
215
  }
216
216
  }