@lmjs/cli 1.0.49 → 1.0.51

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.
@@ -18,8 +18,8 @@ if (!semver.satisfies(m[0].toString(), '>=12')) {
18
18
  .then((beacss) => {
19
19
  var libsPath = `${__dirname}` + path.sep + `files` + path.sep + `libs`;
20
20
  fcs.cd(libsPath);
21
- fs.writeFileSync(libsPath + path.sep + "lm.js", String(beajs.data));
22
- fs.writeFileSync(libsPath + path.sep + "mobius.css", String(beacss.data));
21
+ fs.writeFileSync(libsPath + path.sep + "bea.js", String(beajs));
22
+ fs.writeFileSync(libsPath + path.sep + "bea.css", String(beacss));
23
23
  console.log("Successfully Purged!");
24
24
  });
25
25
  }).catch(err => {
package/lib/fcs.js CHANGED
@@ -98,7 +98,7 @@ function create(conf) {
98
98
  var getLibs = false;
99
99
  require("dns").resolve("www.google.com", function (err) {
100
100
  if (!err) {
101
- if (!fs.existsSync(libsPath + path.sep + "lm.js")) getLibs = true;
101
+ if (!fs.existsSync(libsPath + path.sep + "bea.js")) getLibs = true;
102
102
  }
103
103
  if (getLibs) {
104
104
  API
@@ -109,12 +109,12 @@ function create(conf) {
109
109
  `${__dirname}` + path.sep + `files` + path.sep + `libs`;
110
110
  cd(libsPath);
111
111
  fs.writeFileSync(
112
- libsPath + path.sep + "lm.js",
113
- String(beajs.data)
112
+ libsPath + path.sep + "bea.js",
113
+ String(beajs)
114
114
  );
115
115
  fs.writeFileSync(
116
- libsPath + path.sep + "mobius.css",
117
- String(beacss.data)
116
+ libsPath + path.sep + "bea.css",
117
+ String(beacss)
118
118
  );
119
119
 
120
120
  var filePath = `${process.cwd()}` + path.sep;
@@ -149,8 +149,8 @@ function create(conf) {
149
149
  path.sep +
150
150
  "js" +
151
151
  path.sep +
152
- "lm.js",
153
- String(beajs.data)
152
+ "bea.js",
153
+ String(beajs)
154
154
  );
155
155
  fs.writeFileSync(
156
156
  filePath +
@@ -159,8 +159,8 @@ function create(conf) {
159
159
  path.sep +
160
160
  "css" +
161
161
  path.sep +
162
- "mobius.css",
163
- String(beacss.data)
162
+ "bea.css",
163
+ String(beacss)
164
164
  );
165
165
  });
166
166
  })
@@ -194,18 +194,18 @@ function create(conf) {
194
194
  fs.writeFileSync(faviconFile, String(""));
195
195
 
196
196
  let beajs = Buffer.from(
197
- fs.readFileSync(libsPath + path.sep + "lm.js").toString()
197
+ fs.readFileSync(libsPath + path.sep + "bea.js").toString()
198
198
  );
199
199
  let beacss = Buffer.from(
200
- fs.readFileSync(libsPath + path.sep + "mobius.css").toString()
200
+ fs.readFileSync(libsPath + path.sep + "bea.css").toString()
201
201
  );
202
202
 
203
203
  fs.writeFileSync(
204
- filePath + path.sep + "src" + path.sep + "js" + path.sep + "lm.js",
204
+ filePath + path.sep + "src" + path.sep + "js" + path.sep + "bea.js",
205
205
  String(beajs)
206
206
  );
207
207
  fs.writeFileSync(
208
- filePath + path.sep + "src" + path.sep + "css" + path.sep + "mobius.css",
208
+ filePath + path.sep + "src" + path.sep + "css" + path.sep + "bea.css",
209
209
  String(beacss)
210
210
  );
211
211
  }
@@ -450,8 +450,8 @@ function processCommands(cmd) {
450
450
  var libsPath =
451
451
  `${__dirname}` + path.sep + `files` + path.sep + `libs`;
452
452
  cd(libsPath);
453
- fs.writeFileSync(libsPath + path.sep + "lm.js", String(beajs));
454
- fs.writeFileSync(libsPath + path.sep + "mobius.css", String(beacss));
453
+ fs.writeFileSync(libsPath + path.sep + "bea.js", String(beajs));
454
+ fs.writeFileSync(libsPath + path.sep + "bea.css", String(beacss));
455
455
  fs.writeFileSync(
456
456
  filePath +
457
457
  path.sep +
@@ -459,7 +459,7 @@ function processCommands(cmd) {
459
459
  path.sep +
460
460
  "js" +
461
461
  path.sep +
462
- "lm.js",
462
+ "bea.js",
463
463
  String(beajs)
464
464
  );
465
465
  fs.writeFileSync(
@@ -469,7 +469,7 @@ function processCommands(cmd) {
469
469
  path.sep +
470
470
  "css" +
471
471
  path.sep +
472
- "mobius.css",
472
+ "bea.css",
473
473
  String(beacss)
474
474
  );
475
475
  spinner.succeed("Successfully Purged!");
@@ -519,7 +519,7 @@ async function _bp(cmds) {
519
519
  );
520
520
 
521
521
  var beaCSSCode = fs.readFileSync(
522
- projectPath + path.sep + `src` + path.sep + "css" + path.sep + "mobius.css",
522
+ projectPath + path.sep + `src` + path.sep + "css" + path.sep + "bea.css",
523
523
  "utf8"
524
524
  );
525
525
  var indexJs = fs.readFileSync(
@@ -609,21 +609,21 @@ var _beaTn = "` +
609
609
  );
610
610
 
611
611
  fs.writeFileSync(
612
- dest + path.sep + "js" + path.sep + "lm.js",
612
+ dest + path.sep + "js" + path.sep + "bea.js",
613
613
  String(js_)
614
614
  );
615
615
  fs.writeFileSync(
616
- dest + path.sep + "css" + path.sep + "mobius.css",
616
+ dest + path.sep + "css" + path.sep + "bea.css",
617
617
  String(beaCSSCode)
618
618
  );
619
619
 
620
620
  let _dT = new Date().getTime();
621
621
  fs.renameSync(
622
- dest + path.sep + "js" + path.sep + "lm.js",
622
+ dest + path.sep + "js" + path.sep + "bea.js",
623
623
  dest + path.sep + "js" + path.sep + "app." + _dT + ".js"
624
624
  );
625
625
  fs.renameSync(
626
- dest + path.sep + "css" + path.sep + "mobius.css",
626
+ dest + path.sep + "css" + path.sep + "bea.css",
627
627
  dest + path.sep + "css" + path.sep + "app." + _dT + ".css"
628
628
  );
629
629
  fs.renameSync(
@@ -636,11 +636,11 @@ var _beaTn = "` +
636
636
  String(indexCode)
637
637
  .split('<script src="/index.js" type="text/javascript"></script>')
638
638
  .join("")
639
- .split("/js/lm.js")
639
+ .split("/js/bea.js")
640
640
  .join("/js/app." + _dT + ".js")
641
641
  .split("/css/styles.css")
642
642
  .join("/css/styles." + _dT + ".css")
643
- .split("/css/mobius.css")
643
+ .split("/css/bea.css")
644
644
  .join("/css/app." + _dT + ".css")
645
645
  );
646
646
  } else {
@@ -691,22 +691,22 @@ var _beaTn = "` +
691
691
  );
692
692
 
693
693
  fs.writeFileSync(
694
- dest + path.sep + "src" + path.sep + "js" + path.sep + "lm.js",
694
+ dest + path.sep + "src" + path.sep + "js" + path.sep + "bea.js",
695
695
  String(js_)
696
696
  );
697
697
  fs.writeFileSync(
698
- dest + path.sep + "src" + path.sep + "css" + path.sep + "mobius.css",
698
+ dest + path.sep + "src" + path.sep + "css" + path.sep + "bea.css",
699
699
  String(beaCSSCode)
700
700
  );
701
701
 
702
702
 
703
703
  let _dT = new Date().getTime();
704
704
  fs.renameSync(
705
- dest + path.sep + "src" + path.sep + "js" + path.sep + "lm.js",
705
+ dest + path.sep + "src" + path.sep + "js" + path.sep + "bea.js",
706
706
  dest + path.sep + "src" + path.sep + "js" + path.sep + "app." + _dT + ".js"
707
707
  );
708
708
  fs.renameSync(
709
- dest + path.sep + "src" + path.sep + "css" + path.sep + "mobius.css",
709
+ dest + path.sep + "src" + path.sep + "css" + path.sep + "bea.css",
710
710
  dest + path.sep + "src" + path.sep + "css" + path.sep + "app." + _dT + ".css"
711
711
  );
712
712
  fs.renameSync(
@@ -719,11 +719,11 @@ var _beaTn = "` +
719
719
  String(indexCode)
720
720
  .split('<script src="/index.js" type="text/javascript"></script>')
721
721
  .join("")
722
- .split("/js/lm.js")
722
+ .split("/js/bea.js")
723
723
  .join("/js/app." + _dT + ".js")
724
724
  .split("/css/styles.css")
725
725
  .join("/css/styles." + _dT + ".css")
726
- .split("/css/mobius.css")
726
+ .split("/css/bea.css")
727
727
  .join("/css/app." + _dT + ".css")
728
728
  );
729
729
 
@@ -13,7 +13,7 @@
13
13
  <meta name="Keywords" content="" />
14
14
  <meta name="theme-color" content="#FFA302" />
15
15
 
16
- <link href="/css/mobius.css" rel="stylesheet" type="text/css" />
16
+ <link href="/css/bea.css" rel="stylesheet" type="text/css" />
17
17
  <link href="/css/styles.css" rel="stylesheet" type="text/css" />
18
18
  <link rel="icon" type="image/x-icon" href="/favicon.ico" />
19
19
  <!-- <link rel="icon" type="image/png" href="/favicon.png" /> -->
@@ -41,7 +41,7 @@
41
41
 
42
42
  <body>
43
43
  <div main></div>
44
- <script src="/js/lm.js" type="text/javascript"></script>
44
+ <script src="/js/bea.js" type="text/javascript"></script>
45
45
  <script src="/index.js" defer type="text/javascript"></script>
46
46
  </body>
47
47
 
@@ -10,12 +10,12 @@
10
10
  <grid_nm gap10>
11
11
  <div class="vm">
12
12
  <a href="https://www.npmjs.com/package/@lmjs/cli">
13
- <div class="mdi mdi-npm fs40 cw"></div>
13
+ <span data-icon="mdi:npm" class="iconify fs40 cw"></span>
14
14
  </a>
15
15
  </div>
16
16
  <div class="vm">
17
17
  <a href="https://github.com/bea-technology/lmjs-cli">
18
- <div class="mdi mdi-github fs34 cw"></div>
18
+ <span data-icon="mdi:github" class="iconify fs34 cw"></span>
19
19
  </a>
20
20
  </div>
21
21
  </grid_nm>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lmjs/cli",
3
- "version": "1.0.49",
3
+ "version": "1.0.51",
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",