@storm-software/config 1.110.6 → 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 +20 -0
- package/dist/{chunk-FWJ7T4PW.js → chunk-CIOGSYBE.js} +9 -3
- package/dist/{chunk-4SJ57WRV.cjs → chunk-ITLP7RTF.cjs} +21 -15
- 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 +84 -80
- package/dist/define-config.d.ts +84 -80
- package/dist/index.cjs +7 -3
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +10 -6
- package/dist/schema.cjs +5 -3
- package/dist/schema.d.cts +669 -641
- package/dist/schema.d.ts +669 -641
- package/dist/schema.js +8 -6
- package/dist/types.d.cts +22 -6
- package/dist/types.d.ts +22 -6
- 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 +7 -3
- package/src/schema.d.ts +31 -3
- package/src/types.d.ts +21 -5
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,26 @@
|
|
|
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
|
+
|
|
12
|
+
## [1.111.0](https://github.com/storm-software/storm-ops/releases/tag/config%401.111.0) (2025-04-02)
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
- **config:** Update `StormConfig` to `StormWorkspaceConfig`
|
|
17
|
+
([4bc076dd7](https://github.com/storm-software/storm-ops/commit/4bc076dd7))
|
|
18
|
+
|
|
19
|
+
### Miscellaneous
|
|
20
|
+
|
|
21
|
+
- **workspace-tools:** Update all references to `StormConfig` to point to
|
|
22
|
+
`StormWorkspaceConfig`
|
|
23
|
+
([c769b40dd](https://github.com/storm-software/storm-ops/commit/c769b40dd))
|
|
24
|
+
|
|
5
25
|
## [1.110.6](https://github.com/storm-software/storm-ops/releases/tag/config%401.110.6) (2025-03-18)
|
|
6
26
|
|
|
7
27
|
### Miscellaneous
|
|
@@ -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,7 +123,11 @@ 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
|
|
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");
|
|
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(),
|
|
129
133
|
name: z.string().trim().toLowerCase().optional().describe("The name of the service/package/scope using this configuration"),
|
|
@@ -141,6 +145,7 @@ var StormConfigSchema = 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,
|
|
193
|
-
|
|
198
|
+
errorConfigSchema,
|
|
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,7 +123,11 @@ 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
|
|
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");
|
|
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(),
|
|
129
133
|
name: _zod2.default.string().trim().toLowerCase().optional().describe("The name of the service/package/scope using this configuration"),
|
|
@@ -131,16 +135,17 @@ var StormConfigSchema = _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 StormConfigSchema = _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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { StormWorkspaceConfigInput } from './types.cjs';
|
|
2
2
|
import 'zod';
|
|
3
3
|
import './schema.cjs';
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@ import './schema.cjs';
|
|
|
8
8
|
* @param input - The config values for the current Storm workspace
|
|
9
9
|
* @returns The config values for the current Storm workspace
|
|
10
10
|
*/
|
|
11
|
-
declare const defineConfig: (input:
|
|
11
|
+
declare const defineConfig: (input: StormWorkspaceConfigInput) => {
|
|
12
12
|
bot: {
|
|
13
13
|
name?: string | undefined;
|
|
14
14
|
email?: string | undefined;
|
|
@@ -19,12 +19,16 @@ declare const defineConfig: (input: StormConfigInput) => {
|
|
|
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
|
+
};
|
|
29
|
+
error: {
|
|
30
|
+
codesFile?: string | undefined;
|
|
31
|
+
url?: string | undefined;
|
|
28
32
|
};
|
|
29
33
|
directories: {
|
|
30
34
|
cache?: string | undefined;
|
|
@@ -35,155 +39,155 @@ declare const defineConfig: (input: StormConfigInput) => {
|
|
|
35
39
|
build?: string | undefined;
|
|
36
40
|
};
|
|
37
41
|
colors: {
|
|
42
|
+
fatal?: string | undefined;
|
|
43
|
+
success?: string | undefined;
|
|
44
|
+
info?: string | undefined;
|
|
45
|
+
dark?: string | undefined;
|
|
46
|
+
light?: string | undefined;
|
|
47
|
+
brand?: string | undefined;
|
|
48
|
+
alternate?: string | undefined;
|
|
49
|
+
accent?: string | undefined;
|
|
50
|
+
link?: string | undefined;
|
|
51
|
+
help?: string | undefined;
|
|
52
|
+
warning?: string | undefined;
|
|
53
|
+
danger?: string | undefined;
|
|
54
|
+
positive?: string | undefined;
|
|
55
|
+
negative?: string | undefined;
|
|
56
|
+
} | {
|
|
38
57
|
dark: {
|
|
39
|
-
|
|
40
|
-
|
|
58
|
+
fatal?: string | undefined;
|
|
59
|
+
success?: string | undefined;
|
|
60
|
+
info?: string | undefined;
|
|
41
61
|
brand?: string | undefined;
|
|
42
62
|
alternate?: string | undefined;
|
|
43
63
|
accent?: string | undefined;
|
|
44
64
|
link?: string | undefined;
|
|
45
65
|
help?: string | undefined;
|
|
46
|
-
success?: string | undefined;
|
|
47
|
-
info?: string | undefined;
|
|
48
66
|
warning?: string | undefined;
|
|
49
67
|
danger?: string | undefined;
|
|
50
|
-
fatal?: string | undefined;
|
|
51
68
|
positive?: string | undefined;
|
|
52
69
|
negative?: string | undefined;
|
|
53
|
-
};
|
|
54
|
-
light: {
|
|
55
70
|
foreground?: string | undefined;
|
|
56
71
|
background?: string | undefined;
|
|
72
|
+
};
|
|
73
|
+
light: {
|
|
74
|
+
fatal?: string | undefined;
|
|
75
|
+
success?: string | undefined;
|
|
76
|
+
info?: string | undefined;
|
|
57
77
|
brand?: string | undefined;
|
|
58
78
|
alternate?: string | undefined;
|
|
59
79
|
accent?: string | undefined;
|
|
60
80
|
link?: string | undefined;
|
|
61
81
|
help?: string | undefined;
|
|
62
|
-
success?: string | undefined;
|
|
63
|
-
info?: string | undefined;
|
|
64
82
|
warning?: string | undefined;
|
|
65
83
|
danger?: string | undefined;
|
|
66
|
-
fatal?: string | undefined;
|
|
67
84
|
positive?: string | undefined;
|
|
68
85
|
negative?: string | undefined;
|
|
86
|
+
foreground?: string | undefined;
|
|
87
|
+
background?: string | undefined;
|
|
69
88
|
};
|
|
70
|
-
} | {
|
|
71
|
-
brand?: string | undefined;
|
|
72
|
-
alternate?: string | undefined;
|
|
73
|
-
accent?: string | undefined;
|
|
74
|
-
link?: string | undefined;
|
|
75
|
-
help?: string | undefined;
|
|
76
|
-
success?: string | undefined;
|
|
77
|
-
info?: string | undefined;
|
|
78
|
-
warning?: string | undefined;
|
|
79
|
-
danger?: string | undefined;
|
|
80
|
-
fatal?: string | undefined;
|
|
81
|
-
positive?: string | undefined;
|
|
82
|
-
negative?: string | undefined;
|
|
83
|
-
dark?: string | undefined;
|
|
84
|
-
light?: string | undefined;
|
|
85
89
|
} | {
|
|
86
90
|
base: {
|
|
91
|
+
fatal?: string | undefined;
|
|
92
|
+
success?: string | undefined;
|
|
93
|
+
info?: string | undefined;
|
|
94
|
+
dark?: string | undefined;
|
|
95
|
+
light?: string | undefined;
|
|
96
|
+
brand?: string | undefined;
|
|
97
|
+
alternate?: string | undefined;
|
|
98
|
+
accent?: string | undefined;
|
|
99
|
+
link?: string | undefined;
|
|
100
|
+
help?: string | undefined;
|
|
101
|
+
warning?: string | undefined;
|
|
102
|
+
danger?: string | undefined;
|
|
103
|
+
positive?: string | undefined;
|
|
104
|
+
negative?: string | undefined;
|
|
105
|
+
} | {
|
|
87
106
|
dark: {
|
|
88
|
-
|
|
89
|
-
|
|
107
|
+
fatal?: string | undefined;
|
|
108
|
+
success?: string | undefined;
|
|
109
|
+
info?: string | undefined;
|
|
90
110
|
brand?: string | undefined;
|
|
91
111
|
alternate?: string | undefined;
|
|
92
112
|
accent?: string | undefined;
|
|
93
113
|
link?: string | undefined;
|
|
94
114
|
help?: string | undefined;
|
|
95
|
-
success?: string | undefined;
|
|
96
|
-
info?: string | undefined;
|
|
97
115
|
warning?: string | undefined;
|
|
98
116
|
danger?: string | undefined;
|
|
99
|
-
fatal?: string | undefined;
|
|
100
117
|
positive?: string | undefined;
|
|
101
118
|
negative?: string | undefined;
|
|
102
|
-
};
|
|
103
|
-
light: {
|
|
104
119
|
foreground?: string | undefined;
|
|
105
120
|
background?: string | undefined;
|
|
121
|
+
};
|
|
122
|
+
light: {
|
|
123
|
+
fatal?: string | undefined;
|
|
124
|
+
success?: string | undefined;
|
|
125
|
+
info?: string | undefined;
|
|
106
126
|
brand?: string | undefined;
|
|
107
127
|
alternate?: string | undefined;
|
|
108
128
|
accent?: string | undefined;
|
|
109
129
|
link?: string | undefined;
|
|
110
130
|
help?: string | undefined;
|
|
111
|
-
success?: string | undefined;
|
|
112
|
-
info?: string | undefined;
|
|
113
131
|
warning?: string | undefined;
|
|
114
132
|
danger?: string | undefined;
|
|
115
|
-
fatal?: string | undefined;
|
|
116
133
|
positive?: string | undefined;
|
|
117
134
|
negative?: string | undefined;
|
|
135
|
+
foreground?: string | undefined;
|
|
136
|
+
background?: string | undefined;
|
|
118
137
|
};
|
|
119
|
-
} | {
|
|
120
|
-
brand?: string | undefined;
|
|
121
|
-
alternate?: string | undefined;
|
|
122
|
-
accent?: string | undefined;
|
|
123
|
-
link?: string | undefined;
|
|
124
|
-
help?: string | undefined;
|
|
125
|
-
success?: string | undefined;
|
|
126
|
-
info?: string | undefined;
|
|
127
|
-
warning?: string | undefined;
|
|
128
|
-
danger?: string | undefined;
|
|
129
|
-
fatal?: string | undefined;
|
|
130
|
-
positive?: string | undefined;
|
|
131
|
-
negative?: string | undefined;
|
|
132
|
-
dark?: string | undefined;
|
|
133
|
-
light?: string | undefined;
|
|
134
138
|
};
|
|
135
139
|
} | Record<string, {
|
|
140
|
+
fatal?: string | undefined;
|
|
141
|
+
success?: string | undefined;
|
|
142
|
+
info?: string | undefined;
|
|
143
|
+
dark?: string | undefined;
|
|
144
|
+
light?: string | undefined;
|
|
145
|
+
brand?: string | undefined;
|
|
146
|
+
alternate?: string | undefined;
|
|
147
|
+
accent?: string | undefined;
|
|
148
|
+
link?: string | undefined;
|
|
149
|
+
help?: string | undefined;
|
|
150
|
+
warning?: string | undefined;
|
|
151
|
+
danger?: string | undefined;
|
|
152
|
+
positive?: string | undefined;
|
|
153
|
+
negative?: string | undefined;
|
|
154
|
+
} | {
|
|
136
155
|
dark: {
|
|
137
|
-
|
|
138
|
-
|
|
156
|
+
fatal?: string | undefined;
|
|
157
|
+
success?: string | undefined;
|
|
158
|
+
info?: string | undefined;
|
|
139
159
|
brand?: string | undefined;
|
|
140
160
|
alternate?: string | undefined;
|
|
141
161
|
accent?: string | undefined;
|
|
142
162
|
link?: string | undefined;
|
|
143
163
|
help?: string | undefined;
|
|
144
|
-
success?: string | undefined;
|
|
145
|
-
info?: string | undefined;
|
|
146
164
|
warning?: string | undefined;
|
|
147
165
|
danger?: string | undefined;
|
|
148
|
-
fatal?: string | undefined;
|
|
149
166
|
positive?: string | undefined;
|
|
150
167
|
negative?: string | undefined;
|
|
151
|
-
};
|
|
152
|
-
light: {
|
|
153
168
|
foreground?: string | undefined;
|
|
154
169
|
background?: string | undefined;
|
|
170
|
+
};
|
|
171
|
+
light: {
|
|
172
|
+
fatal?: string | undefined;
|
|
173
|
+
success?: string | undefined;
|
|
174
|
+
info?: string | undefined;
|
|
155
175
|
brand?: string | undefined;
|
|
156
176
|
alternate?: string | undefined;
|
|
157
177
|
accent?: string | undefined;
|
|
158
178
|
link?: string | undefined;
|
|
159
179
|
help?: string | undefined;
|
|
160
|
-
success?: string | undefined;
|
|
161
|
-
info?: string | undefined;
|
|
162
180
|
warning?: string | undefined;
|
|
163
181
|
danger?: string | undefined;
|
|
164
|
-
fatal?: string | undefined;
|
|
165
182
|
positive?: string | undefined;
|
|
166
183
|
negative?: string | undefined;
|
|
184
|
+
foreground?: string | undefined;
|
|
185
|
+
background?: string | undefined;
|
|
167
186
|
};
|
|
168
|
-
} | {
|
|
169
|
-
brand?: string | undefined;
|
|
170
|
-
alternate?: string | undefined;
|
|
171
|
-
accent?: string | undefined;
|
|
172
|
-
link?: string | undefined;
|
|
173
|
-
help?: string | undefined;
|
|
174
|
-
success?: string | undefined;
|
|
175
|
-
info?: string | undefined;
|
|
176
|
-
warning?: string | undefined;
|
|
177
|
-
danger?: string | undefined;
|
|
178
|
-
fatal?: string | undefined;
|
|
179
|
-
positive?: string | undefined;
|
|
180
|
-
negative?: string | undefined;
|
|
181
|
-
dark?: string | undefined;
|
|
182
|
-
light?: string | undefined;
|
|
183
187
|
}>;
|
|
184
|
-
name?: string | undefined;
|
|
185
188
|
$schema?: string | null | undefined;
|
|
186
189
|
extends?: string | string[] | undefined;
|
|
190
|
+
name?: string | undefined;
|
|
187
191
|
namespace?: string | undefined;
|
|
188
192
|
organization?: string | undefined;
|
|
189
193
|
repository?: string | undefined;
|
|
@@ -202,7 +206,7 @@ declare const defineConfig: (input: StormConfigInput) => {
|
|
|
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;
|