@zokugun/cli-utils 0.4.2 → 0.4.4

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/lib/cjs/exec.cjs CHANGED
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.exec = exports.ExecProcess = void 0;
3
+ exports.exec = exports.ExecProcess = exports.createCommand = void 0;
4
4
  const exec_lite_1 = require("@zokugun/exec-lite");
5
+ Object.defineProperty(exports, "createCommand", { enumerable: true, get: function () { return exec_lite_1.createCommand; } });
5
6
  Object.defineProperty(exports, "ExecProcess", { enumerable: true, get: function () { return exec_lite_1.ExecProcess; } });
6
7
  Object.defineProperty(exports, "exec", { enumerable: true, get: function () { return exec_lite_1.exec; } });
7
8
  /* eslint-enable unicorn/prefer-export-from */
@@ -1,3 +1,3 @@
1
- import type { ExecFailure, ExecResult, ExecSuccess, KillSignal, Options as ExecOptions, Subprocess } from '@zokugun/exec-lite';
2
- import { ExecProcess, exec } from '@zokugun/exec-lite';
3
- export { type ExecFailure, type ExecOptions, type ExecResult, type ExecSuccess, type KillSignal, type Subprocess, ExecProcess, exec, };
1
+ import type { Command, ExecFailure, ExecResult, ExecSuccess, KillSignal, Options as ExecOptions, Subprocess } from '@zokugun/exec-lite';
2
+ import { createCommand, ExecProcess, exec } from '@zokugun/exec-lite';
3
+ export { type Command, type ExecFailure, type ExecOptions, type ExecResult, type ExecSuccess, type KillSignal, type Subprocess, createCommand, ExecProcess, exec, };
@@ -1,3 +1,3 @@
1
- import type { ExecFailure, ExecResult, ExecSuccess, KillSignal, Options as ExecOptions, Subprocess } from '@zokugun/exec-lite';
2
- import { ExecProcess, exec } from '@zokugun/exec-lite';
3
- export { type ExecFailure, type ExecOptions, type ExecResult, type ExecSuccess, type KillSignal, type Subprocess, ExecProcess, exec, };
1
+ import type { Command, ExecFailure, ExecResult, ExecSuccess, KillSignal, Options as ExecOptions, Subprocess } from '@zokugun/exec-lite';
2
+ import { createCommand, ExecProcess, exec } from '@zokugun/exec-lite';
3
+ export { type Command, type ExecFailure, type ExecOptions, type ExecResult, type ExecSuccess, type KillSignal, type Subprocess, createCommand, ExecProcess, exec, };
package/lib/esm/exec.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { ExecProcess, exec } from '@zokugun/exec-lite';
1
+ import { createCommand, ExecProcess, exec } from '@zokugun/exec-lite';
2
2
  /* eslint-disable unicorn/prefer-export-from */
3
- export { ExecProcess, exec, };
3
+ export { createCommand, ExecProcess, exec, };
4
4
  /* eslint-enable unicorn/prefer-export-from */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@zokugun/cli-utils",
3
3
  "description": "Utils for CLI app",
4
- "version": "0.4.2",
4
+ "version": "0.4.4",
5
5
  "author": {
6
6
  "name": "Baptiste Augrain",
7
7
  "email": "daiyam@zokugun.org"
@@ -104,7 +104,7 @@
104
104
  },
105
105
  "dependencies": {
106
106
  "@commander-js/extra-typings": "14.0.0",
107
- "@zokugun/exec-lite": "0.2.0",
107
+ "@zokugun/exec-lite": "0.4.0",
108
108
  "@zokugun/log-update-plus": "0.1.1",
109
109
  "ansi-colors": "4.1.3",
110
110
  "cli-spinners": "3.4.0",