@lmjs/cli 1.0.6 → 1.0.7
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/index.js +10 -0
- package/package.json +3 -3
package/index.js
CHANGED
|
@@ -191,6 +191,16 @@ async function buildProject(cmds) {
|
|
|
191
191
|
ftpDeploy.on("uploading", function (data) {
|
|
192
192
|
spinner.start(((data.transferredFileCount) * 100 / data.totalFilesCount) + '% ' + 'Uploading ' + data.filename + ' ');
|
|
193
193
|
});
|
|
194
|
+
// ftpDeploy.on("uploaded", function (data) {
|
|
195
|
+
// console.log(data); // same data as uploading event
|
|
196
|
+
// });
|
|
197
|
+
// ftpDeploy.on("log", function (data) {
|
|
198
|
+
// console.log(data); // same data as uploading event
|
|
199
|
+
// });
|
|
200
|
+
// ftpDeploy.on("upload-error", function (data) {
|
|
201
|
+
// console.log(data.err); // data will also include filename, relativePath, and other goodies
|
|
202
|
+
// });
|
|
203
|
+
|
|
194
204
|
} else
|
|
195
205
|
spinner.succeed('Writing Files').succeed("Done");
|
|
196
206
|
} else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lmjs/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
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": {
|
|
@@ -36,14 +36,14 @@
|
|
|
36
36
|
"lumen bea"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@bdaenen/uwebsockets": "^19.5.0",
|
|
40
39
|
"axios": "^0.27.2",
|
|
41
40
|
"ftp-deploy": "^2.4.3",
|
|
42
41
|
"multer": "^1.4.5-lts.1",
|
|
43
42
|
"nodemon": "^2.0.16",
|
|
44
43
|
"ora": "^6.1.2",
|
|
45
44
|
"semver": "^7.3.7",
|
|
46
|
-
"uglify-js": "^3.16.0"
|
|
45
|
+
"uglify-js": "^3.16.0",
|
|
46
|
+
"uWebSockets.js": "uNetworking/uWebSockets.js#v20.10.0"
|
|
47
47
|
},
|
|
48
48
|
"engines": {
|
|
49
49
|
"node": ">=12.0.0"
|