fireflyy 4.0.0-dev.c94480d → 4.0.0-dev.fc28987
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 +5 -5
- package/dist/commit-analysis.service-B2Z128t8.js +503 -0
- package/dist/config.d.ts +130 -0
- package/dist/{index.js → config.js} +0 -11
- package/dist/debug-flags-K3yK5B6O.js +74 -0
- package/dist/{dry-run-BfYCtldz.js → dry-run-C7RaPEq8.js} +2 -2
- package/dist/{filesystem.service-9VHML130.js → filesystem.service-DS2AQGNq.js} +4 -4
- package/dist/{git.service-CACrfCW8.js → git.service-B6RdTilO.js} +5 -4
- package/dist/logging-Bpk2RzGc.js +20 -0
- package/dist/main.js +4 -26
- package/dist/{package-json.service-DACeZzRg.js → package-json.service-BlMNgPGQ.js} +3 -3
- package/dist/{program-DcCz3-Sc.js → program-d3d_c7Hx.js} +659 -257
- package/dist/{result.constructors-C9M1MP3_.js → result.constructors-DoAoYdfF.js} +5 -1
- package/dist/{result.utilities-DC5shlhT.js → result.utilities-DXSJU70_.js} +2 -12
- package/dist/{schema.utilities-BGd9t1wm.js → schema.utilities-C1yimTtB.js} +1 -1
- package/dist/version-DJuocyXy.js +164 -0
- package/dist/version-bumper.service-glxzf9Qm.js +171 -0
- package/dist/version-strategy.service-Dln42gxC.js +257 -0
- package/package.json +3 -3
- package/dist/index.d.ts +0 -79
package/dist/index.d.ts
DELETED
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import z from "zod";
|
|
2
|
-
|
|
3
|
-
//#region src/cli/config/config.schema.d.ts
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Complete Firefly configuration schema.
|
|
7
|
-
* Combines global options with command-specific configuration sections.
|
|
8
|
-
*/
|
|
9
|
-
declare const FireflyConfigSchema: z.ZodObject<{
|
|
10
|
-
release: z.ZodOptional<z.ZodObject<{
|
|
11
|
-
name: z.ZodOptional<z.ZodString>;
|
|
12
|
-
scope: z.ZodOptional<z.ZodString>;
|
|
13
|
-
base: z.ZodDefault<z.ZodString>;
|
|
14
|
-
branch: z.ZodOptional<z.ZodString>;
|
|
15
|
-
changelogPath: z.ZodDefault<z.ZodString>;
|
|
16
|
-
bumpStrategy: z.ZodDefault<z.ZodUnion<[z.ZodEnum<{
|
|
17
|
-
auto: "auto";
|
|
18
|
-
manual: "manual";
|
|
19
|
-
}>, z.ZodLiteral<"">]>>;
|
|
20
|
-
releaseType: z.ZodOptional<z.ZodEnum<{
|
|
21
|
-
major: "major";
|
|
22
|
-
minor: "minor";
|
|
23
|
-
patch: "patch";
|
|
24
|
-
prerelease: "prerelease";
|
|
25
|
-
premajor: "premajor";
|
|
26
|
-
preminor: "preminor";
|
|
27
|
-
prepatch: "prepatch";
|
|
28
|
-
graduate: "graduate";
|
|
29
|
-
}>>;
|
|
30
|
-
preReleaseId: z.ZodOptional<z.ZodString>;
|
|
31
|
-
preReleaseBase: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"0">, z.ZodLiteral<"1">]>>;
|
|
32
|
-
releaseNotes: z.ZodDefault<z.ZodString>;
|
|
33
|
-
commitMessage: z.ZodDefault<z.ZodString>;
|
|
34
|
-
tagName: z.ZodDefault<z.ZodString>;
|
|
35
|
-
skipBump: z.ZodDefault<z.ZodCoercedBoolean<unknown>>;
|
|
36
|
-
skipChangelog: z.ZodDefault<z.ZodCoercedBoolean<unknown>>;
|
|
37
|
-
skipPush: z.ZodDefault<z.ZodCoercedBoolean<unknown>>;
|
|
38
|
-
skipGitHubRelease: z.ZodDefault<z.ZodCoercedBoolean<unknown>>;
|
|
39
|
-
skipGit: z.ZodDefault<z.ZodCoercedBoolean<unknown>>;
|
|
40
|
-
skipPreflightCheck: z.ZodDefault<z.ZodCoercedBoolean<unknown>>;
|
|
41
|
-
releaseTitle: z.ZodDefault<z.ZodString>;
|
|
42
|
-
releaseLatest: z.ZodDefault<z.ZodCoercedBoolean<unknown>>;
|
|
43
|
-
releasePreRelease: z.ZodDefault<z.ZodCoercedBoolean<unknown>>;
|
|
44
|
-
releaseDraft: z.ZodDefault<z.ZodCoercedBoolean<unknown>>;
|
|
45
|
-
}, z.core.$strip>>;
|
|
46
|
-
cwd: z.ZodOptional<z.ZodString>;
|
|
47
|
-
dryRun: z.ZodOptional<z.ZodBoolean>;
|
|
48
|
-
verbose: z.ZodOptional<z.ZodBoolean>;
|
|
49
|
-
enableRollback: z.ZodOptional<z.ZodBoolean>;
|
|
50
|
-
}, z.core.$strip>;
|
|
51
|
-
/**
|
|
52
|
-
* TypeScript type for Firefly configuration.
|
|
53
|
-
* Use this type when you need to reference the configuration shape without runtime validation.
|
|
54
|
-
*/
|
|
55
|
-
type FireflyConfig = z.infer<typeof FireflyConfigSchema>;
|
|
56
|
-
//#endregion
|
|
57
|
-
//#region src/config/index.d.ts
|
|
58
|
-
/**
|
|
59
|
-
* Helper function to define a type-safe Firefly configuration.
|
|
60
|
-
*
|
|
61
|
-
* Provides IntelliSense autocompletion and type checking for config files.
|
|
62
|
-
*
|
|
63
|
-
* @param options - The configuration options
|
|
64
|
-
* @returns The same options (identity function for type inference)
|
|
65
|
-
*
|
|
66
|
-
* @example
|
|
67
|
-
* ```ts
|
|
68
|
-
* export default defineConfig({
|
|
69
|
-
* verbose: true,
|
|
70
|
-
* release: {
|
|
71
|
-
* bumpStrategy: "conventional",
|
|
72
|
-
* releaseType: "github",
|
|
73
|
-
* },
|
|
74
|
-
* });
|
|
75
|
-
* ```
|
|
76
|
-
*/
|
|
77
|
-
declare function defineConfig<T extends FireflyConfig>(options: T): T;
|
|
78
|
-
//#endregion
|
|
79
|
-
export { defineConfig };
|