lwr 0.11.0 → 0.11.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.
- package/README.md +39 -0
- package/package.json +9 -9
package/README.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
- # Lightning Web Runtime on Node.js
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/lwr)
|
|
4
|
+
[](MIT)
|
|
5
|
+
|
|
6
|
+
Lightning Web Runtime (LWR) enables you to build digital experiences that meet the high scale, security, and performance demands of modern web applications. LWR at its simplest is a non-opinionated way to configure and load the modules, services, and dependency providers you need to build a JavaScript app. You can deploy on a variety of runtime environments, depending on your use case. For example, LWR works in a local Node.js runtime, or as a standalone instance in Heroku.
|
|
7
|
+
|
|
8
|
+
## Documentation
|
|
9
|
+
|
|
10
|
+
For detailed usage and documentation, please refer to the [Documentation Site](https://developer.salesforce.com/docs/platform/lwr).
|
|
11
|
+
|
|
12
|
+
## Features
|
|
13
|
+
|
|
14
|
+
Some benefits of LWR are:
|
|
15
|
+
|
|
16
|
+
- Performance — Thanks to page generation at build time, not runtime, and server side rendering our bar is set at sub-second full-page loads.
|
|
17
|
+
- Friction-Free — An enjoyable local development experience.
|
|
18
|
+
- Power — All the power of Lightning Web Components and the Salesforce platform at your disposal.
|
|
19
|
+
|
|
20
|
+
LWR describes any configurable aspects of the application in a well-defined, portable format. Because of this flexible deployment model, you can deploy on a variety of runtime environments, depending on your use case. For example, LWR works in a local Node.js runtime or as a standalone instance in Heroku or any hosting provider that supports Node.js.
|
|
21
|
+
|
|
22
|
+
## Installation
|
|
23
|
+
|
|
24
|
+
> **Compatibility Note:**
|
|
25
|
+
> LWR requires [Node.js](https://nodejs.org/en/) version >=16.0.0.
|
|
26
|
+
|
|
27
|
+
With NPM:
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
$ npm init lwr@latest
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
With Yarn:
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
$ yarn create lwr
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
Then follow the prompts!
|
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
"type": "module",
|
|
20
20
|
"types": "build/es/index.d.ts",
|
|
21
|
-
"version": "0.11.
|
|
21
|
+
"version": "0.11.1",
|
|
22
22
|
"module": "build/es/index.js",
|
|
23
23
|
"main": "build/cjs/index.cjs",
|
|
24
24
|
"files": [
|
|
@@ -41,22 +41,22 @@
|
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@lwrjs/config": "0.11.
|
|
45
|
-
"@lwrjs/core": "0.11.
|
|
46
|
-
"@lwrjs/dev-proxy-server": "0.11.
|
|
47
|
-
"@lwrjs/diagnostics": "0.11.
|
|
48
|
-
"@lwrjs/shared-utils": "0.11.
|
|
49
|
-
"@lwrjs/tools": "0.11.
|
|
44
|
+
"@lwrjs/config": "0.11.1",
|
|
45
|
+
"@lwrjs/core": "0.11.1",
|
|
46
|
+
"@lwrjs/dev-proxy-server": "0.11.1",
|
|
47
|
+
"@lwrjs/diagnostics": "0.11.1",
|
|
48
|
+
"@lwrjs/shared-utils": "0.11.1",
|
|
49
|
+
"@lwrjs/tools": "0.11.1",
|
|
50
50
|
"chalk": "^4.1.0",
|
|
51
51
|
"commander": "^10.0.0",
|
|
52
52
|
"fs-extra": "^11.1.1"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@commander-js/extra-typings": "^10.0.2",
|
|
56
|
-
"@lwrjs/types": "0.11.
|
|
56
|
+
"@lwrjs/types": "0.11.1"
|
|
57
57
|
},
|
|
58
58
|
"engines": {
|
|
59
59
|
"node": ">=16.0.0"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "b7c40fdcd86635dd4e368c0a2e91c5d3374c0fcf"
|
|
62
62
|
}
|