You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/onRelease.yml
-2Lines changed: 0 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -47,8 +47,6 @@ jobs:
47
47
with:
48
48
ctc: true
49
49
sign: true
50
-
# At CLCO, the new patch branch's version will be released as 'prerelease'. After R2b, delete the logic below for 'latest' and update 'prerelease' candidate to 'latest'
- use CODE_BUILDER_PROXY_URI since it's already authenticated ([f71e77e](https://github.com/salesforcecli/plugin-lightning-dev/commit/f71e77ebd602dabb31211dfa5afde6059589d3a9))
Copy file name to clipboardExpand all lines: README.md
+39-20Lines changed: 39 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -149,7 +149,13 @@ If a new org is required for NUTs tests, these are the steps to create and confi
149
149
150
150
## Running NUTs (integration tests) locally
151
151
152
-
NUTs (e2e integration tests) run the plugin against a real org and, for component-preview tests, a real browser (Playwright). To run them locally:
152
+
NUTs (e2e integration tests) run the plugin against a real org and, for component-preview tests, a real browser (Playwright). Playwright browsers are installed automatically on CI but must be installed manually for local runs:
153
+
154
+
```bash
155
+
npx playwright install --with-deps
156
+
```
157
+
158
+
To run NUTs locally:
153
159
154
160
1.**Environment variables**
155
161
Copy `.env.template` to `.env` and set the values for your Dev Hub org and test setup:
@@ -215,7 +221,7 @@ GLOBAL FLAGS
215
221
DESCRIPTION
216
222
Preview a Lightning Experience app locally and in real-time, without deploying it.
217
223
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
224
+
Use Local Dev to see local changes to your app in a real-time preview that you don't have to deploy or manually
219
225
refresh. To let you quickly iterate on your Lightning web components (LWCs) and pages, your app preview automatically
220
226
refreshes when Local Dev detects source code changes.
221
227
@@ -233,8 +239,12 @@ DESCRIPTION
233
239
your live app. To update your local version of the app with those changes, you must retrieve them from your org using
234
240
the `sf project retrieve start` command.
235
241
242
+
If you run the command without flags, it displays a list of devices for you to choose from. Then it lists the apps
243
+
that it found in your local DX project for you to choose. Use the --device or --name flags to bypass the questions.
244
+
The command also asks if you want to enable Local Dev in your org if it isn't already.
245
+
236
246
To learn more about Local Dev enablement, considerations, and limitations, see the Lightning Web Components Developer
Copy file name to clipboardExpand all lines: messages/lightning.dev.app.md
+9-5Lines changed: 9 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ Preview a Lightning Experience app locally and in real-time, without deploying i
4
4
5
5
# description
6
6
7
-
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 refresh. To let you quickly iterate on your Lightning web components (LWCs) and pages, your app preview automatically refreshes when Local Dev detects source code changes.
7
+
Use Local Dev to see local changes to your app in a real-time preview that you don't have to deploy or manually refresh. To let you quickly iterate on your Lightning web components (LWCs) and pages, your app preview automatically refreshes when Local Dev detects source code changes.
8
8
9
9
When you edit these local files with Local Dev enabled, your org automatically reflects these changes.
10
10
@@ -17,7 +17,9 @@ To apply any other local changes not listed above, you must deploy them to your
17
17
18
18
When you make changes directly in your org (like saving new component properties), they're automatically deployed to your live app. To update your local version of the app with those changes, you must retrieve them from your org using the `sf project retrieve start` command.
19
19
20
-
To learn more about Local Dev enablement, considerations, and limitations, see the Lightning Web Components Developer Guide.
20
+
If you run the command without flags, it displays a list of devices for you to choose from. Then it lists the apps that it found in your local DX project for you to choose. Use the --device or --name flags to bypass the questions. The command also asks if you want to enable Local Dev in your org if it isn't already.
21
+
22
+
To learn more about Local Dev enablement, considerations, and limitations, see the Lightning Web Components Developer Guide (https://developer.salesforce.com/docs/platform/lwc/guide/get-started-test-components.html).
21
23
22
24
# flags.name.summary
23
25
@@ -33,15 +35,15 @@ ID of the mobile device to display the preview if device type is set to `ios` or
33
35
34
36
# error.fetching.app-id
35
37
36
-
Unable to determine App Id for %s
38
+
Unable to determine App Id for %s.
37
39
38
40
# error.device.notfound
39
41
40
-
Unable to find device %s
42
+
Unable to find device %s.
41
43
42
44
# error.device.google.play
43
45
44
-
Google Play devices are not supported. %s is a Google Play device. Please use a Google APIs device instead.
46
+
Google Play devices aren't supported. %s is a Google Play device. Use a Google APIs device instead.
45
47
46
48
# spinner.device.boot
47
49
@@ -87,7 +89,9 @@ Note: Your desktop browser requires additional configuration to trust the local
87
89
88
90
- Preview the default app for the target org "myOrg" in a desktop environment:
@@ -14,35 +14,38 @@ When running the development server, these changes are immediately reflected:
14
14
- Adding or updating internal component dependencies
15
15
- Modifying static resources used by the component
16
16
17
-
See the LWC Development Guide for more information about component development best practices and limitations.
17
+
If you run the command without flags, it displays a list of components that it found in your local DX project for you to choose to preview. Use the --name flag to bypass the question. The command also asks if you want to enable Local Dev in your org if it isn't already.
18
+
19
+
See the LWC Developer Guide for more information about component development best practices and limitations (https://developer.salesforce.com/docs/platform/lwc/guide/get-started-best-practices.html).
18
20
19
21
# flags.name.summary
20
22
21
23
Name of a component to preview.
22
24
23
25
# flags.client-select.summary
24
26
25
-
Launch component preview without selecting a component
27
+
Launch component preview without selecting a component.
26
28
27
29
# error.directory
28
30
29
-
Unable to find components
31
+
Unable to find components.
30
32
31
33
# error.component
32
34
33
-
Unable to determine component name
35
+
Unable to determine component name.
34
36
35
37
# error.component-metadata
36
38
37
-
Failed to parse component metadata at: %s
39
+
Failed to parse component metadata at: %s.
38
40
39
41
# error.component-not-found
40
42
41
-
Unable to find component with name: %s
43
+
Unable to find component with name: %s.
42
44
43
45
# examples
44
46
45
-
- Select a component and launch the component preview:
47
+
- Select a component interactively and launch the component preview; use your default org:
Copy file name to clipboardExpand all lines: messages/lightning.dev.site.md
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# summary
2
2
3
-
[Beta]Preview an Experience Builder site locally and in real-time, without deploying it.
3
+
Preview an Experience Builder site locally and in real-time, without deploying it.
4
4
5
5
# description
6
6
@@ -15,15 +15,18 @@ When you edit these local files with Local Dev enabled, your org automatically r
15
15
16
16
To apply any other local changes not listed above, you must deploy them to your org using the `sf project deploy start` command. Then republish your site and restart the server for the Local Dev experience.
17
17
18
+
If you run the command without flags, it displays a list of Experience Builder sites that it found in your local DX project for you to choose from. Use the --name flag to bypass the question. The command also asks if you want to enable Local Dev in your org if it isn't already.
19
+
18
20
For more considerations and limitations, see the Lightning Web Components Developer Guide.
19
21
20
22
# flags.name.summary
21
23
22
-
Name of the Experience Builder site to preview. It has to match a site name from the current org.
24
+
Name of the Experience Builder site to preview. It must match a site name from the current org.
23
25
24
26
# examples
25
27
26
-
- Select a site to preview from the org "myOrg":
28
+
- Select a site to preview from the org with alias "myOrg":
0 commit comments