@datapos/datapos-development 0.3.226 → 0.3.227

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.
@@ -7638,11 +7638,11 @@ function Ih(e) {
7638
7638
  Mr.includes(s) && (t = !0), Or.includes(s) && (i = !0);
7639
7639
  return t && i ? "bidirectional" : t ? "source" : i ? "destination" : "unknown";
7640
7640
  }
7641
- async function _e(e, t = [], i) {
7642
- const s = `${e} ${t.join(" ")}`;
7643
- We(`Execute command: ${s}`);
7644
- const { stdout: a, stderr: o } = await Eh(s);
7645
- i === void 0 ? a.trim() && console.log(a.trim()) : await $.writeFile(i, a.trim(), "utf8"), o.trim() && console.error(o.trim());
7641
+ async function _e(e, t, i = [], s) {
7642
+ const a = `${t} ${i.join(" ")}`;
7643
+ We(`${e}. Execute command: '${a}'`);
7644
+ const { stdout: o, stderr: h } = await Eh(a);
7645
+ o.trim() && console.log(o.trim()), h.trim() && console.error(h.trim());
7646
7646
  }
7647
7647
  async function Nh() {
7648
7648
  We("Load environment variables"), (await import("dotenv")).config();
@@ -1,7 +1,7 @@
1
1
  import { ConnectorOperation, ConnectorUsageId } from '@datapos/datapos-shared';
2
2
  declare function extractOperationsFromSource<T>(source: string): T[];
3
3
  declare function determineConnectorUsageId(operations: ConnectorOperation[]): ConnectorUsageId;
4
- declare function execCommand(command_: string, arguments_?: string[], outputFilePath?: string): Promise<void>;
4
+ declare function execCommand(label: string, command_: string, arguments_?: string[], outputFilePath?: string): Promise<void>;
5
5
  declare function loadEnvironmentVariables(): Promise<void>;
6
6
  declare function logOperationHeader(text: string): void;
7
7
  declare function logOperationSuccess(message: string): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datapos/datapos-development",
3
- "version": "0.3.226",
3
+ "version": "0.3.227",
4
4
  "description": "A library of utilities for managing the Data Positioning repositories.",
5
5
  "license": "MIT",
6
6
  "author": "Jonathan Terrell <terrell.jm@gmail.com>",