@salesforce/plugin-lightning-dev 3.1.2 → 3.2.1

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.
@@ -85,6 +85,75 @@
85
85
  "app:dev:lightning"
86
86
  ]
87
87
  },
88
+ "lightning:dev:component": {
89
+ "aliases": [],
90
+ "args": {},
91
+ "description": "Component preview launches an isolated development environment for Lightning Web Components, enabling rapid iteration without needing to deploy changes. The server provides real-time previews of your components through hot module replacement (HMR), automatically refreshing the view when source files are modified.\n\nWhen running the development server, these changes are immediately reflected:\n\n- Component template (HTML) modifications\n- Styling updates in component CSS files\n- JavaScript logic changes that don't modify the component's API\n- Adding or updating internal component dependencies\n- Modifying static resources used by the component\n\nSee the LWC Development Guide for more information about component development best practices and limitations.",
92
+ "examples": [
93
+ "Select a component and launch the component preview:\n<%= config.bin %> <%= command.id %>",
94
+ "Launch component preview for \"myComponent\":\n<%= config.bin %> <%= command.id %> --name myComponent"
95
+ ],
96
+ "flags": {
97
+ "json": {
98
+ "description": "Format output as json.",
99
+ "helpGroup": "GLOBAL",
100
+ "name": "json",
101
+ "allowNo": false,
102
+ "type": "boolean"
103
+ },
104
+ "flags-dir": {
105
+ "helpGroup": "GLOBAL",
106
+ "name": "flags-dir",
107
+ "summary": "Import flag values from a directory.",
108
+ "hasDynamicHelp": false,
109
+ "multiple": false,
110
+ "type": "option"
111
+ },
112
+ "name": {
113
+ "char": "n",
114
+ "name": "name",
115
+ "summary": "Name of a component to preview.",
116
+ "hasDynamicHelp": false,
117
+ "multiple": false,
118
+ "type": "option"
119
+ },
120
+ "target-org": {
121
+ "char": "o",
122
+ "name": "target-org",
123
+ "noCacheDefault": true,
124
+ "summary": "Username or alias of the target org.",
125
+ "hasDynamicHelp": true,
126
+ "multiple": false,
127
+ "type": "option"
128
+ }
129
+ },
130
+ "hasDynamicHelp": true,
131
+ "hiddenAliases": [],
132
+ "id": "lightning:dev:component",
133
+ "pluginAlias": "@salesforce/plugin-lightning-dev",
134
+ "pluginName": "@salesforce/plugin-lightning-dev",
135
+ "pluginType": "core",
136
+ "strict": true,
137
+ "summary": "Preview LWC components in isolation.",
138
+ "enableJsonFlag": true,
139
+ "isESM": true,
140
+ "relativePath": [
141
+ "lib",
142
+ "commands",
143
+ "lightning",
144
+ "dev",
145
+ "component.js"
146
+ ],
147
+ "aliasPermutations": [],
148
+ "permutations": [
149
+ "lightning:dev:component",
150
+ "dev:lightning:component",
151
+ "dev:component:lightning",
152
+ "lightning:component:dev",
153
+ "component:lightning:dev",
154
+ "component:dev:lightning"
155
+ ]
156
+ },
88
157
  "lightning:dev:site": {
89
158
  "aliases": [],
90
159
  "args": {},
@@ -157,5 +226,5 @@
157
226
  ]
158
227
  }
159
228
  },
160
- "version": "3.1.2"
229
+ "version": "3.2.1"
161
230
  }
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": "3.1.2",
4
+ "version": "3.2.1",
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.5.0",
11
11
  "@lwc/sfdc-lwc-compiler": "~11.5.0",
12
- "@lwrjs/api": "0.16.4",
12
+ "@lwrjs/api": "0.16.7",
13
13
  "@oclif/core": "^4.1.0",
14
14
  "@salesforce/core": "^8.6.2",
15
15
  "@salesforce/kit": "^3.1.6",
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "devDependencies": {
24
24
  "@oclif/plugin-command-snapshot": "^5.2.19",
25
- "@salesforce/cli-plugins-testkit": "^5.3.25",
25
+ "@salesforce/cli-plugins-testkit": "^5.3.39",
26
26
  "@salesforce/dev-scripts": "^10.2.11",
27
27
  "@salesforce/plugin-command-reference": "^3.1.37",
28
28
  "@types/node-fetch": "^2.6.11",
@@ -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/3.1.2.crt",
247
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-lightning-dev/3.1.2.sig"
246
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-lightning-dev/3.2.1.crt",
247
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-lightning-dev/3.2.1.sig"
248
248
  }
249
249
  }