@storm-software/config 1.122.8 → 1.123.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/README.md +1 -1
- package/dist/{chunk-RTIWPBE6.js → chunk-2ZLWK5GA.js} +13 -1
- package/dist/{chunk-YZ4LXHOB.cjs → chunk-OSCIEGSV.cjs} +14 -2
- package/dist/define-config.d.cts +85 -79
- package/dist/define-config.d.ts +85 -79
- package/dist/index.cjs +4 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -1
- package/dist/schema.cjs +4 -2
- package/dist/schema.d.cts +684 -635
- package/dist/schema.d.ts +684 -635
- package/dist/schema.js +3 -1
- package/dist/types.d.cts +4 -2
- package/dist/types.d.ts +4 -2
- package/package.json +1 -1
- package/presets/storm-software.json +7 -1
- package/schemas/storm-workspace.schema.json +38 -3
- package/src/define-config.d.ts +7 -1
- package/src/schema.d.ts +52 -3
- package/src/types.d.ts +3 -1
package/dist/schema.js
CHANGED
|
@@ -13,8 +13,9 @@ import {
|
|
|
13
13
|
WorkspaceDirectoryConfigSchema,
|
|
14
14
|
WorkspaceReleaseConfigSchema,
|
|
15
15
|
errorConfigSchema,
|
|
16
|
+
organizationConfigSchema,
|
|
16
17
|
stormWorkspaceConfigSchema
|
|
17
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-2ZLWK5GA.js";
|
|
18
19
|
import "./chunk-X3RNGA5B.js";
|
|
19
20
|
export {
|
|
20
21
|
ColorConfigMapSchema,
|
|
@@ -31,5 +32,6 @@ export {
|
|
|
31
32
|
WorkspaceDirectoryConfigSchema,
|
|
32
33
|
WorkspaceReleaseConfigSchema,
|
|
33
34
|
errorConfigSchema,
|
|
35
|
+
organizationConfigSchema,
|
|
34
36
|
stormWorkspaceConfigSchema
|
|
35
37
|
};
|
package/dist/types.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import z from 'zod';
|
|
2
|
-
import { stormWorkspaceConfigSchema, DarkThemeColorConfigSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, SingleThemeColorConfigSchema, ColorConfigSchema, ColorConfigMapSchema } from './schema.cjs';
|
|
2
|
+
import { stormWorkspaceConfigSchema, DarkThemeColorConfigSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, SingleThemeColorConfigSchema, ColorConfigSchema, ColorConfigMapSchema, organizationConfigSchema } from './schema.cjs';
|
|
3
3
|
|
|
4
4
|
type DarkThemeColorConfig = z.infer<typeof DarkThemeColorConfigSchema>;
|
|
5
5
|
type DarkThemeColorConfigInput = z.input<typeof DarkThemeColorConfigSchema>;
|
|
@@ -13,6 +13,8 @@ type ColorConfig = z.infer<typeof ColorConfigSchema>;
|
|
|
13
13
|
type ColorConfigInput = z.input<typeof ColorConfigSchema>;
|
|
14
14
|
type ColorConfigMap = z.infer<typeof ColorConfigMapSchema>;
|
|
15
15
|
type ColorConfigMapInput = z.input<typeof ColorConfigMapSchema>;
|
|
16
|
+
type OrganizationConfig = z.infer<typeof organizationConfigSchema>;
|
|
17
|
+
type OrganizationConfigInput = z.input<typeof organizationConfigSchema>;
|
|
16
18
|
type TStormWorkspaceConfig = z.infer<typeof stormWorkspaceConfigSchema>;
|
|
17
19
|
type StormWorkspaceConfigInput = z.input<typeof stormWorkspaceConfigSchema>;
|
|
18
20
|
/**
|
|
@@ -38,4 +40,4 @@ type StormConfig<TExtensionName extends keyof TStormWorkspaceConfig["extensions"
|
|
|
38
40
|
type StormWorkspaceConfig<TExtensionName extends keyof TStormWorkspaceConfig["extensions"] = keyof TStormWorkspaceConfig["extensions"], TExtensionConfig extends TStormWorkspaceConfig["extensions"][TExtensionName] = TStormWorkspaceConfig["extensions"][TExtensionName]> = StormConfig<TExtensionName, TExtensionConfig>;
|
|
39
41
|
declare const COLOR_KEYS: string[];
|
|
40
42
|
|
|
41
|
-
export { COLOR_KEYS, type ColorConfig, type ColorConfigInput, type ColorConfigMap, type ColorConfigMapInput, type DarkThemeColorConfig, type DarkThemeColorConfigInput, type LightThemeColorConfig, type LightThemeColorConfigInput, type MultiThemeColorConfig, type MultiThemeColorConfigInput, type SingleThemeColorConfig, type SingleThemeColorConfigInput, type StormConfig, type StormWorkspaceConfig, type StormWorkspaceConfigInput };
|
|
43
|
+
export { COLOR_KEYS, type ColorConfig, type ColorConfigInput, type ColorConfigMap, type ColorConfigMapInput, type DarkThemeColorConfig, type DarkThemeColorConfigInput, type LightThemeColorConfig, type LightThemeColorConfigInput, type MultiThemeColorConfig, type MultiThemeColorConfigInput, type OrganizationConfig, type OrganizationConfigInput, type SingleThemeColorConfig, type SingleThemeColorConfigInput, type StormConfig, type StormWorkspaceConfig, type StormWorkspaceConfigInput };
|
package/dist/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import z from 'zod';
|
|
2
|
-
import { stormWorkspaceConfigSchema, DarkThemeColorConfigSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, SingleThemeColorConfigSchema, ColorConfigSchema, ColorConfigMapSchema } from './schema.js';
|
|
2
|
+
import { stormWorkspaceConfigSchema, DarkThemeColorConfigSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, SingleThemeColorConfigSchema, ColorConfigSchema, ColorConfigMapSchema, organizationConfigSchema } from './schema.js';
|
|
3
3
|
|
|
4
4
|
type DarkThemeColorConfig = z.infer<typeof DarkThemeColorConfigSchema>;
|
|
5
5
|
type DarkThemeColorConfigInput = z.input<typeof DarkThemeColorConfigSchema>;
|
|
@@ -13,6 +13,8 @@ type ColorConfig = z.infer<typeof ColorConfigSchema>;
|
|
|
13
13
|
type ColorConfigInput = z.input<typeof ColorConfigSchema>;
|
|
14
14
|
type ColorConfigMap = z.infer<typeof ColorConfigMapSchema>;
|
|
15
15
|
type ColorConfigMapInput = z.input<typeof ColorConfigMapSchema>;
|
|
16
|
+
type OrganizationConfig = z.infer<typeof organizationConfigSchema>;
|
|
17
|
+
type OrganizationConfigInput = z.input<typeof organizationConfigSchema>;
|
|
16
18
|
type TStormWorkspaceConfig = z.infer<typeof stormWorkspaceConfigSchema>;
|
|
17
19
|
type StormWorkspaceConfigInput = z.input<typeof stormWorkspaceConfigSchema>;
|
|
18
20
|
/**
|
|
@@ -38,4 +40,4 @@ type StormConfig<TExtensionName extends keyof TStormWorkspaceConfig["extensions"
|
|
|
38
40
|
type StormWorkspaceConfig<TExtensionName extends keyof TStormWorkspaceConfig["extensions"] = keyof TStormWorkspaceConfig["extensions"], TExtensionConfig extends TStormWorkspaceConfig["extensions"][TExtensionName] = TStormWorkspaceConfig["extensions"][TExtensionName]> = StormConfig<TExtensionName, TExtensionConfig>;
|
|
39
41
|
declare const COLOR_KEYS: string[];
|
|
40
42
|
|
|
41
|
-
export { COLOR_KEYS, type ColorConfig, type ColorConfigInput, type ColorConfigMap, type ColorConfigMapInput, type DarkThemeColorConfig, type DarkThemeColorConfigInput, type LightThemeColorConfig, type LightThemeColorConfigInput, type MultiThemeColorConfig, type MultiThemeColorConfigInput, type SingleThemeColorConfig, type SingleThemeColorConfigInput, type StormConfig, type StormWorkspaceConfig, type StormWorkspaceConfigInput };
|
|
43
|
+
export { COLOR_KEYS, type ColorConfig, type ColorConfigInput, type ColorConfigMap, type ColorConfigMapInput, type DarkThemeColorConfig, type DarkThemeColorConfigInput, type LightThemeColorConfig, type LightThemeColorConfigInput, type MultiThemeColorConfig, type MultiThemeColorConfigInput, type OrganizationConfig, type OrganizationConfigInput, type SingleThemeColorConfig, type SingleThemeColorConfigInput, type StormConfig, type StormWorkspaceConfig, type StormWorkspaceConfigInput };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/config",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.123.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": {
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json",
|
|
3
|
-
"organization":
|
|
3
|
+
"organization": {
|
|
4
|
+
"name": "storm-software",
|
|
5
|
+
"description": "An open source software development organization and the creator of the Stryke utilities, Storm Stack, Cyclone UI, Acidic, and Storm Cloud.",
|
|
6
|
+
"logo": "https://public.storm-cdn.com/logo.png",
|
|
7
|
+
"icon": "https://public.storm-cdn.com/icon-fill.png",
|
|
8
|
+
"url": "https://stormsoftware.com"
|
|
9
|
+
},
|
|
4
10
|
"owner": "@storm-software/admin",
|
|
5
11
|
"bot": { "name": "stormie-bot", "email": "bot@stormsoftware.com" },
|
|
6
12
|
"mode": "production",
|
|
@@ -47,9 +47,44 @@
|
|
|
47
47
|
"description": "The namespace of the package"
|
|
48
48
|
},
|
|
49
49
|
"organization": {
|
|
50
|
-
"
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
"anyOf": [
|
|
51
|
+
{
|
|
52
|
+
"type": "object",
|
|
53
|
+
"properties": {
|
|
54
|
+
"name": {
|
|
55
|
+
"type": "string",
|
|
56
|
+
"description": "The name of the organization"
|
|
57
|
+
},
|
|
58
|
+
"description": {
|
|
59
|
+
"type": "string",
|
|
60
|
+
"description": "A description of the organization"
|
|
61
|
+
},
|
|
62
|
+
"logo": {
|
|
63
|
+
"type": "string",
|
|
64
|
+
"format": "uri",
|
|
65
|
+
"description": "A URL to the organization's logo image"
|
|
66
|
+
},
|
|
67
|
+
"icon": {
|
|
68
|
+
"type": "string",
|
|
69
|
+
"format": "uri",
|
|
70
|
+
"description": "A URL to the organization's icon image"
|
|
71
|
+
},
|
|
72
|
+
"url": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"format": "uri",
|
|
75
|
+
"description": "A URL to a page that provides more information about the organization"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"required": ["name"],
|
|
79
|
+
"additionalProperties": false,
|
|
80
|
+
"description": "The workspace's organization details"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"type": "string",
|
|
84
|
+
"description": "The organization of the workspace"
|
|
85
|
+
}
|
|
86
|
+
],
|
|
87
|
+
"description": "The organization of the workspace. This can be a string or an object containing the organization's details"
|
|
53
88
|
},
|
|
54
89
|
"repository": {
|
|
55
90
|
"type": "string",
|
package/src/define-config.d.ts
CHANGED
|
@@ -187,7 +187,13 @@ export declare const defineConfig: (input: StormWorkspaceConfigInput) => {
|
|
|
187
187
|
$schema?: string | null | undefined;
|
|
188
188
|
extends?: string | string[] | undefined;
|
|
189
189
|
namespace?: string | undefined;
|
|
190
|
-
organization?: string |
|
|
190
|
+
organization?: string | {
|
|
191
|
+
name: string;
|
|
192
|
+
url?: string | undefined;
|
|
193
|
+
description?: string | undefined;
|
|
194
|
+
logo?: string | undefined;
|
|
195
|
+
icon?: string | undefined;
|
|
196
|
+
} | undefined;
|
|
191
197
|
repository?: string | undefined;
|
|
192
198
|
license?: string | undefined;
|
|
193
199
|
homepage?: string | undefined;
|
package/src/schema.d.ts
CHANGED
|
@@ -1114,6 +1114,25 @@ export declare const errorConfigSchema: z.ZodObject<{
|
|
|
1114
1114
|
codesFile?: string | undefined;
|
|
1115
1115
|
url?: string | undefined;
|
|
1116
1116
|
}>;
|
|
1117
|
+
export declare const organizationConfigSchema: z.ZodObject<{
|
|
1118
|
+
name: z.ZodString;
|
|
1119
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1120
|
+
logo: z.ZodOptional<z.ZodString>;
|
|
1121
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
1122
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1123
|
+
}, "strip", z.ZodTypeAny, {
|
|
1124
|
+
name: string;
|
|
1125
|
+
url?: string | undefined;
|
|
1126
|
+
description?: string | undefined;
|
|
1127
|
+
logo?: string | undefined;
|
|
1128
|
+
icon?: string | undefined;
|
|
1129
|
+
}, {
|
|
1130
|
+
name: string;
|
|
1131
|
+
url?: string | undefined;
|
|
1132
|
+
description?: string | undefined;
|
|
1133
|
+
logo?: string | undefined;
|
|
1134
|
+
icon?: string | undefined;
|
|
1135
|
+
}>;
|
|
1117
1136
|
/**
|
|
1118
1137
|
* Storm Workspace config values used during various dev-ops processes. It represents the config of the entire monorepo.
|
|
1119
1138
|
*/
|
|
@@ -1122,7 +1141,25 @@ export declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
1122
1141
|
extends: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
1123
1142
|
name: z.ZodOptional<z.ZodString>;
|
|
1124
1143
|
namespace: z.ZodOptional<z.ZodString>;
|
|
1125
|
-
organization: z.
|
|
1144
|
+
organization: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1145
|
+
name: z.ZodString;
|
|
1146
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1147
|
+
logo: z.ZodOptional<z.ZodString>;
|
|
1148
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
1149
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1150
|
+
}, "strip", z.ZodTypeAny, {
|
|
1151
|
+
name: string;
|
|
1152
|
+
url?: string | undefined;
|
|
1153
|
+
description?: string | undefined;
|
|
1154
|
+
logo?: string | undefined;
|
|
1155
|
+
icon?: string | undefined;
|
|
1156
|
+
}, {
|
|
1157
|
+
name: string;
|
|
1158
|
+
url?: string | undefined;
|
|
1159
|
+
description?: string | undefined;
|
|
1160
|
+
logo?: string | undefined;
|
|
1161
|
+
icon?: string | undefined;
|
|
1162
|
+
}>, z.ZodString]>>;
|
|
1126
1163
|
repository: z.ZodOptional<z.ZodString>;
|
|
1127
1164
|
license: z.ZodDefault<z.ZodString>;
|
|
1128
1165
|
homepage: z.ZodOptional<z.ZodString>;
|
|
@@ -1957,7 +1994,6 @@ export declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
1957
1994
|
}>]>>]>]>;
|
|
1958
1995
|
extensions: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1959
1996
|
}, "strip", z.ZodTypeAny, {
|
|
1960
|
-
organization: string;
|
|
1961
1997
|
license: string;
|
|
1962
1998
|
branch: string;
|
|
1963
1999
|
owner: string;
|
|
@@ -2158,6 +2194,13 @@ export declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
2158
2194
|
$schema?: string | null | undefined;
|
|
2159
2195
|
extends?: string | string[] | undefined;
|
|
2160
2196
|
namespace?: string | undefined;
|
|
2197
|
+
organization?: string | {
|
|
2198
|
+
name: string;
|
|
2199
|
+
url?: string | undefined;
|
|
2200
|
+
description?: string | undefined;
|
|
2201
|
+
logo?: string | undefined;
|
|
2202
|
+
icon?: string | undefined;
|
|
2203
|
+
} | undefined;
|
|
2161
2204
|
repository?: string | undefined;
|
|
2162
2205
|
homepage?: string | undefined;
|
|
2163
2206
|
docs?: string | undefined;
|
|
@@ -2349,7 +2392,13 @@ export declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
2349
2392
|
$schema?: string | null | undefined;
|
|
2350
2393
|
extends?: string | string[] | undefined;
|
|
2351
2394
|
namespace?: string | undefined;
|
|
2352
|
-
organization?: string |
|
|
2395
|
+
organization?: string | {
|
|
2396
|
+
name: string;
|
|
2397
|
+
url?: string | undefined;
|
|
2398
|
+
description?: string | undefined;
|
|
2399
|
+
logo?: string | undefined;
|
|
2400
|
+
icon?: string | undefined;
|
|
2401
|
+
} | undefined;
|
|
2353
2402
|
repository?: string | undefined;
|
|
2354
2403
|
license?: string | undefined;
|
|
2355
2404
|
homepage?: string | undefined;
|
package/src/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type z from "zod";
|
|
2
|
-
import type { ColorConfigMapSchema, ColorConfigSchema, DarkThemeColorConfigSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, SingleThemeColorConfigSchema, stormWorkspaceConfigSchema } from "./schema";
|
|
2
|
+
import type { ColorConfigMapSchema, ColorConfigSchema, DarkThemeColorConfigSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, organizationConfigSchema, SingleThemeColorConfigSchema, stormWorkspaceConfigSchema } from "./schema";
|
|
3
3
|
export type DarkThemeColorConfig = z.infer<typeof DarkThemeColorConfigSchema>;
|
|
4
4
|
export type DarkThemeColorConfigInput = z.input<typeof DarkThemeColorConfigSchema>;
|
|
5
5
|
export type LightThemeColorConfig = z.infer<typeof LightThemeColorConfigSchema>;
|
|
@@ -12,6 +12,8 @@ export type ColorConfig = z.infer<typeof ColorConfigSchema>;
|
|
|
12
12
|
export type ColorConfigInput = z.input<typeof ColorConfigSchema>;
|
|
13
13
|
export type ColorConfigMap = z.infer<typeof ColorConfigMapSchema>;
|
|
14
14
|
export type ColorConfigMapInput = z.input<typeof ColorConfigMapSchema>;
|
|
15
|
+
export type OrganizationConfig = z.infer<typeof organizationConfigSchema>;
|
|
16
|
+
export type OrganizationConfigInput = z.input<typeof organizationConfigSchema>;
|
|
15
17
|
type TStormWorkspaceConfig = z.infer<typeof stormWorkspaceConfigSchema>;
|
|
16
18
|
export type StormWorkspaceConfigInput = z.input<typeof stormWorkspaceConfigSchema>;
|
|
17
19
|
/**
|