@nginstack/engine-node 71.0.910 → 71.0.932
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/lib/Engine.js +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -10,10 +10,10 @@ Engine node API can be used to start and stop an Engine programmatically in a No
|
|
|
10
10
|
|
|
11
11
|
### Installation
|
|
12
12
|
|
|
13
|
-
1. Install **@nginstack/dev-tools** using npm
|
|
13
|
+
1. Install **@nginstack/dev-tools** using npm:
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
|
|
16
|
+
npm install @nginstack/engine-node
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
### Usage
|
package/lib/Engine.js
CHANGED
|
@@ -281,7 +281,7 @@ class Engine {
|
|
|
281
281
|
if (this.instanceId_) {
|
|
282
282
|
const dirPath = path.resolve(this.installPath, 'conf');
|
|
283
283
|
if (!fs.existsSync(dirPath)) {
|
|
284
|
-
fs.mkdirSync(dirPath, {recursive: true});
|
|
284
|
+
fs.mkdirSync(dirPath, { recursive: true });
|
|
285
285
|
}
|
|
286
286
|
fs.writeFileSync(path.resolve(dirPath, 'engine_id.dat'), this.instanceId_);
|
|
287
287
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nginstack/engine-node",
|
|
3
|
-
"version": "71.0.
|
|
3
|
+
"version": "71.0.932",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
7
|
"scripts": {
|
|
8
|
-
"test": "mocha --slow 30000 --
|
|
8
|
+
"test": "mocha --slow 30000 --reporter mocha-multi-reporters --reporter-options configFile=mocha-reporter.json \"./{,!(node_modules)/**/}*.spec.js\""
|
|
9
9
|
},
|
|
10
10
|
"engines": {
|
|
11
11
|
"node": ">=12.13"
|
|
@@ -24,5 +24,5 @@
|
|
|
24
24
|
"thread-sleep": "^2.2.0",
|
|
25
25
|
"tmp": "^0.2.1"
|
|
26
26
|
},
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "1ca42491bdd3f63f7e659cfd6c29a9f71e5ea660"
|
|
28
28
|
}
|