@storm-software/config 1.122.8 → 1.123.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/CHANGELOG.md CHANGED
@@ -2,6 +2,27 @@
2
2
 
3
3
  # Changelog for Storm Ops - Config
4
4
 
5
+ ## [1.123.0](https://github.com/storm-software/storm-ops/releases/tag/config%401.123.0) (2025-06-20)
6
+
7
+ ### Features
8
+
9
+ - **config:** Export `OrganizationConfig` type definitions
10
+ ([1789efc81](https://github.com/storm-software/storm-ops/commit/1789efc81))
11
+ - **config:** Added the `organization` sub-node configuration object
12
+ ([1550346b8](https://github.com/storm-software/storm-ops/commit/1550346b8))
13
+
14
+ ### Miscellaneous
15
+
16
+ - **monorepo:** Regenerate README markdown files
17
+ ([0bdc8a84e](https://github.com/storm-software/storm-ops/commit/0bdc8a84e))
18
+
19
+ ## [1.122.8](https://github.com/storm-software/storm-ops/releases/tag/config%401.122.8) (2025-06-18)
20
+
21
+ ### Miscellaneous
22
+
23
+ - **monorepo:** Regenerate README markdown files
24
+ ([0975b603d](https://github.com/storm-software/storm-ops/commit/0975b603d))
25
+
5
26
  ## [1.122.7](https://github.com/storm-software/storm-ops/releases/tag/config%401.122.7) (2025-06-18)
6
27
 
7
28
  ### Miscellaneous
package/README.md CHANGED
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
21
21
 
22
22
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
23
23
 
24
- [![Version](https://img.shields.io/badge/version-1.122.7-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-1.122.8-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
@@ -11,7 +11,7 @@ import {
11
11
  } from "./chunk-X3RNGA5B.js";
12
12
 
13
13
  // src/schema.ts
14
- import z from "zod";
14
+ import * as z from "zod/v4";
15
15
  var DarkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1d1e22").describe("The dark background color of the workspace");
16
16
  var LightColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
17
17
  var BrandColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The primary brand specific color of the workspace");
@@ -152,6 +152,15 @@ var errorConfigSchema = z.object({
152
152
  "A URL to a page that looks up the workspace's error messages given a specific error code"
153
153
  )
154
154
  }).describe("The workspace's error config used during the error process");
155
+ var organizationConfigSchema = z.object({
156
+ name: z.string().trim().describe("The name of the organization"),
157
+ description: z.string().trim().optional().describe("A description of the organization"),
158
+ logo: z.string().trim().url().optional().describe("A URL to the organization's logo image"),
159
+ icon: z.string().trim().url().optional().describe("A URL to the organization's icon image"),
160
+ url: z.string().trim().url().optional().describe(
161
+ "A URL to a page that provides more information about the organization"
162
+ )
163
+ }).describe("The workspace's organization details");
155
164
  var stormWorkspaceConfigSchema = z.object({
156
165
  $schema: z.string().trim().default(
157
166
  "https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json"
@@ -163,7 +172,9 @@ var stormWorkspaceConfigSchema = z.object({
163
172
  "The name of the service/package/scope using this configuration"
164
173
  ),
165
174
  namespace: z.string().trim().toLowerCase().optional().describe("The namespace of the package"),
166
- organization: z.string().trim().default("storm-software").describe("The organization of the workspace"),
175
+ organization: organizationConfigSchema.or(z.string().trim().describe("The organization of the workspace")).optional().describe(
176
+ "The organization of the workspace. This can be a string or an object containing the organization's details"
177
+ ),
167
178
  repository: z.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
168
179
  license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
169
180
  homepage: z.string().trim().url().optional().describe("The homepage of the workspace"),
@@ -216,7 +227,7 @@ var stormWorkspaceConfigSchema = z.object({
216
227
  colors: ColorConfigSchema.or(ColorConfigMapSchema).describe(
217
228
  "Storm theme config values used for styling various package elements"
218
229
  ),
219
- extensions: z.record(z.any()).optional().default({}).describe("Configuration of each used extension")
230
+ extensions: z.record(z.string(), z.any()).optional().default({}).describe("Configuration of each used extension")
220
231
  }).describe(
221
232
  "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."
222
233
  );
@@ -236,5 +247,6 @@ export {
236
247
  WorkspaceAccountConfigSchema,
237
248
  WorkspaceDirectoryConfigSchema,
238
249
  errorConfigSchema,
250
+ organizationConfigSchema,
239
251
  stormWorkspaceConfigSchema
240
252
  };
@@ -0,0 +1,252 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
10
+
11
+ var _chunkHPEJ52UXcjs = require('./chunk-HPEJ52UX.cjs');
12
+
13
+ // src/schema.ts
14
+ var _v4 = require('zod/v4'); var z = _interopRequireWildcard(_v4);
15
+ var DarkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1d1e22").describe("The dark background color of the workspace");
16
+ var LightColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
17
+ var BrandColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The primary brand specific color of the workspace");
18
+ var AlternateColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The alternate brand specific color of the workspace");
19
+ var AccentColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The secondary brand specific color of the workspace");
20
+ var LinkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display hyperlink text");
21
+ var HelpColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#8256D0").describe("The second brand specific color of the workspace");
22
+ var SuccessColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#12B66A").describe("The success color of the workspace");
23
+ var InfoColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0070E0").describe("The informational color of the workspace");
24
+ var WarningColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#fcc419").describe("The warning color of the workspace");
25
+ var DangerColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#D8314A").describe("The danger color of the workspace");
26
+ var FatalColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
27
+ var PositiveColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#4ade80").describe("The positive number color of the workspace");
28
+ var NegativeColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#ef4444").describe("The negative number color of the workspace");
29
+ var DarkThemeColorConfigSchema = z.object({
30
+ foreground: LightColorSchema,
31
+ background: DarkColorSchema,
32
+ brand: BrandColorSchema,
33
+ alternate: AlternateColorSchema,
34
+ accent: AccentColorSchema,
35
+ link: LinkColorSchema,
36
+ help: HelpColorSchema,
37
+ success: SuccessColorSchema,
38
+ info: InfoColorSchema,
39
+ warning: WarningColorSchema,
40
+ danger: DangerColorSchema,
41
+ fatal: FatalColorSchema,
42
+ positive: PositiveColorSchema,
43
+ negative: NegativeColorSchema
44
+ });
45
+ var LightThemeColorConfigSchema = z.object({
46
+ foreground: DarkColorSchema,
47
+ background: LightColorSchema,
48
+ brand: BrandColorSchema,
49
+ alternate: AlternateColorSchema,
50
+ accent: AccentColorSchema,
51
+ link: LinkColorSchema,
52
+ help: HelpColorSchema,
53
+ success: SuccessColorSchema,
54
+ info: InfoColorSchema,
55
+ warning: WarningColorSchema,
56
+ danger: DangerColorSchema,
57
+ fatal: FatalColorSchema,
58
+ positive: PositiveColorSchema,
59
+ negative: NegativeColorSchema
60
+ });
61
+ var MultiThemeColorConfigSchema = z.object({
62
+ dark: DarkThemeColorConfigSchema,
63
+ light: LightThemeColorConfigSchema
64
+ });
65
+ var SingleThemeColorConfigSchema = z.object({
66
+ dark: DarkColorSchema,
67
+ light: LightColorSchema,
68
+ brand: BrandColorSchema,
69
+ alternate: AlternateColorSchema,
70
+ accent: AccentColorSchema,
71
+ link: LinkColorSchema,
72
+ help: HelpColorSchema,
73
+ success: SuccessColorSchema,
74
+ info: InfoColorSchema,
75
+ warning: WarningColorSchema,
76
+ danger: DangerColorSchema,
77
+ fatal: FatalColorSchema,
78
+ positive: PositiveColorSchema,
79
+ negative: NegativeColorSchema
80
+ });
81
+ var RegistryUrlConfigSchema = z.string().trim().toLowerCase().url().optional().describe("A remote registry URL used to publish distributable packages");
82
+ var RegistryConfigSchema = z.object({
83
+ github: RegistryUrlConfigSchema,
84
+ npm: RegistryUrlConfigSchema,
85
+ cargo: RegistryUrlConfigSchema,
86
+ cyclone: RegistryUrlConfigSchema,
87
+ container: RegistryUrlConfigSchema
88
+ }).default({}).describe("A list of remote registry URLs used by Storm Software");
89
+ var ColorConfigSchema = SingleThemeColorConfigSchema.or(
90
+ MultiThemeColorConfigSchema
91
+ ).describe("Colors used for various workspace elements");
92
+ var ColorConfigMapSchema = z.union([
93
+ z.object({ base: ColorConfigSchema }),
94
+ z.record(z.string(), ColorConfigSchema)
95
+ ]);
96
+ var ExtendsItemSchema = z.string().trim().describe(
97
+ "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."
98
+ );
99
+ var ExtendsSchema = ExtendsItemSchema.or(
100
+ z.array(ExtendsItemSchema)
101
+ ).describe(
102
+ "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."
103
+ );
104
+ var WorkspaceBotConfigSchema = z.object({
105
+ name: z.string().trim().default("stormie-bot").describe(
106
+ "The workspace bot user's name (this is the bot that will be used to perform various tasks)"
107
+ ),
108
+ email: z.string().trim().email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
109
+ }).describe(
110
+ "The workspace's bot user's config used to automated various operations tasks"
111
+ );
112
+ var WorkspaceReleaseConfigSchema = z.object({
113
+ banner: z.string().trim().default(_chunkHPEJ52UXcjs.STORM_DEFAULT_RELEASE_BANNER).describe(
114
+ "A URL to a banner image used to display the workspace's release"
115
+ ),
116
+ header: z.string().trim().optional().describe(
117
+ "A header message appended to the start of the workspace's release notes"
118
+ ),
119
+ footer: z.string().trim().default(_chunkHPEJ52UXcjs.STORM_DEFAULT_RELEASE_FOOTER).describe(
120
+ "A footer message appended to the end of the workspace's release notes"
121
+ )
122
+ }).describe("The workspace's release config used during the release process");
123
+ var WorkspaceAccountConfigSchema = z.object({
124
+ twitter: z.string().trim().default(_chunkHPEJ52UXcjs.STORM_DEFAULT_ACCOUNT_TWITTER).describe("A Twitter/X account associated with the organization/project"),
125
+ discord: z.string().trim().default(_chunkHPEJ52UXcjs.STORM_DEFAULT_ACCOUNT_DISCORD).describe("A Discord account associated with the organization/project"),
126
+ telegram: z.string().trim().default(_chunkHPEJ52UXcjs.STORM_DEFAULT_ACCOUNT_TELEGRAM).describe("A Telegram account associated with the organization/project"),
127
+ slack: z.string().trim().default(_chunkHPEJ52UXcjs.STORM_DEFAULT_ACCOUNT_SLACK).describe("A Slack account associated with the organization/project"),
128
+ medium: z.string().trim().default(_chunkHPEJ52UXcjs.STORM_DEFAULT_ACCOUNT_MEDIUM).describe("A Medium account associated with the organization/project"),
129
+ github: z.string().trim().default(_chunkHPEJ52UXcjs.STORM_DEFAULT_ACCOUNT_GITHUB).describe("A GitHub account associated with the organization/project")
130
+ }).describe(
131
+ "The workspace's account config used to store various social media links"
132
+ );
133
+ var WorkspaceDirectoryConfigSchema = z.object({
134
+ cache: z.string().trim().optional().describe(
135
+ "The directory used to store the environment's cached file data"
136
+ ),
137
+ data: z.string().trim().optional().describe("The directory used to store the environment's data files"),
138
+ config: z.string().trim().optional().describe(
139
+ "The directory used to store the environment's configuration files"
140
+ ),
141
+ temp: z.string().trim().optional().describe("The directory used to store the environment's temp files"),
142
+ log: z.string().trim().optional().describe("The directory used to store the environment's temp files"),
143
+ build: z.string().trim().default("dist").describe(
144
+ "The directory used to store the workspace's distributable files after a build (relative to the workspace root)"
145
+ )
146
+ }).describe(
147
+ "Various directories used by the workspace to store data, cache, and configuration files"
148
+ );
149
+ var errorConfigSchema = z.object({
150
+ codesFile: z.string().trim().default(_chunkHPEJ52UXcjs.STORM_DEFAULT_ERROR_CODES_FILE).describe("The path to the workspace's error codes JSON file"),
151
+ url: z.string().trim().url().optional().describe(
152
+ "A URL to a page that looks up the workspace's error messages given a specific error code"
153
+ )
154
+ }).describe("The workspace's error config used during the error process");
155
+ var organizationConfigSchema = z.object({
156
+ name: z.string().trim().describe("The name of the organization"),
157
+ description: z.string().trim().optional().describe("A description of the organization"),
158
+ logo: z.string().trim().url().optional().describe("A URL to the organization's logo image"),
159
+ icon: z.string().trim().url().optional().describe("A URL to the organization's icon image"),
160
+ url: z.string().trim().url().optional().describe(
161
+ "A URL to a page that provides more information about the organization"
162
+ )
163
+ }).describe("The workspace's organization details");
164
+ var stormWorkspaceConfigSchema = z.object({
165
+ $schema: z.string().trim().default(
166
+ "https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json"
167
+ ).optional().nullish().describe(
168
+ "The URL to the JSON schema file that describes the Storm configuration file"
169
+ ),
170
+ extends: ExtendsSchema.optional(),
171
+ name: z.string().trim().toLowerCase().optional().describe(
172
+ "The name of the service/package/scope using this configuration"
173
+ ),
174
+ namespace: z.string().trim().toLowerCase().optional().describe("The namespace of the package"),
175
+ organization: organizationConfigSchema.or(z.string().trim().describe("The organization of the workspace")).optional().describe(
176
+ "The organization of the workspace. This can be a string or an object containing the organization's details"
177
+ ),
178
+ repository: z.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
179
+ license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
180
+ homepage: z.string().trim().url().optional().describe("The homepage of the workspace"),
181
+ docs: z.string().trim().url().optional().describe("The documentation site for the workspace"),
182
+ portal: z.string().trim().url().optional().describe("The development portal site for the workspace"),
183
+ licensing: z.string().trim().url().optional().describe("The licensing site for the workspace"),
184
+ contact: z.string().trim().url().optional().describe("The contact site for the workspace"),
185
+ support: z.string().trim().url().optional().describe(
186
+ "The support site for the workspace. If not provided, this is defaulted to the `contact` config value"
187
+ ),
188
+ branch: z.string().trim().default("main").describe("The branch of the workspace"),
189
+ preid: z.string().optional().describe("A tag specifying the version pre-release identifier"),
190
+ owner: z.string().trim().default("@storm-software/admin").describe("The owner of the package"),
191
+ bot: WorkspaceBotConfigSchema,
192
+ release: WorkspaceReleaseConfigSchema,
193
+ account: WorkspaceAccountConfigSchema,
194
+ error: errorConfigSchema,
195
+ mode: z.enum(["development", "staging", "production"]).default("production").describe("The current runtime environment mode for the package"),
196
+ workspaceRoot: z.string().trim().describe("The root directory of the workspace"),
197
+ externalPackagePatterns: z.array(z.string()).default([]).describe(
198
+ "The build will use these package patterns to determine if they should be external to the bundle"
199
+ ),
200
+ skipCache: z.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
201
+ directories: WorkspaceDirectoryConfigSchema,
202
+ packageManager: z.enum(["npm", "yarn", "pnpm", "bun"]).default("npm").describe(
203
+ "The JavaScript/TypeScript package manager used by the repository"
204
+ ),
205
+ timezone: z.string().trim().default("America/New_York").describe("The default timezone of the workspace"),
206
+ locale: z.string().trim().default("en-US").describe("The default locale of the workspace"),
207
+ logLevel: z.enum([
208
+ "silent",
209
+ "fatal",
210
+ "error",
211
+ "warn",
212
+ "success",
213
+ "info",
214
+ "debug",
215
+ "trace",
216
+ "all"
217
+ ]).default("info").describe(
218
+ "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`)."
219
+ ),
220
+ skipConfigLogging: z.boolean().optional().describe(
221
+ "Should the logging of the current Storm Workspace configuration be skipped?"
222
+ ),
223
+ registry: RegistryConfigSchema,
224
+ configFile: z.string().trim().nullable().default(null).describe(
225
+ "The filepath of the Storm config. When this field is null, no config file was found in the current workspace."
226
+ ),
227
+ colors: ColorConfigSchema.or(ColorConfigMapSchema).describe(
228
+ "Storm theme config values used for styling various package elements"
229
+ ),
230
+ extensions: z.record(z.string(), z.any()).optional().default({}).describe("Configuration of each used extension")
231
+ }).describe(
232
+ "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."
233
+ );
234
+
235
+
236
+
237
+
238
+
239
+
240
+
241
+
242
+
243
+
244
+
245
+
246
+
247
+
248
+
249
+
250
+
251
+
252
+ exports.DarkThemeColorConfigSchema = DarkThemeColorConfigSchema; exports.LightThemeColorConfigSchema = LightThemeColorConfigSchema; exports.MultiThemeColorConfigSchema = MultiThemeColorConfigSchema; exports.SingleThemeColorConfigSchema = SingleThemeColorConfigSchema; exports.RegistryUrlConfigSchema = RegistryUrlConfigSchema; exports.RegistryConfigSchema = RegistryConfigSchema; exports.ColorConfigSchema = ColorConfigSchema; exports.ColorConfigMapSchema = ColorConfigMapSchema; exports.ExtendsSchema = ExtendsSchema; exports.WorkspaceBotConfigSchema = WorkspaceBotConfigSchema; exports.WorkspaceReleaseConfigSchema = WorkspaceReleaseConfigSchema; exports.WorkspaceAccountConfigSchema = WorkspaceAccountConfigSchema; exports.WorkspaceDirectoryConfigSchema = WorkspaceDirectoryConfigSchema; exports.errorConfigSchema = errorConfigSchema; exports.organizationConfigSchema = organizationConfigSchema; exports.stormWorkspaceConfigSchema = stormWorkspaceConfigSchema;
@@ -1,5 +1,5 @@
1
1
  import { StormWorkspaceConfigInput } from './types.cjs';
2
- import 'zod';
2
+ import 'zod/v4';
3
3
  import './schema.cjs';
4
4
 
5
5
  /**
@@ -40,9 +40,6 @@ declare const defineConfig: (input: StormWorkspaceConfigInput) => {
40
40
  build?: string | undefined;
41
41
  };
42
42
  colors: {
43
- fatal?: string | undefined;
44
- success?: string | undefined;
45
- info?: string | undefined;
46
43
  dark?: string | undefined;
47
44
  light?: string | undefined;
48
45
  brand?: string | undefined;
@@ -50,48 +47,96 @@ declare const defineConfig: (input: StormWorkspaceConfigInput) => {
50
47
  accent?: string | undefined;
51
48
  link?: string | undefined;
52
49
  help?: string | undefined;
50
+ success?: string | undefined;
51
+ info?: string | undefined;
53
52
  warning?: string | undefined;
54
53
  danger?: string | undefined;
54
+ fatal?: string | undefined;
55
55
  positive?: string | undefined;
56
56
  negative?: string | undefined;
57
57
  } | {
58
58
  dark: {
59
- fatal?: string | undefined;
60
- success?: string | undefined;
61
- info?: string | undefined;
59
+ foreground?: string | undefined;
60
+ background?: string | undefined;
62
61
  brand?: string | undefined;
63
62
  alternate?: string | undefined;
64
63
  accent?: string | undefined;
65
64
  link?: string | undefined;
66
65
  help?: string | undefined;
66
+ success?: string | undefined;
67
+ info?: string | undefined;
67
68
  warning?: string | undefined;
68
69
  danger?: string | undefined;
70
+ fatal?: string | undefined;
69
71
  positive?: string | undefined;
70
72
  negative?: string | undefined;
71
- foreground?: string | undefined;
72
- background?: string | undefined;
73
73
  };
74
74
  light: {
75
- fatal?: string | undefined;
75
+ foreground?: string | undefined;
76
+ background?: string | undefined;
77
+ brand?: string | undefined;
78
+ alternate?: string | undefined;
79
+ accent?: string | undefined;
80
+ link?: string | undefined;
81
+ help?: string | undefined;
76
82
  success?: string | undefined;
77
83
  info?: string | undefined;
84
+ warning?: string | undefined;
85
+ danger?: string | undefined;
86
+ fatal?: string | undefined;
87
+ positive?: string | undefined;
88
+ negative?: string | undefined;
89
+ };
90
+ } | Record<string, {
91
+ dark?: string | undefined;
92
+ light?: string | undefined;
93
+ brand?: string | undefined;
94
+ alternate?: string | undefined;
95
+ accent?: string | undefined;
96
+ link?: string | undefined;
97
+ help?: string | undefined;
98
+ success?: string | undefined;
99
+ info?: string | undefined;
100
+ warning?: string | undefined;
101
+ danger?: string | undefined;
102
+ fatal?: string | undefined;
103
+ positive?: string | undefined;
104
+ negative?: string | undefined;
105
+ } | {
106
+ dark: {
107
+ foreground?: string | undefined;
108
+ background?: string | undefined;
78
109
  brand?: string | undefined;
79
110
  alternate?: string | undefined;
80
111
  accent?: string | undefined;
81
112
  link?: string | undefined;
82
113
  help?: string | undefined;
114
+ success?: string | undefined;
115
+ info?: string | undefined;
83
116
  warning?: string | undefined;
84
117
  danger?: string | undefined;
118
+ fatal?: string | undefined;
85
119
  positive?: string | undefined;
86
120
  negative?: string | undefined;
121
+ };
122
+ light: {
87
123
  foreground?: string | undefined;
88
124
  background?: string | undefined;
89
- };
90
- } | {
91
- base: {
92
- fatal?: string | undefined;
125
+ brand?: string | undefined;
126
+ alternate?: string | undefined;
127
+ accent?: string | undefined;
128
+ link?: string | undefined;
129
+ help?: string | undefined;
93
130
  success?: string | undefined;
94
131
  info?: string | undefined;
132
+ warning?: string | undefined;
133
+ danger?: string | undefined;
134
+ fatal?: string | undefined;
135
+ positive?: string | undefined;
136
+ negative?: string | undefined;
137
+ };
138
+ }> | {
139
+ base: {
95
140
  dark?: string | undefined;
96
141
  light?: string | undefined;
97
142
  brand?: string | undefined;
@@ -99,98 +144,59 @@ declare const defineConfig: (input: StormWorkspaceConfigInput) => {
99
144
  accent?: string | undefined;
100
145
  link?: string | undefined;
101
146
  help?: string | undefined;
147
+ success?: string | undefined;
148
+ info?: string | undefined;
102
149
  warning?: string | undefined;
103
150
  danger?: string | undefined;
151
+ fatal?: string | undefined;
104
152
  positive?: string | undefined;
105
153
  negative?: string | undefined;
106
154
  } | {
107
155
  dark: {
108
- fatal?: string | undefined;
109
- success?: string | undefined;
110
- info?: string | undefined;
156
+ foreground?: string | undefined;
157
+ background?: string | undefined;
111
158
  brand?: string | undefined;
112
159
  alternate?: string | undefined;
113
160
  accent?: string | undefined;
114
161
  link?: string | undefined;
115
162
  help?: string | undefined;
163
+ success?: string | undefined;
164
+ info?: string | undefined;
116
165
  warning?: string | undefined;
117
166
  danger?: string | undefined;
167
+ fatal?: string | undefined;
118
168
  positive?: string | undefined;
119
169
  negative?: string | undefined;
120
- foreground?: string | undefined;
121
- background?: string | undefined;
122
170
  };
123
171
  light: {
124
- fatal?: string | undefined;
125
- success?: string | undefined;
126
- info?: string | undefined;
172
+ foreground?: string | undefined;
173
+ background?: string | undefined;
127
174
  brand?: string | undefined;
128
175
  alternate?: string | undefined;
129
176
  accent?: string | undefined;
130
177
  link?: string | undefined;
131
178
  help?: string | undefined;
179
+ success?: string | undefined;
180
+ info?: string | undefined;
132
181
  warning?: string | undefined;
133
182
  danger?: string | undefined;
183
+ fatal?: string | undefined;
134
184
  positive?: string | undefined;
135
185
  negative?: string | undefined;
136
- foreground?: string | undefined;
137
- background?: string | undefined;
138
186
  };
139
187
  };
140
- } | Record<string, {
141
- fatal?: string | undefined;
142
- success?: string | undefined;
143
- info?: string | undefined;
144
- dark?: string | undefined;
145
- light?: string | undefined;
146
- brand?: string | undefined;
147
- alternate?: string | undefined;
148
- accent?: string | undefined;
149
- link?: string | undefined;
150
- help?: string | undefined;
151
- warning?: string | undefined;
152
- danger?: string | undefined;
153
- positive?: string | undefined;
154
- negative?: string | undefined;
155
- } | {
156
- dark: {
157
- fatal?: string | undefined;
158
- success?: string | undefined;
159
- info?: string | undefined;
160
- brand?: string | undefined;
161
- alternate?: string | undefined;
162
- accent?: string | undefined;
163
- link?: string | undefined;
164
- help?: string | undefined;
165
- warning?: string | undefined;
166
- danger?: string | undefined;
167
- positive?: string | undefined;
168
- negative?: string | undefined;
169
- foreground?: string | undefined;
170
- background?: string | undefined;
171
- };
172
- light: {
173
- fatal?: string | undefined;
174
- success?: string | undefined;
175
- info?: string | undefined;
176
- brand?: string | undefined;
177
- alternate?: string | undefined;
178
- accent?: string | undefined;
179
- link?: string | undefined;
180
- help?: string | undefined;
181
- warning?: string | undefined;
182
- danger?: string | undefined;
183
- positive?: string | undefined;
184
- negative?: string | undefined;
185
- foreground?: string | undefined;
186
- background?: string | undefined;
187
- };
188
- }>;
188
+ };
189
189
  $schema?: string | null | undefined;
190
190
  extends?: string | string[] | undefined;
191
191
  name?: string | undefined;
192
192
  namespace?: string | undefined;
193
- organization?: string | undefined;
193
+ organization?: string | {
194
+ name: string;
195
+ description?: string | undefined;
196
+ logo?: string | undefined;
197
+ icon?: string | undefined;
198
+ url?: string | undefined;
199
+ } | undefined;
194
200
  repository?: string | undefined;
195
201
  license?: string | undefined;
196
202
  homepage?: string | undefined;
@@ -208,7 +214,7 @@ declare const defineConfig: (input: StormWorkspaceConfigInput) => {
208
214
  packageManager?: "npm" | "yarn" | "pnpm" | "bun" | undefined;
209
215
  timezone?: string | undefined;
210
216
  locale?: string | undefined;
211
- logLevel?: "error" | "silent" | "fatal" | "warn" | "success" | "info" | "debug" | "trace" | "all" | undefined;
217
+ logLevel?: "error" | "success" | "silent" | "fatal" | "warn" | "info" | "debug" | "trace" | "all" | undefined;
212
218
  skipConfigLogging?: boolean | undefined;
213
219
  registry?: {
214
220
  github?: string | undefined;