exupery-core-bin 0.2.0 → 0.2.1

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