@storm-software/config 1.111.0 → 1.112.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/{chunk-C2SK4O44.js → chunk-CIOGSYBE.js} +7 -1
- package/dist/{chunk-JOTT4XGW.cjs → chunk-ITLP7RTF.cjs} +20 -14
- package/dist/{chunk-HODJMVAD.js → chunk-JXP4TNRB.js} +3 -1
- package/dist/{chunk-OLYJTH7R.cjs → chunk-VFB443BH.cjs} +3 -1
- package/dist/constants.cjs +4 -2
- package/dist/constants.d.cts +2 -1
- package/dist/constants.d.ts +2 -1
- package/dist/constants.js +3 -1
- package/dist/define-config.d.cts +5 -1
- package/dist/define-config.d.ts +5 -1
- package/dist/index.cjs +7 -3
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +6 -2
- package/dist/schema.cjs +5 -3
- package/dist/schema.d.cts +31 -3
- package/dist/schema.d.ts +31 -3
- package/dist/schema.js +4 -2
- package/package.json +1 -1
- package/presets/base.json +3 -0
- package/schemas/storm-workspace.schema.json +25 -1
- package/src/constants.d.ts +1 -0
- package/src/define-config.d.ts +5 -1
- package/src/schema.d.ts +30 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Config
|
|
4
4
|
|
|
5
|
+
## [1.112.0](https://github.com/storm-software/storm-ops/releases/tag/config%401.112.0) (2025-04-04)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
- **config:** Added the `error` configuration node
|
|
10
|
+
([ba68ca614](https://github.com/storm-software/storm-ops/commit/ba68ca614))
|
|
11
|
+
|
|
5
12
|
## [1.111.0](https://github.com/storm-software/storm-ops/releases/tag/config%401.111.0) (2025-04-02)
|
|
6
13
|
|
|
7
14
|
### Features
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
STORM_DEFAULT_LICENSING,
|
|
12
12
|
STORM_DEFAULT_RELEASE_BANNER,
|
|
13
13
|
STORM_DEFAULT_RELEASE_FOOTER
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-JXP4TNRB.js";
|
|
15
15
|
|
|
16
16
|
// src/schema.ts
|
|
17
17
|
import z from "zod";
|
|
@@ -123,6 +123,10 @@ var WorkspaceDirectoryConfigSchema = z.object({
|
|
|
123
123
|
log: z.string().trim().optional().describe("The directory used to store the environment's temp files"),
|
|
124
124
|
build: z.string().trim().default("dist").describe("The directory used to store the workspace's distributable files after a build (relative to the workspace root)")
|
|
125
125
|
}).describe("Various directories used by the workspace to store data, cache, and configuration files");
|
|
126
|
+
var errorConfigSchema = z.object({
|
|
127
|
+
codesFile: z.string().trim().default(STORM_DEFAULT_RELEASE_BANNER).describe("The path to the workspace's error codes JSON file"),
|
|
128
|
+
url: z.string().trim().url().optional().describe("A URL to a page that looks up the workspace's error messages given a specific error code")
|
|
129
|
+
}).describe("The workspace's error config used during the error process");
|
|
126
130
|
var stormWorkspaceConfigSchema = z.object({
|
|
127
131
|
$schema: z.string().trim().default("https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json").optional().nullish().describe("The URL to the JSON schema file that describes the Storm configuration file"),
|
|
128
132
|
extends: ExtendsSchema.optional(),
|
|
@@ -141,6 +145,7 @@ var stormWorkspaceConfigSchema = z.object({
|
|
|
141
145
|
bot: WorkspaceBotConfigSchema,
|
|
142
146
|
release: WorkspaceReleaseConfigSchema,
|
|
143
147
|
account: WorkspaceAccountConfigSchema,
|
|
148
|
+
error: errorConfigSchema,
|
|
144
149
|
mode: z.enum([
|
|
145
150
|
"development",
|
|
146
151
|
"staging",
|
|
@@ -190,5 +195,6 @@ export {
|
|
|
190
195
|
WorkspaceReleaseConfigSchema,
|
|
191
196
|
WorkspaceAccountConfigSchema,
|
|
192
197
|
WorkspaceDirectoryConfigSchema,
|
|
198
|
+
errorConfigSchema,
|
|
193
199
|
stormWorkspaceConfigSchema
|
|
194
200
|
};
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkVFB443BHcjs = require('./chunk-VFB443BH.cjs');
|
|
15
15
|
|
|
16
16
|
// src/schema.ts
|
|
17
17
|
var _zod = require('zod'); var _zod2 = _interopRequireDefault(_zod);
|
|
@@ -103,17 +103,17 @@ var WorkspaceBotConfigSchema = _zod2.default.object({
|
|
|
103
103
|
email: _zod2.default.string().trim().email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
|
|
104
104
|
}).describe("The workspace's bot user's config used to automated various operations tasks");
|
|
105
105
|
var WorkspaceReleaseConfigSchema = _zod2.default.object({
|
|
106
|
-
banner: _zod2.default.string().trim().default(
|
|
106
|
+
banner: _zod2.default.string().trim().default(_chunkVFB443BHcjs.STORM_DEFAULT_RELEASE_BANNER).describe("A URL to a banner image used to display the workspace's release"),
|
|
107
107
|
header: _zod2.default.string().trim().optional().describe("A header message appended to the start of the workspace's release notes"),
|
|
108
|
-
footer: _zod2.default.string().trim().default(
|
|
108
|
+
footer: _zod2.default.string().trim().default(_chunkVFB443BHcjs.STORM_DEFAULT_RELEASE_FOOTER).describe("A footer message appended to the end of the workspace's release notes")
|
|
109
109
|
}).describe("The workspace's release config used during the release process");
|
|
110
110
|
var WorkspaceAccountConfigSchema = _zod2.default.object({
|
|
111
|
-
twitter: _zod2.default.string().trim().default(
|
|
112
|
-
discord: _zod2.default.string().trim().default(
|
|
113
|
-
telegram: _zod2.default.string().trim().default(
|
|
114
|
-
slack: _zod2.default.string().trim().default(
|
|
115
|
-
medium: _zod2.default.string().trim().default(
|
|
116
|
-
github: _zod2.default.string().trim().default(
|
|
111
|
+
twitter: _zod2.default.string().trim().default(_chunkVFB443BHcjs.STORM_DEFAULT_ACCOUNT_TWITTER).describe("A Twitter/X account associated with the organization/project"),
|
|
112
|
+
discord: _zod2.default.string().trim().default(_chunkVFB443BHcjs.STORM_DEFAULT_ACCOUNT_DISCORD).describe("A Discord account associated with the organization/project"),
|
|
113
|
+
telegram: _zod2.default.string().trim().default(_chunkVFB443BHcjs.STORM_DEFAULT_ACCOUNT_TELEGRAM).describe("A Telegram account associated with the organization/project"),
|
|
114
|
+
slack: _zod2.default.string().trim().default(_chunkVFB443BHcjs.STORM_DEFAULT_ACCOUNT_SLACK).describe("A Slack account associated with the organization/project"),
|
|
115
|
+
medium: _zod2.default.string().trim().default(_chunkVFB443BHcjs.STORM_DEFAULT_ACCOUNT_MEDIUM).describe("A Medium account associated with the organization/project"),
|
|
116
|
+
github: _zod2.default.string().trim().default(_chunkVFB443BHcjs.STORM_DEFAULT_ACCOUNT_GITHUB).describe("A GitHub account associated with the organization/project")
|
|
117
117
|
}).describe("The workspace's account config used to store various social media links");
|
|
118
118
|
var WorkspaceDirectoryConfigSchema = _zod2.default.object({
|
|
119
119
|
cache: _zod2.default.string().trim().optional().describe("The directory used to store the environment's cached file data"),
|
|
@@ -123,6 +123,10 @@ var WorkspaceDirectoryConfigSchema = _zod2.default.object({
|
|
|
123
123
|
log: _zod2.default.string().trim().optional().describe("The directory used to store the environment's temp files"),
|
|
124
124
|
build: _zod2.default.string().trim().default("dist").describe("The directory used to store the workspace's distributable files after a build (relative to the workspace root)")
|
|
125
125
|
}).describe("Various directories used by the workspace to store data, cache, and configuration files");
|
|
126
|
+
var errorConfigSchema = _zod2.default.object({
|
|
127
|
+
codesFile: _zod2.default.string().trim().default(_chunkVFB443BHcjs.STORM_DEFAULT_RELEASE_BANNER).describe("The path to the workspace's error codes JSON file"),
|
|
128
|
+
url: _zod2.default.string().trim().url().optional().describe("A URL to a page that looks up the workspace's error messages given a specific error code")
|
|
129
|
+
}).describe("The workspace's error config used during the error process");
|
|
126
130
|
var stormWorkspaceConfigSchema = _zod2.default.object({
|
|
127
131
|
$schema: _zod2.default.string().trim().default("https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json").optional().nullish().describe("The URL to the JSON schema file that describes the Storm configuration file"),
|
|
128
132
|
extends: ExtendsSchema.optional(),
|
|
@@ -131,16 +135,17 @@ var stormWorkspaceConfigSchema = _zod2.default.object({
|
|
|
131
135
|
organization: _zod2.default.string().trim().default("storm-software").describe("The organization of the workspace"),
|
|
132
136
|
repository: _zod2.default.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
|
|
133
137
|
license: _zod2.default.string().trim().default("Apache-2.0").describe("The license type of the package"),
|
|
134
|
-
homepage: _zod2.default.string().trim().url().default(
|
|
135
|
-
docs: _zod2.default.string().trim().url().default(
|
|
136
|
-
licensing: _zod2.default.string().trim().url().default(
|
|
137
|
-
contact: _zod2.default.string().trim().url().default(
|
|
138
|
+
homepage: _zod2.default.string().trim().url().default(_chunkVFB443BHcjs.STORM_DEFAULT_HOMEPAGE).describe("The homepage of the workspace"),
|
|
139
|
+
docs: _zod2.default.string().trim().url().default(_chunkVFB443BHcjs.STORM_DEFAULT_DOCS).describe("The base documentation site for the workspace"),
|
|
140
|
+
licensing: _zod2.default.string().trim().url().default(_chunkVFB443BHcjs.STORM_DEFAULT_LICENSING).describe("The base licensing site for the workspace"),
|
|
141
|
+
contact: _zod2.default.string().trim().url().default(_chunkVFB443BHcjs.STORM_DEFAULT_CONTACT).describe("The base contact site for the workspace"),
|
|
138
142
|
branch: _zod2.default.string().trim().default("main").describe("The branch of the workspace"),
|
|
139
143
|
preid: _zod2.default.string().optional().describe("A tag specifying the version pre-release identifier"),
|
|
140
144
|
owner: _zod2.default.string().trim().default("@storm-software/admin").describe("The owner of the package"),
|
|
141
145
|
bot: WorkspaceBotConfigSchema,
|
|
142
146
|
release: WorkspaceReleaseConfigSchema,
|
|
143
147
|
account: WorkspaceAccountConfigSchema,
|
|
148
|
+
error: errorConfigSchema,
|
|
144
149
|
mode: _zod2.default.enum([
|
|
145
150
|
"development",
|
|
146
151
|
"staging",
|
|
@@ -191,4 +196,5 @@ var stormWorkspaceConfigSchema = _zod2.default.object({
|
|
|
191
196
|
|
|
192
197
|
|
|
193
198
|
|
|
194
|
-
|
|
199
|
+
|
|
200
|
+
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.stormWorkspaceConfigSchema = stormWorkspaceConfigSchema;
|
|
@@ -18,6 +18,7 @@ Join us on [Discord](${STORM_DEFAULT_ACCOUNT_DISCORD}) to chat with the team, re
|
|
|
18
18
|
|
|
19
19
|
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_ACCOUNT_SLACK}) channel!
|
|
20
20
|
`;
|
|
21
|
+
var STORM_DEFAULT_ERROR_CODES_FILE = "errors/codes.json";
|
|
21
22
|
|
|
22
23
|
export {
|
|
23
24
|
STORM_DEFAULT_DOCS,
|
|
@@ -32,5 +33,6 @@ export {
|
|
|
32
33
|
STORM_DEFAULT_ACCOUNT_SLACK,
|
|
33
34
|
STORM_DEFAULT_ACCOUNT_MEDIUM,
|
|
34
35
|
STORM_DEFAULT_ACCOUNT_GITHUB,
|
|
35
|
-
STORM_DEFAULT_RELEASE_FOOTER
|
|
36
|
+
STORM_DEFAULT_RELEASE_FOOTER,
|
|
37
|
+
STORM_DEFAULT_ERROR_CODES_FILE
|
|
36
38
|
};
|
|
@@ -18,6 +18,7 @@ Join us on [Discord](${STORM_DEFAULT_ACCOUNT_DISCORD}) to chat with the team, re
|
|
|
18
18
|
|
|
19
19
|
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_ACCOUNT_SLACK}) channel!
|
|
20
20
|
`;
|
|
21
|
+
var STORM_DEFAULT_ERROR_CODES_FILE = "errors/codes.json";
|
|
21
22
|
|
|
22
23
|
|
|
23
24
|
|
|
@@ -33,4 +34,5 @@ If this sounds interesting, and you would like to help us in creating the next g
|
|
|
33
34
|
|
|
34
35
|
|
|
35
36
|
|
|
36
|
-
|
|
37
|
+
|
|
38
|
+
exports.STORM_DEFAULT_DOCS = STORM_DEFAULT_DOCS; exports.STORM_DEFAULT_HOMEPAGE = STORM_DEFAULT_HOMEPAGE; exports.STORM_DEFAULT_CONTACT = STORM_DEFAULT_CONTACT; exports.STORM_DEFAULT_LICENSING = STORM_DEFAULT_LICENSING; exports.STORM_DEFAULT_LICENSE = STORM_DEFAULT_LICENSE; exports.STORM_DEFAULT_RELEASE_BANNER = STORM_DEFAULT_RELEASE_BANNER; exports.STORM_DEFAULT_ACCOUNT_TWITTER = STORM_DEFAULT_ACCOUNT_TWITTER; exports.STORM_DEFAULT_ACCOUNT_DISCORD = STORM_DEFAULT_ACCOUNT_DISCORD; exports.STORM_DEFAULT_ACCOUNT_TELEGRAM = STORM_DEFAULT_ACCOUNT_TELEGRAM; exports.STORM_DEFAULT_ACCOUNT_SLACK = STORM_DEFAULT_ACCOUNT_SLACK; exports.STORM_DEFAULT_ACCOUNT_MEDIUM = STORM_DEFAULT_ACCOUNT_MEDIUM; exports.STORM_DEFAULT_ACCOUNT_GITHUB = STORM_DEFAULT_ACCOUNT_GITHUB; exports.STORM_DEFAULT_RELEASE_FOOTER = STORM_DEFAULT_RELEASE_FOOTER; exports.STORM_DEFAULT_ERROR_CODES_FILE = STORM_DEFAULT_ERROR_CODES_FILE;
|
package/dist/constants.cjs
CHANGED
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
|
|
16
|
+
var _chunkVFB443BHcjs = require('./chunk-VFB443BH.cjs');
|
|
16
17
|
require('./chunk-USNT2KNT.cjs');
|
|
17
18
|
|
|
18
19
|
|
|
@@ -28,4 +29,5 @@ require('./chunk-USNT2KNT.cjs');
|
|
|
28
29
|
|
|
29
30
|
|
|
30
31
|
|
|
31
|
-
|
|
32
|
+
|
|
33
|
+
exports.STORM_DEFAULT_ACCOUNT_DISCORD = _chunkVFB443BHcjs.STORM_DEFAULT_ACCOUNT_DISCORD; exports.STORM_DEFAULT_ACCOUNT_GITHUB = _chunkVFB443BHcjs.STORM_DEFAULT_ACCOUNT_GITHUB; exports.STORM_DEFAULT_ACCOUNT_MEDIUM = _chunkVFB443BHcjs.STORM_DEFAULT_ACCOUNT_MEDIUM; exports.STORM_DEFAULT_ACCOUNT_SLACK = _chunkVFB443BHcjs.STORM_DEFAULT_ACCOUNT_SLACK; exports.STORM_DEFAULT_ACCOUNT_TELEGRAM = _chunkVFB443BHcjs.STORM_DEFAULT_ACCOUNT_TELEGRAM; exports.STORM_DEFAULT_ACCOUNT_TWITTER = _chunkVFB443BHcjs.STORM_DEFAULT_ACCOUNT_TWITTER; exports.STORM_DEFAULT_CONTACT = _chunkVFB443BHcjs.STORM_DEFAULT_CONTACT; exports.STORM_DEFAULT_DOCS = _chunkVFB443BHcjs.STORM_DEFAULT_DOCS; exports.STORM_DEFAULT_ERROR_CODES_FILE = _chunkVFB443BHcjs.STORM_DEFAULT_ERROR_CODES_FILE; exports.STORM_DEFAULT_HOMEPAGE = _chunkVFB443BHcjs.STORM_DEFAULT_HOMEPAGE; exports.STORM_DEFAULT_LICENSE = _chunkVFB443BHcjs.STORM_DEFAULT_LICENSE; exports.STORM_DEFAULT_LICENSING = _chunkVFB443BHcjs.STORM_DEFAULT_LICENSING; exports.STORM_DEFAULT_RELEASE_BANNER = _chunkVFB443BHcjs.STORM_DEFAULT_RELEASE_BANNER; exports.STORM_DEFAULT_RELEASE_FOOTER = _chunkVFB443BHcjs.STORM_DEFAULT_RELEASE_FOOTER;
|
package/dist/constants.d.cts
CHANGED
|
@@ -11,5 +11,6 @@ declare const STORM_DEFAULT_ACCOUNT_SLACK = "https://join.slack.com/t/storm-soft
|
|
|
11
11
|
declare const STORM_DEFAULT_ACCOUNT_MEDIUM = "https://medium.com/storm-software";
|
|
12
12
|
declare const STORM_DEFAULT_ACCOUNT_GITHUB = "https://github.com/storm-software";
|
|
13
13
|
declare const STORM_DEFAULT_RELEASE_FOOTER = "\nStorm 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.\n\nJoin us on [Discord](https://discord.gg/MQ6YVzakM5) to chat with the team, receive release notifications, ask questions, and get involved.\n\nIf this sounds interesting, and you would like to help us in creating the next generation of development tools, please reach out on our [website](https://stormsoftware.com/contact) or join our [Slack](https://join.slack.com/t/storm-software/shared_invite/zt-2gsmk04hs-i6yhK_r6urq0dkZYAwq2pA) channel!\n";
|
|
14
|
+
declare const STORM_DEFAULT_ERROR_CODES_FILE = "errors/codes.json";
|
|
14
15
|
|
|
15
|
-
export { STORM_DEFAULT_ACCOUNT_DISCORD, STORM_DEFAULT_ACCOUNT_GITHUB, STORM_DEFAULT_ACCOUNT_MEDIUM, STORM_DEFAULT_ACCOUNT_SLACK, STORM_DEFAULT_ACCOUNT_TELEGRAM, STORM_DEFAULT_ACCOUNT_TWITTER, STORM_DEFAULT_CONTACT, STORM_DEFAULT_DOCS, STORM_DEFAULT_HOMEPAGE, STORM_DEFAULT_LICENSE, STORM_DEFAULT_LICENSING, STORM_DEFAULT_RELEASE_BANNER, STORM_DEFAULT_RELEASE_FOOTER };
|
|
16
|
+
export { STORM_DEFAULT_ACCOUNT_DISCORD, STORM_DEFAULT_ACCOUNT_GITHUB, STORM_DEFAULT_ACCOUNT_MEDIUM, STORM_DEFAULT_ACCOUNT_SLACK, STORM_DEFAULT_ACCOUNT_TELEGRAM, STORM_DEFAULT_ACCOUNT_TWITTER, STORM_DEFAULT_CONTACT, STORM_DEFAULT_DOCS, STORM_DEFAULT_ERROR_CODES_FILE, STORM_DEFAULT_HOMEPAGE, STORM_DEFAULT_LICENSE, STORM_DEFAULT_LICENSING, STORM_DEFAULT_RELEASE_BANNER, STORM_DEFAULT_RELEASE_FOOTER };
|
package/dist/constants.d.ts
CHANGED
|
@@ -11,5 +11,6 @@ declare const STORM_DEFAULT_ACCOUNT_SLACK = "https://join.slack.com/t/storm-soft
|
|
|
11
11
|
declare const STORM_DEFAULT_ACCOUNT_MEDIUM = "https://medium.com/storm-software";
|
|
12
12
|
declare const STORM_DEFAULT_ACCOUNT_GITHUB = "https://github.com/storm-software";
|
|
13
13
|
declare const STORM_DEFAULT_RELEASE_FOOTER = "\nStorm 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.\n\nJoin us on [Discord](https://discord.gg/MQ6YVzakM5) to chat with the team, receive release notifications, ask questions, and get involved.\n\nIf this sounds interesting, and you would like to help us in creating the next generation of development tools, please reach out on our [website](https://stormsoftware.com/contact) or join our [Slack](https://join.slack.com/t/storm-software/shared_invite/zt-2gsmk04hs-i6yhK_r6urq0dkZYAwq2pA) channel!\n";
|
|
14
|
+
declare const STORM_DEFAULT_ERROR_CODES_FILE = "errors/codes.json";
|
|
14
15
|
|
|
15
|
-
export { STORM_DEFAULT_ACCOUNT_DISCORD, STORM_DEFAULT_ACCOUNT_GITHUB, STORM_DEFAULT_ACCOUNT_MEDIUM, STORM_DEFAULT_ACCOUNT_SLACK, STORM_DEFAULT_ACCOUNT_TELEGRAM, STORM_DEFAULT_ACCOUNT_TWITTER, STORM_DEFAULT_CONTACT, STORM_DEFAULT_DOCS, STORM_DEFAULT_HOMEPAGE, STORM_DEFAULT_LICENSE, STORM_DEFAULT_LICENSING, STORM_DEFAULT_RELEASE_BANNER, STORM_DEFAULT_RELEASE_FOOTER };
|
|
16
|
+
export { STORM_DEFAULT_ACCOUNT_DISCORD, STORM_DEFAULT_ACCOUNT_GITHUB, STORM_DEFAULT_ACCOUNT_MEDIUM, STORM_DEFAULT_ACCOUNT_SLACK, STORM_DEFAULT_ACCOUNT_TELEGRAM, STORM_DEFAULT_ACCOUNT_TWITTER, STORM_DEFAULT_CONTACT, STORM_DEFAULT_DOCS, STORM_DEFAULT_ERROR_CODES_FILE, STORM_DEFAULT_HOMEPAGE, STORM_DEFAULT_LICENSE, STORM_DEFAULT_LICENSING, STORM_DEFAULT_RELEASE_BANNER, STORM_DEFAULT_RELEASE_FOOTER };
|
package/dist/constants.js
CHANGED
|
@@ -7,12 +7,13 @@ import {
|
|
|
7
7
|
STORM_DEFAULT_ACCOUNT_TWITTER,
|
|
8
8
|
STORM_DEFAULT_CONTACT,
|
|
9
9
|
STORM_DEFAULT_DOCS,
|
|
10
|
+
STORM_DEFAULT_ERROR_CODES_FILE,
|
|
10
11
|
STORM_DEFAULT_HOMEPAGE,
|
|
11
12
|
STORM_DEFAULT_LICENSE,
|
|
12
13
|
STORM_DEFAULT_LICENSING,
|
|
13
14
|
STORM_DEFAULT_RELEASE_BANNER,
|
|
14
15
|
STORM_DEFAULT_RELEASE_FOOTER
|
|
15
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-JXP4TNRB.js";
|
|
16
17
|
import "./chunk-SHUYVCID.js";
|
|
17
18
|
export {
|
|
18
19
|
STORM_DEFAULT_ACCOUNT_DISCORD,
|
|
@@ -23,6 +24,7 @@ export {
|
|
|
23
24
|
STORM_DEFAULT_ACCOUNT_TWITTER,
|
|
24
25
|
STORM_DEFAULT_CONTACT,
|
|
25
26
|
STORM_DEFAULT_DOCS,
|
|
27
|
+
STORM_DEFAULT_ERROR_CODES_FILE,
|
|
26
28
|
STORM_DEFAULT_HOMEPAGE,
|
|
27
29
|
STORM_DEFAULT_LICENSE,
|
|
28
30
|
STORM_DEFAULT_LICENSING,
|
package/dist/define-config.d.cts
CHANGED
|
@@ -26,6 +26,10 @@ declare const defineConfig: (input: StormWorkspaceConfigInput) => {
|
|
|
26
26
|
medium?: string | undefined;
|
|
27
27
|
github?: string | undefined;
|
|
28
28
|
};
|
|
29
|
+
error: {
|
|
30
|
+
codesFile?: string | undefined;
|
|
31
|
+
url?: string | undefined;
|
|
32
|
+
};
|
|
29
33
|
directories: {
|
|
30
34
|
cache?: string | undefined;
|
|
31
35
|
data?: string | undefined;
|
|
@@ -202,7 +206,7 @@ declare const defineConfig: (input: StormWorkspaceConfigInput) => {
|
|
|
202
206
|
packageManager?: "npm" | "yarn" | "pnpm" | "bun" | undefined;
|
|
203
207
|
timezone?: string | undefined;
|
|
204
208
|
locale?: string | undefined;
|
|
205
|
-
logLevel?: "
|
|
209
|
+
logLevel?: "error" | "silent" | "fatal" | "warn" | "success" | "info" | "debug" | "trace" | "all" | undefined;
|
|
206
210
|
skipConfigLogging?: boolean | undefined;
|
|
207
211
|
registry?: {
|
|
208
212
|
github?: string | undefined;
|
package/dist/define-config.d.ts
CHANGED
|
@@ -26,6 +26,10 @@ declare const defineConfig: (input: StormWorkspaceConfigInput) => {
|
|
|
26
26
|
medium?: string | undefined;
|
|
27
27
|
github?: string | undefined;
|
|
28
28
|
};
|
|
29
|
+
error: {
|
|
30
|
+
codesFile?: string | undefined;
|
|
31
|
+
url?: string | undefined;
|
|
32
|
+
};
|
|
29
33
|
directories: {
|
|
30
34
|
cache?: string | undefined;
|
|
31
35
|
data?: string | undefined;
|
|
@@ -202,7 +206,7 @@ declare const defineConfig: (input: StormWorkspaceConfigInput) => {
|
|
|
202
206
|
packageManager?: "npm" | "yarn" | "pnpm" | "bun" | undefined;
|
|
203
207
|
timezone?: string | undefined;
|
|
204
208
|
locale?: string | undefined;
|
|
205
|
-
logLevel?: "
|
|
209
|
+
logLevel?: "error" | "silent" | "fatal" | "warn" | "success" | "info" | "debug" | "trace" | "all" | undefined;
|
|
206
210
|
skipConfigLogging?: boolean | undefined;
|
|
207
211
|
registry?: {
|
|
208
212
|
github?: string | undefined;
|
package/dist/index.cjs
CHANGED
|
@@ -16,8 +16,8 @@ var _chunkSNJKI2QWcjs = require('./chunk-SNJKI2QW.cjs');
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var _chunkJOTT4XGWcjs = require('./chunk-JOTT4XGW.cjs');
|
|
20
19
|
|
|
20
|
+
var _chunkITLP7RTFcjs = require('./chunk-ITLP7RTF.cjs');
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
@@ -31,7 +31,9 @@ var _chunkJOTT4XGWcjs = require('./chunk-JOTT4XGW.cjs');
|
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
var _chunkVFB443BHcjs = require('./chunk-VFB443BH.cjs');
|
|
35
37
|
|
|
36
38
|
|
|
37
39
|
var _chunkWRJN6ED4cjs = require('./chunk-WRJN6ED4.cjs');
|
|
@@ -66,4 +68,6 @@ require('./chunk-USNT2KNT.cjs');
|
|
|
66
68
|
|
|
67
69
|
|
|
68
70
|
|
|
69
|
-
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
exports.COLOR_KEYS = _chunkWRJN6ED4cjs.COLOR_KEYS; exports.ColorConfigMapSchema = _chunkITLP7RTFcjs.ColorConfigMapSchema; exports.ColorConfigSchema = _chunkITLP7RTFcjs.ColorConfigSchema; exports.DarkThemeColorConfigSchema = _chunkITLP7RTFcjs.DarkThemeColorConfigSchema; exports.ExtendsSchema = _chunkITLP7RTFcjs.ExtendsSchema; exports.LightThemeColorConfigSchema = _chunkITLP7RTFcjs.LightThemeColorConfigSchema; exports.MultiThemeColorConfigSchema = _chunkITLP7RTFcjs.MultiThemeColorConfigSchema; exports.RegistryConfigSchema = _chunkITLP7RTFcjs.RegistryConfigSchema; exports.RegistryUrlConfigSchema = _chunkITLP7RTFcjs.RegistryUrlConfigSchema; exports.STORM_DEFAULT_ACCOUNT_DISCORD = _chunkVFB443BHcjs.STORM_DEFAULT_ACCOUNT_DISCORD; exports.STORM_DEFAULT_ACCOUNT_GITHUB = _chunkVFB443BHcjs.STORM_DEFAULT_ACCOUNT_GITHUB; exports.STORM_DEFAULT_ACCOUNT_MEDIUM = _chunkVFB443BHcjs.STORM_DEFAULT_ACCOUNT_MEDIUM; exports.STORM_DEFAULT_ACCOUNT_SLACK = _chunkVFB443BHcjs.STORM_DEFAULT_ACCOUNT_SLACK; exports.STORM_DEFAULT_ACCOUNT_TELEGRAM = _chunkVFB443BHcjs.STORM_DEFAULT_ACCOUNT_TELEGRAM; exports.STORM_DEFAULT_ACCOUNT_TWITTER = _chunkVFB443BHcjs.STORM_DEFAULT_ACCOUNT_TWITTER; exports.STORM_DEFAULT_CONTACT = _chunkVFB443BHcjs.STORM_DEFAULT_CONTACT; exports.STORM_DEFAULT_DOCS = _chunkVFB443BHcjs.STORM_DEFAULT_DOCS; exports.STORM_DEFAULT_ERROR_CODES_FILE = _chunkVFB443BHcjs.STORM_DEFAULT_ERROR_CODES_FILE; exports.STORM_DEFAULT_HOMEPAGE = _chunkVFB443BHcjs.STORM_DEFAULT_HOMEPAGE; exports.STORM_DEFAULT_LICENSE = _chunkVFB443BHcjs.STORM_DEFAULT_LICENSE; exports.STORM_DEFAULT_LICENSING = _chunkVFB443BHcjs.STORM_DEFAULT_LICENSING; exports.STORM_DEFAULT_RELEASE_BANNER = _chunkVFB443BHcjs.STORM_DEFAULT_RELEASE_BANNER; exports.STORM_DEFAULT_RELEASE_FOOTER = _chunkVFB443BHcjs.STORM_DEFAULT_RELEASE_FOOTER; exports.SingleThemeColorConfigSchema = _chunkITLP7RTFcjs.SingleThemeColorConfigSchema; exports.WorkspaceAccountConfigSchema = _chunkITLP7RTFcjs.WorkspaceAccountConfigSchema; exports.WorkspaceBotConfigSchema = _chunkITLP7RTFcjs.WorkspaceBotConfigSchema; exports.WorkspaceDirectoryConfigSchema = _chunkITLP7RTFcjs.WorkspaceDirectoryConfigSchema; exports.WorkspaceReleaseConfigSchema = _chunkITLP7RTFcjs.WorkspaceReleaseConfigSchema; exports.defineConfig = _chunkSNJKI2QWcjs.defineConfig; exports.errorConfigSchema = _chunkITLP7RTFcjs.errorConfigSchema; exports.stormWorkspaceConfigSchema = _chunkITLP7RTFcjs.stormWorkspaceConfigSchema;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { STORM_DEFAULT_ACCOUNT_DISCORD, STORM_DEFAULT_ACCOUNT_GITHUB, STORM_DEFAULT_ACCOUNT_MEDIUM, STORM_DEFAULT_ACCOUNT_SLACK, STORM_DEFAULT_ACCOUNT_TELEGRAM, STORM_DEFAULT_ACCOUNT_TWITTER, STORM_DEFAULT_CONTACT, STORM_DEFAULT_DOCS, STORM_DEFAULT_HOMEPAGE, STORM_DEFAULT_LICENSE, STORM_DEFAULT_LICENSING, STORM_DEFAULT_RELEASE_BANNER, STORM_DEFAULT_RELEASE_FOOTER } from './constants.cjs';
|
|
1
|
+
export { STORM_DEFAULT_ACCOUNT_DISCORD, STORM_DEFAULT_ACCOUNT_GITHUB, STORM_DEFAULT_ACCOUNT_MEDIUM, STORM_DEFAULT_ACCOUNT_SLACK, STORM_DEFAULT_ACCOUNT_TELEGRAM, STORM_DEFAULT_ACCOUNT_TWITTER, STORM_DEFAULT_CONTACT, STORM_DEFAULT_DOCS, STORM_DEFAULT_ERROR_CODES_FILE, STORM_DEFAULT_HOMEPAGE, STORM_DEFAULT_LICENSE, STORM_DEFAULT_LICENSING, STORM_DEFAULT_RELEASE_BANNER, STORM_DEFAULT_RELEASE_FOOTER } from './constants.cjs';
|
|
2
2
|
export { defineConfig } from './define-config.cjs';
|
|
3
|
-
export { ColorConfigMapSchema, ColorConfigSchema, DarkThemeColorConfigSchema, ExtendsSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, RegistryConfigSchema, RegistryUrlConfigSchema, SingleThemeColorConfigSchema, WorkspaceAccountConfigSchema, WorkspaceBotConfigSchema, WorkspaceDirectoryConfigSchema, WorkspaceReleaseConfigSchema, stormWorkspaceConfigSchema } from './schema.cjs';
|
|
3
|
+
export { ColorConfigMapSchema, ColorConfigSchema, DarkThemeColorConfigSchema, ExtendsSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, RegistryConfigSchema, RegistryUrlConfigSchema, SingleThemeColorConfigSchema, WorkspaceAccountConfigSchema, WorkspaceBotConfigSchema, WorkspaceDirectoryConfigSchema, WorkspaceReleaseConfigSchema, errorConfigSchema, stormWorkspaceConfigSchema } from './schema.cjs';
|
|
4
4
|
export { COLOR_KEYS, ColorConfig, ColorConfigInput, ColorConfigMap, ColorConfigMapInput, DarkThemeColorConfig, DarkThemeColorConfigInput, LightThemeColorConfig, LightThemeColorConfigInput, MultiThemeColorConfig, MultiThemeColorConfigInput, SingleThemeColorConfig, SingleThemeColorConfigInput, StormConfig, StormWorkspaceConfig, StormWorkspaceConfigInput } from './types.cjs';
|
|
5
5
|
import 'zod';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { STORM_DEFAULT_ACCOUNT_DISCORD, STORM_DEFAULT_ACCOUNT_GITHUB, STORM_DEFAULT_ACCOUNT_MEDIUM, STORM_DEFAULT_ACCOUNT_SLACK, STORM_DEFAULT_ACCOUNT_TELEGRAM, STORM_DEFAULT_ACCOUNT_TWITTER, STORM_DEFAULT_CONTACT, STORM_DEFAULT_DOCS, STORM_DEFAULT_HOMEPAGE, STORM_DEFAULT_LICENSE, STORM_DEFAULT_LICENSING, STORM_DEFAULT_RELEASE_BANNER, STORM_DEFAULT_RELEASE_FOOTER } from './constants.js';
|
|
1
|
+
export { STORM_DEFAULT_ACCOUNT_DISCORD, STORM_DEFAULT_ACCOUNT_GITHUB, STORM_DEFAULT_ACCOUNT_MEDIUM, STORM_DEFAULT_ACCOUNT_SLACK, STORM_DEFAULT_ACCOUNT_TELEGRAM, STORM_DEFAULT_ACCOUNT_TWITTER, STORM_DEFAULT_CONTACT, STORM_DEFAULT_DOCS, STORM_DEFAULT_ERROR_CODES_FILE, STORM_DEFAULT_HOMEPAGE, STORM_DEFAULT_LICENSE, STORM_DEFAULT_LICENSING, STORM_DEFAULT_RELEASE_BANNER, STORM_DEFAULT_RELEASE_FOOTER } from './constants.js';
|
|
2
2
|
export { defineConfig } from './define-config.js';
|
|
3
|
-
export { ColorConfigMapSchema, ColorConfigSchema, DarkThemeColorConfigSchema, ExtendsSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, RegistryConfigSchema, RegistryUrlConfigSchema, SingleThemeColorConfigSchema, WorkspaceAccountConfigSchema, WorkspaceBotConfigSchema, WorkspaceDirectoryConfigSchema, WorkspaceReleaseConfigSchema, stormWorkspaceConfigSchema } from './schema.js';
|
|
3
|
+
export { ColorConfigMapSchema, ColorConfigSchema, DarkThemeColorConfigSchema, ExtendsSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, RegistryConfigSchema, RegistryUrlConfigSchema, SingleThemeColorConfigSchema, WorkspaceAccountConfigSchema, WorkspaceBotConfigSchema, WorkspaceDirectoryConfigSchema, WorkspaceReleaseConfigSchema, errorConfigSchema, stormWorkspaceConfigSchema } from './schema.js';
|
|
4
4
|
export { COLOR_KEYS, ColorConfig, ColorConfigInput, ColorConfigMap, ColorConfigMapInput, DarkThemeColorConfig, DarkThemeColorConfigInput, LightThemeColorConfig, LightThemeColorConfigInput, MultiThemeColorConfig, MultiThemeColorConfigInput, SingleThemeColorConfig, SingleThemeColorConfigInput, StormConfig, StormWorkspaceConfig, StormWorkspaceConfigInput } from './types.js';
|
|
5
5
|
import 'zod';
|
package/dist/index.js
CHANGED
|
@@ -15,8 +15,9 @@ import {
|
|
|
15
15
|
WorkspaceBotConfigSchema,
|
|
16
16
|
WorkspaceDirectoryConfigSchema,
|
|
17
17
|
WorkspaceReleaseConfigSchema,
|
|
18
|
+
errorConfigSchema,
|
|
18
19
|
stormWorkspaceConfigSchema
|
|
19
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-CIOGSYBE.js";
|
|
20
21
|
import {
|
|
21
22
|
STORM_DEFAULT_ACCOUNT_DISCORD,
|
|
22
23
|
STORM_DEFAULT_ACCOUNT_GITHUB,
|
|
@@ -26,12 +27,13 @@ import {
|
|
|
26
27
|
STORM_DEFAULT_ACCOUNT_TWITTER,
|
|
27
28
|
STORM_DEFAULT_CONTACT,
|
|
28
29
|
STORM_DEFAULT_DOCS,
|
|
30
|
+
STORM_DEFAULT_ERROR_CODES_FILE,
|
|
29
31
|
STORM_DEFAULT_HOMEPAGE,
|
|
30
32
|
STORM_DEFAULT_LICENSE,
|
|
31
33
|
STORM_DEFAULT_LICENSING,
|
|
32
34
|
STORM_DEFAULT_RELEASE_BANNER,
|
|
33
35
|
STORM_DEFAULT_RELEASE_FOOTER
|
|
34
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-JXP4TNRB.js";
|
|
35
37
|
import {
|
|
36
38
|
COLOR_KEYS
|
|
37
39
|
} from "./chunk-HFZRRAQB.js";
|
|
@@ -54,6 +56,7 @@ export {
|
|
|
54
56
|
STORM_DEFAULT_ACCOUNT_TWITTER,
|
|
55
57
|
STORM_DEFAULT_CONTACT,
|
|
56
58
|
STORM_DEFAULT_DOCS,
|
|
59
|
+
STORM_DEFAULT_ERROR_CODES_FILE,
|
|
57
60
|
STORM_DEFAULT_HOMEPAGE,
|
|
58
61
|
STORM_DEFAULT_LICENSE,
|
|
59
62
|
STORM_DEFAULT_LICENSING,
|
|
@@ -65,5 +68,6 @@ export {
|
|
|
65
68
|
WorkspaceDirectoryConfigSchema,
|
|
66
69
|
WorkspaceReleaseConfigSchema,
|
|
67
70
|
defineConfig,
|
|
71
|
+
errorConfigSchema,
|
|
68
72
|
stormWorkspaceConfigSchema
|
|
69
73
|
};
|
package/dist/schema.cjs
CHANGED
|
@@ -13,8 +13,9 @@
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
require('./chunk-
|
|
16
|
+
|
|
17
|
+
var _chunkITLP7RTFcjs = require('./chunk-ITLP7RTF.cjs');
|
|
18
|
+
require('./chunk-VFB443BH.cjs');
|
|
18
19
|
require('./chunk-USNT2KNT.cjs');
|
|
19
20
|
|
|
20
21
|
|
|
@@ -31,4 +32,5 @@ require('./chunk-USNT2KNT.cjs');
|
|
|
31
32
|
|
|
32
33
|
|
|
33
34
|
|
|
34
|
-
|
|
35
|
+
|
|
36
|
+
exports.ColorConfigMapSchema = _chunkITLP7RTFcjs.ColorConfigMapSchema; exports.ColorConfigSchema = _chunkITLP7RTFcjs.ColorConfigSchema; exports.DarkThemeColorConfigSchema = _chunkITLP7RTFcjs.DarkThemeColorConfigSchema; exports.ExtendsSchema = _chunkITLP7RTFcjs.ExtendsSchema; exports.LightThemeColorConfigSchema = _chunkITLP7RTFcjs.LightThemeColorConfigSchema; exports.MultiThemeColorConfigSchema = _chunkITLP7RTFcjs.MultiThemeColorConfigSchema; exports.RegistryConfigSchema = _chunkITLP7RTFcjs.RegistryConfigSchema; exports.RegistryUrlConfigSchema = _chunkITLP7RTFcjs.RegistryUrlConfigSchema; exports.SingleThemeColorConfigSchema = _chunkITLP7RTFcjs.SingleThemeColorConfigSchema; exports.WorkspaceAccountConfigSchema = _chunkITLP7RTFcjs.WorkspaceAccountConfigSchema; exports.WorkspaceBotConfigSchema = _chunkITLP7RTFcjs.WorkspaceBotConfigSchema; exports.WorkspaceDirectoryConfigSchema = _chunkITLP7RTFcjs.WorkspaceDirectoryConfigSchema; exports.WorkspaceReleaseConfigSchema = _chunkITLP7RTFcjs.WorkspaceReleaseConfigSchema; exports.errorConfigSchema = _chunkITLP7RTFcjs.errorConfigSchema; exports.stormWorkspaceConfigSchema = _chunkITLP7RTFcjs.stormWorkspaceConfigSchema;
|
package/dist/schema.d.cts
CHANGED
|
@@ -1105,6 +1105,16 @@ declare const WorkspaceDirectoryConfigSchema: z.ZodObject<{
|
|
|
1105
1105
|
log?: string | undefined;
|
|
1106
1106
|
build?: string | undefined;
|
|
1107
1107
|
}>;
|
|
1108
|
+
declare const errorConfigSchema: z.ZodObject<{
|
|
1109
|
+
codesFile: z.ZodDefault<z.ZodString>;
|
|
1110
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1111
|
+
}, "strip", z.ZodTypeAny, {
|
|
1112
|
+
codesFile: string;
|
|
1113
|
+
url?: string | undefined;
|
|
1114
|
+
}, {
|
|
1115
|
+
codesFile?: string | undefined;
|
|
1116
|
+
url?: string | undefined;
|
|
1117
|
+
}>;
|
|
1108
1118
|
/**
|
|
1109
1119
|
* Storm Workspace config values used during various dev-ops processes. It represents the config of the entire monorepo.
|
|
1110
1120
|
*/
|
|
@@ -1168,6 +1178,16 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
1168
1178
|
medium?: string | undefined;
|
|
1169
1179
|
github?: string | undefined;
|
|
1170
1180
|
}>;
|
|
1181
|
+
error: z.ZodObject<{
|
|
1182
|
+
codesFile: z.ZodDefault<z.ZodString>;
|
|
1183
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1184
|
+
}, "strip", z.ZodTypeAny, {
|
|
1185
|
+
codesFile: string;
|
|
1186
|
+
url?: string | undefined;
|
|
1187
|
+
}, {
|
|
1188
|
+
codesFile?: string | undefined;
|
|
1189
|
+
url?: string | undefined;
|
|
1190
|
+
}>;
|
|
1171
1191
|
mode: z.ZodDefault<z.ZodEnum<["development", "staging", "production"]>>;
|
|
1172
1192
|
workspaceRoot: z.ZodDefault<z.ZodString>;
|
|
1173
1193
|
externalPackagePatterns: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1961,6 +1981,10 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
1961
1981
|
medium: string;
|
|
1962
1982
|
github: string;
|
|
1963
1983
|
};
|
|
1984
|
+
error: {
|
|
1985
|
+
codesFile: string;
|
|
1986
|
+
url?: string | undefined;
|
|
1987
|
+
};
|
|
1964
1988
|
mode: "development" | "staging" | "production";
|
|
1965
1989
|
workspaceRoot: string;
|
|
1966
1990
|
externalPackagePatterns: string[];
|
|
@@ -1976,7 +2000,7 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
1976
2000
|
packageManager: "npm" | "yarn" | "pnpm" | "bun";
|
|
1977
2001
|
timezone: string;
|
|
1978
2002
|
locale: string;
|
|
1979
|
-
logLevel: "
|
|
2003
|
+
logLevel: "error" | "silent" | "fatal" | "warn" | "success" | "info" | "debug" | "trace" | "all";
|
|
1980
2004
|
registry: {
|
|
1981
2005
|
github?: string | undefined;
|
|
1982
2006
|
npm?: string | undefined;
|
|
@@ -2158,6 +2182,10 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
2158
2182
|
medium?: string | undefined;
|
|
2159
2183
|
github?: string | undefined;
|
|
2160
2184
|
};
|
|
2185
|
+
error: {
|
|
2186
|
+
codesFile?: string | undefined;
|
|
2187
|
+
url?: string | undefined;
|
|
2188
|
+
};
|
|
2161
2189
|
directories: {
|
|
2162
2190
|
cache?: string | undefined;
|
|
2163
2191
|
data?: string | undefined;
|
|
@@ -2334,7 +2362,7 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
2334
2362
|
packageManager?: "npm" | "yarn" | "pnpm" | "bun" | undefined;
|
|
2335
2363
|
timezone?: string | undefined;
|
|
2336
2364
|
locale?: string | undefined;
|
|
2337
|
-
logLevel?: "
|
|
2365
|
+
logLevel?: "error" | "silent" | "fatal" | "warn" | "success" | "info" | "debug" | "trace" | "all" | undefined;
|
|
2338
2366
|
skipConfigLogging?: boolean | undefined;
|
|
2339
2367
|
registry?: {
|
|
2340
2368
|
github?: string | undefined;
|
|
@@ -2347,4 +2375,4 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
2347
2375
|
extensions?: Record<string, any> | undefined;
|
|
2348
2376
|
}>;
|
|
2349
2377
|
|
|
2350
|
-
export { ColorConfigMapSchema, ColorConfigSchema, DarkThemeColorConfigSchema, ExtendsSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, RegistryConfigSchema, RegistryUrlConfigSchema, SingleThemeColorConfigSchema, WorkspaceAccountConfigSchema, WorkspaceBotConfigSchema, WorkspaceDirectoryConfigSchema, WorkspaceReleaseConfigSchema, stormWorkspaceConfigSchema };
|
|
2378
|
+
export { ColorConfigMapSchema, ColorConfigSchema, DarkThemeColorConfigSchema, ExtendsSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, RegistryConfigSchema, RegistryUrlConfigSchema, SingleThemeColorConfigSchema, WorkspaceAccountConfigSchema, WorkspaceBotConfigSchema, WorkspaceDirectoryConfigSchema, WorkspaceReleaseConfigSchema, errorConfigSchema, stormWorkspaceConfigSchema };
|
package/dist/schema.d.ts
CHANGED
|
@@ -1105,6 +1105,16 @@ declare const WorkspaceDirectoryConfigSchema: z.ZodObject<{
|
|
|
1105
1105
|
log?: string | undefined;
|
|
1106
1106
|
build?: string | undefined;
|
|
1107
1107
|
}>;
|
|
1108
|
+
declare const errorConfigSchema: z.ZodObject<{
|
|
1109
|
+
codesFile: z.ZodDefault<z.ZodString>;
|
|
1110
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1111
|
+
}, "strip", z.ZodTypeAny, {
|
|
1112
|
+
codesFile: string;
|
|
1113
|
+
url?: string | undefined;
|
|
1114
|
+
}, {
|
|
1115
|
+
codesFile?: string | undefined;
|
|
1116
|
+
url?: string | undefined;
|
|
1117
|
+
}>;
|
|
1108
1118
|
/**
|
|
1109
1119
|
* Storm Workspace config values used during various dev-ops processes. It represents the config of the entire monorepo.
|
|
1110
1120
|
*/
|
|
@@ -1168,6 +1178,16 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
1168
1178
|
medium?: string | undefined;
|
|
1169
1179
|
github?: string | undefined;
|
|
1170
1180
|
}>;
|
|
1181
|
+
error: z.ZodObject<{
|
|
1182
|
+
codesFile: z.ZodDefault<z.ZodString>;
|
|
1183
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1184
|
+
}, "strip", z.ZodTypeAny, {
|
|
1185
|
+
codesFile: string;
|
|
1186
|
+
url?: string | undefined;
|
|
1187
|
+
}, {
|
|
1188
|
+
codesFile?: string | undefined;
|
|
1189
|
+
url?: string | undefined;
|
|
1190
|
+
}>;
|
|
1171
1191
|
mode: z.ZodDefault<z.ZodEnum<["development", "staging", "production"]>>;
|
|
1172
1192
|
workspaceRoot: z.ZodDefault<z.ZodString>;
|
|
1173
1193
|
externalPackagePatterns: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1961,6 +1981,10 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
1961
1981
|
medium: string;
|
|
1962
1982
|
github: string;
|
|
1963
1983
|
};
|
|
1984
|
+
error: {
|
|
1985
|
+
codesFile: string;
|
|
1986
|
+
url?: string | undefined;
|
|
1987
|
+
};
|
|
1964
1988
|
mode: "development" | "staging" | "production";
|
|
1965
1989
|
workspaceRoot: string;
|
|
1966
1990
|
externalPackagePatterns: string[];
|
|
@@ -1976,7 +2000,7 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
1976
2000
|
packageManager: "npm" | "yarn" | "pnpm" | "bun";
|
|
1977
2001
|
timezone: string;
|
|
1978
2002
|
locale: string;
|
|
1979
|
-
logLevel: "
|
|
2003
|
+
logLevel: "error" | "silent" | "fatal" | "warn" | "success" | "info" | "debug" | "trace" | "all";
|
|
1980
2004
|
registry: {
|
|
1981
2005
|
github?: string | undefined;
|
|
1982
2006
|
npm?: string | undefined;
|
|
@@ -2158,6 +2182,10 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
2158
2182
|
medium?: string | undefined;
|
|
2159
2183
|
github?: string | undefined;
|
|
2160
2184
|
};
|
|
2185
|
+
error: {
|
|
2186
|
+
codesFile?: string | undefined;
|
|
2187
|
+
url?: string | undefined;
|
|
2188
|
+
};
|
|
2161
2189
|
directories: {
|
|
2162
2190
|
cache?: string | undefined;
|
|
2163
2191
|
data?: string | undefined;
|
|
@@ -2334,7 +2362,7 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
2334
2362
|
packageManager?: "npm" | "yarn" | "pnpm" | "bun" | undefined;
|
|
2335
2363
|
timezone?: string | undefined;
|
|
2336
2364
|
locale?: string | undefined;
|
|
2337
|
-
logLevel?: "
|
|
2365
|
+
logLevel?: "error" | "silent" | "fatal" | "warn" | "success" | "info" | "debug" | "trace" | "all" | undefined;
|
|
2338
2366
|
skipConfigLogging?: boolean | undefined;
|
|
2339
2367
|
registry?: {
|
|
2340
2368
|
github?: string | undefined;
|
|
@@ -2347,4 +2375,4 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
2347
2375
|
extensions?: Record<string, any> | undefined;
|
|
2348
2376
|
}>;
|
|
2349
2377
|
|
|
2350
|
-
export { ColorConfigMapSchema, ColorConfigSchema, DarkThemeColorConfigSchema, ExtendsSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, RegistryConfigSchema, RegistryUrlConfigSchema, SingleThemeColorConfigSchema, WorkspaceAccountConfigSchema, WorkspaceBotConfigSchema, WorkspaceDirectoryConfigSchema, WorkspaceReleaseConfigSchema, stormWorkspaceConfigSchema };
|
|
2378
|
+
export { ColorConfigMapSchema, ColorConfigSchema, DarkThemeColorConfigSchema, ExtendsSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, RegistryConfigSchema, RegistryUrlConfigSchema, SingleThemeColorConfigSchema, WorkspaceAccountConfigSchema, WorkspaceBotConfigSchema, WorkspaceDirectoryConfigSchema, WorkspaceReleaseConfigSchema, errorConfigSchema, stormWorkspaceConfigSchema };
|
package/dist/schema.js
CHANGED
|
@@ -12,9 +12,10 @@ import {
|
|
|
12
12
|
WorkspaceBotConfigSchema,
|
|
13
13
|
WorkspaceDirectoryConfigSchema,
|
|
14
14
|
WorkspaceReleaseConfigSchema,
|
|
15
|
+
errorConfigSchema,
|
|
15
16
|
stormWorkspaceConfigSchema
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-CIOGSYBE.js";
|
|
18
|
+
import "./chunk-JXP4TNRB.js";
|
|
18
19
|
import "./chunk-SHUYVCID.js";
|
|
19
20
|
export {
|
|
20
21
|
ColorConfigMapSchema,
|
|
@@ -30,5 +31,6 @@ export {
|
|
|
30
31
|
WorkspaceBotConfigSchema,
|
|
31
32
|
WorkspaceDirectoryConfigSchema,
|
|
32
33
|
WorkspaceReleaseConfigSchema,
|
|
34
|
+
errorConfigSchema,
|
|
33
35
|
stormWorkspaceConfigSchema
|
|
34
36
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/config",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.112.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Configuration management tools and schemas for Storm Software projects, providing a standardized approach to handle project settings and presets.",
|
|
6
6
|
"repository": {
|
package/presets/base.json
CHANGED
|
@@ -174,6 +174,23 @@
|
|
|
174
174
|
"additionalProperties": false,
|
|
175
175
|
"description": "The workspace's account config used to store various social media links"
|
|
176
176
|
},
|
|
177
|
+
"error": {
|
|
178
|
+
"type": "object",
|
|
179
|
+
"properties": {
|
|
180
|
+
"codesFile": {
|
|
181
|
+
"type": "string",
|
|
182
|
+
"default": "https://public.storm-cdn.com/brand-banner.png",
|
|
183
|
+
"description": "The path to the workspace's error codes JSON file"
|
|
184
|
+
},
|
|
185
|
+
"url": {
|
|
186
|
+
"type": "string",
|
|
187
|
+
"format": "uri",
|
|
188
|
+
"description": "A URL to a page that looks up the workspace's error messages given a specific error code"
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
"additionalProperties": false,
|
|
192
|
+
"description": "The workspace's error config used during the error process"
|
|
193
|
+
},
|
|
177
194
|
"mode": {
|
|
178
195
|
"type": "string",
|
|
179
196
|
"enum": ["development", "staging", "production"],
|
|
@@ -557,7 +574,14 @@
|
|
|
557
574
|
"description": "Configuration of each used extension"
|
|
558
575
|
}
|
|
559
576
|
},
|
|
560
|
-
"required": [
|
|
577
|
+
"required": [
|
|
578
|
+
"bot",
|
|
579
|
+
"release",
|
|
580
|
+
"account",
|
|
581
|
+
"error",
|
|
582
|
+
"directories",
|
|
583
|
+
"colors"
|
|
584
|
+
],
|
|
561
585
|
"additionalProperties": false,
|
|
562
586
|
"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."
|
|
563
587
|
}
|
package/src/constants.d.ts
CHANGED
|
@@ -11,3 +11,4 @@ export declare const STORM_DEFAULT_ACCOUNT_SLACK = "https://join.slack.com/t/sto
|
|
|
11
11
|
export declare const STORM_DEFAULT_ACCOUNT_MEDIUM = "https://medium.com/storm-software";
|
|
12
12
|
export declare const STORM_DEFAULT_ACCOUNT_GITHUB = "https://github.com/storm-software";
|
|
13
13
|
export declare const STORM_DEFAULT_RELEASE_FOOTER = "\nStorm 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.\n\nJoin us on [Discord](https://discord.gg/MQ6YVzakM5) to chat with the team, receive release notifications, ask questions, and get involved.\n\nIf this sounds interesting, and you would like to help us in creating the next generation of development tools, please reach out on our [website](https://stormsoftware.com/contact) or join our [Slack](https://join.slack.com/t/storm-software/shared_invite/zt-2gsmk04hs-i6yhK_r6urq0dkZYAwq2pA) channel!\n";
|
|
14
|
+
export declare const STORM_DEFAULT_ERROR_CODES_FILE = "errors/codes.json";
|
package/src/define-config.d.ts
CHANGED
|
@@ -23,6 +23,10 @@ export declare const defineConfig: (input: StormWorkspaceConfigInput) => {
|
|
|
23
23
|
slack?: string | undefined;
|
|
24
24
|
medium?: string | undefined;
|
|
25
25
|
};
|
|
26
|
+
error: {
|
|
27
|
+
codesFile?: string | undefined;
|
|
28
|
+
url?: string | undefined;
|
|
29
|
+
};
|
|
26
30
|
directories: {
|
|
27
31
|
cache?: string | undefined;
|
|
28
32
|
data?: string | undefined;
|
|
@@ -199,7 +203,7 @@ export declare const defineConfig: (input: StormWorkspaceConfigInput) => {
|
|
|
199
203
|
packageManager?: "npm" | "yarn" | "pnpm" | "bun" | undefined;
|
|
200
204
|
timezone?: string | undefined;
|
|
201
205
|
locale?: string | undefined;
|
|
202
|
-
logLevel?: "success" | "info" | "fatal" | "
|
|
206
|
+
logLevel?: "success" | "info" | "fatal" | "error" | "silent" | "warn" | "debug" | "trace" | "all" | undefined;
|
|
203
207
|
skipConfigLogging?: boolean | undefined;
|
|
204
208
|
registry?: {
|
|
205
209
|
github?: string | undefined;
|
package/src/schema.d.ts
CHANGED
|
@@ -1104,6 +1104,16 @@ export declare const WorkspaceDirectoryConfigSchema: z.ZodObject<{
|
|
|
1104
1104
|
log?: string | undefined;
|
|
1105
1105
|
build?: string | undefined;
|
|
1106
1106
|
}>;
|
|
1107
|
+
export declare const errorConfigSchema: z.ZodObject<{
|
|
1108
|
+
codesFile: z.ZodDefault<z.ZodString>;
|
|
1109
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1110
|
+
}, "strip", z.ZodTypeAny, {
|
|
1111
|
+
codesFile: string;
|
|
1112
|
+
url?: string | undefined;
|
|
1113
|
+
}, {
|
|
1114
|
+
codesFile?: string | undefined;
|
|
1115
|
+
url?: string | undefined;
|
|
1116
|
+
}>;
|
|
1107
1117
|
/**
|
|
1108
1118
|
* Storm Workspace config values used during various dev-ops processes. It represents the config of the entire monorepo.
|
|
1109
1119
|
*/
|
|
@@ -1167,6 +1177,16 @@ export declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
1167
1177
|
slack?: string | undefined;
|
|
1168
1178
|
medium?: string | undefined;
|
|
1169
1179
|
}>;
|
|
1180
|
+
error: z.ZodObject<{
|
|
1181
|
+
codesFile: z.ZodDefault<z.ZodString>;
|
|
1182
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1183
|
+
}, "strip", z.ZodTypeAny, {
|
|
1184
|
+
codesFile: string;
|
|
1185
|
+
url?: string | undefined;
|
|
1186
|
+
}, {
|
|
1187
|
+
codesFile?: string | undefined;
|
|
1188
|
+
url?: string | undefined;
|
|
1189
|
+
}>;
|
|
1170
1190
|
mode: z.ZodDefault<z.ZodEnum<["development", "staging", "production"]>>;
|
|
1171
1191
|
workspaceRoot: z.ZodDefault<z.ZodString>;
|
|
1172
1192
|
externalPackagePatterns: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1960,6 +1980,10 @@ export declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
1960
1980
|
slack: string;
|
|
1961
1981
|
medium: string;
|
|
1962
1982
|
};
|
|
1983
|
+
error: {
|
|
1984
|
+
codesFile: string;
|
|
1985
|
+
url?: string | undefined;
|
|
1986
|
+
};
|
|
1963
1987
|
mode: "development" | "staging" | "production";
|
|
1964
1988
|
workspaceRoot: string;
|
|
1965
1989
|
externalPackagePatterns: string[];
|
|
@@ -1975,7 +1999,7 @@ export declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
1975
1999
|
packageManager: "npm" | "yarn" | "pnpm" | "bun";
|
|
1976
2000
|
timezone: string;
|
|
1977
2001
|
locale: string;
|
|
1978
|
-
logLevel: "success" | "info" | "fatal" | "
|
|
2002
|
+
logLevel: "success" | "info" | "fatal" | "error" | "silent" | "warn" | "debug" | "trace" | "all";
|
|
1979
2003
|
registry: {
|
|
1980
2004
|
github?: string | undefined;
|
|
1981
2005
|
npm?: string | undefined;
|
|
@@ -2157,6 +2181,10 @@ export declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
2157
2181
|
slack?: string | undefined;
|
|
2158
2182
|
medium?: string | undefined;
|
|
2159
2183
|
};
|
|
2184
|
+
error: {
|
|
2185
|
+
codesFile?: string | undefined;
|
|
2186
|
+
url?: string | undefined;
|
|
2187
|
+
};
|
|
2160
2188
|
directories: {
|
|
2161
2189
|
cache?: string | undefined;
|
|
2162
2190
|
data?: string | undefined;
|
|
@@ -2333,7 +2361,7 @@ export declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
2333
2361
|
packageManager?: "npm" | "yarn" | "pnpm" | "bun" | undefined;
|
|
2334
2362
|
timezone?: string | undefined;
|
|
2335
2363
|
locale?: string | undefined;
|
|
2336
|
-
logLevel?: "success" | "info" | "fatal" | "
|
|
2364
|
+
logLevel?: "success" | "info" | "fatal" | "error" | "silent" | "warn" | "debug" | "trace" | "all" | undefined;
|
|
2337
2365
|
skipConfigLogging?: boolean | undefined;
|
|
2338
2366
|
registry?: {
|
|
2339
2367
|
github?: string | undefined;
|