not-node 6.5.4 → 6.5.6

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/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "not-node",
3
- "version": "6.5.4",
3
+ "version": "6.5.6",
4
4
  "description": "node complimentary part for client side notFramework.",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
- "test": "./node_modules/.bin/mocha --require mocha-suppress-logs --reporter spec --timeout 12000",
8
- "lint": "./node_modules/.bin/eslint ./src --fix",
9
- "pretest": "./node_modules/.bin/eslint ./src",
10
- "docs": "./node_modules/.bin/jsdoc -c jsdoc.json",
7
+ "test": "mocha --require mocha-suppress-logs --reporter spec --timeout 12000",
8
+ "lint": "eslint ./src --fix",
9
+ "pretest": "eslint ./src",
10
+ "docs": "jsdoc -c jsdoc.json",
11
11
  "js-watch": "watch 'npm run cover' ./src ./test --interval=5",
12
12
  "watch:build:cover:dev": "npm-run-all --parallel js-watch",
13
13
  "cover": "nyc npm test",
@@ -15,9 +15,9 @@
15
15
  "prepare": "husky install"
16
16
  },
17
17
  "bin": {
18
- "not-node": "./bin/not-node.js",
19
- "not-cli": "./bin/not-cli.mjs",
20
- "not-builder": "./bin/not-builder.js"
18
+ "not-node": "bin/not-node.js",
19
+ "not-cli": "bin/not-cli.mjs",
20
+ "not-builder": "bin/not-builder.js"
21
21
  },
22
22
  "engines": {
23
23
  "node": ">14.9"
package/src/init/index.js CHANGED
@@ -191,7 +191,7 @@ class Init {
191
191
  });
192
192
  log?.info("Application initalization finished");
193
193
  } catch (e) {
194
- Init.throwError(e.message, 1);
194
+ log?.error(e.message, 1);
195
195
  }
196
196
  }
197
197