@onivoro/server-process 1.24.2 → 22.0.0
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/dist/cjs/lib/docker.d.ts +0 -2
- package/dist/cjs/lib/docker.js +2 -0
- package/dist/cjs/lib/exec-promise.d.ts +0 -2
- package/dist/cjs/lib/exec-promise.js +1 -2
- package/dist/cjs/lib/exec-rx-as-json.d.ts +0 -1
- package/dist/cjs/lib/exec-rx-as-lines.d.ts +0 -1
- package/dist/cjs/lib/exec-rx.d.ts +0 -2
- package/dist/cjs/lib/exec-rx.js +1 -2
- package/dist/cjs/lib/psql.js +1 -0
- package/dist/cjs/lib/spawn-promise.js +1 -2
- package/dist/esm/lib/docker.d.ts +0 -2
- package/dist/esm/lib/docker.js +2 -0
- package/dist/esm/lib/exec-promise.d.ts +0 -2
- package/dist/esm/lib/exec-promise.js +1 -2
- package/dist/esm/lib/exec-rx-as-json.d.ts +0 -1
- package/dist/esm/lib/exec-rx-as-lines.d.ts +0 -1
- package/dist/esm/lib/exec-rx.d.ts +0 -2
- package/dist/esm/lib/exec-rx.js +1 -2
- package/dist/esm/lib/psql.js +1 -0
- package/dist/esm/lib/spawn-promise.js +1 -2
- package/dist/types/lib/docker.d.ts +0 -2
- package/dist/types/lib/exec-promise.d.ts +0 -2
- package/dist/types/lib/exec-rx-as-json.d.ts +0 -1
- package/dist/types/lib/exec-rx-as-lines.d.ts +0 -1
- package/dist/types/lib/exec-rx.d.ts +0 -2
- package/package.json +5 -5
package/dist/cjs/lib/docker.d.ts
CHANGED
package/dist/cjs/lib/docker.js
CHANGED
|
@@ -3,6 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Docker = void 0;
|
|
4
4
|
const exec_rx_1 = require("./exec-rx");
|
|
5
5
|
class Docker {
|
|
6
|
+
containerName;
|
|
7
|
+
binaryName;
|
|
6
8
|
constructor(containerName, binaryName) {
|
|
7
9
|
this.containerName = containerName;
|
|
8
10
|
this.binaryName = binaryName;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.execPromise =
|
|
3
|
+
exports.execPromise = execPromise;
|
|
4
4
|
const child_process_1 = require("child_process");
|
|
5
5
|
function execPromise(cmd, options) {
|
|
6
6
|
return new Promise((resolve, reject) => {
|
|
@@ -14,4 +14,3 @@ function execPromise(cmd, options) {
|
|
|
14
14
|
});
|
|
15
15
|
});
|
|
16
16
|
}
|
|
17
|
-
exports.execPromise = execPromise;
|
package/dist/cjs/lib/exec-rx.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.execRx =
|
|
3
|
+
exports.execRx = execRx;
|
|
4
4
|
const child_process_1 = require("child_process");
|
|
5
5
|
const rxjs_1 = require("rxjs");
|
|
6
6
|
function execRx(cmd, options, emitStdErr = true) {
|
|
@@ -16,4 +16,3 @@ function execRx(cmd, options, emitStdErr = true) {
|
|
|
16
16
|
});
|
|
17
17
|
});
|
|
18
18
|
}
|
|
19
|
-
exports.execRx = execRx;
|
package/dist/cjs/lib/psql.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.spawnPromise =
|
|
3
|
+
exports.spawnPromise = spawnPromise;
|
|
4
4
|
const child_process_1 = require("child_process");
|
|
5
5
|
const data = 'data';
|
|
6
6
|
function spawnPromise(program, args, options) {
|
|
@@ -26,4 +26,3 @@ function spawnPromise(program, args, options) {
|
|
|
26
26
|
});
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
|
-
exports.spawnPromise = spawnPromise;
|
package/dist/esm/lib/docker.d.ts
CHANGED
package/dist/esm/lib/docker.js
CHANGED
|
@@ -3,6 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Docker = void 0;
|
|
4
4
|
const exec_rx_1 = require("./exec-rx");
|
|
5
5
|
class Docker {
|
|
6
|
+
containerName;
|
|
7
|
+
binaryName;
|
|
6
8
|
constructor(containerName, binaryName) {
|
|
7
9
|
this.containerName = containerName;
|
|
8
10
|
this.binaryName = binaryName;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.execPromise =
|
|
3
|
+
exports.execPromise = execPromise;
|
|
4
4
|
const child_process_1 = require("child_process");
|
|
5
5
|
function execPromise(cmd, options) {
|
|
6
6
|
return new Promise((resolve, reject) => {
|
|
@@ -14,4 +14,3 @@ function execPromise(cmd, options) {
|
|
|
14
14
|
});
|
|
15
15
|
});
|
|
16
16
|
}
|
|
17
|
-
exports.execPromise = execPromise;
|
package/dist/esm/lib/exec-rx.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.execRx =
|
|
3
|
+
exports.execRx = execRx;
|
|
4
4
|
const child_process_1 = require("child_process");
|
|
5
5
|
const rxjs_1 = require("rxjs");
|
|
6
6
|
function execRx(cmd, options, emitStdErr = true) {
|
|
@@ -16,4 +16,3 @@ function execRx(cmd, options, emitStdErr = true) {
|
|
|
16
16
|
});
|
|
17
17
|
});
|
|
18
18
|
}
|
|
19
|
-
exports.execRx = execRx;
|
package/dist/esm/lib/psql.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.spawnPromise =
|
|
3
|
+
exports.spawnPromise = spawnPromise;
|
|
4
4
|
const child_process_1 = require("child_process");
|
|
5
5
|
const data = 'data';
|
|
6
6
|
function spawnPromise(program, args, options) {
|
|
@@ -26,4 +26,3 @@ function spawnPromise(program, args, options) {
|
|
|
26
26
|
});
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
|
-
exports.spawnPromise = spawnPromise;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onivoro/server-process",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "22.0.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"url": "git+https://github.com/onivoro/server-process.git"
|
|
6
6
|
},
|
|
@@ -30,13 +30,13 @@
|
|
|
30
30
|
"module": "commonjs"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@onivoro/cli": "
|
|
33
|
+
"@onivoro/cli": "^22.0.3",
|
|
34
34
|
"@types/jest": "*",
|
|
35
|
-
"@types/node": "
|
|
35
|
+
"@types/node": "^22.7.9",
|
|
36
36
|
"typescript": "*"
|
|
37
37
|
},
|
|
38
38
|
"engines": {
|
|
39
|
-
"node": "
|
|
40
|
-
"npm": "10.
|
|
39
|
+
"node": "22.10.0",
|
|
40
|
+
"npm": "10.9.0"
|
|
41
41
|
}
|
|
42
42
|
}
|