@storm-software/config 1.123.0 → 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 +14 -0
- package/dist/{chunk-2ZLWK5GA.js → chunk-CLVZKFJ2.js} +2 -2
- package/dist/chunk-SYFXBAOJ.cjs +252 -0
- package/dist/define-config.d.cts +65 -65
- package/dist/define-config.d.ts +65 -65
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/schema.cjs +2 -2
- package/dist/schema.d.cts +74 -1985
- package/dist/schema.d.ts +74 -1985
- package/dist/schema.js +1 -1
- package/dist/types.d.cts +1 -1
- package/dist/types.d.ts +1 -1
- package/package.json +2 -2
- package/schemas/storm-workspace.schema.json +1440 -469
- package/src/define-config.d.ts +54 -54
- package/src/schema.d.ts +74 -1985
- package/src/types.d.ts +1 -1
- package/dist/chunk-OSCIEGSV.cjs +0 -252
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
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
|
+
|
|
5
19
|
## [1.122.8](https://github.com/storm-software/storm-ops/releases/tag/config%401.122.8) (2025-06-18)
|
|
6
20
|
|
|
7
21
|
### Miscellaneous
|
|
@@ -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");
|
|
@@ -227,7 +227,7 @@ var stormWorkspaceConfigSchema = z.object({
|
|
|
227
227
|
colors: ColorConfigSchema.or(ColorConfigMapSchema).describe(
|
|
228
228
|
"Storm theme config values used for styling various package elements"
|
|
229
229
|
),
|
|
230
|
-
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")
|
|
231
231
|
}).describe(
|
|
232
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
233
|
);
|
|
@@ -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;
|
package/dist/define-config.d.cts
CHANGED
|
@@ -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
|
/**
|
|
@@ -19,12 +19,12 @@ declare const defineConfig: (input: StormWorkspaceConfigInput) => {
|
|
|
19
19
|
footer?: string | undefined;
|
|
20
20
|
};
|
|
21
21
|
account: {
|
|
22
|
-
github?: string | undefined;
|
|
23
22
|
twitter?: string | undefined;
|
|
24
23
|
discord?: string | undefined;
|
|
25
24
|
telegram?: string | undefined;
|
|
26
25
|
slack?: string | undefined;
|
|
27
26
|
medium?: string | undefined;
|
|
27
|
+
github?: string | undefined;
|
|
28
28
|
};
|
|
29
29
|
error: {
|
|
30
30
|
codesFile?: string | undefined;
|
|
@@ -40,6 +40,21 @@ declare const defineConfig: (input: StormWorkspaceConfigInput) => {
|
|
|
40
40
|
build?: string | undefined;
|
|
41
41
|
};
|
|
42
42
|
colors: {
|
|
43
|
+
dark?: string | undefined;
|
|
44
|
+
light?: string | undefined;
|
|
45
|
+
brand?: string | undefined;
|
|
46
|
+
alternate?: string | undefined;
|
|
47
|
+
accent?: string | undefined;
|
|
48
|
+
link?: string | undefined;
|
|
49
|
+
help?: string | undefined;
|
|
50
|
+
success?: string | undefined;
|
|
51
|
+
info?: string | undefined;
|
|
52
|
+
warning?: string | undefined;
|
|
53
|
+
danger?: string | undefined;
|
|
54
|
+
fatal?: string | undefined;
|
|
55
|
+
positive?: string | undefined;
|
|
56
|
+
negative?: string | undefined;
|
|
57
|
+
} | {
|
|
43
58
|
dark: {
|
|
44
59
|
foreground?: string | undefined;
|
|
45
60
|
background?: string | undefined;
|
|
@@ -72,7 +87,9 @@ declare const defineConfig: (input: StormWorkspaceConfigInput) => {
|
|
|
72
87
|
positive?: string | undefined;
|
|
73
88
|
negative?: string | undefined;
|
|
74
89
|
};
|
|
75
|
-
} | {
|
|
90
|
+
} | Record<string, {
|
|
91
|
+
dark?: string | undefined;
|
|
92
|
+
light?: string | undefined;
|
|
76
93
|
brand?: string | undefined;
|
|
77
94
|
alternate?: string | undefined;
|
|
78
95
|
accent?: string | undefined;
|
|
@@ -85,43 +102,10 @@ declare const defineConfig: (input: StormWorkspaceConfigInput) => {
|
|
|
85
102
|
fatal?: string | undefined;
|
|
86
103
|
positive?: string | undefined;
|
|
87
104
|
negative?: string | undefined;
|
|
88
|
-
dark?: string | undefined;
|
|
89
|
-
light?: string | undefined;
|
|
90
105
|
} | {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
background?: string | undefined;
|
|
95
|
-
brand?: string | undefined;
|
|
96
|
-
alternate?: string | undefined;
|
|
97
|
-
accent?: string | undefined;
|
|
98
|
-
link?: string | undefined;
|
|
99
|
-
help?: string | undefined;
|
|
100
|
-
success?: string | undefined;
|
|
101
|
-
info?: string | undefined;
|
|
102
|
-
warning?: string | undefined;
|
|
103
|
-
danger?: string | undefined;
|
|
104
|
-
fatal?: string | undefined;
|
|
105
|
-
positive?: string | undefined;
|
|
106
|
-
negative?: string | undefined;
|
|
107
|
-
};
|
|
108
|
-
light: {
|
|
109
|
-
foreground?: string | undefined;
|
|
110
|
-
background?: string | undefined;
|
|
111
|
-
brand?: string | undefined;
|
|
112
|
-
alternate?: string | undefined;
|
|
113
|
-
accent?: string | undefined;
|
|
114
|
-
link?: string | undefined;
|
|
115
|
-
help?: string | undefined;
|
|
116
|
-
success?: string | undefined;
|
|
117
|
-
info?: string | undefined;
|
|
118
|
-
warning?: string | undefined;
|
|
119
|
-
danger?: string | undefined;
|
|
120
|
-
fatal?: string | undefined;
|
|
121
|
-
positive?: string | undefined;
|
|
122
|
-
negative?: string | undefined;
|
|
123
|
-
};
|
|
124
|
-
} | {
|
|
106
|
+
dark: {
|
|
107
|
+
foreground?: string | undefined;
|
|
108
|
+
background?: string | undefined;
|
|
125
109
|
brand?: string | undefined;
|
|
126
110
|
alternate?: string | undefined;
|
|
127
111
|
accent?: string | undefined;
|
|
@@ -134,11 +118,8 @@ declare const defineConfig: (input: StormWorkspaceConfigInput) => {
|
|
|
134
118
|
fatal?: string | undefined;
|
|
135
119
|
positive?: string | undefined;
|
|
136
120
|
negative?: string | undefined;
|
|
137
|
-
dark?: string | undefined;
|
|
138
|
-
light?: string | undefined;
|
|
139
121
|
};
|
|
140
|
-
|
|
141
|
-
dark: {
|
|
122
|
+
light: {
|
|
142
123
|
foreground?: string | undefined;
|
|
143
124
|
background?: string | undefined;
|
|
144
125
|
brand?: string | undefined;
|
|
@@ -154,9 +135,10 @@ declare const defineConfig: (input: StormWorkspaceConfigInput) => {
|
|
|
154
135
|
positive?: string | undefined;
|
|
155
136
|
negative?: string | undefined;
|
|
156
137
|
};
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
138
|
+
}> | {
|
|
139
|
+
base: {
|
|
140
|
+
dark?: string | undefined;
|
|
141
|
+
light?: string | undefined;
|
|
160
142
|
brand?: string | undefined;
|
|
161
143
|
alternate?: string | undefined;
|
|
162
144
|
accent?: string | undefined;
|
|
@@ -169,33 +151,51 @@ declare const defineConfig: (input: StormWorkspaceConfigInput) => {
|
|
|
169
151
|
fatal?: string | undefined;
|
|
170
152
|
positive?: string | undefined;
|
|
171
153
|
negative?: string | undefined;
|
|
154
|
+
} | {
|
|
155
|
+
dark: {
|
|
156
|
+
foreground?: string | undefined;
|
|
157
|
+
background?: string | undefined;
|
|
158
|
+
brand?: string | undefined;
|
|
159
|
+
alternate?: string | undefined;
|
|
160
|
+
accent?: string | undefined;
|
|
161
|
+
link?: string | undefined;
|
|
162
|
+
help?: string | undefined;
|
|
163
|
+
success?: string | undefined;
|
|
164
|
+
info?: string | undefined;
|
|
165
|
+
warning?: string | undefined;
|
|
166
|
+
danger?: string | undefined;
|
|
167
|
+
fatal?: string | undefined;
|
|
168
|
+
positive?: string | undefined;
|
|
169
|
+
negative?: string | undefined;
|
|
170
|
+
};
|
|
171
|
+
light: {
|
|
172
|
+
foreground?: string | undefined;
|
|
173
|
+
background?: string | undefined;
|
|
174
|
+
brand?: string | undefined;
|
|
175
|
+
alternate?: string | undefined;
|
|
176
|
+
accent?: string | undefined;
|
|
177
|
+
link?: string | undefined;
|
|
178
|
+
help?: string | undefined;
|
|
179
|
+
success?: string | undefined;
|
|
180
|
+
info?: string | undefined;
|
|
181
|
+
warning?: string | undefined;
|
|
182
|
+
danger?: string | undefined;
|
|
183
|
+
fatal?: string | undefined;
|
|
184
|
+
positive?: string | undefined;
|
|
185
|
+
negative?: string | undefined;
|
|
186
|
+
};
|
|
172
187
|
};
|
|
173
|
-
}
|
|
174
|
-
brand?: string | undefined;
|
|
175
|
-
alternate?: string | undefined;
|
|
176
|
-
accent?: string | undefined;
|
|
177
|
-
link?: string | undefined;
|
|
178
|
-
help?: string | undefined;
|
|
179
|
-
success?: string | undefined;
|
|
180
|
-
info?: string | undefined;
|
|
181
|
-
warning?: string | undefined;
|
|
182
|
-
danger?: string | undefined;
|
|
183
|
-
fatal?: string | undefined;
|
|
184
|
-
positive?: string | undefined;
|
|
185
|
-
negative?: string | undefined;
|
|
186
|
-
dark?: string | undefined;
|
|
187
|
-
light?: string | undefined;
|
|
188
|
-
}>;
|
|
189
|
-
name?: string | undefined;
|
|
188
|
+
};
|
|
190
189
|
$schema?: string | null | undefined;
|
|
191
190
|
extends?: string | string[] | undefined;
|
|
191
|
+
name?: string | undefined;
|
|
192
192
|
namespace?: string | undefined;
|
|
193
193
|
organization?: string | {
|
|
194
194
|
name: string;
|
|
195
|
-
url?: string | undefined;
|
|
196
195
|
description?: string | undefined;
|
|
197
196
|
logo?: string | undefined;
|
|
198
197
|
icon?: string | undefined;
|
|
198
|
+
url?: string | undefined;
|
|
199
199
|
} | undefined;
|
|
200
200
|
repository?: string | undefined;
|
|
201
201
|
license?: string | undefined;
|
|
@@ -214,7 +214,7 @@ declare const defineConfig: (input: StormWorkspaceConfigInput) => {
|
|
|
214
214
|
packageManager?: "npm" | "yarn" | "pnpm" | "bun" | undefined;
|
|
215
215
|
timezone?: string | undefined;
|
|
216
216
|
locale?: string | undefined;
|
|
217
|
-
logLevel?: "
|
|
217
|
+
logLevel?: "error" | "success" | "silent" | "fatal" | "warn" | "info" | "debug" | "trace" | "all" | undefined;
|
|
218
218
|
skipConfigLogging?: boolean | undefined;
|
|
219
219
|
registry?: {
|
|
220
220
|
github?: string | undefined;
|