exupery-core-bin 0.1.7 → 0.1.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/dist/index.d.ts +8 -6
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1,20 +1,22 @@
1
1
  import * as _et from 'exupery-core-types';
2
2
  import * as _easync from 'exupery-core-async';
3
+ export type Runs_Safe_Program_Main = ($: {
4
+ 'arguments': _et.Array<string>;
5
+ }) => _easync.Safe_Command_Result;
3
6
  /**
4
7
  * Runs a program main function, passing command line arguments (excluding
5
8
  * `node` and the script name)
6
9
  */
7
- export declare const run_program: (main: ($: {
8
- "arguments": _et.Array<string>;
9
- }) => _easync.Safe_Command_Result) => void;
10
+ export declare const run_program: (main: Runs_Safe_Program_Main) => void;
10
11
  export type Error = {
11
12
  'exit code': number;
12
13
  };
14
+ export type Run_Unsafe_Program_Main = ($: {
15
+ 'arguments': _et.Array<string>;
16
+ }) => _easync.Unsafe_Command_Result<Error>;
13
17
  /**
14
18
  * Runs a program main function, passing command line arguments (excluding
15
19
  * `node` and the script name), and setting the process exit code to the
16
20
  * returned value when the async value completes.
17
21
  */
18
- export declare const run_unsafe_program: (main: ($: {
19
- "arguments": _et.Array<string>;
20
- }) => _easync.Unsafe_Command_Result<Error>) => void;
22
+ export declare const run_unsafe_program: (main: Run_Unsafe_Program_Main) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "exupery-core-bin",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
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",