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.
- package/assets/firefly.schema.json +6 -6
- package/dist/commit-analysis.service-B8W5aORO.js +503 -0
- package/dist/config.d.ts +130 -0
- package/dist/{index.js → config.js} +0 -11
- package/dist/{dry-run-BfYCtldz.js → dry-run-BPDFHMIs.js} +2 -2
- package/dist/{filesystem.service-9VHML130.js → filesystem.service-Bsm3j1Bv.js} +4 -4
- package/dist/{git.service-CACrfCW8.js → git.service-B3PC7qIe.js} +3 -3
- package/dist/logging-BuIkRrn1.js +20 -0
- package/dist/main.js +4 -26
- package/dist/{package-json.service-DACeZzRg.js → package-json.service-d4pVcOFd.js} +3 -3
- package/dist/{program-DcCz3-Sc.js → program-DSsTcwvN.js} +584 -194
- package/dist/{result.constructors-C9M1MP3_.js → result.constructors-D9jmQ0uj.js} +5 -1
- package/dist/{result.utilities-DC5shlhT.js → result.utilities-DiG1ae54.js} +2 -12
- package/dist/{schema.utilities-BGd9t1wm.js → schema.utilities-Y2MdlRMu.js} +1 -1
- package/dist/version-D6rAEmbf.js +164 -0
- package/dist/version-bumper.service-ZBJ2jcLS.js +171 -0
- package/dist/version-strategy.service-BdpKRWLc.js +257 -0
- package/package.json +3 -3
- package/dist/index.d.ts +0 -79
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
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 {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as withDryRun } from "./dry-run-
|
|
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 {
|
|
2
|
-
import {
|
|
3
|
-
import { t as withDryRun } from "./dry-run-
|
|
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.
|
|
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-
|
|
103
|
-
createFireflyCLI().parseAsync(process.argv).catch((
|
|
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
|
|
89
|
+
export { RuntimeEnv as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { n as parseSchema } from "./schema.utilities-
|
|
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
|
|