@lmjs/cli 1.0.48 → 1.0.50

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/lib/app.js CHANGED
@@ -120,6 +120,7 @@ app.post('*', function (req, res) {
120
120
 
121
121
  server.listen(config.server.port > 0 ? config.server.port : 0, function (err) {
122
122
  cl(`LumenJS server running at http://${config.server.host}:${config.server.port > 0 && server.address().port == config.server.port ? config.server.port : server.address().port}/`);
123
+ config.server.port = server.address().port;
123
124
  _views = fcs.getAllFiles(`${process.cwd()}` + path.sep + `src` + path.sep + `views` + path.sep);
124
125
  _tpls = fcs.getAllFiles(`${process.cwd()}` + path.sep + `src` + path.sep + `tpls` + path.sep);
125
126
  }).on('error', (e) => {
@@ -1,4 +1,4 @@
1
- Sitemap: https://bea.com.lb/sitemap.xml
1
+ Sitemap: https://www.lumenjs.com/sitemap.xml
2
2
 
3
3
  User-agent: *
4
4
  Disallow:
@@ -1,8 +1,8 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
3
3
  <url>
4
- <loc>https://bea.com.lb/</loc>
5
- <lastmod>2022-06-16T08:42:57+00:00</lastmod>
4
+ <loc>https://www.lumenjs.com/</loc>
5
+ <lastmod>2023-06-16T08:42:57+00:00</lastmod>
6
6
  <changefreq>always</changefreq>
7
7
  <priority>1.00</priority>
8
8
  </url>
@@ -1,4 +1,4 @@
1
- Sitemap: https://bea.com.lb/sitemap.xml
1
+ Sitemap: https://www.lumenjs.com/sitemap.xml
2
2
 
3
3
  User-agent: *
4
4
  Disallow:
@@ -1,8 +1,8 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
3
3
  <url>
4
- <loc>https://bea.com.lb/</loc>
5
- <lastmod>2022-06-16T08:42:57+00:00</lastmod>
4
+ <loc>https://www.lumenjs.com/</loc>
5
+ <lastmod>2023-06-16T08:42:57+00:00</lastmod>
6
6
  <changefreq>always</changefreq>
7
7
  <priority>1.00</priority>
8
8
  </url>
@@ -4,44 +4,45 @@
4
4
  <head>
5
5
  <title>[ProjectName]</title>
6
6
  <meta charset="UTF-8">
7
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0, minimum-scale=1.0" />
7
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0" />
8
8
  <meta name="language" content="En">
9
- <meta rel="publisher" content="BEAJS" />
10
- <meta rel="author" content="BEAJS" />
9
+ <meta rel="publisher" content="LumenJS https://www.lumenjs.com/" />
10
+ <meta rel="author" content="LumenJS https://www.lumenjs.com/" />
11
11
  <meta name="title" content="[ProjectName] Official Site" />
12
12
  <meta name="description" content="[ProjectName] Official Site." />
13
13
  <meta name="Keywords" content="" />
14
- <meta name="theme-color" content="#3367D6" />
14
+ <meta name="theme-color" content="#FFA302" />
15
15
 
16
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
17
- <link href="/css/bea.css" rel="stylesheet" type="text/css" />
16
+ <link href="/css/mobius.css" rel="stylesheet" type="text/css" />
18
17
  <link href="/css/styles.css" rel="stylesheet" type="text/css" />
19
- <link href="https://cdn.jsdelivr.net/npm/@mdi/font@6.9.96/css/materialdesignicons.min.css" rel="stylesheet" />
20
18
  <link rel="icon" type="image/x-icon" href="/favicon.ico" />
21
19
  <!-- <link rel="icon" type="image/png" href="/favicon.png" /> -->
22
20
 
23
- <meta property="og:url" content="https://www.example.com/" />
21
+ <link rel="preconnect" href="https://www.beaapis.com/" />
22
+ <link rel="dns-prefetch" href="http://www.beacdn.com/" />
23
+
24
+ <meta property="og:url" content="https://www.lumenjs.com/" />
24
25
  <meta property="og:title" content="[ProjectName] Official Site" />
25
26
  <meta property="og:type" content="business.business" />
26
27
  <meta property="og:site_name" content="[ProjectName]" />
27
28
  <meta property="fb:admins" content="592515154" />
28
29
  <meta property="fb:app_id" content="138025696270006" />
29
30
  <meta property="og:description" content="[ProjectName] Official Site." />
30
- <meta property="og:image" content="/images/example.png" />
31
+ <meta property="og:image" content="/images/lumenjs.svg" />
31
32
  <meta property="business:contact_data:street_address" content="Street Address." />
32
33
  <meta property="business:contact_data:locality" content="Tripoli" />
33
34
  <meta property="business:contact_data:postal_code" content="1300" />
34
35
  <meta property="business:contact_data:country_name" content="Lebanon" />
35
- <meta property="business:contact_data:email" content="info@example.com" />
36
+ <meta property="business:contact_data:email" content="info@lumenjs.com" />
36
37
  <meta property="business:contact_data:phone_number" content="+96171299411" />
37
38
  <meta property="business:contact_data:fax_number" content="" />
38
- <meta property="business:contact_data:website" content="https://www.example.com/" />
39
+ <meta property="business:contact_data:website" content="https://www.lumenjs.com/" />
39
40
  </head>
40
41
 
41
42
  <body>
42
43
  <div main></div>
43
- <script src="/js/bea.js" type="text/javascript"></script>
44
- <script src="/index.js" type="text/javascript"></script>
44
+ <script src="/js/lm.js" type="text/javascript"></script>
45
+ <script src="/index.js" defer type="text/javascript"></script>
45
46
  </body>
46
47
 
47
48
  </html>
@@ -10,6 +10,6 @@ Reactor({
10
10
  },
11
11
  "auth": function(){
12
12
 
13
- return true;
13
+ return false;
14
14
  }
15
15
  });
@@ -1,32 +1,29 @@
1
+ <style>
2
+ body {
3
+ color: rgba(255, 255, 255, .87);
4
+ background-color: #242424;
5
+ }
6
+ </style>
1
7
  <div class="hv100">
2
8
  <div class="ph50">
3
9
  <div class="pv10 r" style="height: 50px;">
4
10
  <grid_nm gap10>
5
11
  <div class="vm">
6
12
  <a href="https://www.npmjs.com/package/@lmjs/cli">
7
- <div class="mdi mdi-npm fs40 cw"></div>
13
+ <span data-icon="mdi:npm" class="iconify fs40 cw"></span>
8
14
  </a>
9
15
  </div>
10
16
  <div class="vm">
11
17
  <a href="https://github.com/bea-technology/lmjs-cli">
12
- <div class="mdi mdi-github fs34 cw"></div>
18
+ <span data-icon="mdi:github" class="iconify fs34 cw"></span>
13
19
  </a>
14
20
  </div>
15
21
  </grid_nm>
16
22
  </div>
17
23
  </div>
18
- <div class="cc sq cov" style="background-image: url('/images/lumen_icon_yellow.svg'); height: 250px;"></div>
24
+ <div class="cc sq cov" style="background-image: url('/images/lumenjs.svg'); height: 250px;"></div>
19
25
  </div>
20
26
 
21
-
22
-
23
- <style>
24
- body {
25
- color: rgba(255, 255, 255, .87);
26
- background-color: #242424;
27
- }
28
- </style>
29
-
30
27
  <settings>
31
28
  {
32
29
  hasFooter: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lmjs/cli",
3
- "version": "1.0.48",
3
+ "version": "1.0.50",
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",