Skip to content

Commit d37f000

Browse files
committed
chore(release): 2.9.0 [skip ci]
1 parent 03fd833 commit d37f000

File tree

3 files changed

+22
-6
lines changed

3 files changed

+22
-6
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# [2.9.0](https://github.com/salesforcecli/plugin-lightning-dev/compare/2.8.0...2.9.0) (2025-01-13)
2+
3+
### Features
4+
5+
- [sites] add `get-latest` cli parameter / update lwr -> v0.16.2 (includes latest local-dev fixes) ([#311](https://github.com/salesforcecli/plugin-lightning-dev/issues/311)) ([03fd833](https://github.com/salesforcecli/plugin-lightning-dev/commit/03fd833a399771041d1edb58e22158cf12888ff1))
6+
17
# [2.8.0](https://github.com/salesforcecli/plugin-lightning-dev/compare/2.7.0...2.8.0) (2024-12-19)
28

39
### Features

README.md

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -200,17 +200,19 @@ EXAMPLES
200200
$ sf lightning dev app --target-org myOrg --device-type ios --device-id "iPhone 15 Pro Max"
201201
```
202202

203-
_See code: [src/commands/lightning/dev/app.ts](https://github.com/salesforcecli/plugin-lightning-dev/blob/2.8.0/src/commands/lightning/dev/app.ts)_
203+
_See code: [src/commands/lightning/dev/app.ts](https://github.com/salesforcecli/plugin-lightning-dev/blob/2.9.0/src/commands/lightning/dev/app.ts)_
204204

205205
## `sf lightning dev site`
206206

207-
Preview an Experience Builder site locally and in real-time, without deploying it.
207+
[Beta] Preview an Experience Builder site locally and in real-time, without deploying it.
208208

209209
```
210210
USAGE
211-
$ sf lightning dev site -o <value> [--flags-dir <value>] [-n <value>]
211+
$ sf lightning dev site -o <value> [--flags-dir <value>] [-n <value>] [-l]
212212
213213
FLAGS
214+
-l, --get-latest Download the latest version of the specified site from your org, instead of using any local
215+
cache.
214216
-n, --name=<value> Name of the Experience Builder site to preview. It has to match a site name from the current
215217
org.
216218
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
@@ -220,7 +222,7 @@ GLOBAL FLAGS
220222
--flags-dir=<value> Import flag values from a directory.
221223
222224
DESCRIPTION
223-
Preview an Experience Builder site locally and in real-time, without deploying it.
225+
[Beta] Preview an Experience Builder site locally and in real-time, without deploying it.
224226
225227
Enable Local Dev to see local changes to your site in a real-time preview that you don't have to deploy or manually
226228
refresh. To let you quickly iterate on your Lightning web components (LWCs) and pages, your site preview automatically
@@ -239,11 +241,19 @@ DESCRIPTION
239241
For more considerations and limitations, see the Lightning Web Components Developer Guide.
240242
241243
EXAMPLES
244+
Select a site to preview from the org "myOrg":
245+
246+
$ sf lightning dev site --target-org myOrg
247+
242248
Preview the site "Partner Central" from the org "myOrg":
243249
244250
$ sf lightning dev site --name "Partner Central" --target-org myOrg
251+
252+
Get and preview the latest version of the "Partner Central" site from the org "myOrg"
253+
254+
$ sf lightning dev site --name "Partner Central" --target-org myOrg --get-latest
245255
```
246256

247-
_See code: [src/commands/lightning/dev/site.ts](https://github.com/salesforcecli/plugin-lightning-dev/blob/2.8.0/src/commands/lightning/dev/site.ts)_
257+
_See code: [src/commands/lightning/dev/site.ts](https://github.com/salesforcecli/plugin-lightning-dev/blob/2.9.0/src/commands/lightning/dev/site.ts)_
248258

249259
<!-- commandsstop -->

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@salesforce/plugin-lightning-dev",
33
"description": "Lightning development tools for LEX, Mobile, and Experience Sites",
4-
"version": "2.8.0",
4+
"version": "2.9.0",
55
"author": "Salesforce",
66
"bugs": "https://github.com/forcedotcom/cli/issues",
77
"dependencies": {

0 commit comments

Comments
 (0)