@storm-software/config 1.128.0 → 1.128.2

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.
@@ -1,631 +0,0 @@
1
- import {
2
- STORM_DEFAULT_BANNER_ALT,
3
- STORM_DEFAULT_ERROR_CODES_FILE
4
- } from "./chunk-OI57XQ6W.js";
5
-
6
- // src/schema.ts
7
- import * as z from "zod/mini";
8
- var schemaRegistry = z.registry();
9
- var colorSchema = z.string().check(
10
- z.length(7),
11
- z.toLowerCase(),
12
- z.regex(/^#([0-9a-f]{3}){1,2}$/i),
13
- z.trim()
14
- );
15
- schemaRegistry.add(colorSchema, {
16
- description: "A base schema for describing the format of colors"
17
- });
18
- var darkColorSchema = z._default(colorSchema, "#151718");
19
- schemaRegistry.add(darkColorSchema, {
20
- description: "The dark background color of the workspace"
21
- });
22
- var lightColorSchema = z._default(colorSchema, "#cbd5e1");
23
- schemaRegistry.add(lightColorSchema, {
24
- description: "The light background color of the workspace"
25
- });
26
- var brandColorSchema = z._default(colorSchema, "#1fb2a6");
27
- schemaRegistry.add(brandColorSchema, {
28
- description: "The primary brand specific color of the workspace"
29
- });
30
- var alternateColorSchema = z.optional(colorSchema);
31
- schemaRegistry.add(alternateColorSchema, {
32
- description: "The alternate brand specific color of the workspace"
33
- });
34
- var accentColorSchema = z.optional(colorSchema);
35
- schemaRegistry.add(accentColorSchema, {
36
- description: "The secondary brand specific color of the workspace"
37
- });
38
- var linkColorSchema = z._default(colorSchema, "#3fa6ff");
39
- schemaRegistry.add(linkColorSchema, {
40
- description: "The color used to display hyperlink text"
41
- });
42
- var helpColorSchema = z._default(colorSchema, "#818cf8");
43
- schemaRegistry.add(helpColorSchema, {
44
- description: "The second brand specific color of the workspace"
45
- });
46
- var successColorSchema = z._default(colorSchema, "#45b27e");
47
- schemaRegistry.add(successColorSchema, {
48
- description: "The success color of the workspace"
49
- });
50
- var infoColorSchema = z._default(colorSchema, "#38bdf8");
51
- schemaRegistry.add(infoColorSchema, {
52
- description: "The informational color of the workspace"
53
- });
54
- var warningColorSchema = z._default(colorSchema, "#f3d371");
55
- schemaRegistry.add(warningColorSchema, {
56
- description: "The warning color of the workspace"
57
- });
58
- var dangerColorSchema = z._default(colorSchema, "#d8314a");
59
- schemaRegistry.add(dangerColorSchema, {
60
- description: "The danger color of the workspace"
61
- });
62
- var fatalColorSchema = z.optional(colorSchema);
63
- schemaRegistry.add(fatalColorSchema, {
64
- description: "The fatal color of the workspace"
65
- });
66
- var positiveColorSchema = z._default(colorSchema, "#4ade80");
67
- schemaRegistry.add(positiveColorSchema, {
68
- description: "The positive number color of the workspace"
69
- });
70
- var negativeColorSchema = z._default(colorSchema, "#ef4444");
71
- schemaRegistry.add(negativeColorSchema, {
72
- description: "The negative number color of the workspace"
73
- });
74
- var gradientStopsSchema = z.optional(z.array(colorSchema));
75
- schemaRegistry.add(gradientStopsSchema, {
76
- description: "The color stops for the base gradient color pattern used in the workspace"
77
- });
78
- var darkColorsSchema = z.object({
79
- foreground: lightColorSchema,
80
- background: darkColorSchema,
81
- brand: brandColorSchema,
82
- alternate: alternateColorSchema,
83
- accent: accentColorSchema,
84
- link: linkColorSchema,
85
- help: helpColorSchema,
86
- success: successColorSchema,
87
- info: infoColorSchema,
88
- warning: warningColorSchema,
89
- danger: dangerColorSchema,
90
- fatal: fatalColorSchema,
91
- positive: positiveColorSchema,
92
- negative: negativeColorSchema,
93
- gradient: gradientStopsSchema
94
- });
95
- var lightColorsSchema = z.object({
96
- foreground: darkColorSchema,
97
- background: lightColorSchema,
98
- brand: brandColorSchema,
99
- alternate: alternateColorSchema,
100
- accent: accentColorSchema,
101
- link: linkColorSchema,
102
- help: helpColorSchema,
103
- success: successColorSchema,
104
- info: infoColorSchema,
105
- warning: warningColorSchema,
106
- danger: dangerColorSchema,
107
- fatal: fatalColorSchema,
108
- positive: positiveColorSchema,
109
- negative: negativeColorSchema,
110
- gradient: gradientStopsSchema
111
- });
112
- var multiColorsSchema = z.object({
113
- dark: darkColorsSchema,
114
- light: lightColorsSchema
115
- });
116
- var singleColorsSchema = z.object({
117
- dark: darkColorSchema,
118
- light: lightColorSchema,
119
- brand: brandColorSchema,
120
- alternate: alternateColorSchema,
121
- accent: accentColorSchema,
122
- link: linkColorSchema,
123
- help: helpColorSchema,
124
- success: successColorSchema,
125
- info: infoColorSchema,
126
- warning: warningColorSchema,
127
- danger: dangerColorSchema,
128
- fatal: fatalColorSchema,
129
- positive: positiveColorSchema,
130
- negative: negativeColorSchema,
131
- gradient: gradientStopsSchema
132
- });
133
- var registryUrlConfigSchema = z.optional(z.url());
134
- schemaRegistry.add(registryUrlConfigSchema, {
135
- description: "A remote registry URL used to publish distributable packages"
136
- });
137
- var registrySchema = z._default(
138
- z.object({
139
- github: registryUrlConfigSchema,
140
- npm: registryUrlConfigSchema,
141
- cargo: registryUrlConfigSchema,
142
- cyclone: registryUrlConfigSchema,
143
- container: registryUrlConfigSchema
144
- }),
145
- {}
146
- );
147
- schemaRegistry.add(registrySchema, {
148
- description: "A list of remote registry URLs used by Storm Software"
149
- });
150
- var colorsSchema = z.union([singleColorsSchema, multiColorsSchema]);
151
- schemaRegistry.add(colorsSchema, {
152
- description: "Colors used for various workspace elements"
153
- });
154
- var themeColorsSchema = z.record(
155
- z.union([z.union([z.literal("base"), z.string()]), z.string()]),
156
- colorsSchema
157
- );
158
- schemaRegistry.add(themeColorsSchema, {
159
- description: "Storm theme config values used for styling various package elements"
160
- });
161
- var extendsSchema = z.optional(
162
- z.union([z.string().check(z.trim()), z.array(z.string().check(z.trim()))])
163
- );
164
- schemaRegistry.add(extendsSchema, {
165
- 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."
166
- });
167
- var workspaceBotNameSchema = z.string().check(z.trim());
168
- schemaRegistry.add(workspaceBotNameSchema, {
169
- description: "The workspace bot user's name (this is the bot that will be used to perform various tasks)"
170
- });
171
- var workspaceBotEmailSchema = z.string().check(z.trim());
172
- schemaRegistry.add(workspaceBotEmailSchema, {
173
- description: "The email of the workspace bot"
174
- });
175
- var workspaceBotSchema = z.object({
176
- name: workspaceBotNameSchema,
177
- email: workspaceBotEmailSchema
178
- });
179
- schemaRegistry.add(workspaceBotSchema, {
180
- description: "The workspace's bot user's config used to automated various operations tasks"
181
- });
182
- var workspaceReleaseBannerUrlSchema = z.optional(
183
- z.string().check(z.trim(), z.url())
184
- );
185
- schemaRegistry.add(workspaceReleaseBannerUrlSchema, {
186
- description: "A URL to a banner image used to display the workspace's release"
187
- });
188
- var workspaceReleaseBannerAltSchema = z._default(
189
- z.string().check(z.trim()),
190
- STORM_DEFAULT_BANNER_ALT
191
- );
192
- schemaRegistry.add(workspaceReleaseBannerAltSchema, {
193
- description: "The alt text for the workspace's release banner image"
194
- });
195
- var workspaceReleaseBannerSchema = z.object({
196
- url: workspaceReleaseBannerUrlSchema,
197
- alt: workspaceReleaseBannerAltSchema
198
- });
199
- schemaRegistry.add(workspaceReleaseBannerSchema, {
200
- description: "The workspace's banner image used during the release process"
201
- });
202
- var workspaceReleaseHeaderSchema = z.optional(
203
- z.string().check(z.trim())
204
- );
205
- schemaRegistry.add(workspaceReleaseHeaderSchema, {
206
- description: "A header message appended to the start of the workspace's release notes"
207
- });
208
- var workspaceReleaseFooterSchema = z.optional(
209
- z.string().check(z.trim())
210
- );
211
- schemaRegistry.add(workspaceReleaseFooterSchema, {
212
- description: "A footer message appended to the end of the workspace's release notes"
213
- });
214
- var workspaceReleaseSchema = z.object({
215
- banner: z.union([
216
- workspaceReleaseBannerSchema,
217
- z.string().check(z.trim(), z.url())
218
- ]),
219
- header: workspaceReleaseHeaderSchema,
220
- footer: workspaceReleaseFooterSchema
221
- });
222
- schemaRegistry.add(workspaceReleaseSchema, {
223
- description: "The workspace's release config used during the release process"
224
- });
225
- var workspaceSocialsTwitterSchema = z.optional(
226
- z.string().check(z.trim())
227
- );
228
- schemaRegistry.add(workspaceSocialsTwitterSchema, {
229
- description: "A Twitter/X account associated with the organization/project"
230
- });
231
- var workspaceSocialsDiscordSchema = z.optional(
232
- z.string().check(z.trim())
233
- );
234
- schemaRegistry.add(workspaceSocialsDiscordSchema, {
235
- description: "A Discord account associated with the organization/project"
236
- });
237
- var workspaceSocialsTelegramSchema = z.optional(
238
- z.string().check(z.trim())
239
- );
240
- schemaRegistry.add(workspaceSocialsTelegramSchema, {
241
- description: "A Telegram account associated with the organization/project"
242
- });
243
- var workspaceSocialsSlackSchema = z.optional(
244
- z.string().check(z.trim())
245
- );
246
- schemaRegistry.add(workspaceSocialsSlackSchema, {
247
- description: "A Slack account associated with the organization/project"
248
- });
249
- var workspaceSocialsMediumSchema = z.optional(
250
- z.string().check(z.trim())
251
- );
252
- schemaRegistry.add(workspaceSocialsMediumSchema, {
253
- description: "A Medium account associated with the organization/project"
254
- });
255
- var workspaceSocialsGithubSchema = z.optional(
256
- z.string().check(z.trim())
257
- );
258
- schemaRegistry.add(workspaceSocialsGithubSchema, {
259
- description: "A GitHub account associated with the organization/project"
260
- });
261
- var workspaceSocialsSchema = z.object({
262
- twitter: workspaceSocialsTwitterSchema,
263
- discord: workspaceSocialsDiscordSchema,
264
- telegram: workspaceSocialsTelegramSchema,
265
- slack: workspaceSocialsSlackSchema,
266
- medium: workspaceSocialsMediumSchema,
267
- github: workspaceSocialsGithubSchema
268
- });
269
- schemaRegistry.add(workspaceSocialsSchema, {
270
- description: "The workspace's account config used to store various social media links"
271
- });
272
- var workspaceDirectoryCacheSchema = z.optional(
273
- z.string().check(z.trim())
274
- );
275
- schemaRegistry.add(workspaceDirectoryCacheSchema, {
276
- description: "The directory used to store the environment's cached file data"
277
- });
278
- var workspaceDirectoryDataSchema = z.optional(
279
- z.string().check(z.trim())
280
- );
281
- schemaRegistry.add(workspaceDirectoryDataSchema, {
282
- description: "The directory used to store the environment's data files"
283
- });
284
- var workspaceDirectoryConfigSchema = z.optional(
285
- z.string().check(z.trim())
286
- );
287
- schemaRegistry.add(workspaceDirectoryConfigSchema, {
288
- description: "The directory used to store the environment's configuration files"
289
- });
290
- var workspaceDirectoryTempSchema = z.optional(
291
- z.string().check(z.trim())
292
- );
293
- schemaRegistry.add(workspaceDirectoryTempSchema, {
294
- description: "The directory used to store the environment's temp files"
295
- });
296
- var workspaceDirectoryLogSchema = z.optional(
297
- z.string().check(z.trim())
298
- );
299
- schemaRegistry.add(workspaceDirectoryLogSchema, {
300
- description: "The directory used to store the environment's log files"
301
- });
302
- var workspaceDirectoryBuildSchema = z._default(
303
- z.string().check(z.trim()),
304
- "dist"
305
- );
306
- schemaRegistry.add(workspaceDirectoryBuildSchema, {
307
- description: "The directory used to store the workspace's distributable files after a build (relative to the workspace root)"
308
- });
309
- var workspaceDirectorySchema = z.object({
310
- cache: workspaceDirectoryCacheSchema,
311
- data: workspaceDirectoryDataSchema,
312
- config: workspaceDirectoryConfigSchema,
313
- temp: workspaceDirectoryTempSchema,
314
- log: workspaceDirectoryLogSchema,
315
- build: workspaceDirectoryBuildSchema
316
- });
317
- schemaRegistry.add(workspaceDirectorySchema, {
318
- description: "Various directories used by the workspace to store data, cache, and configuration files"
319
- });
320
- var errorCodesFileSchema = z._default(
321
- z.string().check(z.trim()),
322
- STORM_DEFAULT_ERROR_CODES_FILE
323
- );
324
- schemaRegistry.add(errorCodesFileSchema, {
325
- description: "The path to the workspace's error codes JSON file"
326
- });
327
- var errorUrlSchema = z.optional(z.url());
328
- schemaRegistry.add(errorUrlSchema, {
329
- description: "A URL to a page that looks up the workspace's error messages given a specific error code"
330
- });
331
- var errorSchema = z.object({
332
- codesFile: errorCodesFileSchema,
333
- url: errorUrlSchema
334
- });
335
- schemaRegistry.add(errorSchema, {
336
- description: "The workspace's error config used when creating error details during a system error"
337
- });
338
- var organizationNameSchema = z.optional(
339
- z.string().check(z.trim(), z.toLowerCase())
340
- );
341
- schemaRegistry.add(organizationNameSchema, {
342
- description: "The name of the organization"
343
- });
344
- var organizationDescriptionSchema = z.optional(
345
- z.string().check(z.trim())
346
- );
347
- schemaRegistry.add(organizationDescriptionSchema, {
348
- description: "A description of the organization"
349
- });
350
- var organizationLogoSchema = z.optional(z.url());
351
- schemaRegistry.add(organizationLogoSchema, {
352
- description: "A URL to the organization's logo image"
353
- });
354
- var organizationIconSchema = z.optional(z.url());
355
- schemaRegistry.add(organizationIconSchema, {
356
- description: "A URL to the organization's icon image"
357
- });
358
- var organizationUrlSchema = z.optional(z.url());
359
- schemaRegistry.add(organizationUrlSchema, {
360
- description: "A URL to a page that provides more information about the organization"
361
- });
362
- var organizationSchema = z.object({
363
- name: organizationNameSchema,
364
- description: organizationDescriptionSchema,
365
- logo: organizationLogoSchema,
366
- icon: organizationIconSchema,
367
- url: organizationUrlSchema
368
- });
369
- schemaRegistry.add(organizationSchema, {
370
- description: "The workspace's organization details"
371
- });
372
- var schemaNameSchema = z._default(
373
- z.string().check(z.trim(), z.toLowerCase()),
374
- "https://public.storm-cdn.com/schemas/storm-workspace.schema.json"
375
- );
376
- schemaRegistry.add(schemaNameSchema, {
377
- description: "The URL or file path to the JSON schema file that describes the Storm configuration file"
378
- });
379
- var nameSchema = z.string().check(z.trim(), z.toLowerCase());
380
- schemaRegistry.add(nameSchema, {
381
- description: "The name of the workspace/project/service/package/scope using this configuration"
382
- });
383
- var namespaceSchema = z.string().check(z.trim(), z.toLowerCase());
384
- schemaRegistry.add(namespaceSchema, {
385
- description: "The namespace of the workspace/project/service/package/scope using this configuration"
386
- });
387
- var orgSchema = z.union([
388
- organizationSchema,
389
- z.string().check(z.trim(), z.toLowerCase())
390
- ]);
391
- schemaRegistry.add(orgSchema, {
392
- description: "The organization of the workspace. This can be a string or an object containing the organization's details"
393
- });
394
- var repositorySchema = z.string().check(z.trim(), z.toLowerCase());
395
- schemaRegistry.add(repositorySchema, {
396
- description: "The repo URL of the workspace (i.e. the GitHub repository URL)"
397
- });
398
- var licenseSchema = z._default(
399
- z.string().check(z.trim()),
400
- "Apache-2.0"
401
- );
402
- schemaRegistry.add(licenseSchema, {
403
- description: "The license type of the package"
404
- });
405
- var homepageSchema = z.optional(z.url());
406
- schemaRegistry.add(homepageSchema, {
407
- description: "The homepage of the workspace"
408
- });
409
- var docsSchema = z.optional(z.url());
410
- schemaRegistry.add(docsSchema, {
411
- description: "The documentation site for the workspace"
412
- });
413
- var portalSchema = z.optional(z.url());
414
- schemaRegistry.add(portalSchema, {
415
- description: "The development portal site for the workspace"
416
- });
417
- var licensingSchema = z.optional(z.url());
418
- schemaRegistry.add(licensingSchema, {
419
- description: "The licensing site for the workspace"
420
- });
421
- var contactSchema = z.optional(z.url());
422
- schemaRegistry.add(contactSchema, {
423
- description: "The contact site for the workspace"
424
- });
425
- var supportSchema = z.optional(z.url());
426
- schemaRegistry.add(supportSchema, {
427
- description: "The support site for the workspace. If not provided, this is defaulted to the `contact` config value"
428
- });
429
- var branchSchema = z._default(
430
- z.string().check(z.trim(), z.toLowerCase()),
431
- "main"
432
- );
433
- schemaRegistry.add(branchSchema, {
434
- description: "The branch of the workspace"
435
- });
436
- var preidSchema = z.optional(
437
- z.string().check(z.trim(), z.toLowerCase())
438
- );
439
- schemaRegistry.add(preidSchema, {
440
- description: "A tag specifying the version pre-release identifier"
441
- });
442
- var ownerSchema = z.optional(
443
- z.string().check(z.trim(), z.toLowerCase())
444
- );
445
- schemaRegistry.add(ownerSchema, {
446
- description: "The owner of the package"
447
- });
448
- var modeSchema = z._default(
449
- z.enum(["development", "staging", "production"]).check(z.trim(), z.toLowerCase()),
450
- "production"
451
- );
452
- schemaRegistry.add(modeSchema, {
453
- description: "The current runtime environment mode for the package"
454
- });
455
- var workspaceRootSchema = z.string().check(z.trim(), z.toLowerCase());
456
- schemaRegistry.add(workspaceRootSchema, {
457
- description: "The root directory of the workspace"
458
- });
459
- var skipCacheSchema = z._default(z.boolean(), false);
460
- schemaRegistry.add(skipCacheSchema, {
461
- description: "Should all known types of workspace caching be skipped?"
462
- });
463
- var packageManagerSchema = z._default(
464
- z.enum(["npm", "yarn", "pnpm", "bun"]),
465
- "npm"
466
- );
467
- schemaRegistry.add(packageManagerSchema, {
468
- description: "The JavaScript/TypeScript package manager used by the repository"
469
- });
470
- var timezoneSchema = z._default(
471
- z.string().check(z.trim(), z.toLowerCase()),
472
- "America/New_York"
473
- );
474
- schemaRegistry.add(timezoneSchema, {
475
- description: "The default timezone of the workspace"
476
- });
477
- var localeSchema = z._default(
478
- z.string().check(z.trim(), z.toLowerCase()),
479
- "en-US"
480
- );
481
- schemaRegistry.add(localeSchema, {
482
- description: "The default locale of the workspace"
483
- });
484
- var logLevelSchema = z._default(
485
- z.enum([
486
- "silent",
487
- "fatal",
488
- "error",
489
- "warn",
490
- "success",
491
- "info",
492
- "debug",
493
- "trace",
494
- "all"
495
- ]),
496
- "info"
497
- );
498
- schemaRegistry.add(logLevelSchema, {
499
- 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`)."
500
- });
501
- var skipConfigLoggingSchema = z._default(z.boolean(), true);
502
- schemaRegistry.add(skipConfigLoggingSchema, {
503
- description: "Should the logging of the current Storm Workspace configuration be skipped?"
504
- });
505
- var configFileSchema = z._default(
506
- z.nullable(z.string().check(z.trim())),
507
- null
508
- );
509
- schemaRegistry.add(configFileSchema, {
510
- description: "The filepath of the Storm config. When this field is null, no config file was found in the current workspace."
511
- });
512
- var extensionsSchema = z._default(z.record(z.string(), z.any()), {});
513
- schemaRegistry.add(extensionsSchema, {
514
- description: "Configuration of each used extension"
515
- });
516
- var workspaceConfigSchema = z.object({
517
- $schema: schemaNameSchema,
518
- extends: extendsSchema,
519
- name: nameSchema,
520
- namespace: namespaceSchema,
521
- organization: orgSchema,
522
- repository: repositorySchema,
523
- license: licenseSchema,
524
- homepage: homepageSchema,
525
- docs: docsSchema,
526
- portal: portalSchema,
527
- licensing: licensingSchema,
528
- contact: contactSchema,
529
- support: supportSchema,
530
- branch: branchSchema,
531
- preid: preidSchema,
532
- owner: ownerSchema,
533
- bot: workspaceBotSchema,
534
- release: workspaceReleaseSchema,
535
- socials: workspaceSocialsSchema,
536
- error: errorSchema,
537
- mode: modeSchema,
538
- workspaceRoot: workspaceRootSchema,
539
- skipCache: skipCacheSchema,
540
- directories: workspaceDirectorySchema,
541
- packageManager: packageManagerSchema,
542
- timezone: timezoneSchema,
543
- locale: localeSchema,
544
- logLevel: logLevelSchema,
545
- skipConfigLogging: skipConfigLoggingSchema,
546
- registry: registrySchema,
547
- configFile: configFileSchema,
548
- colors: z.union([colorsSchema, themeColorsSchema]),
549
- extensions: extensionsSchema
550
- });
551
- schemaRegistry.add(extensionsSchema, {
552
- 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."
553
- });
554
-
555
- export {
556
- schemaRegistry,
557
- darkColorSchema,
558
- lightColorSchema,
559
- brandColorSchema,
560
- alternateColorSchema,
561
- accentColorSchema,
562
- linkColorSchema,
563
- helpColorSchema,
564
- successColorSchema,
565
- infoColorSchema,
566
- warningColorSchema,
567
- dangerColorSchema,
568
- fatalColorSchema,
569
- positiveColorSchema,
570
- negativeColorSchema,
571
- gradientStopsSchema,
572
- darkColorsSchema,
573
- lightColorsSchema,
574
- multiColorsSchema,
575
- singleColorsSchema,
576
- registrySchema,
577
- colorsSchema,
578
- themeColorsSchema,
579
- extendsSchema,
580
- workspaceBotSchema,
581
- workspaceReleaseBannerUrlSchema,
582
- workspaceReleaseBannerAltSchema,
583
- workspaceReleaseBannerSchema,
584
- workspaceReleaseHeaderSchema,
585
- workspaceReleaseFooterSchema,
586
- workspaceReleaseSchema,
587
- workspaceSocialsTwitterSchema,
588
- workspaceSocialsDiscordSchema,
589
- workspaceSocialsTelegramSchema,
590
- workspaceSocialsSlackSchema,
591
- workspaceSocialsMediumSchema,
592
- workspaceSocialsGithubSchema,
593
- workspaceSocialsSchema,
594
- workspaceDirectoryCacheSchema,
595
- workspaceDirectoryDataSchema,
596
- workspaceDirectoryConfigSchema,
597
- workspaceDirectoryTempSchema,
598
- workspaceDirectoryLogSchema,
599
- workspaceDirectoryBuildSchema,
600
- workspaceDirectorySchema,
601
- errorCodesFileSchema,
602
- errorUrlSchema,
603
- errorSchema,
604
- organizationNameSchema,
605
- organizationDescriptionSchema,
606
- organizationLogoSchema,
607
- organizationIconSchema,
608
- organizationUrlSchema,
609
- organizationSchema,
610
- licenseSchema,
611
- homepageSchema,
612
- docsSchema,
613
- portalSchema,
614
- licensingSchema,
615
- contactSchema,
616
- supportSchema,
617
- branchSchema,
618
- preidSchema,
619
- ownerSchema,
620
- modeSchema,
621
- workspaceRootSchema,
622
- skipCacheSchema,
623
- packageManagerSchema,
624
- timezoneSchema,
625
- localeSchema,
626
- logLevelSchema,
627
- skipConfigLoggingSchema,
628
- configFileSchema,
629
- extensionsSchema,
630
- workspaceConfigSchema
631
- };
@@ -1,6 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/define-config.ts
2
- var defineConfig = (input) => input;
3
-
4
-
5
-
6
- exports.defineConfig = defineConfig;
@@ -1,22 +0,0 @@
1
- // src/types.ts
2
- var COLOR_KEYS = [
3
- "dark",
4
- "light",
5
- "base",
6
- "brand",
7
- "alternate",
8
- "accent",
9
- "link",
10
- "success",
11
- "help",
12
- "info",
13
- "warning",
14
- "danger",
15
- "fatal",
16
- "positive",
17
- "negative"
18
- ];
19
-
20
- export {
21
- COLOR_KEYS
22
- };
@@ -1,42 +0,0 @@
1
- // src/constants.ts
2
- var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
3
- var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
4
- var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
5
- var STORM_DEFAULT_SUPPORT = "https://stormsoftware.com/support";
6
- var STORM_DEFAULT_LICENSING = "https://stormsoftware.com/license";
7
- var STORM_DEFAULT_LICENSE = "Apache-2.0";
8
- var STORM_DEFAULT_RELEASE_BANNER = "https://public.storm-cdn.com/brand-banner.png";
9
- var STORM_DEFAULT_SOCIAL_TWITTER = "StormSoftwareHQ";
10
- var STORM_DEFAULT_SOCIAL_DISCORD = "https://discord.gg/MQ6YVzakM5";
11
- var STORM_DEFAULT_SOCIAL_TELEGRAM = "https://t.me/storm_software";
12
- var STORM_DEFAULT_SOCIAL_SLACK = "https://join.slack.com/t/storm-software/shared_invite/zt-2gsmk04hs-i6yhK_r6urq0dkZYAwq2pA";
13
- var STORM_DEFAULT_SOCIAL_MEDIUM = "https://medium.com/storm-software";
14
- var STORM_DEFAULT_SOCIAL_GITHUB = "https://github.com/storm-software";
15
- var STORM_DEFAULT_RELEASE_FOOTER = `
16
- Storm Software is an open source software development organization with the mission is to make software development more accessible. Our ideal future is one where anyone can create software without years of prior development experience serving as a barrier to entry. We hope to achieve this via LLMs, Generative AI, and intuitive, high-level data modeling/programming languages.
17
-
18
- Join us on [Discord](${STORM_DEFAULT_SOCIAL_DISCORD}) to chat with the team, receive release notifications, ask questions, and get involved.
19
-
20
- If this sounds interesting, and you would like to help us in creating the next generation of development tools, please reach out on our [website](${STORM_DEFAULT_CONTACT}) or join our [Slack](${STORM_DEFAULT_SOCIAL_SLACK}) channel!
21
- `;
22
- var STORM_DEFAULT_ERROR_CODES_FILE = "tools/errors/codes.json";
23
- var STORM_DEFAULT_BANNER_ALT = "The workspace's banner image";
24
-
25
- export {
26
- STORM_DEFAULT_DOCS,
27
- STORM_DEFAULT_HOMEPAGE,
28
- STORM_DEFAULT_CONTACT,
29
- STORM_DEFAULT_SUPPORT,
30
- STORM_DEFAULT_LICENSING,
31
- STORM_DEFAULT_LICENSE,
32
- STORM_DEFAULT_RELEASE_BANNER,
33
- STORM_DEFAULT_SOCIAL_TWITTER,
34
- STORM_DEFAULT_SOCIAL_DISCORD,
35
- STORM_DEFAULT_SOCIAL_TELEGRAM,
36
- STORM_DEFAULT_SOCIAL_SLACK,
37
- STORM_DEFAULT_SOCIAL_MEDIUM,
38
- STORM_DEFAULT_SOCIAL_GITHUB,
39
- STORM_DEFAULT_RELEASE_FOOTER,
40
- STORM_DEFAULT_ERROR_CODES_FILE,
41
- STORM_DEFAULT_BANNER_ALT
42
- };