@storm-software/config 1.135.41 → 1.136.1

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/src/schema.d.ts CHANGED
@@ -15,6 +15,7 @@ export declare const debugColorSchema: z.ZodMiniDefault<z.ZodMiniString<string>>
15
15
  export declare const warningColorSchema: z.ZodMiniDefault<z.ZodMiniString<string>>;
16
16
  export declare const dangerColorSchema: z.ZodMiniDefault<z.ZodMiniString<string>>;
17
17
  export declare const fatalColorSchema: z.ZodMiniOptional<z.ZodMiniString<string>>;
18
+ export declare const performanceColorSchema: z.ZodMiniDefault<z.ZodMiniString<string>>;
18
19
  export declare const positiveColorSchema: z.ZodMiniDefault<z.ZodMiniString<string>>;
19
20
  export declare const negativeColorSchema: z.ZodMiniDefault<z.ZodMiniString<string>>;
20
21
  export declare const gradientStopsSchema: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
@@ -32,6 +33,7 @@ export declare const darkColorsSchema: z.ZodMiniObject<{
32
33
  warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
33
34
  danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
34
35
  fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
36
+ performance: z.ZodMiniDefault<z.ZodMiniString<string>>;
35
37
  positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
36
38
  negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
37
39
  gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
@@ -50,6 +52,7 @@ export declare const lightColorsSchema: z.ZodMiniObject<{
50
52
  warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
51
53
  danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
52
54
  fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
55
+ performance: z.ZodMiniDefault<z.ZodMiniString<string>>;
53
56
  positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
54
57
  negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
55
58
  gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
@@ -69,6 +72,7 @@ export declare const multiColorsSchema: z.ZodMiniObject<{
69
72
  warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
70
73
  danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
71
74
  fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
75
+ performance: z.ZodMiniDefault<z.ZodMiniString<string>>;
72
76
  positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
73
77
  negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
74
78
  gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
@@ -87,6 +91,7 @@ export declare const multiColorsSchema: z.ZodMiniObject<{
87
91
  warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
88
92
  danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
89
93
  fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
94
+ performance: z.ZodMiniDefault<z.ZodMiniString<string>>;
90
95
  positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
91
96
  negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
92
97
  gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
@@ -106,6 +111,7 @@ export declare const singleColorsSchema: z.ZodMiniObject<{
106
111
  warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
107
112
  danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
108
113
  fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
114
+ performance: z.ZodMiniDefault<z.ZodMiniString<string>>;
109
115
  positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
110
116
  negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
111
117
  gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
@@ -134,6 +140,7 @@ export declare const colorsSchema: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
134
140
  warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
135
141
  danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
136
142
  fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
143
+ performance: z.ZodMiniDefault<z.ZodMiniString<string>>;
137
144
  positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
138
145
  negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
139
146
  gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
@@ -152,6 +159,7 @@ export declare const colorsSchema: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
152
159
  warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
153
160
  danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
154
161
  fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
162
+ performance: z.ZodMiniDefault<z.ZodMiniString<string>>;
155
163
  positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
156
164
  negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
157
165
  gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
@@ -170,6 +178,7 @@ export declare const colorsSchema: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
170
178
  warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
171
179
  danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
172
180
  fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
181
+ performance: z.ZodMiniDefault<z.ZodMiniString<string>>;
173
182
  positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
174
183
  negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
175
184
  gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
@@ -189,6 +198,7 @@ export declare const themeColorsSchema: z.ZodMiniRecord<z.ZodMiniUnion<readonly
189
198
  warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
190
199
  danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
191
200
  fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
201
+ performance: z.ZodMiniDefault<z.ZodMiniString<string>>;
192
202
  positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
193
203
  negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
194
204
  gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
@@ -207,6 +217,7 @@ export declare const themeColorsSchema: z.ZodMiniRecord<z.ZodMiniUnion<readonly
207
217
  warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
208
218
  danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
209
219
  fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
220
+ performance: z.ZodMiniDefault<z.ZodMiniString<string>>;
210
221
  positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
211
222
  negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
212
223
  gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
@@ -225,6 +236,7 @@ export declare const themeColorsSchema: z.ZodMiniRecord<z.ZodMiniUnion<readonly
225
236
  warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
226
237
  danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
227
238
  fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
239
+ performance: z.ZodMiniDefault<z.ZodMiniString<string>>;
228
240
  positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
229
241
  negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
230
242
  gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
@@ -334,6 +346,7 @@ export declare const logLevelSchema: z.ZodMiniDefault<z.ZodMiniEnum<{
334
346
  info: "info";
335
347
  debug: "debug";
336
348
  fatal: "fatal";
349
+ performance: "performance";
337
350
  silent: "silent";
338
351
  error: "error";
339
352
  warn: "warn";
@@ -425,6 +438,7 @@ export declare const workspaceConfigSchema: z.ZodMiniObject<{
425
438
  info: "info";
426
439
  debug: "debug";
427
440
  fatal: "fatal";
441
+ performance: "performance";
428
442
  silent: "silent";
429
443
  error: "error";
430
444
  warn: "warn";
@@ -454,6 +468,7 @@ export declare const workspaceConfigSchema: z.ZodMiniObject<{
454
468
  warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
455
469
  danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
456
470
  fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
471
+ performance: z.ZodMiniDefault<z.ZodMiniString<string>>;
457
472
  positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
458
473
  negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
459
474
  gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
@@ -472,6 +487,7 @@ export declare const workspaceConfigSchema: z.ZodMiniObject<{
472
487
  warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
473
488
  danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
474
489
  fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
490
+ performance: z.ZodMiniDefault<z.ZodMiniString<string>>;
475
491
  positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
476
492
  negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
477
493
  gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
@@ -490,6 +506,7 @@ export declare const workspaceConfigSchema: z.ZodMiniObject<{
490
506
  warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
491
507
  danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
492
508
  fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
509
+ performance: z.ZodMiniDefault<z.ZodMiniString<string>>;
493
510
  positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
494
511
  negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
495
512
  gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
@@ -508,6 +525,7 @@ export declare const workspaceConfigSchema: z.ZodMiniObject<{
508
525
  warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
509
526
  danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
510
527
  fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
528
+ performance: z.ZodMiniDefault<z.ZodMiniString<string>>;
511
529
  positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
512
530
  negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
513
531
  gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
@@ -526,6 +544,7 @@ export declare const workspaceConfigSchema: z.ZodMiniObject<{
526
544
  warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
527
545
  danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
528
546
  fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
547
+ performance: z.ZodMiniDefault<z.ZodMiniString<string>>;
529
548
  positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
530
549
  negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
531
550
  gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
@@ -544,6 +563,7 @@ export declare const workspaceConfigSchema: z.ZodMiniObject<{
544
563
  warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
545
564
  danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
546
565
  fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
566
+ performance: z.ZodMiniDefault<z.ZodMiniString<string>>;
547
567
  positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
548
568
  negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
549
569
  gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
@@ -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,"#8afafc");o.add(m,{description:"The debug color of the workspace"});var z=e__namespace._default(t,"#f3d371");o.add(z,{description:"The warning color of the workspace"});var g=e__namespace._default(t,"#d8314a");o.add(g,{description:"The danger color of the workspace"});var u=e__namespace.optional(t);o.add(u,{description:"The fatal color of the workspace"});var f=e__namespace._default(t,"#4ade80");o.add(f,{description:"The positive number color of the workspace"});var k=e__namespace._default(t,"#ef4444");o.add(k,{description:"The negative number color of the workspace"});var w=e__namespace.optional(e__namespace.array(t));o.add(w,{description:"The color stops for the base gradient color pattern used in the workspace"});var Ae=e__namespace.object({foreground:i,background:a,brand:c,alternate:s,accent:n,link:d,help:p,success:h,info:l,debug:m,warning:z,danger:g,fatal:u,positive:f,negative:k,gradient:w}),Re=e__namespace.object({foreground:a,background:i,brand:c,alternate:s,accent:n,link:d,help:p,success:h,info:l,debug:m,warning:z,danger:g,fatal:u,positive:f,negative:k,gradient:w}),Ue=e__namespace.object({dark:Ae,light:Re}),De=e__namespace.object({dark:a,light:i,brand:c,alternate:s,accent:n,link:d,help:p,success:h,info:l,debug:m,warning:z,danger:g,fatal:u,positive:f,negative:k,gradient:w}),r=e__namespace.optional(e__namespace.url());o.add(r,{description:"A remote registry URL used to publish distributable packages"});var v=e__namespace._default(e__namespace.object({github:r,npm:r,cargo:r,cyclone:r,container:r}),{});o.add(v,{description:"A list of remote registry URLs used by Storm Software"});var S=e__namespace.union([De,Ue]);o.add(S,{description:"Colors used for various workspace elements"});var y=e__namespace.record(e__namespace.union([e__namespace.union([e__namespace.literal("base"),e__namespace.string()]),e__namespace.string()]),S);o.add(y,{description:"Storm theme config values used for styling various package elements"});var C=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(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."});var _=e__namespace.string().check(e__namespace.trim());o.add(_,{description:"The workspace bot user's name (this is the bot that will be used to perform various tasks)"});var L=e__namespace.string().check(e__namespace.trim());o.add(L,{description:"The email of the workspace bot"});var j=e__namespace.object({name:_,email:L});o.add(j,{description:"The workspace's bot user's config used to automated various operations tasks"});var A=e__namespace.optional(e__namespace.string().check(e__namespace.trim(),e__namespace.url()));o.add(A,{description:"A URL to a banner image used to display the workspace's release"});var R=e__namespace._default(e__namespace.string().check(e__namespace.trim()),chunkUODLXUQT_cjs.p);o.add(R,{description:"The alt text for the workspace's release banner image"});var U=e__namespace.object({url:A,alt:R});o.add(U,{description:"The workspace's banner image used during the release process"});var D=e__namespace.optional(e__namespace.string().check(e__namespace.trim()));o.add(D,{description:"A header message appended to the start of the workspace's release notes"});var B=e__namespace.optional(e__namespace.string().check(e__namespace.trim()));o.add(B,{description:"A footer message appended to the end of the workspace's release notes"});var F=e__namespace.object({banner:e__namespace.union([U,e__namespace.string().check(e__namespace.trim(),e__namespace.url())]),header:D,footer:B});o.add(F,{description:"The workspace's release config used during the release process"});var N=e__namespace.optional(e__namespace.string().check(e__namespace.trim()));o.add(N,{description:"A Twitter/X account associated with the organization/project"});var E=e__namespace.optional(e__namespace.string().check(e__namespace.trim()));o.add(E,{description:"A Discord account associated with the organization/project"});var M=e__namespace.optional(e__namespace.string().check(e__namespace.trim()));o.add(M,{description:"A Telegram account associated with the organization/project"});var O=e__namespace.optional(e__namespace.string().check(e__namespace.trim()));o.add(O,{description:"A Slack account associated with the organization/project"});var I=e__namespace.optional(e__namespace.string().check(e__namespace.trim()));o.add(I,{description:"A Medium account associated with the organization/project"});var G=e__namespace.optional(e__namespace.string().check(e__namespace.trim()));o.add(G,{description:"A GitHub account associated with the organization/project"});var H=e__namespace.object({twitter:N,discord:E,telegram:M,slack:O,medium:I,github:G});o.add(H,{description:"The workspace's account config used to store various social media links"});var J=e__namespace.optional(e__namespace.string().check(e__namespace.trim()));o.add(J,{description:"The directory used to store the environment's cached file data"});var W=e__namespace.optional(e__namespace.string().check(e__namespace.trim()));o.add(W,{description:"The directory used to store the environment's data 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 configuration files"});var $=e__namespace.optional(e__namespace.string().check(e__namespace.trim()));o.add($,{description:"The directory used to store the environment's temp files"});var V=e__namespace.optional(e__namespace.string().check(e__namespace.trim()));o.add(V,{description:"The directory used to store the environment's log files"});var X=e__namespace._default(e__namespace.string().check(e__namespace.trim()),"dist");o.add(X,{description:"The directory used to store the workspace's distributable files after a build (relative to the workspace root)"});var Y=e__namespace.object({cache:J,data:W,config:P,temp:$,log:V,build:X});o.add(Y,{description:"Various directories used by the workspace to store data, cache, and configuration files"});var q=e__namespace._default(e__namespace.enum(["minimal","monorepo"]),"monorepo");o.add(q,{description:"The variant of the workspace. This can be used to enable or disable certain features or configurations."});var K=e__namespace._default(e__namespace.string().check(e__namespace.trim()),chunkUODLXUQT_cjs.o);o.add(K,{description:"The path to the workspace's error codes JSON file"});var Q=e__namespace.optional(e__namespace.url());o.add(Q,{description:"A URL to a page that looks up the workspace's error messages given a specific error code"});var Z=e__namespace.object({codesFile:K,url:Q});o.add(Z,{description:"The workspace's error config used when creating error details during a system error"});var ee=e__namespace.optional(e__namespace.string().check(e__namespace.trim(),e__namespace.toLowerCase()));o.add(ee,{description:"The name of the organization"});var oe=e__namespace.optional(e__namespace.string().check(e__namespace.trim()));o.add(oe,{description:"A description of the organization"});var te=e__namespace.optional(e__namespace.url());o.add(te,{description:"A URL to the organization's logo image"});var re=e__namespace.optional(e__namespace.url());o.add(re,{description:"A URL to the organization's icon image"});var ae=e__namespace.optional(e__namespace.url());o.add(ae,{description:"A URL to a page that provides more information about the organization"});var ie=e__namespace.object({name:ee,description:oe,logo:te,icon:re,url:ae});o.add(ie,{description:"The workspace's organization details"});var ce=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(ce,{description:"The URL or file path to the JSON schema file that describes the Storm configuration file"});var se=e__namespace.string().check(e__namespace.trim(),e__namespace.toLowerCase());o.add(se,{description:"The name of the workspace/project/service/package/scope using this configuration"});var ne=e__namespace.string().check(e__namespace.trim(),e__namespace.toLowerCase());o.add(ne,{description:"The namespace of the workspace/project/service/package/scope using this configuration"});var de=e__namespace.union([ie,e__namespace.string().check(e__namespace.trim(),e__namespace.toLowerCase())]);o.add(de,{description:"The organization of the workspace. This can be a string or an object containing the organization's details"});var pe=e__namespace.string().check(e__namespace.trim(),e__namespace.toLowerCase());o.add(pe,{description:"The repo URL of the workspace (i.e. the GitHub repository URL)"});var he=e__namespace._default(e__namespace.string().check(e__namespace.trim()),"Apache-2.0");o.add(he,{description:"The license type of the package"});var le=e__namespace.optional(e__namespace.url());o.add(le,{description:"The homepage of the workspace"});var me=e__namespace.optional(e__namespace.url());o.add(me,{description:"The documentation site for the workspace"});var ze=e__namespace.optional(e__namespace.url());o.add(ze,{description:"The development portal site for the workspace"});var ge=e__namespace.optional(e__namespace.url());o.add(ge,{description:"The licensing site for the workspace"});var ue=e__namespace.optional(e__namespace.url());o.add(ue,{description:"The contact site for the workspace"});var fe=e__namespace.optional(e__namespace.url());o.add(fe,{description:"The support site for the workspace. If not provided, this is defaulted to the `contact` config value"});var ke=e__namespace._default(e__namespace.string().check(e__namespace.trim(),e__namespace.toLowerCase()),"main");o.add(ke,{description:"The branch of the workspace"});var we=e__namespace.optional(e__namespace.string().check(e__namespace.trim(),e__namespace.toLowerCase()));o.add(we,{description:"A tag specifying the version pre-release identifier"});var Se=e__namespace.optional(e__namespace.string().check(e__namespace.trim(),e__namespace.toLowerCase()));o.add(Se,{description:"The owner of the package"});var be=e__namespace._default(e__namespace.enum(["development","test","production"]).check(e__namespace.trim(),e__namespace.toLowerCase()),"production");o.add(be,{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 Te=e__namespace._default(e__namespace.boolean(),false);o.add(Te,{description:"Should all known types of workspace caching be skipped?"});var ve=e__namespace._default(e__namespace.enum(["npm","yarn","pnpm","bun"]),"npm");o.add(ve,{description:"The JavaScript/TypeScript package manager used by the repository"});var ye=e__namespace._default(e__namespace.string().check(e__namespace.trim()),"America/New_York");o.add(ye,{description:"The default timezone of the workspace"});var Ce=e__namespace._default(e__namespace.string().check(e__namespace.trim()),"en-US");o.add(Ce,{description:"The default locale of the workspace"});var _e=e__namespace._default(e__namespace.enum(["silent","fatal","error","warn","success","info","debug","trace","all"]),"info");o.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`)."});var Le=e__namespace._default(e__namespace.boolean(),true);o.add(Le,{description:"Should the logging of the current Storm Workspace configuration be skipped?"});var je=e__namespace._default(e__namespace.nullable(e__namespace.string().check(e__namespace.trim())),null);o.add(je,{description:"The filepath of the Storm config. When this field is null, no config file was found in the current workspace."});var b=e__namespace._default(e__namespace.record(e__namespace.string(),e__namespace.any()),{});o.add(b,{description:"Configuration of each used extension"});var Ne=e__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:e__namespace.union([S,y]),extensions:b});o.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."});
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=ie;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=be;exports.n=u;exports.na=xe;exports.o=f;exports.oa=Te;exports.p=k;exports.pa=ve;exports.q=w;exports.qa=ye;exports.r=Ae;exports.ra=Ce;exports.s=Re;exports.sa=_e;exports.t=Ue;exports.ta=Le;exports.u=De;exports.ua=je;exports.v=v;exports.va=b;exports.w=S;exports.wa=Ne;exports.x=y;exports.y=C;exports.z=j;
@@ -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,"#8afafc");o.add(m,{description:"The debug color of the workspace"});var z=e._default(t,"#f3d371");o.add(z,{description:"The warning color of the workspace"});var g=e._default(t,"#d8314a");o.add(g,{description:"The danger color of the workspace"});var u=e.optional(t);o.add(u,{description:"The fatal color of the workspace"});var f=e._default(t,"#4ade80");o.add(f,{description:"The positive number color of the workspace"});var k=e._default(t,"#ef4444");o.add(k,{description:"The negative number color of the workspace"});var w=e.optional(e.array(t));o.add(w,{description:"The color stops for the base gradient color pattern used in the workspace"});var Ae=e.object({foreground:i,background:a,brand:c,alternate:s,accent:n,link:d,help:p,success:h,info:l,debug:m,warning:z,danger:g,fatal:u,positive:f,negative:k,gradient:w}),Re=e.object({foreground:a,background:i,brand:c,alternate:s,accent:n,link:d,help:p,success:h,info:l,debug:m,warning:z,danger:g,fatal:u,positive:f,negative:k,gradient:w}),Ue=e.object({dark:Ae,light:Re}),De=e.object({dark:a,light:i,brand:c,alternate:s,accent:n,link:d,help:p,success:h,info:l,debug:m,warning:z,danger:g,fatal:u,positive:f,negative:k,gradient:w}),r=e.optional(e.url());o.add(r,{description:"A remote registry URL used to publish distributable packages"});var v=e._default(e.object({github:r,npm:r,cargo:r,cyclone:r,container:r}),{});o.add(v,{description:"A list of remote registry URLs used by Storm Software"});var S=e.union([De,Ue]);o.add(S,{description:"Colors used for various workspace elements"});var y=e.record(e.union([e.union([e.literal("base"),e.string()]),e.string()]),S);o.add(y,{description:"Storm theme config values used for styling various package elements"});var C=e.optional(e.union([e.string().check(e.trim()),e.array(e.string().check(e.trim()))]));o.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."});var _=e.string().check(e.trim());o.add(_,{description:"The workspace bot user's name (this is the bot that will be used to perform various tasks)"});var L=e.string().check(e.trim());o.add(L,{description:"The email of the workspace bot"});var j=e.object({name:_,email:L});o.add(j,{description:"The workspace's bot user's config used to automated various operations tasks"});var A=e.optional(e.string().check(e.trim(),e.url()));o.add(A,{description:"A URL to a banner image used to display the workspace's release"});var R=e._default(e.string().check(e.trim()),p$1);o.add(R,{description:"The alt text for the workspace's release banner image"});var U=e.object({url:A,alt:R});o.add(U,{description:"The workspace's banner image used during the release process"});var D=e.optional(e.string().check(e.trim()));o.add(D,{description:"A header message appended to the start of the workspace's release notes"});var B=e.optional(e.string().check(e.trim()));o.add(B,{description:"A footer message appended to the end of the workspace's release notes"});var F=e.object({banner:e.union([U,e.string().check(e.trim(),e.url())]),header:D,footer:B});o.add(F,{description:"The workspace's release config used during the release process"});var N=e.optional(e.string().check(e.trim()));o.add(N,{description:"A Twitter/X account associated with the organization/project"});var E=e.optional(e.string().check(e.trim()));o.add(E,{description:"A Discord account associated with the organization/project"});var M=e.optional(e.string().check(e.trim()));o.add(M,{description:"A Telegram account associated with the organization/project"});var O=e.optional(e.string().check(e.trim()));o.add(O,{description:"A Slack account associated with the organization/project"});var I=e.optional(e.string().check(e.trim()));o.add(I,{description:"A Medium account associated with the organization/project"});var G=e.optional(e.string().check(e.trim()));o.add(G,{description:"A GitHub account associated with the organization/project"});var H=e.object({twitter:N,discord:E,telegram:M,slack:O,medium:I,github:G});o.add(H,{description:"The workspace's account config used to store various social media links"});var J=e.optional(e.string().check(e.trim()));o.add(J,{description:"The directory used to store the environment's cached file data"});var W=e.optional(e.string().check(e.trim()));o.add(W,{description:"The directory used to store the environment's data files"});var P=e.optional(e.string().check(e.trim()));o.add(P,{description:"The directory used to store the environment's configuration files"});var $=e.optional(e.string().check(e.trim()));o.add($,{description:"The directory used to store the environment's temp files"});var V=e.optional(e.string().check(e.trim()));o.add(V,{description:"The directory used to store the environment's log files"});var X=e._default(e.string().check(e.trim()),"dist");o.add(X,{description:"The directory used to store the workspace's distributable files after a build (relative to the workspace root)"});var Y=e.object({cache:J,data:W,config:P,temp:$,log:V,build:X});o.add(Y,{description:"Various directories used by the workspace to store data, cache, and configuration files"});var q=e._default(e.enum(["minimal","monorepo"]),"monorepo");o.add(q,{description:"The variant of the workspace. This can be used to enable or disable certain features or configurations."});var K=e._default(e.string().check(e.trim()),o$1);o.add(K,{description:"The path to the workspace's error codes JSON file"});var Q=e.optional(e.url());o.add(Q,{description:"A URL to a page that looks up the workspace's error messages given a specific error code"});var Z=e.object({codesFile:K,url:Q});o.add(Z,{description:"The workspace's error config used when creating error details during a system error"});var ee=e.optional(e.string().check(e.trim(),e.toLowerCase()));o.add(ee,{description:"The name of the organization"});var oe=e.optional(e.string().check(e.trim()));o.add(oe,{description:"A description of the organization"});var te=e.optional(e.url());o.add(te,{description:"A URL to the organization's logo image"});var re=e.optional(e.url());o.add(re,{description:"A URL to the organization's icon image"});var ae=e.optional(e.url());o.add(ae,{description:"A URL to a page that provides more information about the organization"});var ie=e.object({name:ee,description:oe,logo:te,icon:re,url:ae});o.add(ie,{description:"The workspace's organization details"});var ce=e._default(e.string().check(e.trim(),e.toLowerCase()),"https://public.storm-cdn.com/schemas/storm-workspace.schema.json");o.add(ce,{description:"The URL or file path to the JSON schema file that describes the Storm configuration file"});var se=e.string().check(e.trim(),e.toLowerCase());o.add(se,{description:"The name of the workspace/project/service/package/scope using this configuration"});var ne=e.string().check(e.trim(),e.toLowerCase());o.add(ne,{description:"The namespace of the workspace/project/service/package/scope using this configuration"});var de=e.union([ie,e.string().check(e.trim(),e.toLowerCase())]);o.add(de,{description:"The organization of the workspace. This can be a string or an object containing the organization's details"});var pe=e.string().check(e.trim(),e.toLowerCase());o.add(pe,{description:"The repo URL of the workspace (i.e. the GitHub repository URL)"});var he=e._default(e.string().check(e.trim()),"Apache-2.0");o.add(he,{description:"The license type of the package"});var le=e.optional(e.url());o.add(le,{description:"The homepage of the workspace"});var me=e.optional(e.url());o.add(me,{description:"The documentation site for the workspace"});var ze=e.optional(e.url());o.add(ze,{description:"The development portal site for the workspace"});var ge=e.optional(e.url());o.add(ge,{description:"The licensing site for the workspace"});var ue=e.optional(e.url());o.add(ue,{description:"The contact site for the workspace"});var fe=e.optional(e.url());o.add(fe,{description:"The support site for the workspace. If not provided, this is defaulted to the `contact` config value"});var ke=e._default(e.string().check(e.trim(),e.toLowerCase()),"main");o.add(ke,{description:"The branch of the workspace"});var we=e.optional(e.string().check(e.trim(),e.toLowerCase()));o.add(we,{description:"A tag specifying the version pre-release identifier"});var Se=e.optional(e.string().check(e.trim(),e.toLowerCase()));o.add(Se,{description:"The owner of the package"});var be=e._default(e.enum(["development","test","production"]).check(e.trim(),e.toLowerCase()),"production");o.add(be,{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 Te=e._default(e.boolean(),false);o.add(Te,{description:"Should all known types of workspace caching be skipped?"});var ve=e._default(e.enum(["npm","yarn","pnpm","bun"]),"npm");o.add(ve,{description:"The JavaScript/TypeScript package manager used by the repository"});var ye=e._default(e.string().check(e.trim()),"America/New_York");o.add(ye,{description:"The default timezone of the workspace"});var Ce=e._default(e.string().check(e.trim()),"en-US");o.add(Ce,{description:"The default locale of the workspace"});var _e=e._default(e.enum(["silent","fatal","error","warn","success","info","debug","trace","all"]),"info");o.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`)."});var Le=e._default(e.boolean(),true);o.add(Le,{description:"Should the logging of the current Storm Workspace configuration be skipped?"});var je=e._default(e.nullable(e.string().check(e.trim())),null);o.add(je,{description:"The filepath of the Storm config. When this field is null, no config file was found in the current workspace."});var b=e._default(e.record(e.string(),e.any()),{});o.add(b,{description:"Configuration of each used extension"});var Fe=e.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:e.union([S,y]),extensions:b});o.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."});
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,ie 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,be as ma,u as n,xe as na,f as o,Te as oa,k as p,ve as pa,w as q,ye as qa,Ae as r,Ce as ra,Re as s,_e as sa,Ue as t,Le as ta,De as u,je as ua,v,b as va,S as w,Fe as wa,y as x,C as y,j as z};
@@ -1 +0,0 @@
1
- var e=["dark","light","base","brand","alternate","accent","link","success","help","info","warning","danger","fatal","positive","negative"];export{e as a};