fireflyy 4.0.0-dev.25c80f6 → 4.0.0-dev.3098d1f

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.
@@ -1,5 +1,5 @@
1
- import { t as logger } from "./main.js";
2
- import { i as FireflyOkAsync } from "./result.constructors-C9M1MP3_.js";
1
+ import { i as FireflyOkAsync } from "./result.constructors-D9jmQ0uj.js";
2
+ import { t as logger } from "./logging-BuIkRrn1.js";
3
3
 
4
4
  //#region src/infrastructure/dry-run/index.ts
5
5
  /**
@@ -1,7 +1,7 @@
1
- import { t as logger } from "./main.js";
2
- import { c as notFoundErrAsync } from "./result.constructors-C9M1MP3_.js";
3
- import { n as wrapPromise } from "./result.utilities-DC5shlhT.js";
4
- import { t as withDryRun } from "./dry-run-BfYCtldz.js";
1
+ import { l as notFoundErrAsync } from "./result.constructors-D9jmQ0uj.js";
2
+ import { n as wrapPromise } from "./result.utilities-DiG1ae54.js";
3
+ import { t as logger } from "./logging-BuIkRrn1.js";
4
+ import { t as withDryRun } from "./dry-run-BPDFHMIs.js";
5
5
 
6
6
  //#region src/services/implementations/filesystem.service.ts
7
7
  /**
@@ -1,6 +1,6 @@
1
- import { t as logger } from "./main.js";
2
- import { i as FireflyOkAsync, m as failedError, o as failedErrAsync } from "./result.constructors-C9M1MP3_.js";
3
- import { t as withDryRun } from "./dry-run-BfYCtldz.js";
1
+ import { h as failedError, i as FireflyOkAsync, o as failedErrAsync } from "./result.constructors-D9jmQ0uj.js";
2
+ import { t as logger } from "./logging-BuIkRrn1.js";
3
+ import { t as withDryRun } from "./dry-run-BPDFHMIs.js";
4
4
  import { ResultAsync } from "neverthrow";
5
5
  import { z } from "zod";
6
6
 
@@ -0,0 +1,20 @@
1
+ import { createConsola } from "consola";
2
+ import { colors } from "consola/utils";
3
+
4
+ //#region src/infrastructure/logging/index.ts
5
+ const opts = {
6
+ date: false,
7
+ compact: true,
8
+ columns: 0
9
+ };
10
+ const _logger = createConsola({ formatOptions: opts });
11
+ const logger = createConsola({
12
+ formatOptions: opts,
13
+ reporters: [{ log(logObj) {
14
+ if (logObj.type === "verbose") console.log(colors.gray(logObj.args.join(" ")));
15
+ else _logger.log(logObj);
16
+ } }]
17
+ });
18
+
19
+ //#endregion
20
+ export { logger as t };
package/dist/main.js CHANGED
@@ -1,7 +1,4 @@
1
1
  #!/usr/bin/env bun
2
- import { createConsola } from "consola";
3
- import { colors } from "consola/utils";
4
-
5
2
  //#region src/core/environment/runtime-env.ts
6
3
  /**
7
4
  * These are set during CLI initialization in main.ts and provide
@@ -53,25 +50,9 @@ var RuntimeEnv = class {
53
50
  }
54
51
  };
55
52
 
56
- //#endregion
57
- //#region src/infrastructure/logging/index.ts
58
- const opts = {
59
- date: false,
60
- compact: true,
61
- columns: 0
62
- };
63
- const _logger = createConsola({ formatOptions: opts });
64
- const logger = createConsola({
65
- formatOptions: opts,
66
- reporters: [{ log(logObj) {
67
- if (logObj.type === "verbose") console.log(colors.gray(logObj.args.join(" ")));
68
- else _logger.log(logObj);
69
- } }]
70
- });
71
-
72
53
  //#endregion
73
54
  //#region package.json
74
- var version = "4.0.0-dev.25c80f6";
55
+ var version = "4.0.0-dev.3098d1f";
75
56
  var description = " CLI orchestrator for automatic semantic versioning, changelog generation, and creating releases. Built for my own use cases.";
76
57
  var dependencies = {
77
58
  "c12": "^3.3.2",
@@ -99,13 +80,10 @@ async function main() {
99
80
  description,
100
81
  gitCliffVersion: dependencies["git-cliff"]?.replace("^", "") || "unknown"
101
82
  });
102
- const { createFireflyCLI } = await import("./program-DcCz3-Sc.js");
103
- createFireflyCLI().parseAsync(process.argv).catch((error) => {
104
- logger.error("Fatal error:", error);
105
- process.exit(1);
106
- });
83
+ const { createFireflyCLI } = await import("./program-DSsTcwvN.js");
84
+ createFireflyCLI().parseAsync(process.argv).catch(() => process.exit(1));
107
85
  }
108
86
  main();
109
87
 
110
88
  //#endregion
111
- export { RuntimeEnv as n, logger as t };
89
+ export { RuntimeEnv as t };
@@ -1,6 +1,6 @@
1
- import { t as logger } from "./main.js";
2
- import { d as validationErrAsync, g as toFireflyError, i as FireflyOkAsync, u as validationErr } from "./result.constructors-C9M1MP3_.js";
3
- import { n as parseSchema } from "./schema.utilities-BGd9t1wm.js";
1
+ import { d as validationErr, f as validationErrAsync, i as FireflyOkAsync, v as toFireflyError } from "./result.constructors-D9jmQ0uj.js";
2
+ import { t as logger } from "./logging-BuIkRrn1.js";
3
+ import { n as parseSchema } from "./schema.utilities-Y2MdlRMu.js";
4
4
  import { Result } from "neverthrow";
5
5
  import z$1 from "zod";
6
6