@lmjs/cli 1.0.6 → 1.0.8

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.
Files changed (2) hide show
  1. package/index.js +10 -0
  2. package/package.json +4 -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.6",
3
+ "version": "1.0.8",
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,19 +36,20 @@
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"
50
50
  },
51
51
  "scripts": {
52
+ "preinstall": " npm install -g yarn; yarn add uWebSockets.js@uNetworking/uWebSockets.js#v20.10.0;",
52
53
  "requirements-check": "node ./lib/check-version.js",
53
54
  "postinstall": "npm run requirements-check",
54
55
  "build": "lm serve"