@lmjs/cli 1.0.14 → 1.0.16
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 -2
- package/index.js +2 -2
- package/lib/files/project/config.json +1 -3
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-

|
|
2
2
|
|
|
3
3
|
# LumenJS Reactive JavaScript Framework
|
|
4
4
|
|
|
5
5
|
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.
|
|
6
|
-
<a href="https://
|
|
6
|
+
<a href="https://www.lumenjs.com/" target="_blank">LumenJS Documentation</a>
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
package/index.js
CHANGED
|
@@ -154,7 +154,7 @@ async function buildProject(cmds) {
|
|
|
154
154
|
|
|
155
155
|
fs.writeFileSync(dest + path.sep + "js" + path.sep + "bea.js", String(zode.code));
|
|
156
156
|
fs.writeFileSync(dest + path.sep + "css" + path.sep + "bea.css", String(beaCSSCode));
|
|
157
|
-
fs.writeFileSync(dest + path.sep + "index.html", String(indexCode).split('<script src="/index.js" type="text/javascript"></script>').join(""));
|
|
157
|
+
fs.writeFileSync(dest + path.sep + "index.html", String(indexCode).split('<script src="/index.js" type="text/javascript"></script>').join("").split('/js/bea.js').join("/js/bea.js?v" + new Date().getTime()).split('/css/styles.css').join("/css/styles.css?v" + new Date().getTime()).split('/css/bea.css').join("/css/bea.css?v" + new Date().getTime()));
|
|
158
158
|
|
|
159
159
|
|
|
160
160
|
if (cmds.indexOf('--deploy') >= 0) {
|
|
@@ -189,7 +189,7 @@ async function buildProject(cmds) {
|
|
|
189
189
|
}
|
|
190
190
|
});
|
|
191
191
|
ftpDeploy.on("uploading", function (data) {
|
|
192
|
-
spinner.start(((data.transferredFileCount) * 100 / data.totalFilesCount) + '% ' + 'Uploading ' + data.filename + ' ');
|
|
192
|
+
spinner.start(parseFloat(((data.transferredFileCount) * 100 / data.totalFilesCount).toFixed(2)) + '% ' + 'Uploading ' + data.filename + ' ');
|
|
193
193
|
});
|
|
194
194
|
// ftpDeploy.on("uploaded", function (data) {
|
|
195
195
|
// console.log(data); // same data as uploading event
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lmjs/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.16",
|
|
4
4
|
"description": "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
|
"main": "./index.js",
|
|
6
6
|
"bin": {
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
"tiny",
|
|
32
32
|
"lumen-cli",
|
|
33
33
|
"bea.com.lb",
|
|
34
|
+
"lumenjs.com",
|
|
34
35
|
"lumin",
|
|
35
36
|
"beajs",
|
|
36
37
|
"lumen bea"
|