@storm-software/config 1.123.2 → 1.124.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/README.md +1 -1
- package/dist/{chunk-SYFXBAOJ.cjs → chunk-3SKAWAHW.cjs} +3 -3
- package/dist/{chunk-CLVZKFJ2.js → chunk-6CELHN4R.js} +3 -3
- package/dist/define-config.d.cts +1 -1
- package/dist/define-config.d.ts +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/dist/schema.cjs +2 -2
- package/dist/schema.d.cts +1 -1
- package/dist/schema.d.ts +1 -1
- package/dist/schema.js +1 -1
- package/dist/types.d.cts +1 -1
- package/dist/types.d.ts +1 -1
- package/package.json +1 -1
- package/presets/base.json +1 -1
- package/presets/storm-software.json +1 -1
- package/schemas/storm-workspace.schema.json +8 -12
- package/src/define-config.d.ts +1 -1
- package/src/schema.d.ts +1 -1
- package/src/types.d.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Config
|
|
4
4
|
|
|
5
|
+
## [1.124.0](https://github.com/storm-software/storm-ops/releases/tag/config%401.124.0) (2025-06-20)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
- **config:** Update URL to Storm Workspace Configuration JSON schema file
|
|
10
|
+
([8169f4614](https://github.com/storm-software/storm-ops/commit/8169f4614))
|
|
11
|
+
|
|
12
|
+
## [1.123.2](https://github.com/storm-software/storm-ops/releases/tag/config%401.123.2) (2025-06-20)
|
|
13
|
+
|
|
14
|
+
### Miscellaneous
|
|
15
|
+
|
|
16
|
+
- **monorepo:** Update README markdown files
|
|
17
|
+
([90a90bfac](https://github.com/storm-software/storm-ops/commit/90a90bfac))
|
|
18
|
+
|
|
5
19
|
## [1.123.1](https://github.com/storm-software/storm-ops/releases/tag/config%401.123.1) (2025-06-20)
|
|
6
20
|
|
|
7
21
|
### Miscellaneous
|
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
|
@@ -163,9 +163,9 @@ var organizationConfigSchema = z.object({
|
|
|
163
163
|
}).describe("The workspace's organization details");
|
|
164
164
|
var stormWorkspaceConfigSchema = z.object({
|
|
165
165
|
$schema: z.string().trim().default(
|
|
166
|
-
"https://
|
|
167
|
-
).
|
|
168
|
-
"The URL to the JSON schema file that describes the Storm configuration file"
|
|
166
|
+
"https://public.storm-cdn.com/schemas/storm-workspace.schema.json"
|
|
167
|
+
).describe(
|
|
168
|
+
"The URL or file path to the JSON schema file that describes the Storm configuration file"
|
|
169
169
|
),
|
|
170
170
|
extends: ExtendsSchema.optional(),
|
|
171
171
|
name: z.string().trim().toLowerCase().optional().describe(
|
|
@@ -163,9 +163,9 @@ var organizationConfigSchema = z.object({
|
|
|
163
163
|
}).describe("The workspace's organization details");
|
|
164
164
|
var stormWorkspaceConfigSchema = z.object({
|
|
165
165
|
$schema: z.string().trim().default(
|
|
166
|
-
"https://
|
|
167
|
-
).
|
|
168
|
-
"The URL to the JSON schema file that describes the Storm configuration file"
|
|
166
|
+
"https://public.storm-cdn.com/schemas/storm-workspace.schema.json"
|
|
167
|
+
).describe(
|
|
168
|
+
"The URL or file path to the JSON schema file that describes the Storm configuration file"
|
|
169
169
|
),
|
|
170
170
|
extends: ExtendsSchema.optional(),
|
|
171
171
|
name: z.string().trim().toLowerCase().optional().describe(
|
package/dist/define-config.d.cts
CHANGED
|
@@ -186,7 +186,7 @@ declare const defineConfig: (input: StormWorkspaceConfigInput) => {
|
|
|
186
186
|
};
|
|
187
187
|
};
|
|
188
188
|
};
|
|
189
|
-
$schema?: string |
|
|
189
|
+
$schema?: string | undefined;
|
|
190
190
|
extends?: string | string[] | undefined;
|
|
191
191
|
name?: string | undefined;
|
|
192
192
|
namespace?: string | undefined;
|
package/dist/define-config.d.ts
CHANGED
|
@@ -186,7 +186,7 @@ declare const defineConfig: (input: StormWorkspaceConfigInput) => {
|
|
|
186
186
|
};
|
|
187
187
|
};
|
|
188
188
|
};
|
|
189
|
-
$schema?: string |
|
|
189
|
+
$schema?: string | undefined;
|
|
190
190
|
extends?: string | string[] | undefined;
|
|
191
191
|
name?: string | undefined;
|
|
192
192
|
namespace?: string | undefined;
|
package/dist/index.cjs
CHANGED
|
@@ -18,7 +18,7 @@ var _chunkH6PQ7FMQcjs = require('./chunk-H6PQ7FMQ.cjs');
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunk3SKAWAHWcjs = require('./chunk-3SKAWAHW.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
@@ -73,4 +73,4 @@ var _chunkWRJN6ED4cjs = require('./chunk-WRJN6ED4.cjs');
|
|
|
73
73
|
|
|
74
74
|
|
|
75
75
|
|
|
76
|
-
exports.COLOR_KEYS = _chunkWRJN6ED4cjs.COLOR_KEYS; exports.ColorConfigMapSchema =
|
|
76
|
+
exports.COLOR_KEYS = _chunkWRJN6ED4cjs.COLOR_KEYS; exports.ColorConfigMapSchema = _chunk3SKAWAHWcjs.ColorConfigMapSchema; exports.ColorConfigSchema = _chunk3SKAWAHWcjs.ColorConfigSchema; exports.DarkThemeColorConfigSchema = _chunk3SKAWAHWcjs.DarkThemeColorConfigSchema; exports.ExtendsSchema = _chunk3SKAWAHWcjs.ExtendsSchema; exports.LightThemeColorConfigSchema = _chunk3SKAWAHWcjs.LightThemeColorConfigSchema; exports.MultiThemeColorConfigSchema = _chunk3SKAWAHWcjs.MultiThemeColorConfigSchema; exports.RegistryConfigSchema = _chunk3SKAWAHWcjs.RegistryConfigSchema; exports.RegistryUrlConfigSchema = _chunk3SKAWAHWcjs.RegistryUrlConfigSchema; exports.STORM_DEFAULT_ACCOUNT_DISCORD = _chunkHPEJ52UXcjs.STORM_DEFAULT_ACCOUNT_DISCORD; exports.STORM_DEFAULT_ACCOUNT_GITHUB = _chunkHPEJ52UXcjs.STORM_DEFAULT_ACCOUNT_GITHUB; exports.STORM_DEFAULT_ACCOUNT_MEDIUM = _chunkHPEJ52UXcjs.STORM_DEFAULT_ACCOUNT_MEDIUM; exports.STORM_DEFAULT_ACCOUNT_SLACK = _chunkHPEJ52UXcjs.STORM_DEFAULT_ACCOUNT_SLACK; exports.STORM_DEFAULT_ACCOUNT_TELEGRAM = _chunkHPEJ52UXcjs.STORM_DEFAULT_ACCOUNT_TELEGRAM; exports.STORM_DEFAULT_ACCOUNT_TWITTER = _chunkHPEJ52UXcjs.STORM_DEFAULT_ACCOUNT_TWITTER; exports.STORM_DEFAULT_CONTACT = _chunkHPEJ52UXcjs.STORM_DEFAULT_CONTACT; exports.STORM_DEFAULT_DOCS = _chunkHPEJ52UXcjs.STORM_DEFAULT_DOCS; exports.STORM_DEFAULT_ERROR_CODES_FILE = _chunkHPEJ52UXcjs.STORM_DEFAULT_ERROR_CODES_FILE; exports.STORM_DEFAULT_HOMEPAGE = _chunkHPEJ52UXcjs.STORM_DEFAULT_HOMEPAGE; exports.STORM_DEFAULT_LICENSE = _chunkHPEJ52UXcjs.STORM_DEFAULT_LICENSE; exports.STORM_DEFAULT_LICENSING = _chunkHPEJ52UXcjs.STORM_DEFAULT_LICENSING; exports.STORM_DEFAULT_RELEASE_BANNER = _chunkHPEJ52UXcjs.STORM_DEFAULT_RELEASE_BANNER; exports.STORM_DEFAULT_RELEASE_FOOTER = _chunkHPEJ52UXcjs.STORM_DEFAULT_RELEASE_FOOTER; exports.STORM_DEFAULT_SUPPORT = _chunkHPEJ52UXcjs.STORM_DEFAULT_SUPPORT; exports.SingleThemeColorConfigSchema = _chunk3SKAWAHWcjs.SingleThemeColorConfigSchema; exports.WorkspaceAccountConfigSchema = _chunk3SKAWAHWcjs.WorkspaceAccountConfigSchema; exports.WorkspaceBotConfigSchema = _chunk3SKAWAHWcjs.WorkspaceBotConfigSchema; exports.WorkspaceDirectoryConfigSchema = _chunk3SKAWAHWcjs.WorkspaceDirectoryConfigSchema; exports.WorkspaceReleaseConfigSchema = _chunk3SKAWAHWcjs.WorkspaceReleaseConfigSchema; exports.defineConfig = _chunkH6PQ7FMQcjs.defineConfig; exports.errorConfigSchema = _chunk3SKAWAHWcjs.errorConfigSchema; exports.organizationConfigSchema = _chunk3SKAWAHWcjs.organizationConfigSchema; exports.stormWorkspaceConfigSchema = _chunk3SKAWAHWcjs.stormWorkspaceConfigSchema;
|
package/dist/index.js
CHANGED
package/dist/schema.cjs
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunk3SKAWAHWcjs = require('./chunk-3SKAWAHW.cjs');
|
|
19
19
|
require('./chunk-HPEJ52UX.cjs');
|
|
20
20
|
|
|
21
21
|
|
|
@@ -34,4 +34,4 @@ require('./chunk-HPEJ52UX.cjs');
|
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
exports.ColorConfigMapSchema =
|
|
37
|
+
exports.ColorConfigMapSchema = _chunk3SKAWAHWcjs.ColorConfigMapSchema; exports.ColorConfigSchema = _chunk3SKAWAHWcjs.ColorConfigSchema; exports.DarkThemeColorConfigSchema = _chunk3SKAWAHWcjs.DarkThemeColorConfigSchema; exports.ExtendsSchema = _chunk3SKAWAHWcjs.ExtendsSchema; exports.LightThemeColorConfigSchema = _chunk3SKAWAHWcjs.LightThemeColorConfigSchema; exports.MultiThemeColorConfigSchema = _chunk3SKAWAHWcjs.MultiThemeColorConfigSchema; exports.RegistryConfigSchema = _chunk3SKAWAHWcjs.RegistryConfigSchema; exports.RegistryUrlConfigSchema = _chunk3SKAWAHWcjs.RegistryUrlConfigSchema; exports.SingleThemeColorConfigSchema = _chunk3SKAWAHWcjs.SingleThemeColorConfigSchema; exports.WorkspaceAccountConfigSchema = _chunk3SKAWAHWcjs.WorkspaceAccountConfigSchema; exports.WorkspaceBotConfigSchema = _chunk3SKAWAHWcjs.WorkspaceBotConfigSchema; exports.WorkspaceDirectoryConfigSchema = _chunk3SKAWAHWcjs.WorkspaceDirectoryConfigSchema; exports.WorkspaceReleaseConfigSchema = _chunk3SKAWAHWcjs.WorkspaceReleaseConfigSchema; exports.errorConfigSchema = _chunk3SKAWAHWcjs.errorConfigSchema; exports.organizationConfigSchema = _chunk3SKAWAHWcjs.organizationConfigSchema; exports.stormWorkspaceConfigSchema = _chunk3SKAWAHWcjs.stormWorkspaceConfigSchema;
|
package/dist/schema.d.cts
CHANGED
|
@@ -282,7 +282,7 @@ declare const organizationConfigSchema: z.ZodObject<{
|
|
|
282
282
|
* Storm Workspace config values used during various dev-ops processes. It represents the config of the entire monorepo.
|
|
283
283
|
*/
|
|
284
284
|
declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
285
|
-
$schema: z.
|
|
285
|
+
$schema: z.ZodDefault<z.ZodString>;
|
|
286
286
|
extends: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
287
287
|
name: z.ZodOptional<z.ZodString>;
|
|
288
288
|
namespace: z.ZodOptional<z.ZodString>;
|
package/dist/schema.d.ts
CHANGED
|
@@ -282,7 +282,7 @@ declare const organizationConfigSchema: z.ZodObject<{
|
|
|
282
282
|
* Storm Workspace config values used during various dev-ops processes. It represents the config of the entire monorepo.
|
|
283
283
|
*/
|
|
284
284
|
declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
285
|
-
$schema: z.
|
|
285
|
+
$schema: z.ZodDefault<z.ZodString>;
|
|
286
286
|
extends: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
287
287
|
name: z.ZodOptional<z.ZodString>;
|
|
288
288
|
namespace: z.ZodOptional<z.ZodString>;
|
package/dist/schema.js
CHANGED
package/dist/types.d.cts
CHANGED
|
@@ -24,7 +24,7 @@ type StormWorkspaceConfigInput = z.input<typeof stormWorkspaceConfigSchema>;
|
|
|
24
24
|
* This type is used to define the configuration object for the entire Storm workspace/monorepo. The value is extracted from the `storm-workspace.json` file in the workspace root and the currently configuration environment variables. The value can be obtained by calling `getWorkspaceConfig()` in `@storm-software/config-tools`.
|
|
25
25
|
*
|
|
26
26
|
* @deprecated
|
|
27
|
-
* This type is deprecated and will be removed in the next major version. Use
|
|
27
|
+
* This type is deprecated and will be removed in the next major version. Use {@link StormWorkspaceConfig} instead.
|
|
28
28
|
*/
|
|
29
29
|
type StormConfig<TExtensionName extends keyof TStormWorkspaceConfig["extensions"] = keyof TStormWorkspaceConfig["extensions"], TExtensionConfig extends TStormWorkspaceConfig["extensions"][TExtensionName] = TStormWorkspaceConfig["extensions"][TExtensionName]> = TStormWorkspaceConfig & {
|
|
30
30
|
extensions: (TStormWorkspaceConfig["extensions"] & {
|
package/dist/types.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ type StormWorkspaceConfigInput = z.input<typeof stormWorkspaceConfigSchema>;
|
|
|
24
24
|
* This type is used to define the configuration object for the entire Storm workspace/monorepo. The value is extracted from the `storm-workspace.json` file in the workspace root and the currently configuration environment variables. The value can be obtained by calling `getWorkspaceConfig()` in `@storm-software/config-tools`.
|
|
25
25
|
*
|
|
26
26
|
* @deprecated
|
|
27
|
-
* This type is deprecated and will be removed in the next major version. Use
|
|
27
|
+
* This type is deprecated and will be removed in the next major version. Use {@link StormWorkspaceConfig} instead.
|
|
28
28
|
*/
|
|
29
29
|
type StormConfig<TExtensionName extends keyof TStormWorkspaceConfig["extensions"] = keyof TStormWorkspaceConfig["extensions"], TExtensionConfig extends TStormWorkspaceConfig["extensions"][TExtensionName] = TStormWorkspaceConfig["extensions"][TExtensionName]> = TStormWorkspaceConfig & {
|
|
30
30
|
extensions: (TStormWorkspaceConfig["extensions"] & {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/config",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.124.1",
|
|
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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://
|
|
2
|
+
"$schema": "https://public.storm-cdn.com/schemas/storm-workspace.schema.json",
|
|
3
3
|
"organization": {
|
|
4
4
|
"name": "storm-software",
|
|
5
5
|
"description": "An open source software development organization and the creator of the Stryke utilities, Storm Stack, Cyclone UI, Acidic, and Storm Cloud.",
|
|
@@ -1,19 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
3
|
"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.",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
|
6
6
|
"$schema": {
|
|
7
|
-
"description": "The URL to the JSON schema file that describes the Storm configuration file",
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
"default": "https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json",
|
|
11
|
-
"type": "string"
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"type": "null"
|
|
15
|
-
}
|
|
16
|
-
]
|
|
7
|
+
"description": "The URL or file path to the JSON schema file that describes the Storm configuration file",
|
|
8
|
+
"default": "https://public.storm-cdn.com/schemas/storm-workspace.schema.json",
|
|
9
|
+
"type": "string"
|
|
17
10
|
},
|
|
18
11
|
"extends": {
|
|
19
12
|
"description": "The path to a base config file to use as a configuration preset file. Documentation can be found at https://github.com/unjs/c12#extending-configuration.",
|
|
@@ -1577,6 +1570,7 @@
|
|
|
1577
1570
|
}
|
|
1578
1571
|
},
|
|
1579
1572
|
"required": [
|
|
1573
|
+
"$schema",
|
|
1580
1574
|
"license",
|
|
1581
1575
|
"branch",
|
|
1582
1576
|
"owner",
|
|
@@ -1598,5 +1592,7 @@
|
|
|
1598
1592
|
"colors",
|
|
1599
1593
|
"extensions"
|
|
1600
1594
|
],
|
|
1601
|
-
"additionalProperties": false
|
|
1595
|
+
"additionalProperties": false,
|
|
1596
|
+
"$id": "https://public.storm-cdn.com/schemas/storm-workspace.schema.json",
|
|
1597
|
+
"title": "Storm Workspace Configuration JSON Schema"
|
|
1602
1598
|
}
|
package/src/define-config.d.ts
CHANGED
|
@@ -183,7 +183,7 @@ export declare const defineConfig: (input: StormWorkspaceConfigInput) => {
|
|
|
183
183
|
negative?: string | undefined;
|
|
184
184
|
};
|
|
185
185
|
};
|
|
186
|
-
$schema?: string |
|
|
186
|
+
$schema?: string | undefined;
|
|
187
187
|
extends?: string | string[] | undefined;
|
|
188
188
|
name?: string | undefined;
|
|
189
189
|
namespace?: string | undefined;
|
package/src/schema.d.ts
CHANGED
|
@@ -281,7 +281,7 @@ export declare const organizationConfigSchema: z.ZodObject<{
|
|
|
281
281
|
* Storm Workspace config values used during various dev-ops processes. It represents the config of the entire monorepo.
|
|
282
282
|
*/
|
|
283
283
|
export declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
284
|
-
$schema: z.
|
|
284
|
+
$schema: z.ZodDefault<z.ZodString>;
|
|
285
285
|
extends: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
286
286
|
name: z.ZodOptional<z.ZodString>;
|
|
287
287
|
namespace: z.ZodOptional<z.ZodString>;
|
package/src/types.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export type StormWorkspaceConfigInput = z.input<typeof stormWorkspaceConfigSchem
|
|
|
23
23
|
* This type is used to define the configuration object for the entire Storm workspace/monorepo. The value is extracted from the `storm-workspace.json` file in the workspace root and the currently configuration environment variables. The value can be obtained by calling `getWorkspaceConfig()` in `@storm-software/config-tools`.
|
|
24
24
|
*
|
|
25
25
|
* @deprecated
|
|
26
|
-
* This type is deprecated and will be removed in the next major version. Use
|
|
26
|
+
* This type is deprecated and will be removed in the next major version. Use {@link StormWorkspaceConfig} instead.
|
|
27
27
|
*/
|
|
28
28
|
export type StormConfig<TExtensionName extends keyof TStormWorkspaceConfig["extensions"] = keyof TStormWorkspaceConfig["extensions"], TExtensionConfig extends TStormWorkspaceConfig["extensions"][TExtensionName] = TStormWorkspaceConfig["extensions"][TExtensionName]> = TStormWorkspaceConfig & {
|
|
29
29
|
extensions: (TStormWorkspaceConfig["extensions"] & {
|