exupery-core-bin 0.3.26 → 0.3.27
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/algorithms/procedures/copy.js +1 -1
- package/dist/algorithms/procedures/execute_any_procedure_executable.js +1 -1
- package/dist/algorithms/procedures/execute_any_smelly_procedure_executable.js +1 -1
- package/dist/algorithms/procedures/log.js +1 -1
- package/dist/algorithms/procedures/log_error.js +1 -1
- package/dist/algorithms/procedures/make_directory.js +1 -1
- package/dist/algorithms/procedures/remove.js +1 -1
- package/dist/algorithms/procedures/write_file.js +1 -1
- package/dist/algorithms/procedures/write_to_stderr.js +1 -1
- package/dist/algorithms/procedures/write_to_stdout.js +1 -1
- package/dist/algorithms/queries/execute_any_query_executable.d.ts +1 -1
- package/dist/algorithms/queries/get_instream_data.d.ts +1 -1
- package/dist/algorithms/queries/read_directory.d.ts +1 -1
- package/dist/algorithms/queries/read_file.d.ts +1 -1
- package/dist/algorithms/queries/stat.d.ts +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +2 -2
- package/package.json +3 -3
|
@@ -27,7 +27,7 @@ exports.$$ = void 0;
|
|
|
27
27
|
const _easync = __importStar(require("exupery-core-async"));
|
|
28
28
|
const _ei = __importStar(require("exupery-core-internals"));
|
|
29
29
|
const fs_1 = require("fs");
|
|
30
|
-
exports.$$ = _easync.
|
|
30
|
+
exports.$$ = _easync.__create_resource_command(($p) => {
|
|
31
31
|
const __possibly_escape_filename = (path, escape) => {
|
|
32
32
|
if (escape) {
|
|
33
33
|
return path.replace(/ /g, '_');
|
|
@@ -32,7 +32,7 @@ const node_child_process_1 = require("node:child_process");
|
|
|
32
32
|
* The executable being executed is assumed to only cause side effects
|
|
33
33
|
* and not return any meaningful data, std::out is therefor ignored
|
|
34
34
|
*/
|
|
35
|
-
exports.$$ = _easync.
|
|
35
|
+
exports.$$ = _easync.__create_resource_command(($p) => {
|
|
36
36
|
const args = $p.args.__get_raw_copy();
|
|
37
37
|
return _easync.__create_command_promise({
|
|
38
38
|
'execute': (on_success, on_error) => {
|
|
@@ -33,7 +33,7 @@ const node_child_process_1 = require("node:child_process");
|
|
|
33
33
|
* The executable being executed is assumed to only cause side effects
|
|
34
34
|
* and not return any meaningful data, std::out is therefor ignored
|
|
35
35
|
*/
|
|
36
|
-
exports.$$ = _easync.
|
|
36
|
+
exports.$$ = _easync.__create_resource_command(($p) => {
|
|
37
37
|
const args = $p.args.__get_raw_copy();
|
|
38
38
|
return _easync.__create_command_promise({
|
|
39
39
|
'execute': (on_success, on_error) => {
|
|
@@ -25,7 +25,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.$$ = void 0;
|
|
27
27
|
const _easync = __importStar(require("exupery-core-async"));
|
|
28
|
-
exports.$$ = _easync.
|
|
28
|
+
exports.$$ = _easync.__create_resource_command(($p) => {
|
|
29
29
|
return _easync.__create_command_promise({
|
|
30
30
|
'execute': (on_success) => {
|
|
31
31
|
$p.lines.__for_each(($) => {
|
|
@@ -25,7 +25,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.$$ = void 0;
|
|
27
27
|
const _easync = __importStar(require("exupery-core-async"));
|
|
28
|
-
exports.$$ = _easync.
|
|
28
|
+
exports.$$ = _easync.__create_resource_command(($p) => {
|
|
29
29
|
return _easync.__create_command_promise({
|
|
30
30
|
'execute': (on_success) => {
|
|
31
31
|
$p.lines.__for_each(($) => {
|
|
@@ -27,7 +27,7 @@ exports.$$ = void 0;
|
|
|
27
27
|
const _easync = __importStar(require("exupery-core-async"));
|
|
28
28
|
const _ei = __importStar(require("exupery-core-internals"));
|
|
29
29
|
const fs_1 = require("fs");
|
|
30
|
-
exports.$$ = _easync.
|
|
30
|
+
exports.$$ = _easync.__create_resource_command(($p) => {
|
|
31
31
|
const __possibly_escape_filename = (path, escape) => {
|
|
32
32
|
if (escape) {
|
|
33
33
|
return path.replace(/ /g, '_');
|
|
@@ -27,7 +27,7 @@ exports.$$ = void 0;
|
|
|
27
27
|
const _easync = __importStar(require("exupery-core-async"));
|
|
28
28
|
const _ei = __importStar(require("exupery-core-internals"));
|
|
29
29
|
const fs_1 = require("fs");
|
|
30
|
-
exports.$$ = _easync.
|
|
30
|
+
exports.$$ = _easync.__create_resource_command(($p) => {
|
|
31
31
|
const __possibly_escape_filename = (path, escape) => {
|
|
32
32
|
if (escape) {
|
|
33
33
|
return path.replace(/ /g, '_');
|
|
@@ -28,7 +28,7 @@ const _easync = __importStar(require("exupery-core-async"));
|
|
|
28
28
|
const _ei = __importStar(require("exupery-core-internals"));
|
|
29
29
|
const fs_1 = require("fs");
|
|
30
30
|
const path_1 = require("path");
|
|
31
|
-
exports.$$ = _easync.
|
|
31
|
+
exports.$$ = _easync.__create_resource_command(($p) => {
|
|
32
32
|
return _easync.__create_command_promise({
|
|
33
33
|
'execute': (on_success, on_error) => {
|
|
34
34
|
const __possibly_escape_filename = (path, escape) => {
|
|
@@ -25,7 +25,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.$$ = void 0;
|
|
27
27
|
const _easync = __importStar(require("exupery-core-async"));
|
|
28
|
-
exports.$$ = _easync.
|
|
28
|
+
exports.$$ = _easync.__create_resource_command(($p) => {
|
|
29
29
|
return _easync.__create_command_promise({
|
|
30
30
|
'execute': (on_success) => {
|
|
31
31
|
process.stderr.write($p);
|
|
@@ -25,7 +25,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.$$ = void 0;
|
|
27
27
|
const _easync = __importStar(require("exupery-core-async"));
|
|
28
|
-
exports.$$ = _easync.
|
|
28
|
+
exports.$$ = _easync.__create_resource_command(($p) => {
|
|
29
29
|
return _easync.__create_command_promise({
|
|
30
30
|
'execute': (on_success) => {
|
|
31
31
|
process.stdout.write($p);
|
|
@@ -5,4 +5,4 @@ import * as d from "exupery-resources/dist/interface/generated/pareto/schemas/ex
|
|
|
5
5
|
* The executable being executed is assumed to be side effect free
|
|
6
6
|
* There is no way to give guarantees about that though
|
|
7
7
|
*/
|
|
8
|
-
export declare const $$: _et.Data_Preparer<d.
|
|
8
|
+
export declare const $$: _et.Data_Preparer<d.Result, d.Parameters, d.Error>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as _et from 'exupery-core-types';
|
|
2
2
|
import * as d from "exupery-resources/dist/interface/generated/pareto/schemas/get_instream_data/data_types/target";
|
|
3
|
-
export declare const $$: _et.Data_Preparer<
|
|
3
|
+
export declare const $$: _et.Data_Preparer<d.Result, null, null>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as _et from 'exupery-core-types';
|
|
2
2
|
import * as d from "exupery-resources/dist/interface/generated/pareto/schemas/read_directory/data_types/target";
|
|
3
|
-
export declare const $$: _et.Data_Preparer<d.
|
|
3
|
+
export declare const $$: _et.Data_Preparer<d.Result, d.Parameters, d.Error>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as _et from 'exupery-core-types';
|
|
2
2
|
import * as d from "exupery-resources/dist/interface/generated/pareto/schemas/read_file/data_types/target";
|
|
3
|
-
export declare const $$: _et.Data_Preparer<d.
|
|
3
|
+
export declare const $$: _et.Data_Preparer<d.Result, d.Parameters, d.Error>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as _et from 'exupery-core-types';
|
|
2
2
|
import * as d from "exupery-resources/dist/interface/generated/pareto/schemas/stat/data_types/target";
|
|
3
|
-
export declare const $$: _et.Data_Preparer<d.
|
|
3
|
+
export declare const $$: _et.Data_Preparer<d.Result, d.Parameters, d.Error>;
|
package/dist/index.d.ts
CHANGED
|
@@ -29,10 +29,10 @@ export type Available_Standard_Resources = {
|
|
|
29
29
|
'write to stdout': _et.Command<d_write_to_stdout.Parameters, null>;
|
|
30
30
|
};
|
|
31
31
|
'queries': {
|
|
32
|
-
'execute any query executable': _et.Data_Preparer<d_execute_any_query_executable.
|
|
33
|
-
'get instream data': _et.Data_Preparer<
|
|
34
|
-
'read directory': _et.Data_Preparer<d_read_directory.
|
|
35
|
-
'read file': _et.Data_Preparer<d_read_file.
|
|
32
|
+
'execute any query executable': _et.Data_Preparer<d_execute_any_query_executable.Result, d_execute_any_query_executable.Parameters, d_execute_any_query_executable.Error>;
|
|
33
|
+
'get instream data': _et.Data_Preparer<d_get_instream_data.Result, temp_instream_parameters, null>;
|
|
34
|
+
'read directory': _et.Data_Preparer<d_read_directory.Result, d_read_directory.Parameters, d_read_directory.Error>;
|
|
35
|
+
'read file': _et.Data_Preparer<d_read_file.Result, d_read_file.Parameters, d_read_file.Error>;
|
|
36
36
|
};
|
|
37
37
|
};
|
|
38
38
|
/**
|
package/dist/index.js
CHANGED
|
@@ -68,9 +68,9 @@ const create_available_resources = () => {
|
|
|
68
68
|
* returned value when the async value completes.
|
|
69
69
|
*/
|
|
70
70
|
const run_main_procedure = (get_main) => {
|
|
71
|
-
get_main(create_available_resources()).execute
|
|
71
|
+
get_main(create_available_resources()).execute({
|
|
72
72
|
'arguments': _ei.array_literal(process.argv.slice(2))
|
|
73
|
-
}).__start(() => {
|
|
73
|
+
}, ($) => $).__start(() => {
|
|
74
74
|
}, ($) => {
|
|
75
75
|
process.exitCode = $['exit code'];
|
|
76
76
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "exupery-core-bin",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.27",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"description": "this is one of the core packages for Exupery. it provides functionality to create executables",
|
|
6
6
|
"author": "Corno",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"url": "git+https://github.com/corno/exupery-core.git"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"exupery-core-async": "^0.3.
|
|
30
|
+
"exupery-core-async": "^0.3.49",
|
|
31
31
|
"exupery-core-internals": "^0.3.8",
|
|
32
|
-
"exupery-resources": "^0.3.
|
|
32
|
+
"exupery-resources": "^0.3.10"
|
|
33
33
|
}
|
|
34
34
|
}
|