Skip to content

Commit b5d9aa6

Browse files
committed
chore(release): 3.2.1 [skip ci]
1 parent aeb6855 commit b5d9aa6

File tree

3 files changed

+27
-14
lines changed

3 files changed

+27
-14
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
## [3.2.1](https://github.com/salesforcecli/plugin-lightning-dev/compare/3.2.0...3.2.1) (2025-02-23)
2+
13
# [3.2.0](https://github.com/salesforcecli/plugin-lightning-dev/compare/3.1.2...3.2.0) (2025-02-12)
24

35
### Features

README.md

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

204-
_See code: [src/commands/lightning/dev/app.ts](https://github.com/salesforcecli/plugin-lightning-dev/blob/3.2.0/src/commands/lightning/dev/app.ts)_
204+
_See code: [src/commands/lightning/dev/app.ts](https://github.com/salesforcecli/plugin-lightning-dev/blob/3.2.1/src/commands/lightning/dev/app.ts)_
205205

206206
## `sf lightning dev component`
207207

208208
Preview LWC components in isolation.
209209

210210
```
211211
USAGE
212-
$ sf lightning dev component -o <value> [--json] [--flags-dir <value>] [-n <value>]
212+
$ sf lightning dev component [--json] [--flags-dir <value>] [-n <value>] [-o <value>]
213213
214214
FLAGS
215-
-n, --name=<value> Description of a flag.
216-
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
217-
configuration variable is already set.
215+
-n, --name=<value> Name of a component to preview.
216+
-o, --target-org=<value> Username or alias of the target org.
218217
219218
GLOBAL FLAGS
220219
--flags-dir=<value> Import flag values from a directory.
@@ -223,19 +222,31 @@ GLOBAL FLAGS
223222
DESCRIPTION
224223
Preview LWC components in isolation.
225224
226-
Preview LWC components in isolation. Replacement for:
227-
https://developer.salesforce.com/docs/platform/sfvscode-extensions/guide/lwclocaldev.html
225+
Component preview launches an isolated development environment for Lightning Web Components, enabling rapid iteration
226+
without needing to deploy changes. The server provides real-time previews of your components through hot module
227+
replacement (HMR), automatically refreshing the view when source files are modified.
228+
229+
When running the development server, these changes are immediately reflected:
230+
231+
- Component template (HTML) modifications
232+
- Styling updates in component CSS files
233+
- JavaScript logic changes that don't modify the component's API
234+
- Adding or updating internal component dependencies
235+
- Modifying static resources used by the component
236+
237+
See the LWC Development Guide for more information about component development best practices and limitations.
228238
229239
EXAMPLES
230-
$ sf lightning dev component
240+
Select a component and launch the component preview:
241+
242+
$ sf lightning dev component
231243
232-
FLAG DESCRIPTIONS
233-
-n, --name=<value> Description of a flag.
244+
Launch component preview for "myComponent":
234245
235-
More information about a flag. Don't repeat the summary.
246+
$ sf lightning dev component --name myComponent
236247
```
237248

238-
_See code: [src/commands/lightning/dev/component.ts](https://github.com/salesforcecli/plugin-lightning-dev/blob/3.2.0/src/commands/lightning/dev/component.ts)_
249+
_See code: [src/commands/lightning/dev/component.ts](https://github.com/salesforcecli/plugin-lightning-dev/blob/3.2.1/src/commands/lightning/dev/component.ts)_
239250

240251
## `sf lightning dev site`
241252

@@ -289,6 +300,6 @@ EXAMPLES
289300
$ sf lightning dev site --name "Partner Central" --target-org myOrg --get-latest
290301
```
291302

292-
_See code: [src/commands/lightning/dev/site.ts](https://github.com/salesforcecli/plugin-lightning-dev/blob/3.2.0/src/commands/lightning/dev/site.ts)_
303+
_See code: [src/commands/lightning/dev/site.ts](https://github.com/salesforcecli/plugin-lightning-dev/blob/3.2.1/src/commands/lightning/dev/site.ts)_
293304

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

0 commit comments

Comments
 (0)