conventional-changelog-storm-software 0.3.75 → 0.3.77
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/dist/configs/index.d.cts +3 -3
- package/dist/configs/index.d.ts +3 -3
- package/dist/configs/minimal.d.cts +2 -2
- package/dist/configs/minimal.d.ts +2 -2
- package/dist/configs/monorepo.d.cts +4 -4
- package/dist/configs/monorepo.d.ts +4 -4
- package/dist/index.cjs +137 -126
- package/dist/index.js +137 -126
- package/package.json +4 -4
package/dist/configs/index.d.cts
CHANGED
|
@@ -189,7 +189,7 @@ declare const COMMIT_CONFIGS: {
|
|
|
189
189
|
"footer-max-line-length": (string | number)[];
|
|
190
190
|
"header-max-length": (string | number)[];
|
|
191
191
|
"header-trim": (string | RuleConfigSeverity)[];
|
|
192
|
-
"subject-case": (string | string[]
|
|
192
|
+
"subject-case": (string | RuleConfigSeverity | string[])[];
|
|
193
193
|
"subject-empty": (string | RuleConfigSeverity)[];
|
|
194
194
|
"subject-full-stop": (string | RuleConfigSeverity)[];
|
|
195
195
|
"subject-max-length": (string | number)[];
|
|
@@ -398,7 +398,7 @@ declare const COMMIT_CONFIGS: {
|
|
|
398
398
|
"footer-max-line-length": (string | number)[];
|
|
399
399
|
"header-max-length": (string | number)[];
|
|
400
400
|
"header-trim": (string | RuleConfigSeverity)[];
|
|
401
|
-
"subject-case": (string | string[]
|
|
401
|
+
"subject-case": (string | RuleConfigSeverity | string[])[];
|
|
402
402
|
"subject-empty": (string | RuleConfigSeverity)[];
|
|
403
403
|
"subject-full-stop": (string | RuleConfigSeverity)[];
|
|
404
404
|
"subject-max-length": (string | number)[];
|
|
@@ -408,7 +408,7 @@ declare const COMMIT_CONFIGS: {
|
|
|
408
408
|
"type-enum": [RuleConfigSeverity, RuleConfigCondition, string[]];
|
|
409
409
|
"type-max-length": (string | number)[];
|
|
410
410
|
"type-min-length": (string | number)[];
|
|
411
|
-
"scope-case": (string | string[]
|
|
411
|
+
"scope-case": (string | RuleConfigSeverity | string[])[];
|
|
412
412
|
"scope-empty": (string | RuleConfigSeverity)[];
|
|
413
413
|
};
|
|
414
414
|
settings: {
|
package/dist/configs/index.d.ts
CHANGED
|
@@ -189,7 +189,7 @@ declare const COMMIT_CONFIGS: {
|
|
|
189
189
|
"footer-max-line-length": (string | number)[];
|
|
190
190
|
"header-max-length": (string | number)[];
|
|
191
191
|
"header-trim": (string | RuleConfigSeverity)[];
|
|
192
|
-
"subject-case": (string | string[]
|
|
192
|
+
"subject-case": (string | RuleConfigSeverity | string[])[];
|
|
193
193
|
"subject-empty": (string | RuleConfigSeverity)[];
|
|
194
194
|
"subject-full-stop": (string | RuleConfigSeverity)[];
|
|
195
195
|
"subject-max-length": (string | number)[];
|
|
@@ -398,7 +398,7 @@ declare const COMMIT_CONFIGS: {
|
|
|
398
398
|
"footer-max-line-length": (string | number)[];
|
|
399
399
|
"header-max-length": (string | number)[];
|
|
400
400
|
"header-trim": (string | RuleConfigSeverity)[];
|
|
401
|
-
"subject-case": (string | string[]
|
|
401
|
+
"subject-case": (string | RuleConfigSeverity | string[])[];
|
|
402
402
|
"subject-empty": (string | RuleConfigSeverity)[];
|
|
403
403
|
"subject-full-stop": (string | RuleConfigSeverity)[];
|
|
404
404
|
"subject-max-length": (string | number)[];
|
|
@@ -408,7 +408,7 @@ declare const COMMIT_CONFIGS: {
|
|
|
408
408
|
"type-enum": [RuleConfigSeverity, RuleConfigCondition, string[]];
|
|
409
409
|
"type-max-length": (string | number)[];
|
|
410
410
|
"type-min-length": (string | number)[];
|
|
411
|
-
"scope-case": (string | string[]
|
|
411
|
+
"scope-case": (string | RuleConfigSeverity | string[])[];
|
|
412
412
|
"scope-empty": (string | RuleConfigSeverity)[];
|
|
413
413
|
};
|
|
414
414
|
settings: {
|
|
@@ -62,7 +62,7 @@ declare const commitlint: {
|
|
|
62
62
|
"footer-max-line-length": (string | number)[];
|
|
63
63
|
"header-max-length": (string | number)[];
|
|
64
64
|
"header-trim": (string | RuleConfigSeverity)[];
|
|
65
|
-
"subject-case": (string | string[]
|
|
65
|
+
"subject-case": (string | RuleConfigSeverity | string[])[];
|
|
66
66
|
"subject-empty": (string | RuleConfigSeverity)[];
|
|
67
67
|
"subject-full-stop": (string | RuleConfigSeverity)[];
|
|
68
68
|
"subject-max-length": (string | number)[];
|
|
@@ -270,7 +270,7 @@ declare const config: {
|
|
|
270
270
|
"footer-max-line-length": (string | number)[];
|
|
271
271
|
"header-max-length": (string | number)[];
|
|
272
272
|
"header-trim": (string | RuleConfigSeverity)[];
|
|
273
|
-
"subject-case": (string | string[]
|
|
273
|
+
"subject-case": (string | RuleConfigSeverity | string[])[];
|
|
274
274
|
"subject-empty": (string | RuleConfigSeverity)[];
|
|
275
275
|
"subject-full-stop": (string | RuleConfigSeverity)[];
|
|
276
276
|
"subject-max-length": (string | number)[];
|
|
@@ -62,7 +62,7 @@ declare const commitlint: {
|
|
|
62
62
|
"footer-max-line-length": (string | number)[];
|
|
63
63
|
"header-max-length": (string | number)[];
|
|
64
64
|
"header-trim": (string | RuleConfigSeverity)[];
|
|
65
|
-
"subject-case": (string | string[]
|
|
65
|
+
"subject-case": (string | RuleConfigSeverity | string[])[];
|
|
66
66
|
"subject-empty": (string | RuleConfigSeverity)[];
|
|
67
67
|
"subject-full-stop": (string | RuleConfigSeverity)[];
|
|
68
68
|
"subject-max-length": (string | number)[];
|
|
@@ -270,7 +270,7 @@ declare const config: {
|
|
|
270
270
|
"footer-max-line-length": (string | number)[];
|
|
271
271
|
"header-max-length": (string | number)[];
|
|
272
272
|
"header-trim": (string | RuleConfigSeverity)[];
|
|
273
|
-
"subject-case": (string | string[]
|
|
273
|
+
"subject-case": (string | RuleConfigSeverity | string[])[];
|
|
274
274
|
"subject-empty": (string | RuleConfigSeverity)[];
|
|
275
275
|
"subject-full-stop": (string | RuleConfigSeverity)[];
|
|
276
276
|
"subject-max-length": (string | number)[];
|
|
@@ -62,7 +62,7 @@ declare const commitlint: {
|
|
|
62
62
|
"footer-max-line-length": (string | number)[];
|
|
63
63
|
"header-max-length": (string | number)[];
|
|
64
64
|
"header-trim": (string | RuleConfigSeverity)[];
|
|
65
|
-
"subject-case": (string | string[]
|
|
65
|
+
"subject-case": (string | RuleConfigSeverity | string[])[];
|
|
66
66
|
"subject-empty": (string | RuleConfigSeverity)[];
|
|
67
67
|
"subject-full-stop": (string | RuleConfigSeverity)[];
|
|
68
68
|
"subject-max-length": (string | number)[];
|
|
@@ -72,7 +72,7 @@ declare const commitlint: {
|
|
|
72
72
|
"type-enum": [RuleConfigSeverity, RuleConfigCondition, string[]];
|
|
73
73
|
"type-max-length": (string | number)[];
|
|
74
74
|
"type-min-length": (string | number)[];
|
|
75
|
-
"scope-case": (string | string[]
|
|
75
|
+
"scope-case": (string | RuleConfigSeverity | string[])[];
|
|
76
76
|
"scope-empty": (string | RuleConfigSeverity)[];
|
|
77
77
|
};
|
|
78
78
|
settings: {
|
|
@@ -271,7 +271,7 @@ declare const config: {
|
|
|
271
271
|
"footer-max-line-length": (string | number)[];
|
|
272
272
|
"header-max-length": (string | number)[];
|
|
273
273
|
"header-trim": (string | RuleConfigSeverity)[];
|
|
274
|
-
"subject-case": (string | string[]
|
|
274
|
+
"subject-case": (string | RuleConfigSeverity | string[])[];
|
|
275
275
|
"subject-empty": (string | RuleConfigSeverity)[];
|
|
276
276
|
"subject-full-stop": (string | RuleConfigSeverity)[];
|
|
277
277
|
"subject-max-length": (string | number)[];
|
|
@@ -281,7 +281,7 @@ declare const config: {
|
|
|
281
281
|
"type-enum": [RuleConfigSeverity, RuleConfigCondition, string[]];
|
|
282
282
|
"type-max-length": (string | number)[];
|
|
283
283
|
"type-min-length": (string | number)[];
|
|
284
|
-
"scope-case": (string | string[]
|
|
284
|
+
"scope-case": (string | RuleConfigSeverity | string[])[];
|
|
285
285
|
"scope-empty": (string | RuleConfigSeverity)[];
|
|
286
286
|
};
|
|
287
287
|
settings: {
|
|
@@ -62,7 +62,7 @@ declare const commitlint: {
|
|
|
62
62
|
"footer-max-line-length": (string | number)[];
|
|
63
63
|
"header-max-length": (string | number)[];
|
|
64
64
|
"header-trim": (string | RuleConfigSeverity)[];
|
|
65
|
-
"subject-case": (string | string[]
|
|
65
|
+
"subject-case": (string | RuleConfigSeverity | string[])[];
|
|
66
66
|
"subject-empty": (string | RuleConfigSeverity)[];
|
|
67
67
|
"subject-full-stop": (string | RuleConfigSeverity)[];
|
|
68
68
|
"subject-max-length": (string | number)[];
|
|
@@ -72,7 +72,7 @@ declare const commitlint: {
|
|
|
72
72
|
"type-enum": [RuleConfigSeverity, RuleConfigCondition, string[]];
|
|
73
73
|
"type-max-length": (string | number)[];
|
|
74
74
|
"type-min-length": (string | number)[];
|
|
75
|
-
"scope-case": (string | string[]
|
|
75
|
+
"scope-case": (string | RuleConfigSeverity | string[])[];
|
|
76
76
|
"scope-empty": (string | RuleConfigSeverity)[];
|
|
77
77
|
};
|
|
78
78
|
settings: {
|
|
@@ -271,7 +271,7 @@ declare const config: {
|
|
|
271
271
|
"footer-max-line-length": (string | number)[];
|
|
272
272
|
"header-max-length": (string | number)[];
|
|
273
273
|
"header-trim": (string | RuleConfigSeverity)[];
|
|
274
|
-
"subject-case": (string | string[]
|
|
274
|
+
"subject-case": (string | RuleConfigSeverity | string[])[];
|
|
275
275
|
"subject-empty": (string | RuleConfigSeverity)[];
|
|
276
276
|
"subject-full-stop": (string | RuleConfigSeverity)[];
|
|
277
277
|
"subject-max-length": (string | number)[];
|
|
@@ -281,7 +281,7 @@ declare const config: {
|
|
|
281
281
|
"type-enum": [RuleConfigSeverity, RuleConfigCondition, string[]];
|
|
282
282
|
"type-max-length": (string | number)[];
|
|
283
283
|
"type-min-length": (string | number)[];
|
|
284
|
-
"scope-case": (string | string[]
|
|
284
|
+
"scope-case": (string | RuleConfigSeverity | string[])[];
|
|
285
285
|
"scope-empty": (string | RuleConfigSeverity)[];
|
|
286
286
|
};
|
|
287
287
|
settings: {
|
package/dist/index.cjs
CHANGED
|
@@ -263,12 +263,13 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
|
|
|
263
263
|
return result;
|
|
264
264
|
}
|
|
265
265
|
|
|
266
|
-
// ../config-tools/dist/chunk-
|
|
266
|
+
// ../config-tools/dist/chunk-DJB7XLHA.js
|
|
267
267
|
var DEFAULT_COLOR_CONFIG = {
|
|
268
268
|
dark: {
|
|
269
269
|
brand: "#2dd4bf",
|
|
270
270
|
success: "#10b981",
|
|
271
271
|
info: "#58a6ff",
|
|
272
|
+
debug: "#8afafc",
|
|
272
273
|
warning: "#f3d371",
|
|
273
274
|
danger: "#D8314A",
|
|
274
275
|
fatal: "#a40e26"}
|
|
@@ -463,7 +464,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONF
|
|
|
463
464
|
return (message) => {
|
|
464
465
|
console.debug(
|
|
465
466
|
`
|
|
466
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.
|
|
467
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug)(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
467
468
|
`
|
|
468
469
|
);
|
|
469
470
|
};
|
|
@@ -472,7 +473,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONF
|
|
|
472
473
|
return (message) => {
|
|
473
474
|
console.debug(
|
|
474
475
|
`
|
|
475
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
476
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
476
477
|
`
|
|
477
478
|
);
|
|
478
479
|
};
|
|
@@ -614,150 +615,152 @@ var h = e2__namespace._default(t2, "#45b27e");
|
|
|
614
615
|
o2.add(h, { description: "The success color of the workspace" });
|
|
615
616
|
var l = e2__namespace._default(t2, "#38bdf8");
|
|
616
617
|
o2.add(l, { description: "The informational color of the workspace" });
|
|
617
|
-
var m = e2__namespace._default(t2, "#
|
|
618
|
-
o2.add(m, { description: "The
|
|
619
|
-
var z = e2__namespace._default(t2, "#
|
|
620
|
-
o2.add(z, { description: "The
|
|
621
|
-
var g = e2__namespace.
|
|
622
|
-
o2.add(g, { description: "The
|
|
623
|
-
var u = e2__namespace.
|
|
624
|
-
o2.add(u, { description: "The
|
|
625
|
-
var f = e2__namespace._default(t2, "#
|
|
626
|
-
o2.add(f, { description: "The
|
|
627
|
-
var k = e2__namespace.
|
|
628
|
-
o2.add(k, { description: "The
|
|
629
|
-
var
|
|
630
|
-
|
|
631
|
-
var
|
|
632
|
-
var
|
|
618
|
+
var m = e2__namespace._default(t2, "#8afafc");
|
|
619
|
+
o2.add(m, { description: "The debug color of the workspace" });
|
|
620
|
+
var z = e2__namespace._default(t2, "#f3d371");
|
|
621
|
+
o2.add(z, { description: "The warning color of the workspace" });
|
|
622
|
+
var g = e2__namespace._default(t2, "#d8314a");
|
|
623
|
+
o2.add(g, { description: "The danger color of the workspace" });
|
|
624
|
+
var u = e2__namespace.optional(t2);
|
|
625
|
+
o2.add(u, { description: "The fatal color of the workspace" });
|
|
626
|
+
var f = e2__namespace._default(t2, "#4ade80");
|
|
627
|
+
o2.add(f, { description: "The positive number color of the workspace" });
|
|
628
|
+
var k = e2__namespace._default(t2, "#ef4444");
|
|
629
|
+
o2.add(k, { description: "The negative number color of the workspace" });
|
|
630
|
+
var w = e2__namespace.optional(e2__namespace.array(t2));
|
|
631
|
+
o2.add(w, { description: "The color stops for the base gradient color pattern used in the workspace" });
|
|
632
|
+
var Ae = e2__namespace.object({ foreground: i2, background: a2, brand: c, alternate: s2, accent: n, link: d, help: p, success: h, info: l, debug: m, warning: z, danger: g, fatal: u, positive: f, negative: k, gradient: w });
|
|
633
|
+
var Re = e2__namespace.object({ foreground: a2, background: i2, brand: c, alternate: s2, accent: n, link: d, help: p, success: h, info: l, debug: m, warning: z, danger: g, fatal: u, positive: f, negative: k, gradient: w });
|
|
634
|
+
var Ue = e2__namespace.object({ dark: Ae, light: Re });
|
|
635
|
+
var De = e2__namespace.object({ dark: a2, light: i2, brand: c, alternate: s2, accent: n, link: d, help: p, success: h, info: l, debug: m, warning: z, danger: g, fatal: u, positive: f, negative: k, gradient: w });
|
|
633
636
|
var r2 = e2__namespace.optional(e2__namespace.url());
|
|
634
637
|
o2.add(r2, { description: "A remote registry URL used to publish distributable packages" });
|
|
635
|
-
var
|
|
636
|
-
o2.add(
|
|
637
|
-
var
|
|
638
|
-
o2.add(
|
|
639
|
-
var
|
|
640
|
-
o2.add(
|
|
641
|
-
var
|
|
642
|
-
o2.add(
|
|
643
|
-
var C = e2__namespace.string().check(e2__namespace.trim());
|
|
644
|
-
o2.add(C, { description: "The workspace bot user's name (this is the bot that will be used to perform various tasks)" });
|
|
638
|
+
var v = e2__namespace._default(e2__namespace.object({ github: r2, npm: r2, cargo: r2, cyclone: r2, container: r2 }), {});
|
|
639
|
+
o2.add(v, { description: "A list of remote registry URLs used by Storm Software" });
|
|
640
|
+
var S2 = e2__namespace.union([De, Ue]);
|
|
641
|
+
o2.add(S2, { description: "Colors used for various workspace elements" });
|
|
642
|
+
var y = e2__namespace.record(e2__namespace.union([e2__namespace.union([e2__namespace.literal("base"), e2__namespace.string()]), e2__namespace.string()]), S2);
|
|
643
|
+
o2.add(y, { description: "Storm theme config values used for styling various package elements" });
|
|
644
|
+
var C = e2__namespace.optional(e2__namespace.union([e2__namespace.string().check(e2__namespace.trim()), e2__namespace.array(e2__namespace.string().check(e2__namespace.trim()))]));
|
|
645
|
+
o2.add(C, { description: "The path to a base config file to use as a configuration preset file. Documentation can be found at https://github.com/unjs/c12#extending-configuration." });
|
|
645
646
|
var _ = e2__namespace.string().check(e2__namespace.trim());
|
|
646
|
-
o2.add(_, { description: "The
|
|
647
|
-
var L = e2__namespace.
|
|
648
|
-
o2.add(L, { description: "The
|
|
649
|
-
var j = e2__namespace.
|
|
650
|
-
o2.add(j, { description: "
|
|
651
|
-
var A2 = e2__namespace.
|
|
652
|
-
o2.add(A2, { description: "
|
|
653
|
-
var R = e2__namespace.
|
|
654
|
-
o2.add(R, { description: "The workspace's banner image
|
|
655
|
-
var U = e2__namespace.
|
|
656
|
-
o2.add(U, { description: "
|
|
647
|
+
o2.add(_, { description: "The workspace bot user's name (this is the bot that will be used to perform various tasks)" });
|
|
648
|
+
var L = e2__namespace.string().check(e2__namespace.trim());
|
|
649
|
+
o2.add(L, { description: "The email of the workspace bot" });
|
|
650
|
+
var j = e2__namespace.object({ name: _, email: L });
|
|
651
|
+
o2.add(j, { description: "The workspace's bot user's config used to automated various operations tasks" });
|
|
652
|
+
var A2 = e2__namespace.optional(e2__namespace.string().check(e2__namespace.trim(), e2__namespace.url()));
|
|
653
|
+
o2.add(A2, { description: "A URL to a banner image used to display the workspace's release" });
|
|
654
|
+
var R = e2__namespace._default(e2__namespace.string().check(e2__namespace.trim()), A);
|
|
655
|
+
o2.add(R, { description: "The alt text for the workspace's release banner image" });
|
|
656
|
+
var U = e2__namespace.object({ url: A2, alt: R });
|
|
657
|
+
o2.add(U, { description: "The workspace's banner image used during the release process" });
|
|
657
658
|
var D = e2__namespace.optional(e2__namespace.string().check(e2__namespace.trim()));
|
|
658
|
-
o2.add(D, { description: "A
|
|
659
|
-
var B = e2__namespace.
|
|
660
|
-
o2.add(B, { description: "
|
|
661
|
-
var F = e2__namespace.
|
|
662
|
-
o2.add(F, { description: "
|
|
659
|
+
o2.add(D, { description: "A header message appended to the start of the workspace's release notes" });
|
|
660
|
+
var B = e2__namespace.optional(e2__namespace.string().check(e2__namespace.trim()));
|
|
661
|
+
o2.add(B, { description: "A footer message appended to the end of the workspace's release notes" });
|
|
662
|
+
var F = e2__namespace.object({ banner: e2__namespace.union([U, e2__namespace.string().check(e2__namespace.trim(), e2__namespace.url())]), header: D, footer: B });
|
|
663
|
+
o2.add(F, { description: "The workspace's release config used during the release process" });
|
|
663
664
|
var N = e2__namespace.optional(e2__namespace.string().check(e2__namespace.trim()));
|
|
664
|
-
o2.add(N, { description: "A
|
|
665
|
+
o2.add(N, { description: "A Twitter/X account associated with the organization/project" });
|
|
665
666
|
var E2 = e2__namespace.optional(e2__namespace.string().check(e2__namespace.trim()));
|
|
666
|
-
o2.add(E2, { description: "A
|
|
667
|
+
o2.add(E2, { description: "A Discord account associated with the organization/project" });
|
|
667
668
|
var M = e2__namespace.optional(e2__namespace.string().check(e2__namespace.trim()));
|
|
668
|
-
o2.add(M, { description: "A
|
|
669
|
+
o2.add(M, { description: "A Telegram account associated with the organization/project" });
|
|
669
670
|
var O = e2__namespace.optional(e2__namespace.string().check(e2__namespace.trim()));
|
|
670
|
-
o2.add(O, { description: "A
|
|
671
|
+
o2.add(O, { description: "A Slack account associated with the organization/project" });
|
|
671
672
|
var I = e2__namespace.optional(e2__namespace.string().check(e2__namespace.trim()));
|
|
672
|
-
o2.add(I, { description: "A
|
|
673
|
-
var G = e2__namespace.
|
|
674
|
-
o2.add(G, { description: "
|
|
675
|
-
var H = e2__namespace.
|
|
676
|
-
o2.add(H, { description: "The
|
|
673
|
+
o2.add(I, { description: "A Medium account associated with the organization/project" });
|
|
674
|
+
var G = e2__namespace.optional(e2__namespace.string().check(e2__namespace.trim()));
|
|
675
|
+
o2.add(G, { description: "A GitHub account associated with the organization/project" });
|
|
676
|
+
var H = e2__namespace.object({ twitter: N, discord: E2, telegram: M, slack: O, medium: I, github: G });
|
|
677
|
+
o2.add(H, { description: "The workspace's account config used to store various social media links" });
|
|
677
678
|
var J = e2__namespace.optional(e2__namespace.string().check(e2__namespace.trim()));
|
|
678
|
-
o2.add(J, { description: "The directory used to store the environment's data
|
|
679
|
+
o2.add(J, { description: "The directory used to store the environment's cached file data" });
|
|
679
680
|
var W = e2__namespace.optional(e2__namespace.string().check(e2__namespace.trim()));
|
|
680
|
-
o2.add(W, { description: "The directory used to store the environment's
|
|
681
|
+
o2.add(W, { description: "The directory used to store the environment's data files" });
|
|
681
682
|
var P = e2__namespace.optional(e2__namespace.string().check(e2__namespace.trim()));
|
|
682
|
-
o2.add(P, { description: "The directory used to store the environment's
|
|
683
|
+
o2.add(P, { description: "The directory used to store the environment's configuration files" });
|
|
683
684
|
var $ = e2__namespace.optional(e2__namespace.string().check(e2__namespace.trim()));
|
|
684
|
-
o2.add($, { description: "The directory used to store the environment's
|
|
685
|
-
var V = e2__namespace.
|
|
686
|
-
o2.add(V, { description: "The directory used to store the
|
|
687
|
-
var X = e2__namespace.
|
|
688
|
-
o2.add(X, { description: "
|
|
689
|
-
var Y = e2__namespace.
|
|
690
|
-
o2.add(Y, { description: "
|
|
691
|
-
var q = e2__namespace._default(e2__namespace.
|
|
692
|
-
o2.add(q, { description: "The
|
|
693
|
-
var K = e2__namespace.
|
|
694
|
-
o2.add(K, { description: "
|
|
695
|
-
var Q = e2__namespace.
|
|
696
|
-
o2.add(Q, { description: "
|
|
697
|
-
var Z = e2__namespace.
|
|
698
|
-
o2.add(Z, { description: "The
|
|
699
|
-
var ee = e2__namespace.optional(e2__namespace.string().check(e2__namespace.trim()));
|
|
700
|
-
o2.add(ee, { description: "
|
|
701
|
-
var oe = e2__namespace.optional(e2__namespace.
|
|
702
|
-
o2.add(oe, { description: "A
|
|
685
|
+
o2.add($, { description: "The directory used to store the environment's temp files" });
|
|
686
|
+
var V = e2__namespace.optional(e2__namespace.string().check(e2__namespace.trim()));
|
|
687
|
+
o2.add(V, { description: "The directory used to store the environment's log files" });
|
|
688
|
+
var X = e2__namespace._default(e2__namespace.string().check(e2__namespace.trim()), "dist");
|
|
689
|
+
o2.add(X, { description: "The directory used to store the workspace's distributable files after a build (relative to the workspace root)" });
|
|
690
|
+
var Y = e2__namespace.object({ cache: J, data: W, config: P, temp: $, log: V, build: X });
|
|
691
|
+
o2.add(Y, { description: "Various directories used by the workspace to store data, cache, and configuration files" });
|
|
692
|
+
var q = e2__namespace._default(e2__namespace.enum(["minimal", "monorepo"]), "monorepo");
|
|
693
|
+
o2.add(q, { description: "The variant of the workspace. This can be used to enable or disable certain features or configurations." });
|
|
694
|
+
var K = e2__namespace._default(e2__namespace.string().check(e2__namespace.trim()), S);
|
|
695
|
+
o2.add(K, { description: "The path to the workspace's error codes JSON file" });
|
|
696
|
+
var Q = e2__namespace.optional(e2__namespace.url());
|
|
697
|
+
o2.add(Q, { description: "A URL to a page that looks up the workspace's error messages given a specific error code" });
|
|
698
|
+
var Z = e2__namespace.object({ codesFile: K, url: Q });
|
|
699
|
+
o2.add(Z, { description: "The workspace's error config used when creating error details during a system error" });
|
|
700
|
+
var ee = e2__namespace.optional(e2__namespace.string().check(e2__namespace.trim(), e2__namespace.toLowerCase()));
|
|
701
|
+
o2.add(ee, { description: "The name of the organization" });
|
|
702
|
+
var oe = e2__namespace.optional(e2__namespace.string().check(e2__namespace.trim()));
|
|
703
|
+
o2.add(oe, { description: "A description of the organization" });
|
|
703
704
|
var te = e2__namespace.optional(e2__namespace.url());
|
|
704
|
-
o2.add(te, { description: "A URL to the organization's
|
|
705
|
+
o2.add(te, { description: "A URL to the organization's logo image" });
|
|
705
706
|
var re = e2__namespace.optional(e2__namespace.url());
|
|
706
|
-
o2.add(re, { description: "A URL to
|
|
707
|
-
var ae = e2__namespace.
|
|
708
|
-
o2.add(ae, { description: "
|
|
709
|
-
var ie = e2__namespace.
|
|
710
|
-
o2.add(ie, { description: "The
|
|
711
|
-
var ce = e2__namespace.string().check(e2__namespace.trim(), e2__namespace.toLowerCase());
|
|
712
|
-
o2.add(ce, { description: "The
|
|
707
|
+
o2.add(re, { description: "A URL to the organization's icon image" });
|
|
708
|
+
var ae = e2__namespace.optional(e2__namespace.url());
|
|
709
|
+
o2.add(ae, { description: "A URL to a page that provides more information about the organization" });
|
|
710
|
+
var ie = e2__namespace.object({ name: ee, description: oe, logo: te, icon: re, url: ae });
|
|
711
|
+
o2.add(ie, { description: "The workspace's organization details" });
|
|
712
|
+
var ce = e2__namespace._default(e2__namespace.string().check(e2__namespace.trim(), e2__namespace.toLowerCase()), "https://public.storm-cdn.com/schemas/storm-workspace.schema.json");
|
|
713
|
+
o2.add(ce, { description: "The URL or file path to the JSON schema file that describes the Storm configuration file" });
|
|
713
714
|
var se = e2__namespace.string().check(e2__namespace.trim(), e2__namespace.toLowerCase());
|
|
714
|
-
o2.add(se, { description: "The
|
|
715
|
-
var ne = e2__namespace.
|
|
716
|
-
o2.add(ne, { description: "The
|
|
717
|
-
var de = e2__namespace.string().check(e2__namespace.trim(), e2__namespace.toLowerCase());
|
|
718
|
-
o2.add(de, { description: "The
|
|
719
|
-
var pe = e2__namespace.
|
|
720
|
-
o2.add(pe, { description: "The
|
|
721
|
-
var he = e2__namespace.
|
|
722
|
-
o2.add(he, { description: "The
|
|
715
|
+
o2.add(se, { description: "The name of the workspace/project/service/package/scope using this configuration" });
|
|
716
|
+
var ne = e2__namespace.string().check(e2__namespace.trim(), e2__namespace.toLowerCase());
|
|
717
|
+
o2.add(ne, { description: "The namespace of the workspace/project/service/package/scope using this configuration" });
|
|
718
|
+
var de = e2__namespace.union([ie, e2__namespace.string().check(e2__namespace.trim(), e2__namespace.toLowerCase())]);
|
|
719
|
+
o2.add(de, { description: "The organization of the workspace. This can be a string or an object containing the organization's details" });
|
|
720
|
+
var pe = e2__namespace.string().check(e2__namespace.trim(), e2__namespace.toLowerCase());
|
|
721
|
+
o2.add(pe, { description: "The repo URL of the workspace (i.e. the GitHub repository URL)" });
|
|
722
|
+
var he = e2__namespace._default(e2__namespace.string().check(e2__namespace.trim()), "Apache-2.0");
|
|
723
|
+
o2.add(he, { description: "The license type of the package" });
|
|
723
724
|
var le = e2__namespace.optional(e2__namespace.url());
|
|
724
|
-
o2.add(le, { description: "The
|
|
725
|
+
o2.add(le, { description: "The homepage of the workspace" });
|
|
725
726
|
var me = e2__namespace.optional(e2__namespace.url());
|
|
726
|
-
o2.add(me, { description: "The
|
|
727
|
+
o2.add(me, { description: "The documentation site for the workspace" });
|
|
727
728
|
var ze = e2__namespace.optional(e2__namespace.url());
|
|
728
|
-
o2.add(ze, { description: "The
|
|
729
|
+
o2.add(ze, { description: "The development portal site for the workspace" });
|
|
729
730
|
var ge = e2__namespace.optional(e2__namespace.url());
|
|
730
|
-
o2.add(ge, { description: "The
|
|
731
|
+
o2.add(ge, { description: "The licensing site for the workspace" });
|
|
731
732
|
var ue = e2__namespace.optional(e2__namespace.url());
|
|
732
|
-
o2.add(ue, { description: "The
|
|
733
|
-
var fe = e2__namespace.
|
|
734
|
-
o2.add(fe, { description: "The
|
|
735
|
-
var ke = e2__namespace.
|
|
736
|
-
o2.add(ke, { description: "
|
|
733
|
+
o2.add(ue, { description: "The contact site for the workspace" });
|
|
734
|
+
var fe = e2__namespace.optional(e2__namespace.url());
|
|
735
|
+
o2.add(fe, { description: "The support site for the workspace. If not provided, this is defaulted to the `contact` config value" });
|
|
736
|
+
var ke = e2__namespace._default(e2__namespace.string().check(e2__namespace.trim(), e2__namespace.toLowerCase()), "main");
|
|
737
|
+
o2.add(ke, { description: "The branch of the workspace" });
|
|
737
738
|
var we = e2__namespace.optional(e2__namespace.string().check(e2__namespace.trim(), e2__namespace.toLowerCase()));
|
|
738
|
-
o2.add(we, { description: "
|
|
739
|
-
var Se = e2__namespace.
|
|
740
|
-
o2.add(Se, { description: "The
|
|
739
|
+
o2.add(we, { description: "A tag specifying the version pre-release identifier" });
|
|
740
|
+
var Se = e2__namespace.optional(e2__namespace.string().check(e2__namespace.trim(), e2__namespace.toLowerCase()));
|
|
741
|
+
o2.add(Se, { description: "The owner of the package" });
|
|
742
|
+
var be = e2__namespace._default(e2__namespace.enum(["development", "test", "production"]).check(e2__namespace.trim(), e2__namespace.toLowerCase()), "production");
|
|
743
|
+
o2.add(be, { description: "The current runtime environment mode for the package" });
|
|
741
744
|
var xe = e2__namespace.string().check(e2__namespace.trim(), e2__namespace.toLowerCase());
|
|
742
745
|
o2.add(xe, { description: "The root directory of the workspace" });
|
|
743
|
-
var
|
|
744
|
-
o2.add(
|
|
745
|
-
var
|
|
746
|
-
o2.add(
|
|
747
|
-
var
|
|
748
|
-
o2.add(
|
|
749
|
-
var
|
|
750
|
-
o2.add(
|
|
751
|
-
var
|
|
752
|
-
o2.add(
|
|
753
|
-
var
|
|
754
|
-
o2.add(
|
|
755
|
-
var
|
|
756
|
-
o2.add(
|
|
757
|
-
var
|
|
758
|
-
o2.add(
|
|
759
|
-
var
|
|
760
|
-
o2.add(
|
|
746
|
+
var Te = e2__namespace._default(e2__namespace.boolean(), false);
|
|
747
|
+
o2.add(Te, { description: "Should all known types of workspace caching be skipped?" });
|
|
748
|
+
var ve = e2__namespace._default(e2__namespace.enum(["npm", "yarn", "pnpm", "bun"]), "npm");
|
|
749
|
+
o2.add(ve, { description: "The JavaScript/TypeScript package manager used by the repository" });
|
|
750
|
+
var ye = e2__namespace._default(e2__namespace.string().check(e2__namespace.trim()), "America/New_York");
|
|
751
|
+
o2.add(ye, { description: "The default timezone of the workspace" });
|
|
752
|
+
var Ce = e2__namespace._default(e2__namespace.string().check(e2__namespace.trim()), "en-US");
|
|
753
|
+
o2.add(Ce, { description: "The default locale of the workspace" });
|
|
754
|
+
var _e = e2__namespace._default(e2__namespace.enum(["silent", "fatal", "error", "warn", "success", "info", "debug", "trace", "all"]), "info");
|
|
755
|
+
o2.add(_e, { description: "The log level used to filter out lower priority log messages. If not provided, this is defaulted using the `environment` config value (if `environment` is set to `production` then `level` is `error`, else `level` is `debug`)." });
|
|
756
|
+
var Le = e2__namespace._default(e2__namespace.boolean(), true);
|
|
757
|
+
o2.add(Le, { description: "Should the logging of the current Storm Workspace configuration be skipped?" });
|
|
758
|
+
var je = e2__namespace._default(e2__namespace.nullable(e2__namespace.string().check(e2__namespace.trim())), null);
|
|
759
|
+
o2.add(je, { description: "The filepath of the Storm config. When this field is null, no config file was found in the current workspace." });
|
|
760
|
+
var b = e2__namespace._default(e2__namespace.record(e2__namespace.string(), e2__namespace.any()), {});
|
|
761
|
+
o2.add(b, { description: "Configuration of each used extension" });
|
|
762
|
+
var Fe = e2__namespace.object({ $schema: ce, extends: C, name: se, variant: q, namespace: ne, organization: de, repository: pe, license: he, homepage: le, docs: me, portal: ze, licensing: ge, contact: ue, support: fe, branch: ke, preid: we, owner: Se, bot: j, release: F, socials: H, error: Z, mode: be, workspaceRoot: xe, skipCache: Te, directories: Y, packageManager: ve, timezone: ye, locale: Ce, logLevel: _e, skipConfigLogging: Le, registry: v, configFile: je, colors: e2__namespace.union([S2, y]), extensions: b });
|
|
763
|
+
o2.add(b, { description: "Storm Workspace config values used during various dev-ops processes. This type is a combination of the StormPackageConfig and StormProject types. It represents the config of the entire monorepo." });
|
|
761
764
|
|
|
762
765
|
// ../config/dist/chunk-WIOU3CJS.js
|
|
763
766
|
var e3 = ["dark", "light", "base", "brand", "alternate", "accent", "link", "success", "help", "info", "warning", "danger", "fatal", "positive", "negative"];
|
|
@@ -844,7 +847,7 @@ function applyDefaultConfig(config) {
|
|
|
844
847
|
return config;
|
|
845
848
|
}
|
|
846
849
|
|
|
847
|
-
// ../config-tools/dist/chunk-
|
|
850
|
+
// ../config-tools/dist/chunk-4XFFB6C2.js
|
|
848
851
|
var setExtensionEnv = (extensionName, extension) => {
|
|
849
852
|
for (const key of Object.keys(extension ?? {})) {
|
|
850
853
|
if (extension[key]) {
|
|
@@ -1136,6 +1139,9 @@ var setSingleThemeColorsEnv = (prefix, config) => {
|
|
|
1136
1139
|
if (config.info) {
|
|
1137
1140
|
process.env[`${prefix}INFO`] = config.info;
|
|
1138
1141
|
}
|
|
1142
|
+
if (config.debug) {
|
|
1143
|
+
process.env[`${prefix}DEBUG`] = config.debug;
|
|
1144
|
+
}
|
|
1139
1145
|
if (config.warning) {
|
|
1140
1146
|
process.env[`${prefix}WARNING`] = config.warning;
|
|
1141
1147
|
}
|
|
@@ -1191,6 +1197,9 @@ var setBaseThemeColorsEnv = (prefix, config) => {
|
|
|
1191
1197
|
if (config.info) {
|
|
1192
1198
|
process.env[`${prefix}INFO`] = config.info;
|
|
1193
1199
|
}
|
|
1200
|
+
if (config.debug) {
|
|
1201
|
+
process.env[`${prefix}DEBUG`] = config.debug;
|
|
1202
|
+
}
|
|
1194
1203
|
if (config.warning) {
|
|
1195
1204
|
process.env[`${prefix}WARNING`] = config.warning;
|
|
1196
1205
|
}
|
|
@@ -1364,6 +1373,7 @@ var getSingleThemeColorsEnv = (prefix) => {
|
|
|
1364
1373
|
help: process.env[`${prefix}HELP`],
|
|
1365
1374
|
success: process.env[`${prefix}SUCCESS`],
|
|
1366
1375
|
info: process.env[`${prefix}INFO`],
|
|
1376
|
+
debug: process.env[`${prefix}DEBUG`],
|
|
1367
1377
|
warning: process.env[`${prefix}WARNING`],
|
|
1368
1378
|
danger: process.env[`${prefix}DANGER`],
|
|
1369
1379
|
fatal: process.env[`${prefix}FATAL`],
|
|
@@ -1402,6 +1412,7 @@ var getBaseThemeColorsEnv = (prefix) => {
|
|
|
1402
1412
|
help: process.env[`${prefix}HELP`],
|
|
1403
1413
|
success: process.env[`${prefix}SUCCESS`],
|
|
1404
1414
|
info: process.env[`${prefix}INFO`],
|
|
1415
|
+
debug: process.env[`${prefix}DEBUG`],
|
|
1405
1416
|
warning: process.env[`${prefix}WARNING`],
|
|
1406
1417
|
danger: process.env[`${prefix}DANGER`],
|
|
1407
1418
|
fatal: process.env[`${prefix}FATAL`],
|
|
@@ -1442,7 +1453,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
1442
1453
|
}
|
|
1443
1454
|
try {
|
|
1444
1455
|
result = applyDefaultConfig(
|
|
1445
|
-
await
|
|
1456
|
+
await Fe.parseAsync(configInput)
|
|
1446
1457
|
);
|
|
1447
1458
|
result.workspaceRoot ??= _workspaceRoot;
|
|
1448
1459
|
} catch (error) {
|
|
@@ -1485,7 +1496,7 @@ ${formatLogMessage(config)}`,
|
|
|
1485
1496
|
return config;
|
|
1486
1497
|
};
|
|
1487
1498
|
|
|
1488
|
-
// ../config-tools/dist/chunk-
|
|
1499
|
+
// ../config-tools/dist/chunk-BQLCBDR6.js
|
|
1489
1500
|
function getConfig(workspaceRoot, skipLogs = false) {
|
|
1490
1501
|
return loadStormWorkspaceConfig(workspaceRoot, skipLogs);
|
|
1491
1502
|
}
|
package/dist/index.js
CHANGED
|
@@ -236,12 +236,13 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
|
|
|
236
236
|
return result;
|
|
237
237
|
}
|
|
238
238
|
|
|
239
|
-
// ../config-tools/dist/chunk-
|
|
239
|
+
// ../config-tools/dist/chunk-DJB7XLHA.js
|
|
240
240
|
var DEFAULT_COLOR_CONFIG = {
|
|
241
241
|
dark: {
|
|
242
242
|
brand: "#2dd4bf",
|
|
243
243
|
success: "#10b981",
|
|
244
244
|
info: "#58a6ff",
|
|
245
|
+
debug: "#8afafc",
|
|
245
246
|
warning: "#f3d371",
|
|
246
247
|
danger: "#D8314A",
|
|
247
248
|
fatal: "#a40e26"}
|
|
@@ -436,7 +437,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONF
|
|
|
436
437
|
return (message) => {
|
|
437
438
|
console.debug(
|
|
438
439
|
`
|
|
439
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.
|
|
440
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug)(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
440
441
|
`
|
|
441
442
|
);
|
|
442
443
|
};
|
|
@@ -445,7 +446,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONF
|
|
|
445
446
|
return (message) => {
|
|
446
447
|
console.debug(
|
|
447
448
|
`
|
|
448
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
449
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
449
450
|
`
|
|
450
451
|
);
|
|
451
452
|
};
|
|
@@ -587,150 +588,152 @@ var h = e2._default(t2, "#45b27e");
|
|
|
587
588
|
o2.add(h, { description: "The success color of the workspace" });
|
|
588
589
|
var l = e2._default(t2, "#38bdf8");
|
|
589
590
|
o2.add(l, { description: "The informational color of the workspace" });
|
|
590
|
-
var m = e2._default(t2, "#
|
|
591
|
-
o2.add(m, { description: "The
|
|
592
|
-
var z = e2._default(t2, "#
|
|
593
|
-
o2.add(z, { description: "The
|
|
594
|
-
var g = e2.
|
|
595
|
-
o2.add(g, { description: "The
|
|
596
|
-
var u = e2.
|
|
597
|
-
o2.add(u, { description: "The
|
|
598
|
-
var f = e2._default(t2, "#
|
|
599
|
-
o2.add(f, { description: "The
|
|
600
|
-
var k = e2.
|
|
601
|
-
o2.add(k, { description: "The
|
|
602
|
-
var
|
|
603
|
-
|
|
604
|
-
var
|
|
605
|
-
var
|
|
591
|
+
var m = e2._default(t2, "#8afafc");
|
|
592
|
+
o2.add(m, { description: "The debug color of the workspace" });
|
|
593
|
+
var z = e2._default(t2, "#f3d371");
|
|
594
|
+
o2.add(z, { description: "The warning color of the workspace" });
|
|
595
|
+
var g = e2._default(t2, "#d8314a");
|
|
596
|
+
o2.add(g, { description: "The danger color of the workspace" });
|
|
597
|
+
var u = e2.optional(t2);
|
|
598
|
+
o2.add(u, { description: "The fatal color of the workspace" });
|
|
599
|
+
var f = e2._default(t2, "#4ade80");
|
|
600
|
+
o2.add(f, { description: "The positive number color of the workspace" });
|
|
601
|
+
var k = e2._default(t2, "#ef4444");
|
|
602
|
+
o2.add(k, { description: "The negative number color of the workspace" });
|
|
603
|
+
var w = e2.optional(e2.array(t2));
|
|
604
|
+
o2.add(w, { description: "The color stops for the base gradient color pattern used in the workspace" });
|
|
605
|
+
var Ae = e2.object({ foreground: i2, background: a2, brand: c, alternate: s2, accent: n, link: d, help: p, success: h, info: l, debug: m, warning: z, danger: g, fatal: u, positive: f, negative: k, gradient: w });
|
|
606
|
+
var Re = e2.object({ foreground: a2, background: i2, brand: c, alternate: s2, accent: n, link: d, help: p, success: h, info: l, debug: m, warning: z, danger: g, fatal: u, positive: f, negative: k, gradient: w });
|
|
607
|
+
var Ue = e2.object({ dark: Ae, light: Re });
|
|
608
|
+
var De = e2.object({ dark: a2, light: i2, brand: c, alternate: s2, accent: n, link: d, help: p, success: h, info: l, debug: m, warning: z, danger: g, fatal: u, positive: f, negative: k, gradient: w });
|
|
606
609
|
var r2 = e2.optional(e2.url());
|
|
607
610
|
o2.add(r2, { description: "A remote registry URL used to publish distributable packages" });
|
|
608
|
-
var
|
|
609
|
-
o2.add(
|
|
610
|
-
var
|
|
611
|
-
o2.add(
|
|
612
|
-
var
|
|
613
|
-
o2.add(
|
|
614
|
-
var
|
|
615
|
-
o2.add(
|
|
616
|
-
var C = e2.string().check(e2.trim());
|
|
617
|
-
o2.add(C, { description: "The workspace bot user's name (this is the bot that will be used to perform various tasks)" });
|
|
611
|
+
var v = e2._default(e2.object({ github: r2, npm: r2, cargo: r2, cyclone: r2, container: r2 }), {});
|
|
612
|
+
o2.add(v, { description: "A list of remote registry URLs used by Storm Software" });
|
|
613
|
+
var S2 = e2.union([De, Ue]);
|
|
614
|
+
o2.add(S2, { description: "Colors used for various workspace elements" });
|
|
615
|
+
var y = e2.record(e2.union([e2.union([e2.literal("base"), e2.string()]), e2.string()]), S2);
|
|
616
|
+
o2.add(y, { description: "Storm theme config values used for styling various package elements" });
|
|
617
|
+
var C = e2.optional(e2.union([e2.string().check(e2.trim()), e2.array(e2.string().check(e2.trim()))]));
|
|
618
|
+
o2.add(C, { description: "The path to a base config file to use as a configuration preset file. Documentation can be found at https://github.com/unjs/c12#extending-configuration." });
|
|
618
619
|
var _ = e2.string().check(e2.trim());
|
|
619
|
-
o2.add(_, { description: "The
|
|
620
|
-
var L = e2.
|
|
621
|
-
o2.add(L, { description: "The
|
|
622
|
-
var j = e2.
|
|
623
|
-
o2.add(j, { description: "
|
|
624
|
-
var A2 = e2.
|
|
625
|
-
o2.add(A2, { description: "
|
|
626
|
-
var R = e2.
|
|
627
|
-
o2.add(R, { description: "The workspace's banner image
|
|
628
|
-
var U = e2.
|
|
629
|
-
o2.add(U, { description: "
|
|
620
|
+
o2.add(_, { description: "The workspace bot user's name (this is the bot that will be used to perform various tasks)" });
|
|
621
|
+
var L = e2.string().check(e2.trim());
|
|
622
|
+
o2.add(L, { description: "The email of the workspace bot" });
|
|
623
|
+
var j = e2.object({ name: _, email: L });
|
|
624
|
+
o2.add(j, { description: "The workspace's bot user's config used to automated various operations tasks" });
|
|
625
|
+
var A2 = e2.optional(e2.string().check(e2.trim(), e2.url()));
|
|
626
|
+
o2.add(A2, { description: "A URL to a banner image used to display the workspace's release" });
|
|
627
|
+
var R = e2._default(e2.string().check(e2.trim()), A);
|
|
628
|
+
o2.add(R, { description: "The alt text for the workspace's release banner image" });
|
|
629
|
+
var U = e2.object({ url: A2, alt: R });
|
|
630
|
+
o2.add(U, { description: "The workspace's banner image used during the release process" });
|
|
630
631
|
var D = e2.optional(e2.string().check(e2.trim()));
|
|
631
|
-
o2.add(D, { description: "A
|
|
632
|
-
var B = e2.
|
|
633
|
-
o2.add(B, { description: "
|
|
634
|
-
var F = e2.
|
|
635
|
-
o2.add(F, { description: "
|
|
632
|
+
o2.add(D, { description: "A header message appended to the start of the workspace's release notes" });
|
|
633
|
+
var B = e2.optional(e2.string().check(e2.trim()));
|
|
634
|
+
o2.add(B, { description: "A footer message appended to the end of the workspace's release notes" });
|
|
635
|
+
var F = e2.object({ banner: e2.union([U, e2.string().check(e2.trim(), e2.url())]), header: D, footer: B });
|
|
636
|
+
o2.add(F, { description: "The workspace's release config used during the release process" });
|
|
636
637
|
var N = e2.optional(e2.string().check(e2.trim()));
|
|
637
|
-
o2.add(N, { description: "A
|
|
638
|
+
o2.add(N, { description: "A Twitter/X account associated with the organization/project" });
|
|
638
639
|
var E2 = e2.optional(e2.string().check(e2.trim()));
|
|
639
|
-
o2.add(E2, { description: "A
|
|
640
|
+
o2.add(E2, { description: "A Discord account associated with the organization/project" });
|
|
640
641
|
var M = e2.optional(e2.string().check(e2.trim()));
|
|
641
|
-
o2.add(M, { description: "A
|
|
642
|
+
o2.add(M, { description: "A Telegram account associated with the organization/project" });
|
|
642
643
|
var O = e2.optional(e2.string().check(e2.trim()));
|
|
643
|
-
o2.add(O, { description: "A
|
|
644
|
+
o2.add(O, { description: "A Slack account associated with the organization/project" });
|
|
644
645
|
var I = e2.optional(e2.string().check(e2.trim()));
|
|
645
|
-
o2.add(I, { description: "A
|
|
646
|
-
var G = e2.
|
|
647
|
-
o2.add(G, { description: "
|
|
648
|
-
var H = e2.
|
|
649
|
-
o2.add(H, { description: "The
|
|
646
|
+
o2.add(I, { description: "A Medium account associated with the organization/project" });
|
|
647
|
+
var G = e2.optional(e2.string().check(e2.trim()));
|
|
648
|
+
o2.add(G, { description: "A GitHub account associated with the organization/project" });
|
|
649
|
+
var H = e2.object({ twitter: N, discord: E2, telegram: M, slack: O, medium: I, github: G });
|
|
650
|
+
o2.add(H, { description: "The workspace's account config used to store various social media links" });
|
|
650
651
|
var J = e2.optional(e2.string().check(e2.trim()));
|
|
651
|
-
o2.add(J, { description: "The directory used to store the environment's data
|
|
652
|
+
o2.add(J, { description: "The directory used to store the environment's cached file data" });
|
|
652
653
|
var W = e2.optional(e2.string().check(e2.trim()));
|
|
653
|
-
o2.add(W, { description: "The directory used to store the environment's
|
|
654
|
+
o2.add(W, { description: "The directory used to store the environment's data files" });
|
|
654
655
|
var P = e2.optional(e2.string().check(e2.trim()));
|
|
655
|
-
o2.add(P, { description: "The directory used to store the environment's
|
|
656
|
+
o2.add(P, { description: "The directory used to store the environment's configuration files" });
|
|
656
657
|
var $ = e2.optional(e2.string().check(e2.trim()));
|
|
657
|
-
o2.add($, { description: "The directory used to store the environment's
|
|
658
|
-
var V = e2.
|
|
659
|
-
o2.add(V, { description: "The directory used to store the
|
|
660
|
-
var X = e2.
|
|
661
|
-
o2.add(X, { description: "
|
|
662
|
-
var Y = e2.
|
|
663
|
-
o2.add(Y, { description: "
|
|
664
|
-
var q = e2._default(e2.
|
|
665
|
-
o2.add(q, { description: "The
|
|
666
|
-
var K = e2.
|
|
667
|
-
o2.add(K, { description: "
|
|
668
|
-
var Q = e2.
|
|
669
|
-
o2.add(Q, { description: "
|
|
670
|
-
var Z = e2.
|
|
671
|
-
o2.add(Z, { description: "The
|
|
672
|
-
var ee = e2.optional(e2.string().check(e2.trim()));
|
|
673
|
-
o2.add(ee, { description: "
|
|
674
|
-
var oe = e2.optional(e2.
|
|
675
|
-
o2.add(oe, { description: "A
|
|
658
|
+
o2.add($, { description: "The directory used to store the environment's temp files" });
|
|
659
|
+
var V = e2.optional(e2.string().check(e2.trim()));
|
|
660
|
+
o2.add(V, { description: "The directory used to store the environment's log files" });
|
|
661
|
+
var X = e2._default(e2.string().check(e2.trim()), "dist");
|
|
662
|
+
o2.add(X, { description: "The directory used to store the workspace's distributable files after a build (relative to the workspace root)" });
|
|
663
|
+
var Y = e2.object({ cache: J, data: W, config: P, temp: $, log: V, build: X });
|
|
664
|
+
o2.add(Y, { description: "Various directories used by the workspace to store data, cache, and configuration files" });
|
|
665
|
+
var q = e2._default(e2.enum(["minimal", "monorepo"]), "monorepo");
|
|
666
|
+
o2.add(q, { description: "The variant of the workspace. This can be used to enable or disable certain features or configurations." });
|
|
667
|
+
var K = e2._default(e2.string().check(e2.trim()), S);
|
|
668
|
+
o2.add(K, { description: "The path to the workspace's error codes JSON file" });
|
|
669
|
+
var Q = e2.optional(e2.url());
|
|
670
|
+
o2.add(Q, { description: "A URL to a page that looks up the workspace's error messages given a specific error code" });
|
|
671
|
+
var Z = e2.object({ codesFile: K, url: Q });
|
|
672
|
+
o2.add(Z, { description: "The workspace's error config used when creating error details during a system error" });
|
|
673
|
+
var ee = e2.optional(e2.string().check(e2.trim(), e2.toLowerCase()));
|
|
674
|
+
o2.add(ee, { description: "The name of the organization" });
|
|
675
|
+
var oe = e2.optional(e2.string().check(e2.trim()));
|
|
676
|
+
o2.add(oe, { description: "A description of the organization" });
|
|
676
677
|
var te = e2.optional(e2.url());
|
|
677
|
-
o2.add(te, { description: "A URL to the organization's
|
|
678
|
+
o2.add(te, { description: "A URL to the organization's logo image" });
|
|
678
679
|
var re = e2.optional(e2.url());
|
|
679
|
-
o2.add(re, { description: "A URL to
|
|
680
|
-
var ae = e2.
|
|
681
|
-
o2.add(ae, { description: "
|
|
682
|
-
var ie = e2.
|
|
683
|
-
o2.add(ie, { description: "The
|
|
684
|
-
var ce = e2.string().check(e2.trim(), e2.toLowerCase());
|
|
685
|
-
o2.add(ce, { description: "The
|
|
680
|
+
o2.add(re, { description: "A URL to the organization's icon image" });
|
|
681
|
+
var ae = e2.optional(e2.url());
|
|
682
|
+
o2.add(ae, { description: "A URL to a page that provides more information about the organization" });
|
|
683
|
+
var ie = e2.object({ name: ee, description: oe, logo: te, icon: re, url: ae });
|
|
684
|
+
o2.add(ie, { description: "The workspace's organization details" });
|
|
685
|
+
var ce = e2._default(e2.string().check(e2.trim(), e2.toLowerCase()), "https://public.storm-cdn.com/schemas/storm-workspace.schema.json");
|
|
686
|
+
o2.add(ce, { description: "The URL or file path to the JSON schema file that describes the Storm configuration file" });
|
|
686
687
|
var se = e2.string().check(e2.trim(), e2.toLowerCase());
|
|
687
|
-
o2.add(se, { description: "The
|
|
688
|
-
var ne = e2.
|
|
689
|
-
o2.add(ne, { description: "The
|
|
690
|
-
var de = e2.string().check(e2.trim(), e2.toLowerCase());
|
|
691
|
-
o2.add(de, { description: "The
|
|
692
|
-
var pe = e2.
|
|
693
|
-
o2.add(pe, { description: "The
|
|
694
|
-
var he = e2.
|
|
695
|
-
o2.add(he, { description: "The
|
|
688
|
+
o2.add(se, { description: "The name of the workspace/project/service/package/scope using this configuration" });
|
|
689
|
+
var ne = e2.string().check(e2.trim(), e2.toLowerCase());
|
|
690
|
+
o2.add(ne, { description: "The namespace of the workspace/project/service/package/scope using this configuration" });
|
|
691
|
+
var de = e2.union([ie, e2.string().check(e2.trim(), e2.toLowerCase())]);
|
|
692
|
+
o2.add(de, { description: "The organization of the workspace. This can be a string or an object containing the organization's details" });
|
|
693
|
+
var pe = e2.string().check(e2.trim(), e2.toLowerCase());
|
|
694
|
+
o2.add(pe, { description: "The repo URL of the workspace (i.e. the GitHub repository URL)" });
|
|
695
|
+
var he = e2._default(e2.string().check(e2.trim()), "Apache-2.0");
|
|
696
|
+
o2.add(he, { description: "The license type of the package" });
|
|
696
697
|
var le = e2.optional(e2.url());
|
|
697
|
-
o2.add(le, { description: "The
|
|
698
|
+
o2.add(le, { description: "The homepage of the workspace" });
|
|
698
699
|
var me = e2.optional(e2.url());
|
|
699
|
-
o2.add(me, { description: "The
|
|
700
|
+
o2.add(me, { description: "The documentation site for the workspace" });
|
|
700
701
|
var ze = e2.optional(e2.url());
|
|
701
|
-
o2.add(ze, { description: "The
|
|
702
|
+
o2.add(ze, { description: "The development portal site for the workspace" });
|
|
702
703
|
var ge = e2.optional(e2.url());
|
|
703
|
-
o2.add(ge, { description: "The
|
|
704
|
+
o2.add(ge, { description: "The licensing site for the workspace" });
|
|
704
705
|
var ue = e2.optional(e2.url());
|
|
705
|
-
o2.add(ue, { description: "The
|
|
706
|
-
var fe = e2.
|
|
707
|
-
o2.add(fe, { description: "The
|
|
708
|
-
var ke = e2.
|
|
709
|
-
o2.add(ke, { description: "
|
|
706
|
+
o2.add(ue, { description: "The contact site for the workspace" });
|
|
707
|
+
var fe = e2.optional(e2.url());
|
|
708
|
+
o2.add(fe, { description: "The support site for the workspace. If not provided, this is defaulted to the `contact` config value" });
|
|
709
|
+
var ke = e2._default(e2.string().check(e2.trim(), e2.toLowerCase()), "main");
|
|
710
|
+
o2.add(ke, { description: "The branch of the workspace" });
|
|
710
711
|
var we = e2.optional(e2.string().check(e2.trim(), e2.toLowerCase()));
|
|
711
|
-
o2.add(we, { description: "
|
|
712
|
-
var Se = e2.
|
|
713
|
-
o2.add(Se, { description: "The
|
|
712
|
+
o2.add(we, { description: "A tag specifying the version pre-release identifier" });
|
|
713
|
+
var Se = e2.optional(e2.string().check(e2.trim(), e2.toLowerCase()));
|
|
714
|
+
o2.add(Se, { description: "The owner of the package" });
|
|
715
|
+
var be = e2._default(e2.enum(["development", "test", "production"]).check(e2.trim(), e2.toLowerCase()), "production");
|
|
716
|
+
o2.add(be, { description: "The current runtime environment mode for the package" });
|
|
714
717
|
var xe = e2.string().check(e2.trim(), e2.toLowerCase());
|
|
715
718
|
o2.add(xe, { description: "The root directory of the workspace" });
|
|
716
|
-
var
|
|
717
|
-
o2.add(
|
|
718
|
-
var
|
|
719
|
-
o2.add(
|
|
720
|
-
var
|
|
721
|
-
o2.add(
|
|
722
|
-
var
|
|
723
|
-
o2.add(
|
|
724
|
-
var
|
|
725
|
-
o2.add(
|
|
726
|
-
var
|
|
727
|
-
o2.add(
|
|
728
|
-
var
|
|
729
|
-
o2.add(
|
|
730
|
-
var
|
|
731
|
-
o2.add(
|
|
732
|
-
var
|
|
733
|
-
o2.add(
|
|
719
|
+
var Te = e2._default(e2.boolean(), false);
|
|
720
|
+
o2.add(Te, { description: "Should all known types of workspace caching be skipped?" });
|
|
721
|
+
var ve = e2._default(e2.enum(["npm", "yarn", "pnpm", "bun"]), "npm");
|
|
722
|
+
o2.add(ve, { description: "The JavaScript/TypeScript package manager used by the repository" });
|
|
723
|
+
var ye = e2._default(e2.string().check(e2.trim()), "America/New_York");
|
|
724
|
+
o2.add(ye, { description: "The default timezone of the workspace" });
|
|
725
|
+
var Ce = e2._default(e2.string().check(e2.trim()), "en-US");
|
|
726
|
+
o2.add(Ce, { description: "The default locale of the workspace" });
|
|
727
|
+
var _e = e2._default(e2.enum(["silent", "fatal", "error", "warn", "success", "info", "debug", "trace", "all"]), "info");
|
|
728
|
+
o2.add(_e, { description: "The log level used to filter out lower priority log messages. If not provided, this is defaulted using the `environment` config value (if `environment` is set to `production` then `level` is `error`, else `level` is `debug`)." });
|
|
729
|
+
var Le = e2._default(e2.boolean(), true);
|
|
730
|
+
o2.add(Le, { description: "Should the logging of the current Storm Workspace configuration be skipped?" });
|
|
731
|
+
var je = e2._default(e2.nullable(e2.string().check(e2.trim())), null);
|
|
732
|
+
o2.add(je, { description: "The filepath of the Storm config. When this field is null, no config file was found in the current workspace." });
|
|
733
|
+
var b = e2._default(e2.record(e2.string(), e2.any()), {});
|
|
734
|
+
o2.add(b, { description: "Configuration of each used extension" });
|
|
735
|
+
var Fe = e2.object({ $schema: ce, extends: C, name: se, variant: q, namespace: ne, organization: de, repository: pe, license: he, homepage: le, docs: me, portal: ze, licensing: ge, contact: ue, support: fe, branch: ke, preid: we, owner: Se, bot: j, release: F, socials: H, error: Z, mode: be, workspaceRoot: xe, skipCache: Te, directories: Y, packageManager: ve, timezone: ye, locale: Ce, logLevel: _e, skipConfigLogging: Le, registry: v, configFile: je, colors: e2.union([S2, y]), extensions: b });
|
|
736
|
+
o2.add(b, { description: "Storm Workspace config values used during various dev-ops processes. This type is a combination of the StormPackageConfig and StormProject types. It represents the config of the entire monorepo." });
|
|
734
737
|
|
|
735
738
|
// ../config/dist/chunk-WIOU3CJS.js
|
|
736
739
|
var e3 = ["dark", "light", "base", "brand", "alternate", "accent", "link", "success", "help", "info", "warning", "danger", "fatal", "positive", "negative"];
|
|
@@ -817,7 +820,7 @@ function applyDefaultConfig(config) {
|
|
|
817
820
|
return config;
|
|
818
821
|
}
|
|
819
822
|
|
|
820
|
-
// ../config-tools/dist/chunk-
|
|
823
|
+
// ../config-tools/dist/chunk-4XFFB6C2.js
|
|
821
824
|
var setExtensionEnv = (extensionName, extension) => {
|
|
822
825
|
for (const key of Object.keys(extension ?? {})) {
|
|
823
826
|
if (extension[key]) {
|
|
@@ -1109,6 +1112,9 @@ var setSingleThemeColorsEnv = (prefix, config) => {
|
|
|
1109
1112
|
if (config.info) {
|
|
1110
1113
|
process.env[`${prefix}INFO`] = config.info;
|
|
1111
1114
|
}
|
|
1115
|
+
if (config.debug) {
|
|
1116
|
+
process.env[`${prefix}DEBUG`] = config.debug;
|
|
1117
|
+
}
|
|
1112
1118
|
if (config.warning) {
|
|
1113
1119
|
process.env[`${prefix}WARNING`] = config.warning;
|
|
1114
1120
|
}
|
|
@@ -1164,6 +1170,9 @@ var setBaseThemeColorsEnv = (prefix, config) => {
|
|
|
1164
1170
|
if (config.info) {
|
|
1165
1171
|
process.env[`${prefix}INFO`] = config.info;
|
|
1166
1172
|
}
|
|
1173
|
+
if (config.debug) {
|
|
1174
|
+
process.env[`${prefix}DEBUG`] = config.debug;
|
|
1175
|
+
}
|
|
1167
1176
|
if (config.warning) {
|
|
1168
1177
|
process.env[`${prefix}WARNING`] = config.warning;
|
|
1169
1178
|
}
|
|
@@ -1337,6 +1346,7 @@ var getSingleThemeColorsEnv = (prefix) => {
|
|
|
1337
1346
|
help: process.env[`${prefix}HELP`],
|
|
1338
1347
|
success: process.env[`${prefix}SUCCESS`],
|
|
1339
1348
|
info: process.env[`${prefix}INFO`],
|
|
1349
|
+
debug: process.env[`${prefix}DEBUG`],
|
|
1340
1350
|
warning: process.env[`${prefix}WARNING`],
|
|
1341
1351
|
danger: process.env[`${prefix}DANGER`],
|
|
1342
1352
|
fatal: process.env[`${prefix}FATAL`],
|
|
@@ -1375,6 +1385,7 @@ var getBaseThemeColorsEnv = (prefix) => {
|
|
|
1375
1385
|
help: process.env[`${prefix}HELP`],
|
|
1376
1386
|
success: process.env[`${prefix}SUCCESS`],
|
|
1377
1387
|
info: process.env[`${prefix}INFO`],
|
|
1388
|
+
debug: process.env[`${prefix}DEBUG`],
|
|
1378
1389
|
warning: process.env[`${prefix}WARNING`],
|
|
1379
1390
|
danger: process.env[`${prefix}DANGER`],
|
|
1380
1391
|
fatal: process.env[`${prefix}FATAL`],
|
|
@@ -1415,7 +1426,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
1415
1426
|
}
|
|
1416
1427
|
try {
|
|
1417
1428
|
result = applyDefaultConfig(
|
|
1418
|
-
await
|
|
1429
|
+
await Fe.parseAsync(configInput)
|
|
1419
1430
|
);
|
|
1420
1431
|
result.workspaceRoot ??= _workspaceRoot;
|
|
1421
1432
|
} catch (error) {
|
|
@@ -1458,7 +1469,7 @@ ${formatLogMessage(config)}`,
|
|
|
1458
1469
|
return config;
|
|
1459
1470
|
};
|
|
1460
1471
|
|
|
1461
|
-
// ../config-tools/dist/chunk-
|
|
1472
|
+
// ../config-tools/dist/chunk-BQLCBDR6.js
|
|
1462
1473
|
function getConfig(workspaceRoot, skipLogs = false) {
|
|
1463
1474
|
return loadStormWorkspaceConfig(workspaceRoot, skipLogs);
|
|
1464
1475
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "conventional-changelog-storm-software",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.77",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "This package contains the shared conventional-changelog configuration used in Storm Software projects.",
|
|
6
6
|
"repository": {
|
|
@@ -213,8 +213,8 @@
|
|
|
213
213
|
"storm-software"
|
|
214
214
|
],
|
|
215
215
|
"dependencies": {
|
|
216
|
-
"@storm-software/config": "^1.
|
|
217
|
-
"@storm-software/config-tools": "^1.188.
|
|
216
|
+
"@storm-software/config": "^1.135.0",
|
|
217
|
+
"@storm-software/config-tools": "^1.188.77",
|
|
218
218
|
"compare-func": "^2.0.0",
|
|
219
219
|
"conventional-changelog-conventionalcommits": "^9.1.0",
|
|
220
220
|
"conventional-changelog-writer": "^8.2.0",
|
|
@@ -228,5 +228,5 @@
|
|
|
228
228
|
},
|
|
229
229
|
"publishConfig": { "access": "public" },
|
|
230
230
|
"sideEffects": false,
|
|
231
|
-
"gitHead": "
|
|
231
|
+
"gitHead": "d07f74f1d50951459260d2738dea47586e194f7f"
|
|
232
232
|
}
|