@lmjs/core 1.0.1 → 1.0.3
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 +2 -91
- package/index.js +14 -0
- package/package.json +10 -27
- package/uws.js +0 -7
package/README.md
CHANGED
|
@@ -1,92 +1,3 @@
|
|
|
1
|
-

|
|
61
|
-
```
|
|
62
|
-
lm purge
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
Build A Dist For Production Version + NodeJs Server
|
|
68
|
-
```
|
|
69
|
-
lm build
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
Build A Dist For Production Version + NodeJs Server & Deploy It Directly
|
|
75
|
-
```
|
|
76
|
-
lm build --deploy
|
|
77
|
-
```
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
Build A Dist For Production Version without NodeJs Server
|
|
82
|
-
```
|
|
83
|
-
lm build --serverless
|
|
84
|
-
```
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
Build A Dist For Production Version without NodeJs Server & Deploy It Directly
|
|
89
|
-
```
|
|
90
|
-
lm build --serverless --deploy
|
|
91
|
-
```
|
|
1
|
+

|
|
92
2
|
|
|
3
|
+
# LumenJS Reactive JavaScript Framework Core
|
package/index.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Authored by BEA Technology Company, 2016-2022.
|
|
3
|
+
* Intellectual property of third-party.
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
9
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
10
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
11
|
+
* See the License for the specific language governing permissions and
|
|
12
|
+
* limitations under the License.
|
|
13
|
+
* https://www.bea.com.lb/
|
|
14
|
+
*/
|
package/package.json
CHANGED
|
@@ -1,19 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lmjs/core",
|
|
3
|
-
"
|
|
4
|
-
"version": "1.0.1",
|
|
3
|
+
"version": "1.0.3",
|
|
5
4
|
"description": "LumenJS Core",
|
|
6
|
-
"main": "
|
|
7
|
-
"bin": {
|
|
8
|
-
"lm": "./bin/commands.js",
|
|
9
|
-
"lu": "./bin/commands.js",
|
|
10
|
-
"lumen": "./bin/commands.js"
|
|
11
|
-
},
|
|
12
|
-
"files": [
|
|
13
|
-
"bin/",
|
|
14
|
-
"lib/",
|
|
15
|
-
"index.js"
|
|
16
|
-
],
|
|
5
|
+
"main": "index.js",
|
|
17
6
|
"keywords": [
|
|
18
7
|
"lu",
|
|
19
8
|
"lm",
|
|
@@ -32,34 +21,28 @@
|
|
|
32
21
|
"tiny",
|
|
33
22
|
"lumen-cli",
|
|
34
23
|
"bea.com.lb",
|
|
24
|
+
"lumenjs.com",
|
|
35
25
|
"lumin",
|
|
36
26
|
"beajs",
|
|
37
27
|
"lumen bea"
|
|
38
28
|
],
|
|
39
29
|
"dependencies": {
|
|
30
|
+
"compression": "^1.7.4",
|
|
31
|
+
"cookie-parser": "^1.4.6",
|
|
32
|
+
"express": "^4.18.1",
|
|
33
|
+
"express-session": "^1.17.3",
|
|
40
34
|
"axios": "^0.27.2",
|
|
41
35
|
"ftp-deploy": "^2.4.3",
|
|
42
36
|
"multer": "^1.4.5-lts.1",
|
|
43
37
|
"nodemon": "^2.0.16",
|
|
44
38
|
"ora": "^6.1.2",
|
|
45
39
|
"semver": "^7.3.7",
|
|
46
|
-
"uglify-js": "^3.16.0"
|
|
47
|
-
|
|
48
|
-
"engines": {
|
|
49
|
-
"node": ">=12.0.0"
|
|
50
|
-
},
|
|
51
|
-
"scripts": {
|
|
52
|
-
"requirements-check": "node ./lib/check-version.js",
|
|
53
|
-
"postinstall": "npm run requirements-check",
|
|
54
|
-
"build": "lm serve"
|
|
40
|
+
"uglify-js": "^3.16.0",
|
|
41
|
+
"ws": "^8.8.1"
|
|
55
42
|
},
|
|
56
43
|
"author": {
|
|
57
44
|
"name": "BEA Technology Company",
|
|
58
45
|
"email": "info@bea.com.lb"
|
|
59
46
|
},
|
|
60
|
-
"license": "MIT"
|
|
61
|
-
"repository": {
|
|
62
|
-
"type": "git",
|
|
63
|
-
"url": "git+https://github.com/bea-company/lmjs-cli.git"
|
|
64
|
-
}
|
|
47
|
+
"license": "MIT"
|
|
65
48
|
}
|
package/uws.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
module.exports = (() => {
|
|
2
|
-
try {
|
|
3
|
-
return require('./uws_' + process.platform + '_' + process.arch + '_' + process.versions.modules + '.node');
|
|
4
|
-
} catch (e) {
|
|
5
|
-
throw new Error('This version of uWS.js supports only Node.js 14, 16 and 18 on (glibc) Linux, macOS and Windows, on Tier 1 platforms (https://github.com/nodejs/node/blob/master/BUILDING.md#platform-list).\n\n' + e.toString());
|
|
6
|
-
}
|
|
7
|
-
})();
|