Skip to content

Commit 673b023

Browse files
committed
chore(release): 6.2.16 [skip ci]
1 parent f71e77e commit 673b023

File tree

3 files changed

+39
-20
lines changed

3 files changed

+39
-20
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## [6.2.16](https://github.com/salesforcecli/plugin-lightning-dev/compare/6.2.15...6.2.16) (2026-03-12)
2+
3+
### Bug Fixes
4+
5+
- use CODE_BUILDER_PROXY_URI since it's already authenticated ([f71e77e](https://github.com/salesforcecli/plugin-lightning-dev/commit/f71e77ebd602dabb31211dfa5afde6059589d3a9))
6+
17
## [6.2.15](https://github.com/salesforcecli/plugin-lightning-dev/compare/6.2.14...6.2.15) (2026-02-28)
28

39
### Bug Fixes

README.md

Lines changed: 32 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ GLOBAL FLAGS
215215
DESCRIPTION
216216
Preview a Lightning Experience app locally and in real-time, without deploying it.
217217
218-
Use Local Dev (Beta) to see local changes to your app in a real-time preview that you don't have to deploy or manually
218+
Use Local Dev to see local changes to your app in a real-time preview that you don't have to deploy or manually
219219
refresh. To let you quickly iterate on your Lightning web components (LWCs) and pages, your app preview automatically
220220
refreshes when Local Dev detects source code changes.
221221
@@ -233,8 +233,12 @@ DESCRIPTION
233233
your live app. To update your local version of the app with those changes, you must retrieve them from your org using
234234
the `sf project retrieve start` command.
235235
236+
If you run the command without flags, it displays a list of devices for you to choose from. Then it lists the apps
237+
that it found in your local DX project for you to choose. Use the --device or --name flags to bypass the questions.
238+
The command also asks if you want to enable Local Dev in your org if it isn't already.
239+
236240
To learn more about Local Dev enablement, considerations, and limitations, see the Lightning Web Components Developer
237-
Guide.
241+
Guide (https://developer.salesforce.com/docs/platform/lwc/guide/get-started-test-components.html).
238242
239243
EXAMPLES
240244
Preview the default app for the target org "myOrg" in a desktop environment:
@@ -250,18 +254,18 @@ EXAMPLES
250254
$ sf lightning dev app --target-org myOrg --device-type ios --device-id "iPhone 15 Pro Max"
251255
```
252256

253-
_See code: [src/commands/lightning/dev/app.ts](https://github.com/salesforcecli/plugin-lightning-dev/blob/6.2.15/src/commands/lightning/dev/app.ts)_
257+
_See code: [src/commands/lightning/dev/app.ts](https://github.com/salesforcecli/plugin-lightning-dev/blob/6.2.16/src/commands/lightning/dev/app.ts)_
254258

255259
## `sf lightning dev component`
256260

257-
[Beta] Preview LWC components in isolation.
261+
Preview LWC components in isolation.
258262

259263
```
260264
USAGE
261265
$ sf lightning dev component -o <value> [--json] [--flags-dir <value>] [-n <value>] [--api-version <value>] [-c]
262266
263267
FLAGS
264-
-c, --client-select Launch component preview without selecting a component
268+
-c, --client-select Launch component preview without selecting a component.
265269
-n, --name=<value> Name of a component to preview.
266270
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
267271
configuration variable is already set.
@@ -272,7 +276,7 @@ GLOBAL FLAGS
272276
--json Format output as json.
273277
274278
DESCRIPTION
275-
[Beta] Preview LWC components in isolation.
279+
Preview LWC components in isolation.
276280
277281
Component preview launches an isolated development environment for Lightning Web Components, enabling rapid iteration
278282
without needing to deploy changes. The server provides real-time previews of your components through hot module
@@ -286,31 +290,36 @@ DESCRIPTION
286290
- Adding or updating internal component dependencies
287291
- Modifying static resources used by the component
288292
289-
See the LWC Development Guide for more information about component development best practices and limitations.
293+
If you run the command without flags, it displays a list of components that it found in your local DX project for you
294+
to choose to preview. Use the --name flag to bypass the question. The command also asks if you want to enable Local
295+
Dev in your org if it isn't already.
296+
297+
See the LWC Developer Guide for more information about component development best practices and limitations
298+
(https://developer.salesforce.com/docs/platform/lwc/guide/get-started-best-practices.html).
290299
291300
EXAMPLES
292-
Select a component and launch the component preview:
301+
Select a component interactively and launch the component preview; use your default org:
293302
294303
$ sf lightning dev component
295304
296-
Launch component preview for "myComponent":
305+
Launch component preview for "myComponent"; use the org with alias "myscratch":
297306
298-
$ sf lightning dev component --name myComponent
307+
$ sf lightning dev component --name myComponent --target-org myscratch
299308
```
300309

301-
_See code: [src/commands/lightning/dev/component.ts](https://github.com/salesforcecli/plugin-lightning-dev/blob/6.2.15/src/commands/lightning/dev/component.ts)_
310+
_See code: [src/commands/lightning/dev/component.ts](https://github.com/salesforcecli/plugin-lightning-dev/blob/6.2.16/src/commands/lightning/dev/component.ts)_
302311

303312
## `sf lightning dev site`
304313

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

307316
```
308317
USAGE
309318
$ sf lightning dev site -o <value> [--flags-dir <value>] [-n <value>] [--api-version <value>]
310319
311320
FLAGS
312-
-n, --name=<value> Name of the Experience Builder site to preview. It has to match a site name from the
313-
current org.
321+
-n, --name=<value> Name of the Experience Builder site to preview. It must match a site name from the current
322+
org.
314323
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
315324
configuration variable is already set.
316325
--api-version=<value> Override the api version used for api requests made by this command
@@ -319,7 +328,7 @@ GLOBAL FLAGS
319328
--flags-dir=<value> Import flag values from a directory.
320329
321330
DESCRIPTION
322-
[Beta] Preview an Experience Builder site locally and in real-time, without deploying it.
331+
Preview an Experience Builder site locally and in real-time, without deploying it.
323332
324333
Enable Local Dev to see local changes to your site in a real-time preview that you don't have to deploy or manually
325334
refresh. To let you quickly iterate on your Lightning web components (LWCs) and pages, your site preview automatically
@@ -335,18 +344,22 @@ DESCRIPTION
335344
To apply any other local changes not listed above, you must deploy them to your org using the `sf project deploy
336345
start` command. Then republish your site and restart the server for the Local Dev experience.
337346
347+
If you run the command without flags, it displays a list of Experience Builder sites that it found in your local DX
348+
project for you to choose from. Use the --name flag to bypass the question. The command also asks if you want to
349+
enable Local Dev in your org if it isn't already.
350+
338351
For more considerations and limitations, see the Lightning Web Components Developer Guide.
339352
340353
EXAMPLES
341-
Select a site to preview from the org "myOrg":
354+
Select a site to preview from the org with alias "myOrg":
342355
343356
$ sf lightning dev site --target-org myOrg
344357
345-
Preview the site "Partner Central" from the org "myOrg":
358+
Preview the site "Partner Central" from your default org:
346359
347-
$ sf lightning dev site --name "Partner Central" --target-org myOrg
360+
$ sf lightning dev site --name "Partner Central"
348361
```
349362

350-
_See code: [src/commands/lightning/dev/site.ts](https://github.com/salesforcecli/plugin-lightning-dev/blob/6.2.15/src/commands/lightning/dev/site.ts)_
363+
_See code: [src/commands/lightning/dev/site.ts](https://github.com/salesforcecli/plugin-lightning-dev/blob/6.2.16/src/commands/lightning/dev/site.ts)_
351364

352365
<!-- 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": "6.2.15",
4+
"version": "6.2.16",
55
"author": "Salesforce",
66
"bugs": "https://github.com/forcedotcom/cli/issues",
77
"dependencies": {

0 commit comments

Comments
 (0)