@storm-software/config 1.134.74 → 1.135.0
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/CHANGELOG.md +17 -0
- package/README.md +1 -2
- package/dist/chunk-IS7XCH3F.cjs +2 -0
- package/dist/chunk-OIOMONUX.js +2 -0
- package/dist/define-config.d.cts +25 -19
- package/dist/define-config.d.ts +25 -19
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/schema.cjs +1 -1
- package/dist/schema.d.cts +27 -9
- package/dist/schema.d.ts +27 -9
- package/dist/schema.js +1 -1
- package/package.json +2 -2
- package/presets/storm-software.json +2 -0
- package/schemas/storm-workspace.schema.json +54 -0
- package/src/define-config.d.ts +7 -1
- package/src/schema.d.ts +20 -2
- package/dist/chunk-XSUFOUDO.cjs +0 -2
- package/dist/chunk-ZXJP5Q3G.js +0 -2
package/src/schema.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export declare const linkColorSchema: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
|
11
11
|
export declare const helpColorSchema: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
12
12
|
export declare const successColorSchema: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
13
13
|
export declare const infoColorSchema: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
14
|
+
export declare const debugColorSchema: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
14
15
|
export declare const warningColorSchema: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
15
16
|
export declare const dangerColorSchema: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
16
17
|
export declare const fatalColorSchema: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -27,6 +28,7 @@ export declare const darkColorsSchema: z.ZodMiniObject<{
|
|
|
27
28
|
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
28
29
|
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
29
30
|
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
31
|
+
debug: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
30
32
|
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
31
33
|
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
32
34
|
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -44,6 +46,7 @@ export declare const lightColorsSchema: z.ZodMiniObject<{
|
|
|
44
46
|
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
45
47
|
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
46
48
|
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
49
|
+
debug: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
47
50
|
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
48
51
|
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
49
52
|
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -62,6 +65,7 @@ export declare const multiColorsSchema: z.ZodMiniObject<{
|
|
|
62
65
|
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
63
66
|
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
64
67
|
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
68
|
+
debug: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
65
69
|
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
66
70
|
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
67
71
|
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -79,6 +83,7 @@ export declare const multiColorsSchema: z.ZodMiniObject<{
|
|
|
79
83
|
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
80
84
|
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
81
85
|
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
86
|
+
debug: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
82
87
|
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
83
88
|
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
84
89
|
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -97,6 +102,7 @@ export declare const singleColorsSchema: z.ZodMiniObject<{
|
|
|
97
102
|
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
98
103
|
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
99
104
|
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
105
|
+
debug: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
100
106
|
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
101
107
|
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
102
108
|
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -124,6 +130,7 @@ export declare const colorsSchema: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
|
124
130
|
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
125
131
|
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
126
132
|
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
133
|
+
debug: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
127
134
|
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
128
135
|
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
129
136
|
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -141,6 +148,7 @@ export declare const colorsSchema: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
|
141
148
|
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
142
149
|
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
143
150
|
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
151
|
+
debug: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
144
152
|
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
145
153
|
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
146
154
|
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -158,6 +166,7 @@ export declare const colorsSchema: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
|
158
166
|
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
159
167
|
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
160
168
|
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
169
|
+
debug: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
161
170
|
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
162
171
|
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
163
172
|
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -176,6 +185,7 @@ export declare const themeColorsSchema: z.ZodMiniRecord<z.ZodMiniUnion<readonly
|
|
|
176
185
|
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
177
186
|
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
178
187
|
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
188
|
+
debug: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
179
189
|
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
180
190
|
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
181
191
|
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -193,6 +203,7 @@ export declare const themeColorsSchema: z.ZodMiniRecord<z.ZodMiniUnion<readonly
|
|
|
193
203
|
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
194
204
|
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
195
205
|
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
206
|
+
debug: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
196
207
|
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
197
208
|
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
198
209
|
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -210,6 +221,7 @@ export declare const themeColorsSchema: z.ZodMiniRecord<z.ZodMiniUnion<readonly
|
|
|
210
221
|
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
211
222
|
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
212
223
|
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
224
|
+
debug: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
213
225
|
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
214
226
|
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
215
227
|
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -320,11 +332,11 @@ export declare const localeSchema: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
|
320
332
|
export declare const logLevelSchema: z.ZodMiniDefault<z.ZodMiniEnum<{
|
|
321
333
|
success: "success";
|
|
322
334
|
info: "info";
|
|
335
|
+
debug: "debug";
|
|
323
336
|
fatal: "fatal";
|
|
324
337
|
silent: "silent";
|
|
325
338
|
error: "error";
|
|
326
339
|
warn: "warn";
|
|
327
|
-
debug: "debug";
|
|
328
340
|
trace: "trace";
|
|
329
341
|
all: "all";
|
|
330
342
|
}>>;
|
|
@@ -411,11 +423,11 @@ export declare const workspaceConfigSchema: z.ZodMiniObject<{
|
|
|
411
423
|
logLevel: z.ZodMiniDefault<z.ZodMiniEnum<{
|
|
412
424
|
success: "success";
|
|
413
425
|
info: "info";
|
|
426
|
+
debug: "debug";
|
|
414
427
|
fatal: "fatal";
|
|
415
428
|
silent: "silent";
|
|
416
429
|
error: "error";
|
|
417
430
|
warn: "warn";
|
|
418
|
-
debug: "debug";
|
|
419
431
|
trace: "trace";
|
|
420
432
|
all: "all";
|
|
421
433
|
}>>;
|
|
@@ -438,6 +450,7 @@ export declare const workspaceConfigSchema: z.ZodMiniObject<{
|
|
|
438
450
|
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
439
451
|
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
440
452
|
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
453
|
+
debug: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
441
454
|
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
442
455
|
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
443
456
|
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -455,6 +468,7 @@ export declare const workspaceConfigSchema: z.ZodMiniObject<{
|
|
|
455
468
|
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
456
469
|
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
457
470
|
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
471
|
+
debug: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
458
472
|
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
459
473
|
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
460
474
|
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -472,6 +486,7 @@ export declare const workspaceConfigSchema: z.ZodMiniObject<{
|
|
|
472
486
|
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
473
487
|
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
474
488
|
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
489
|
+
debug: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
475
490
|
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
476
491
|
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
477
492
|
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -489,6 +504,7 @@ export declare const workspaceConfigSchema: z.ZodMiniObject<{
|
|
|
489
504
|
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
490
505
|
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
491
506
|
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
507
|
+
debug: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
492
508
|
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
493
509
|
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
494
510
|
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -506,6 +522,7 @@ export declare const workspaceConfigSchema: z.ZodMiniObject<{
|
|
|
506
522
|
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
507
523
|
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
508
524
|
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
525
|
+
debug: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
509
526
|
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
510
527
|
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
511
528
|
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -523,6 +540,7 @@ export declare const workspaceConfigSchema: z.ZodMiniObject<{
|
|
|
523
540
|
help: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
524
541
|
success: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
525
542
|
info: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
543
|
+
debug: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
526
544
|
warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
527
545
|
danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
528
546
|
fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
package/dist/chunk-XSUFOUDO.cjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
'use strict';var chunkUODLXUQT_cjs=require('./chunk-UODLXUQT.cjs'),e=require('zod/mini');function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var e__namespace=/*#__PURE__*/_interopNamespace(e);var o=e__namespace.registry(),t=e__namespace.string().check(e__namespace.length(7),e__namespace.toLowerCase(),e__namespace.regex(/^#([0-9a-f]{3}){1,2}$/i),e__namespace.trim());o.add(t,{description:"A base schema for describing the format of colors"});var a=e__namespace._default(t,"#151718");o.add(a,{description:"The dark background color of the workspace"});var i=e__namespace._default(t,"#cbd5e1");o.add(i,{description:"The light background color of the workspace"});var c=e__namespace._default(t,"#1fb2a6");o.add(c,{description:"The primary brand specific color of the workspace"});var s=e__namespace.optional(t);o.add(s,{description:"The alternate brand specific color of the workspace"});var n=e__namespace.optional(t);o.add(n,{description:"The secondary brand specific color of the workspace"});var d=e__namespace._default(t,"#3fa6ff");o.add(d,{description:"The color used to display hyperlink text"});var p=e__namespace._default(t,"#818cf8");o.add(p,{description:"The second brand specific color of the workspace"});var h=e__namespace._default(t,"#45b27e");o.add(h,{description:"The success color of the workspace"});var l=e__namespace._default(t,"#38bdf8");o.add(l,{description:"The informational color of the workspace"});var m=e__namespace._default(t,"#f3d371");o.add(m,{description:"The warning color of the workspace"});var z=e__namespace._default(t,"#d8314a");o.add(z,{description:"The danger color of the workspace"});var g=e__namespace.optional(t);o.add(g,{description:"The fatal color of the workspace"});var u=e__namespace._default(t,"#4ade80");o.add(u,{description:"The positive number color of the workspace"});var f=e__namespace._default(t,"#ef4444");o.add(f,{description:"The negative number color of the workspace"});var k=e__namespace.optional(e__namespace.array(t));o.add(k,{description:"The color stops for the base gradient color pattern used in the workspace"});var je=e__namespace.object({foreground:i,background:a,brand:c,alternate:s,accent:n,link:d,help:p,success:h,info:l,warning:m,danger:z,fatal:g,positive:u,negative:f,gradient:k}),Ae=e__namespace.object({foreground:a,background:i,brand:c,alternate:s,accent:n,link:d,help:p,success:h,info:l,warning:m,danger:z,fatal:g,positive:u,negative:f,gradient:k}),Re=e__namespace.object({dark:je,light:Ae}),Ue=e__namespace.object({dark:a,light:i,brand:c,alternate:s,accent:n,link:d,help:p,success:h,info:l,warning:m,danger:z,fatal:g,positive:u,negative:f,gradient:k}),r=e__namespace.optional(e__namespace.url());o.add(r,{description:"A remote registry URL used to publish distributable packages"});var T=e__namespace._default(e__namespace.object({github:r,npm:r,cargo:r,cyclone:r,container:r}),{});o.add(T,{description:"A list of remote registry URLs used by Storm Software"});var w=e__namespace.union([Ue,Re]);o.add(w,{description:"Colors used for various workspace elements"});var v=e__namespace.record(e__namespace.union([e__namespace.union([e__namespace.literal("base"),e__namespace.string()]),e__namespace.string()]),w);o.add(v,{description:"Storm theme config values used for styling various package elements"});var y=e__namespace.optional(e__namespace.union([e__namespace.string().check(e__namespace.trim()),e__namespace.array(e__namespace.string().check(e__namespace.trim()))]));o.add(y,{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."});var C=e__namespace.string().check(e__namespace.trim());o.add(C,{description:"The workspace bot user's name (this is the bot that will be used to perform various tasks)"});var _=e__namespace.string().check(e__namespace.trim());o.add(_,{description:"The email of the workspace bot"});var L=e__namespace.object({name:C,email:_});o.add(L,{description:"The workspace's bot user's config used to automated various operations tasks"});var j=e__namespace.optional(e__namespace.string().check(e__namespace.trim(),e__namespace.url()));o.add(j,{description:"A URL to a banner image used to display the workspace's release"});var A=e__namespace._default(e__namespace.string().check(e__namespace.trim()),chunkUODLXUQT_cjs.p);o.add(A,{description:"The alt text for the workspace's release banner image"});var R=e__namespace.object({url:j,alt:A});o.add(R,{description:"The workspace's banner image used during the release process"});var U=e__namespace.optional(e__namespace.string().check(e__namespace.trim()));o.add(U,{description:"A header message appended to the start of the workspace's release notes"});var D=e__namespace.optional(e__namespace.string().check(e__namespace.trim()));o.add(D,{description:"A footer message appended to the end of the workspace's release notes"});var B=e__namespace.object({banner:e__namespace.union([R,e__namespace.string().check(e__namespace.trim(),e__namespace.url())]),header:U,footer:D});o.add(B,{description:"The workspace's release config used during the release process"});var F=e__namespace.optional(e__namespace.string().check(e__namespace.trim()));o.add(F,{description:"A Twitter/X account associated with the organization/project"});var N=e__namespace.optional(e__namespace.string().check(e__namespace.trim()));o.add(N,{description:"A Discord account associated with the organization/project"});var E=e__namespace.optional(e__namespace.string().check(e__namespace.trim()));o.add(E,{description:"A Telegram account associated with the organization/project"});var M=e__namespace.optional(e__namespace.string().check(e__namespace.trim()));o.add(M,{description:"A Slack account associated with the organization/project"});var O=e__namespace.optional(e__namespace.string().check(e__namespace.trim()));o.add(O,{description:"A Medium account associated with the organization/project"});var I=e__namespace.optional(e__namespace.string().check(e__namespace.trim()));o.add(I,{description:"A GitHub account associated with the organization/project"});var G=e__namespace.object({twitter:F,discord:N,telegram:E,slack:M,medium:O,github:I});o.add(G,{description:"The workspace's account config used to store various social media links"});var H=e__namespace.optional(e__namespace.string().check(e__namespace.trim()));o.add(H,{description:"The directory used to store the environment's cached file data"});var J=e__namespace.optional(e__namespace.string().check(e__namespace.trim()));o.add(J,{description:"The directory used to store the environment's data files"});var W=e__namespace.optional(e__namespace.string().check(e__namespace.trim()));o.add(W,{description:"The directory used to store the environment's configuration files"});var P=e__namespace.optional(e__namespace.string().check(e__namespace.trim()));o.add(P,{description:"The directory used to store the environment's temp files"});var $=e__namespace.optional(e__namespace.string().check(e__namespace.trim()));o.add($,{description:"The directory used to store the environment's log files"});var V=e__namespace._default(e__namespace.string().check(e__namespace.trim()),"dist");o.add(V,{description:"The directory used to store the workspace's distributable files after a build (relative to the workspace root)"});var X=e__namespace.object({cache:H,data:J,config:W,temp:P,log:$,build:V});o.add(X,{description:"Various directories used by the workspace to store data, cache, and configuration files"});var Y=e__namespace._default(e__namespace.enum(["minimal","monorepo"]),"monorepo");o.add(Y,{description:"The variant of the workspace. This can be used to enable or disable certain features or configurations."});var q=e__namespace._default(e__namespace.string().check(e__namespace.trim()),chunkUODLXUQT_cjs.o);o.add(q,{description:"The path to the workspace's error codes JSON file"});var K=e__namespace.optional(e__namespace.url());o.add(K,{description:"A URL to a page that looks up the workspace's error messages given a specific error code"});var Q=e__namespace.object({codesFile:q,url:K});o.add(Q,{description:"The workspace's error config used when creating error details during a system error"});var Z=e__namespace.optional(e__namespace.string().check(e__namespace.trim(),e__namespace.toLowerCase()));o.add(Z,{description:"The name of the organization"});var ee=e__namespace.optional(e__namespace.string().check(e__namespace.trim()));o.add(ee,{description:"A description of the organization"});var oe=e__namespace.optional(e__namespace.url());o.add(oe,{description:"A URL to the organization's logo image"});var te=e__namespace.optional(e__namespace.url());o.add(te,{description:"A URL to the organization's icon image"});var re=e__namespace.optional(e__namespace.url());o.add(re,{description:"A URL to a page that provides more information about the organization"});var ae=e__namespace.object({name:Z,description:ee,logo:oe,icon:te,url:re});o.add(ae,{description:"The workspace's organization details"});var ie=e__namespace._default(e__namespace.string().check(e__namespace.trim(),e__namespace.toLowerCase()),"https://public.storm-cdn.com/schemas/storm-workspace.schema.json");o.add(ie,{description:"The URL or file path to the JSON schema file that describes the Storm configuration file"});var ce=e__namespace.string().check(e__namespace.trim(),e__namespace.toLowerCase());o.add(ce,{description:"The name of the workspace/project/service/package/scope using this configuration"});var se=e__namespace.string().check(e__namespace.trim(),e__namespace.toLowerCase());o.add(se,{description:"The namespace of the workspace/project/service/package/scope using this configuration"});var ne=e__namespace.union([ae,e__namespace.string().check(e__namespace.trim(),e__namespace.toLowerCase())]);o.add(ne,{description:"The organization of the workspace. This can be a string or an object containing the organization's details"});var de=e__namespace.string().check(e__namespace.trim(),e__namespace.toLowerCase());o.add(de,{description:"The repo URL of the workspace (i.e. the GitHub repository URL)"});var pe=e__namespace._default(e__namespace.string().check(e__namespace.trim()),"Apache-2.0");o.add(pe,{description:"The license type of the package"});var he=e__namespace.optional(e__namespace.url());o.add(he,{description:"The homepage of the workspace"});var le=e__namespace.optional(e__namespace.url());o.add(le,{description:"The documentation site for the workspace"});var me=e__namespace.optional(e__namespace.url());o.add(me,{description:"The development portal site for the workspace"});var ze=e__namespace.optional(e__namespace.url());o.add(ze,{description:"The licensing site for the workspace"});var ge=e__namespace.optional(e__namespace.url());o.add(ge,{description:"The contact site for the workspace"});var ue=e__namespace.optional(e__namespace.url());o.add(ue,{description:"The support site for the workspace. If not provided, this is defaulted to the `contact` config value"});var fe=e__namespace._default(e__namespace.string().check(e__namespace.trim(),e__namespace.toLowerCase()),"main");o.add(fe,{description:"The branch of the workspace"});var ke=e__namespace.optional(e__namespace.string().check(e__namespace.trim(),e__namespace.toLowerCase()));o.add(ke,{description:"A tag specifying the version pre-release identifier"});var we=e__namespace.optional(e__namespace.string().check(e__namespace.trim(),e__namespace.toLowerCase()));o.add(we,{description:"The owner of the package"});var Se=e__namespace._default(e__namespace.enum(["development","test","production"]).check(e__namespace.trim(),e__namespace.toLowerCase()),"production");o.add(Se,{description:"The current runtime environment mode for the package"});var xe=e__namespace.string().check(e__namespace.trim(),e__namespace.toLowerCase());o.add(xe,{description:"The root directory of the workspace"});var be=e__namespace._default(e__namespace.boolean(),false);o.add(be,{description:"Should all known types of workspace caching be skipped?"});var Te=e__namespace._default(e__namespace.enum(["npm","yarn","pnpm","bun"]),"npm");o.add(Te,{description:"The JavaScript/TypeScript package manager used by the repository"});var ve=e__namespace._default(e__namespace.string().check(e__namespace.trim()),"America/New_York");o.add(ve,{description:"The default timezone of the workspace"});var ye=e__namespace._default(e__namespace.string().check(e__namespace.trim()),"en-US");o.add(ye,{description:"The default locale of the workspace"});var Ce=e__namespace._default(e__namespace.enum(["silent","fatal","error","warn","success","info","debug","trace","all"]),"info");o.add(Ce,{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`)."});var _e=e__namespace._default(e__namespace.boolean(),true);o.add(_e,{description:"Should the logging of the current Storm Workspace configuration be skipped?"});var Le=e__namespace._default(e__namespace.nullable(e__namespace.string().check(e__namespace.trim())),null);o.add(Le,{description:"The filepath of the Storm config. When this field is null, no config file was found in the current workspace."});var S=e__namespace._default(e__namespace.record(e__namespace.string(),e__namespace.any()),{});o.add(S,{description:"Configuration of each used extension"});var Fe=e__namespace.object({$schema:ie,extends:y,name:ce,variant:Y,namespace:se,organization:ne,repository:de,license:pe,homepage:he,docs:le,portal:me,licensing:ze,contact:ge,support:ue,branch:fe,preid:ke,owner:we,bot:L,release:B,socials:G,error:Q,mode:Se,workspaceRoot:xe,skipCache:be,directories:X,packageManager:Te,timezone:ve,locale:ye,logLevel:Ce,skipConfigLogging:_e,registry:T,configFile:Le,colors:e__namespace.union([w,v]),extensions:S});o.add(S,{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."});
|
|
2
|
-
exports.$=re;exports.A=A;exports.B=R;exports.C=U;exports.D=D;exports.E=B;exports.F=F;exports.G=N;exports.H=E;exports.I=M;exports.J=O;exports.K=I;exports.L=G;exports.M=H;exports.N=J;exports.O=W;exports.P=P;exports.Q=$;exports.R=V;exports.S=X;exports.T=Y;exports.U=q;exports.V=K;exports.W=Q;exports.X=Z;exports.Y=ee;exports.Z=oe;exports._=te;exports.a=o;exports.aa=ae;exports.b=a;exports.ba=pe;exports.c=i;exports.ca=he;exports.d=c;exports.da=le;exports.e=s;exports.ea=me;exports.f=n;exports.fa=ze;exports.g=d;exports.ga=ge;exports.h=p;exports.ha=ue;exports.i=h;exports.ia=fe;exports.j=l;exports.ja=ke;exports.k=m;exports.ka=we;exports.l=z;exports.la=Se;exports.m=g;exports.ma=xe;exports.n=u;exports.na=be;exports.o=f;exports.oa=Te;exports.p=k;exports.pa=ve;exports.q=je;exports.qa=ye;exports.r=Ae;exports.ra=Ce;exports.s=Re;exports.sa=_e;exports.t=Ue;exports.ta=Le;exports.u=T;exports.ua=S;exports.v=w;exports.va=Fe;exports.w=v;exports.x=y;exports.y=L;exports.z=j;
|
package/dist/chunk-ZXJP5Q3G.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import {p as p$1,o as o$1}from'./chunk-TYDRIJER.js';import*as e from'zod/mini';var o=e.registry(),t=e.string().check(e.length(7),e.toLowerCase(),e.regex(/^#([0-9a-f]{3}){1,2}$/i),e.trim());o.add(t,{description:"A base schema for describing the format of colors"});var a=e._default(t,"#151718");o.add(a,{description:"The dark background color of the workspace"});var i=e._default(t,"#cbd5e1");o.add(i,{description:"The light background color of the workspace"});var c=e._default(t,"#1fb2a6");o.add(c,{description:"The primary brand specific color of the workspace"});var s=e.optional(t);o.add(s,{description:"The alternate brand specific color of the workspace"});var n=e.optional(t);o.add(n,{description:"The secondary brand specific color of the workspace"});var d=e._default(t,"#3fa6ff");o.add(d,{description:"The color used to display hyperlink text"});var p=e._default(t,"#818cf8");o.add(p,{description:"The second brand specific color of the workspace"});var h=e._default(t,"#45b27e");o.add(h,{description:"The success color of the workspace"});var l=e._default(t,"#38bdf8");o.add(l,{description:"The informational color of the workspace"});var m=e._default(t,"#f3d371");o.add(m,{description:"The warning color of the workspace"});var z=e._default(t,"#d8314a");o.add(z,{description:"The danger color of the workspace"});var g=e.optional(t);o.add(g,{description:"The fatal color of the workspace"});var u=e._default(t,"#4ade80");o.add(u,{description:"The positive number color of the workspace"});var f=e._default(t,"#ef4444");o.add(f,{description:"The negative number color of the workspace"});var k=e.optional(e.array(t));o.add(k,{description:"The color stops for the base gradient color pattern used in the workspace"});var je=e.object({foreground:i,background:a,brand:c,alternate:s,accent:n,link:d,help:p,success:h,info:l,warning:m,danger:z,fatal:g,positive:u,negative:f,gradient:k}),Ae=e.object({foreground:a,background:i,brand:c,alternate:s,accent:n,link:d,help:p,success:h,info:l,warning:m,danger:z,fatal:g,positive:u,negative:f,gradient:k}),Re=e.object({dark:je,light:Ae}),Ue=e.object({dark:a,light:i,brand:c,alternate:s,accent:n,link:d,help:p,success:h,info:l,warning:m,danger:z,fatal:g,positive:u,negative:f,gradient:k}),r=e.optional(e.url());o.add(r,{description:"A remote registry URL used to publish distributable packages"});var T=e._default(e.object({github:r,npm:r,cargo:r,cyclone:r,container:r}),{});o.add(T,{description:"A list of remote registry URLs used by Storm Software"});var w=e.union([Ue,Re]);o.add(w,{description:"Colors used for various workspace elements"});var v=e.record(e.union([e.union([e.literal("base"),e.string()]),e.string()]),w);o.add(v,{description:"Storm theme config values used for styling various package elements"});var y=e.optional(e.union([e.string().check(e.trim()),e.array(e.string().check(e.trim()))]));o.add(y,{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."});var C=e.string().check(e.trim());o.add(C,{description:"The workspace bot user's name (this is the bot that will be used to perform various tasks)"});var _=e.string().check(e.trim());o.add(_,{description:"The email of the workspace bot"});var L=e.object({name:C,email:_});o.add(L,{description:"The workspace's bot user's config used to automated various operations tasks"});var j=e.optional(e.string().check(e.trim(),e.url()));o.add(j,{description:"A URL to a banner image used to display the workspace's release"});var A=e._default(e.string().check(e.trim()),p$1);o.add(A,{description:"The alt text for the workspace's release banner image"});var R=e.object({url:j,alt:A});o.add(R,{description:"The workspace's banner image used during the release process"});var U=e.optional(e.string().check(e.trim()));o.add(U,{description:"A header message appended to the start of the workspace's release notes"});var D=e.optional(e.string().check(e.trim()));o.add(D,{description:"A footer message appended to the end of the workspace's release notes"});var B=e.object({banner:e.union([R,e.string().check(e.trim(),e.url())]),header:U,footer:D});o.add(B,{description:"The workspace's release config used during the release process"});var F=e.optional(e.string().check(e.trim()));o.add(F,{description:"A Twitter/X account associated with the organization/project"});var N=e.optional(e.string().check(e.trim()));o.add(N,{description:"A Discord account associated with the organization/project"});var E=e.optional(e.string().check(e.trim()));o.add(E,{description:"A Telegram account associated with the organization/project"});var M=e.optional(e.string().check(e.trim()));o.add(M,{description:"A Slack account associated with the organization/project"});var O=e.optional(e.string().check(e.trim()));o.add(O,{description:"A Medium account associated with the organization/project"});var I=e.optional(e.string().check(e.trim()));o.add(I,{description:"A GitHub account associated with the organization/project"});var G=e.object({twitter:F,discord:N,telegram:E,slack:M,medium:O,github:I});o.add(G,{description:"The workspace's account config used to store various social media links"});var H=e.optional(e.string().check(e.trim()));o.add(H,{description:"The directory used to store the environment's cached file data"});var J=e.optional(e.string().check(e.trim()));o.add(J,{description:"The directory used to store the environment's data files"});var W=e.optional(e.string().check(e.trim()));o.add(W,{description:"The directory used to store the environment's configuration files"});var P=e.optional(e.string().check(e.trim()));o.add(P,{description:"The directory used to store the environment's temp files"});var $=e.optional(e.string().check(e.trim()));o.add($,{description:"The directory used to store the environment's log files"});var V=e._default(e.string().check(e.trim()),"dist");o.add(V,{description:"The directory used to store the workspace's distributable files after a build (relative to the workspace root)"});var X=e.object({cache:H,data:J,config:W,temp:P,log:$,build:V});o.add(X,{description:"Various directories used by the workspace to store data, cache, and configuration files"});var Y=e._default(e.enum(["minimal","monorepo"]),"monorepo");o.add(Y,{description:"The variant of the workspace. This can be used to enable or disable certain features or configurations."});var q=e._default(e.string().check(e.trim()),o$1);o.add(q,{description:"The path to the workspace's error codes JSON file"});var K=e.optional(e.url());o.add(K,{description:"A URL to a page that looks up the workspace's error messages given a specific error code"});var Q=e.object({codesFile:q,url:K});o.add(Q,{description:"The workspace's error config used when creating error details during a system error"});var Z=e.optional(e.string().check(e.trim(),e.toLowerCase()));o.add(Z,{description:"The name of the organization"});var ee=e.optional(e.string().check(e.trim()));o.add(ee,{description:"A description of the organization"});var oe=e.optional(e.url());o.add(oe,{description:"A URL to the organization's logo image"});var te=e.optional(e.url());o.add(te,{description:"A URL to the organization's icon image"});var re=e.optional(e.url());o.add(re,{description:"A URL to a page that provides more information about the organization"});var ae=e.object({name:Z,description:ee,logo:oe,icon:te,url:re});o.add(ae,{description:"The workspace's organization details"});var ie=e._default(e.string().check(e.trim(),e.toLowerCase()),"https://public.storm-cdn.com/schemas/storm-workspace.schema.json");o.add(ie,{description:"The URL or file path to the JSON schema file that describes the Storm configuration file"});var ce=e.string().check(e.trim(),e.toLowerCase());o.add(ce,{description:"The name of the workspace/project/service/package/scope using this configuration"});var se=e.string().check(e.trim(),e.toLowerCase());o.add(se,{description:"The namespace of the workspace/project/service/package/scope using this configuration"});var ne=e.union([ae,e.string().check(e.trim(),e.toLowerCase())]);o.add(ne,{description:"The organization of the workspace. This can be a string or an object containing the organization's details"});var de=e.string().check(e.trim(),e.toLowerCase());o.add(de,{description:"The repo URL of the workspace (i.e. the GitHub repository URL)"});var pe=e._default(e.string().check(e.trim()),"Apache-2.0");o.add(pe,{description:"The license type of the package"});var he=e.optional(e.url());o.add(he,{description:"The homepage of the workspace"});var le=e.optional(e.url());o.add(le,{description:"The documentation site for the workspace"});var me=e.optional(e.url());o.add(me,{description:"The development portal site for the workspace"});var ze=e.optional(e.url());o.add(ze,{description:"The licensing site for the workspace"});var ge=e.optional(e.url());o.add(ge,{description:"The contact site for the workspace"});var ue=e.optional(e.url());o.add(ue,{description:"The support site for the workspace. If not provided, this is defaulted to the `contact` config value"});var fe=e._default(e.string().check(e.trim(),e.toLowerCase()),"main");o.add(fe,{description:"The branch of the workspace"});var ke=e.optional(e.string().check(e.trim(),e.toLowerCase()));o.add(ke,{description:"A tag specifying the version pre-release identifier"});var we=e.optional(e.string().check(e.trim(),e.toLowerCase()));o.add(we,{description:"The owner of the package"});var Se=e._default(e.enum(["development","test","production"]).check(e.trim(),e.toLowerCase()),"production");o.add(Se,{description:"The current runtime environment mode for the package"});var xe=e.string().check(e.trim(),e.toLowerCase());o.add(xe,{description:"The root directory of the workspace"});var be=e._default(e.boolean(),false);o.add(be,{description:"Should all known types of workspace caching be skipped?"});var Te=e._default(e.enum(["npm","yarn","pnpm","bun"]),"npm");o.add(Te,{description:"The JavaScript/TypeScript package manager used by the repository"});var ve=e._default(e.string().check(e.trim()),"America/New_York");o.add(ve,{description:"The default timezone of the workspace"});var ye=e._default(e.string().check(e.trim()),"en-US");o.add(ye,{description:"The default locale of the workspace"});var Ce=e._default(e.enum(["silent","fatal","error","warn","success","info","debug","trace","all"]),"info");o.add(Ce,{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`)."});var _e=e._default(e.boolean(),true);o.add(_e,{description:"Should the logging of the current Storm Workspace configuration be skipped?"});var Le=e._default(e.nullable(e.string().check(e.trim())),null);o.add(Le,{description:"The filepath of the Storm config. When this field is null, no config file was found in the current workspace."});var S=e._default(e.record(e.string(),e.any()),{});o.add(S,{description:"Configuration of each used extension"});var Be=e.object({$schema:ie,extends:y,name:ce,variant:Y,namespace:se,organization:ne,repository:de,license:pe,homepage:he,docs:le,portal:me,licensing:ze,contact:ge,support:ue,branch:fe,preid:ke,owner:we,bot:L,release:B,socials:G,error:Q,mode:Se,workspaceRoot:xe,skipCache:be,directories:X,packageManager:Te,timezone:ve,locale:ye,logLevel:Ce,skipConfigLogging:_e,registry:T,configFile:Le,colors:e.union([w,v]),extensions:S});o.add(S,{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."});
|
|
2
|
-
export{re as $,A,R as B,U as C,D,B as E,F,N as G,E as H,M as I,O as J,I as K,G as L,H as M,J as N,W as O,P,$ as Q,V as R,X as S,Y as T,q as U,K as V,Q as W,Z as X,ee as Y,oe as Z,te as _,o as a,ae as aa,a as b,pe as ba,i as c,he as ca,c as d,le as da,s as e,me as ea,n as f,ze as fa,d as g,ge as ga,p as h,ue as ha,h as i,fe as ia,l as j,ke as ja,m as k,we as ka,z as l,Se as la,g as m,xe as ma,u as n,be as na,f as o,Te as oa,k as p,ve as pa,je as q,ye as qa,Ae as r,Ce as ra,Re as s,_e as sa,Ue as t,Le as ta,T as u,S as ua,w as v,Be as va,v as w,y as x,L as y,j as z};
|