@lmjs/cli 1.0.38 → 1.0.40
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 +8 -8
- package/lib/fcs.js +6 -6
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
<img src="https://www.lumenjs.com/images/lumen_icon_yellow.svg" alt="LumenJS Reactive JavaScript Framework" width="25%" />
|
|
2
2
|
|
|
3
3
|
# LumenJS Reactive JavaScript Framework
|
|
4
4
|
|
|
5
|
-
LumenJS is a tiny
|
|
6
|
-
<a href="https://www.lumenjs.com/" target="_blank">LumenJS Documentation</a>
|
|
5
|
+
LumenJS is a cutting-edge, tiny, and lightning-fast reactive JavaScript framework that is set to revolutionize the way developers build dynamic user interfaces. Building scalable and high-performant web applications and web user interfaces, be it simple or complex, with standard HTML, CSS and JavaScript only.
|
|
6
|
+
<a href="https://www.lumenjs.com/guide" target="_blank">LumenJS Documentation</a>
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
LumenJS comes along with MobiusCSS
|
|
11
|
-
<a href="https://www.
|
|
10
|
+
LumenJS comes along with MobiusCSS which is a utility-first CSS framework packed with grid and table sectioning systems and classes like g, mt20, pv100, c and sq that can be composed to build any design, directly in your markup.
|
|
11
|
+
<a href="https://www.mobiuscss.com/guide" target="_blank">MobiusCSS Documentation</a>
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
@@ -52,7 +52,7 @@ lm create -s mysubview
|
|
|
52
52
|
|
|
53
53
|
Create A Template
|
|
54
54
|
```
|
|
55
|
-
lm create -
|
|
55
|
+
lm create -t mytemplate
|
|
56
56
|
```
|
|
57
57
|
|
|
58
58
|
|
|
@@ -64,14 +64,14 @@ lm purge
|
|
|
64
64
|
|
|
65
65
|
|
|
66
66
|
|
|
67
|
-
Build A Dist For Production Version
|
|
67
|
+
Build A Serverless Dist For Production Version
|
|
68
68
|
```
|
|
69
69
|
lm build --serverless
|
|
70
70
|
```
|
|
71
71
|
|
|
72
72
|
|
|
73
73
|
|
|
74
|
-
Build A Dist For Production Version
|
|
74
|
+
Build A Serverless Dist For Production Version & Deploy It Directly
|
|
75
75
|
```
|
|
76
76
|
lm build --serverless --deploy
|
|
77
77
|
```
|
package/lib/fcs.js
CHANGED
|
@@ -87,9 +87,9 @@ exports.rd = rd;
|
|
|
87
87
|
|
|
88
88
|
function create(conf) {
|
|
89
89
|
let t =
|
|
90
|
-
conf.type == "v" || conf.type == "s" || conf.type == "
|
|
90
|
+
conf.type == "v" || conf.type == "s" || conf.type == "t" ? conf.type : "p";
|
|
91
91
|
let n =
|
|
92
|
-
conf.type == "v" || conf.type == "s" || conf.type == "
|
|
92
|
+
conf.type == "v" || conf.type == "s" || conf.type == "t"
|
|
93
93
|
? lw(conf.name[0])
|
|
94
94
|
: conf.name.join(" ");
|
|
95
95
|
if (t == "p") {
|
|
@@ -210,10 +210,10 @@ function create(conf) {
|
|
|
210
210
|
}
|
|
211
211
|
});
|
|
212
212
|
} else {
|
|
213
|
-
let file = t == "s" ? "sub_view.view" : t == "
|
|
214
|
-
let ident = t == "s" ? "SubView" : t == "
|
|
215
|
-
let dir = t == "
|
|
216
|
-
let ext = t == "
|
|
213
|
+
let file = t == "s" ? "sub_view.view" : t == "t" ? "tpl.tpl" : "view.view";
|
|
214
|
+
let ident = t == "s" ? "SubView" : t == "t" ? "Template" : "View";
|
|
215
|
+
let dir = t == "t" ? "tpls" : "views";
|
|
216
|
+
let ext = t == "t" ? "tpl" : "view";
|
|
217
217
|
let html5 = Buffer.from(
|
|
218
218
|
fs
|
|
219
219
|
.readFileSync(`${__dirname}` + path.sep + `files` + path.sep + file)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lmjs/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.40",
|
|
4
4
|
"description": "Command line interface for super fast LumenJS development. LumenJS is a tiny robust reactive javascript framework for building scalable and high-performant web applications and web user interfaces, be it simple or complex, with standard HTML, CSS and JavaScript",
|
|
5
5
|
"bin": {
|
|
6
6
|
"lm": "./bin/commands.js",
|
|
@@ -54,11 +54,11 @@
|
|
|
54
54
|
"access": "public"
|
|
55
55
|
},
|
|
56
56
|
"bugs": {
|
|
57
|
-
"url": "https://github.com/bea-
|
|
57
|
+
"url": "https://github.com/bea-technology/lmjs-cli/issues"
|
|
58
58
|
},
|
|
59
59
|
"license": "MIT",
|
|
60
60
|
"repository": {
|
|
61
61
|
"type": "git",
|
|
62
|
-
"url": "git+https://github.com/bea-
|
|
62
|
+
"url": "git+https://github.com/bea-technology/lmjs-cli.git"
|
|
63
63
|
}
|
|
64
64
|
}
|