@salesforce/plugin-lightning-dev 2.8.0 → 2.9.0
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/LICENSE.txt +1 -1
- package/README.md +15 -5
- package/lib/commands/lightning/dev/site.d.ts +1 -0
- package/lib/commands/lightning/dev/site.js +23 -17
- package/lib/commands/lightning/dev/site.js.map +1 -1
- package/lib/shared/experience/expSite.d.ts +3 -19
- package/lib/shared/experience/expSite.js +56 -78
- package/lib/shared/experience/expSite.js.map +1 -1
- package/lib/shared/promptUtils.js +1 -1
- package/lib/shared/promptUtils.js.map +1 -1
- package/messages/lightning.dev.site.md +9 -1
- package/messages/prompts.md +1 -1
- package/npm-shrinkwrap.json +218 -206
- package/oclif.lock +239 -234
- package/oclif.manifest.json +12 -3
- package/package.json +4 -4
package/oclif.manifest.json
CHANGED
|
@@ -90,7 +90,9 @@
|
|
|
90
90
|
"args": {},
|
|
91
91
|
"description": "Enable Local Dev to see local changes to your site 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 site preview automatically refreshes when Local Dev detects source code changes.\n\nWhen you edit these local files with Local Dev enabled, your org automatically reflects these changes.\n\n- Basic HTML and CSS edits to LWCs\n- JavaScript changes to LWCs that don't affect the component's public API\n- Importing new custom LWCs\n- Importing another instance of an existing LWC\n\nTo 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.\n\nFor more considerations and limitations, see the Lightning Web Components Developer Guide.",
|
|
92
92
|
"examples": [
|
|
93
|
-
"
|
|
93
|
+
"Select a site to preview from the org \"myOrg\":\n<%= config.bin %> <%= command.id %> --target-org myOrg",
|
|
94
|
+
"Preview the site \"Partner Central\" from the org \"myOrg\":\n<%= config.bin %> <%= command.id %> --name \"Partner Central\" --target-org myOrg",
|
|
95
|
+
"Get and preview the latest version of the \"Partner Central\" site from the org \"myOrg\"\n<%= config.bin %> <%= command.id %> --name \"Partner Central\" --target-org myOrg --get-latest"
|
|
94
96
|
],
|
|
95
97
|
"flags": {
|
|
96
98
|
"flags-dir": {
|
|
@@ -118,6 +120,13 @@
|
|
|
118
120
|
"hasDynamicHelp": true,
|
|
119
121
|
"multiple": false,
|
|
120
122
|
"type": "option"
|
|
123
|
+
},
|
|
124
|
+
"get-latest": {
|
|
125
|
+
"char": "l",
|
|
126
|
+
"name": "get-latest",
|
|
127
|
+
"summary": "Download the latest version of the specified site from your org, instead of using any local cache.",
|
|
128
|
+
"allowNo": false,
|
|
129
|
+
"type": "boolean"
|
|
121
130
|
}
|
|
122
131
|
},
|
|
123
132
|
"hasDynamicHelp": true,
|
|
@@ -127,7 +136,7 @@
|
|
|
127
136
|
"pluginName": "@salesforce/plugin-lightning-dev",
|
|
128
137
|
"pluginType": "core",
|
|
129
138
|
"strict": true,
|
|
130
|
-
"summary": "Preview an Experience Builder site locally and in real-time, without deploying it.",
|
|
139
|
+
"summary": "[Beta] Preview an Experience Builder site locally and in real-time, without deploying it.",
|
|
131
140
|
"enableJsonFlag": false,
|
|
132
141
|
"isESM": true,
|
|
133
142
|
"relativePath": [
|
|
@@ -148,5 +157,5 @@
|
|
|
148
157
|
]
|
|
149
158
|
}
|
|
150
159
|
},
|
|
151
|
-
"version": "2.
|
|
160
|
+
"version": "2.9.0"
|
|
152
161
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-lightning-dev",
|
|
3
3
|
"description": "Lightning development tools for LEX, Mobile, and Experience Sites",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.9.0",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
7
7
|
"dependencies": {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"@inquirer/select": "^2.4.7",
|
|
10
10
|
"@lwc/lwc-dev-server": "^11.1.0",
|
|
11
11
|
"@lwc/sfdc-lwc-compiler": "^11.1.0",
|
|
12
|
-
"@lwrjs/api": "0.
|
|
12
|
+
"@lwrjs/api": "0.16.2",
|
|
13
13
|
"@oclif/core": "^4.1.0",
|
|
14
14
|
"@salesforce/core": "^8.6.2",
|
|
15
15
|
"@salesforce/kit": "^3.1.6",
|
|
@@ -243,7 +243,7 @@
|
|
|
243
243
|
"yarn": "1.22.22"
|
|
244
244
|
},
|
|
245
245
|
"sfdx": {
|
|
246
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-lightning-dev/2.
|
|
247
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-lightning-dev/2.
|
|
246
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-lightning-dev/2.9.0.crt",
|
|
247
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-lightning-dev/2.9.0.sig"
|
|
248
248
|
}
|
|
249
249
|
}
|