@storm-software/config 1.138.4 → 1.138.6

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.
@@ -0,0 +1,196 @@
1
+ import type { StormWorkspaceConfigInput } from "./types";
2
+ /**
3
+ * Type the config values for the current Storm workspace
4
+ *
5
+ * @param input - The config values for the current Storm workspace
6
+ * @returns The config values for the current Storm workspace
7
+ */
8
+ export declare const defineConfig: (input: StormWorkspaceConfigInput) => {
9
+ name: string;
10
+ namespace: string;
11
+ organization: string | {
12
+ name?: string | undefined;
13
+ description?: string | undefined;
14
+ logo?: string | undefined;
15
+ icon?: string | undefined;
16
+ url?: string | undefined;
17
+ };
18
+ repository: string;
19
+ bot: {
20
+ name: string;
21
+ email: string;
22
+ };
23
+ release: {
24
+ banner: string | {
25
+ url?: string | undefined;
26
+ alt?: string | undefined;
27
+ };
28
+ header?: string | undefined;
29
+ footer?: string | undefined;
30
+ };
31
+ socials: {
32
+ twitter?: string | undefined;
33
+ discord?: string | undefined;
34
+ telegram?: string | undefined;
35
+ slack?: string | undefined;
36
+ medium?: string | undefined;
37
+ github?: string | undefined;
38
+ };
39
+ error: {
40
+ codesFile?: string | undefined;
41
+ url?: string | undefined;
42
+ };
43
+ workspaceRoot: string;
44
+ directories: {
45
+ cache?: string | undefined;
46
+ data?: string | undefined;
47
+ config?: string | undefined;
48
+ temp?: string | undefined;
49
+ log?: string | undefined;
50
+ build?: string | undefined;
51
+ };
52
+ colors: {
53
+ dark: {
54
+ foreground?: string | undefined;
55
+ background?: string | undefined;
56
+ brand?: string | undefined;
57
+ alternate?: string | undefined;
58
+ accent?: string | undefined;
59
+ link?: string | undefined;
60
+ discovery?: string | undefined;
61
+ success?: string | undefined;
62
+ info?: string | undefined;
63
+ debug?: string | undefined;
64
+ warning?: string | undefined;
65
+ danger?: string | undefined;
66
+ fatal?: string | undefined;
67
+ performance?: string | undefined;
68
+ positive?: string | undefined;
69
+ negative?: string | undefined;
70
+ gradient?: string[] | undefined;
71
+ };
72
+ light: {
73
+ foreground?: string | undefined;
74
+ background?: string | undefined;
75
+ brand?: string | undefined;
76
+ alternate?: string | undefined;
77
+ accent?: string | undefined;
78
+ link?: string | undefined;
79
+ discovery?: string | undefined;
80
+ success?: string | undefined;
81
+ info?: string | undefined;
82
+ debug?: string | undefined;
83
+ warning?: string | undefined;
84
+ danger?: string | undefined;
85
+ fatal?: string | undefined;
86
+ performance?: string | undefined;
87
+ positive?: string | undefined;
88
+ negative?: string | undefined;
89
+ gradient?: string[] | undefined;
90
+ };
91
+ } | {
92
+ dark?: string | undefined;
93
+ light?: string | undefined;
94
+ brand?: string | undefined;
95
+ alternate?: string | undefined;
96
+ accent?: string | undefined;
97
+ link?: string | undefined;
98
+ discovery?: string | undefined;
99
+ success?: string | undefined;
100
+ info?: string | undefined;
101
+ debug?: string | undefined;
102
+ warning?: string | undefined;
103
+ danger?: string | undefined;
104
+ fatal?: string | undefined;
105
+ performance?: string | undefined;
106
+ positive?: string | undefined;
107
+ negative?: string | undefined;
108
+ gradient?: string[] | undefined;
109
+ } | Record<string, {
110
+ dark: {
111
+ foreground?: string | undefined;
112
+ background?: string | undefined;
113
+ brand?: string | undefined;
114
+ alternate?: string | undefined;
115
+ accent?: string | undefined;
116
+ link?: string | undefined;
117
+ discovery?: string | undefined;
118
+ success?: string | undefined;
119
+ info?: string | undefined;
120
+ debug?: string | undefined;
121
+ warning?: string | undefined;
122
+ danger?: string | undefined;
123
+ fatal?: string | undefined;
124
+ performance?: string | undefined;
125
+ positive?: string | undefined;
126
+ negative?: string | undefined;
127
+ gradient?: string[] | undefined;
128
+ };
129
+ light: {
130
+ foreground?: string | undefined;
131
+ background?: string | undefined;
132
+ brand?: string | undefined;
133
+ alternate?: string | undefined;
134
+ accent?: string | undefined;
135
+ link?: string | undefined;
136
+ discovery?: string | undefined;
137
+ success?: string | undefined;
138
+ info?: string | undefined;
139
+ debug?: string | undefined;
140
+ warning?: string | undefined;
141
+ danger?: string | undefined;
142
+ fatal?: string | undefined;
143
+ performance?: string | undefined;
144
+ positive?: string | undefined;
145
+ negative?: string | undefined;
146
+ gradient?: string[] | undefined;
147
+ };
148
+ } | {
149
+ dark?: string | undefined;
150
+ light?: string | undefined;
151
+ brand?: string | undefined;
152
+ alternate?: string | undefined;
153
+ accent?: string | undefined;
154
+ link?: string | undefined;
155
+ discovery?: string | undefined;
156
+ success?: string | undefined;
157
+ info?: string | undefined;
158
+ debug?: string | undefined;
159
+ warning?: string | undefined;
160
+ danger?: string | undefined;
161
+ fatal?: string | undefined;
162
+ performance?: string | undefined;
163
+ positive?: string | undefined;
164
+ negative?: string | undefined;
165
+ gradient?: string[] | undefined;
166
+ }>;
167
+ $schema?: string | undefined;
168
+ extends?: string | string[] | undefined;
169
+ variant?: "minimal" | "monorepo" | undefined;
170
+ license?: string | undefined;
171
+ homepage?: string | undefined;
172
+ docs?: string | undefined;
173
+ portal?: string | undefined;
174
+ licensing?: string | undefined;
175
+ contact?: string | undefined;
176
+ support?: string | undefined;
177
+ branch?: string | undefined;
178
+ preid?: string | undefined;
179
+ owner?: string | undefined;
180
+ mode?: "development" | "test" | "production" | undefined;
181
+ skipCache?: boolean | undefined;
182
+ packageManager?: "npm" | "yarn" | "pnpm" | "bun" | undefined;
183
+ timezone?: string | undefined;
184
+ locale?: string | undefined;
185
+ logLevel?: "success" | "info" | "debug" | "fatal" | "performance" | "silent" | "error" | "warn" | "trace" | "all" | undefined;
186
+ skipConfigLogging?: boolean | undefined;
187
+ registry?: {
188
+ github?: string | undefined;
189
+ npm?: string | undefined;
190
+ cargo?: string | undefined;
191
+ cyclone?: string | undefined;
192
+ container?: string | undefined;
193
+ } | undefined;
194
+ configFile?: string | null | undefined;
195
+ extensions?: Record<string, any> | undefined;
196
+ };
package/src/index.d.ts ADDED
@@ -0,0 +1,12 @@
1
+ /**
2
+ * The config-schema library used by Storm Software for building TypeScript applications.
3
+ *
4
+ * @remarks
5
+ * A package containing various utilities to support custom workspace configurations
6
+ *
7
+ * @packageDocumentation
8
+ */
9
+ export * from "./constants";
10
+ export * from "./define-config";
11
+ export * from "./schema";
12
+ export * from "./types";