@storm-software/config 1.101.26 → 1.102.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 +16 -0
- package/README.md +2 -2
- package/dist/{chunk-RTN6VQFF.cjs → chunk-KBXJ7YRC.cjs} +2 -2
- package/dist/{chunk-KDDB4C4G.js → chunk-VSSMITCV.js} +2 -2
- 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 +3 -3
- package/dist/schema.d.ts +3 -3
- package/dist/schema.js +1 -1
- package/package.json +1 -1
- package/presets/base.json +1 -1
- package/schemas/storm-workspace.schema.json +25 -7
- package/src/define-config.d.ts +1 -1
- package/src/schema.d.ts +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
## 1.102.1 (2025-02-18)
|
|
2
|
+
|
|
3
|
+
### Miscellaneous
|
|
4
|
+
|
|
5
|
+
- **monorepo:** Regenerate README markdown files ([ae8ae2775](https://github.com/storm-software/storm-ops/commit/ae8ae2775))
|
|
6
|
+
|
|
7
|
+
## 1.102.0 (2025-02-18)
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
- **config:** Change `env` parameter to `mode` ([2cb85c792](https://github.com/storm-software/storm-ops/commit/2cb85c792))
|
|
12
|
+
|
|
13
|
+
### Miscellaneous
|
|
14
|
+
|
|
15
|
+
- **config:** Regenerate JSON schema ([0bbd4d5de](https://github.com/storm-software/storm-ops/commit/0bbd4d5de))
|
|
16
|
+
|
|
1
17
|
## 1.101.26 (2025-02-06)
|
|
2
18
|
|
|
3
19
|
### 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 -->
|
|
@@ -111,7 +111,7 @@ environment variables:
|
|
|
111
111
|
| STORM_CACHE_DIRECTORY | The directory where cache is stored | "node_modules/.cache/storm" |
|
|
112
112
|
| STORM_RUNTIME_VERSION | The runtime version used in the workspace | `null` |
|
|
113
113
|
| STORM_OUTPUT_DIRECTORY | The directory where output files are stored | `null` |
|
|
114
|
-
|
|
|
114
|
+
| STORM_MODE | The environment mode type of the workspace | "production" |
|
|
115
115
|
| STORM_REPOSITORY | The repository URL of the workspace | `null` |
|
|
116
116
|
| STORM_BRANCH | The branch of the repository | "main" |
|
|
117
117
|
| STORM_PRE_ID | The pre-release identifier | `null` |
|
|
@@ -116,11 +116,11 @@ var StormConfigSchema = _zod2.default.object({
|
|
|
116
116
|
preid: _zod2.default.string().optional().describe("A tag specifying the version pre-release identifier"),
|
|
117
117
|
owner: _zod2.default.string().trim().default("@storm-software/admin").describe("The owner of the package"),
|
|
118
118
|
bot: WorkspaceBotConfigSchema,
|
|
119
|
-
|
|
119
|
+
mode: _zod2.default.enum([
|
|
120
120
|
"development",
|
|
121
121
|
"staging",
|
|
122
122
|
"production"
|
|
123
|
-
]).default("production").describe("The current runtime environment
|
|
123
|
+
]).default("production").describe("The current runtime environment mode for the package"),
|
|
124
124
|
workspaceRoot: _zod2.default.string().trim().default("").describe("The root directory of the workspace"),
|
|
125
125
|
externalPackagePatterns: _zod2.default.array(_zod2.default.string()).default([]).describe("The build will use these package patterns to determine if they should be external to the bundle"),
|
|
126
126
|
skipCache: _zod2.default.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
|
|
@@ -116,11 +116,11 @@ var StormConfigSchema = z.object({
|
|
|
116
116
|
preid: z.string().optional().describe("A tag specifying the version pre-release identifier"),
|
|
117
117
|
owner: z.string().trim().default("@storm-software/admin").describe("The owner of the package"),
|
|
118
118
|
bot: WorkspaceBotConfigSchema,
|
|
119
|
-
|
|
119
|
+
mode: z.enum([
|
|
120
120
|
"development",
|
|
121
121
|
"staging",
|
|
122
122
|
"production"
|
|
123
|
-
]).default("production").describe("The current runtime environment
|
|
123
|
+
]).default("production").describe("The current runtime environment mode for the package"),
|
|
124
124
|
workspaceRoot: z.string().trim().default("").describe("The root directory of the workspace"),
|
|
125
125
|
externalPackagePatterns: z.array(z.string()).default([]).describe("The build will use these package patterns to determine if they should be external to the bundle"),
|
|
126
126
|
skipCache: z.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
|
package/dist/define-config.d.cts
CHANGED
|
@@ -181,7 +181,7 @@ declare const defineConfig: (input: StormConfigInput) => {
|
|
|
181
181
|
branch?: string | undefined;
|
|
182
182
|
preid?: string | undefined;
|
|
183
183
|
owner?: string | undefined;
|
|
184
|
-
|
|
184
|
+
mode?: "development" | "staging" | "production" | undefined;
|
|
185
185
|
workspaceRoot?: string | undefined;
|
|
186
186
|
externalPackagePatterns?: string[] | undefined;
|
|
187
187
|
skipCache?: boolean | undefined;
|
package/dist/define-config.d.ts
CHANGED
|
@@ -181,7 +181,7 @@ declare const defineConfig: (input: StormConfigInput) => {
|
|
|
181
181
|
branch?: string | undefined;
|
|
182
182
|
preid?: string | undefined;
|
|
183
183
|
owner?: string | undefined;
|
|
184
|
-
|
|
184
|
+
mode?: "development" | "staging" | "production" | undefined;
|
|
185
185
|
workspaceRoot?: string | undefined;
|
|
186
186
|
externalPackagePatterns?: string[] | undefined;
|
|
187
187
|
skipCache?: boolean | undefined;
|
package/dist/index.cjs
CHANGED
|
@@ -14,7 +14,7 @@ var _chunkSNJKI2QWcjs = require('./chunk-SNJKI2QW.cjs');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkKBXJ7YRCcjs = require('./chunk-KBXJ7YRC.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
@@ -44,4 +44,4 @@ require('./chunk-USNT2KNT.cjs');
|
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
|
|
47
|
-
exports.COLOR_KEYS = _chunkWRJN6ED4cjs.COLOR_KEYS; exports.ColorConfigMapSchema =
|
|
47
|
+
exports.COLOR_KEYS = _chunkWRJN6ED4cjs.COLOR_KEYS; exports.ColorConfigMapSchema = _chunkKBXJ7YRCcjs.ColorConfigMapSchema; exports.ColorConfigSchema = _chunkKBXJ7YRCcjs.ColorConfigSchema; exports.DarkThemeColorConfigSchema = _chunkKBXJ7YRCcjs.DarkThemeColorConfigSchema; exports.ExtendsSchema = _chunkKBXJ7YRCcjs.ExtendsSchema; exports.LightThemeColorConfigSchema = _chunkKBXJ7YRCcjs.LightThemeColorConfigSchema; exports.MultiThemeColorConfigSchema = _chunkKBXJ7YRCcjs.MultiThemeColorConfigSchema; exports.RegistryConfigSchema = _chunkKBXJ7YRCcjs.RegistryConfigSchema; exports.RegistryUrlConfigSchema = _chunkKBXJ7YRCcjs.RegistryUrlConfigSchema; exports.STORM_DEFAULT_DOCS = _chunkAVMOBJJQcjs.STORM_DEFAULT_DOCS; exports.STORM_DEFAULT_HOMEPAGE = _chunkAVMOBJJQcjs.STORM_DEFAULT_HOMEPAGE; exports.STORM_DEFAULT_LICENSE = _chunkAVMOBJJQcjs.STORM_DEFAULT_LICENSE; exports.STORM_DEFAULT_LICENSING = _chunkAVMOBJJQcjs.STORM_DEFAULT_LICENSING; exports.SingleThemeColorConfigSchema = _chunkKBXJ7YRCcjs.SingleThemeColorConfigSchema; exports.StormConfigSchema = _chunkKBXJ7YRCcjs.StormConfigSchema; exports.WorkspaceBotConfigSchema = _chunkKBXJ7YRCcjs.WorkspaceBotConfigSchema; exports.WorkspaceDirectoryConfigSchema = _chunkKBXJ7YRCcjs.WorkspaceDirectoryConfigSchema; exports.defineConfig = _chunkSNJKI2QWcjs.defineConfig;
|
package/dist/index.js
CHANGED
package/dist/schema.cjs
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkKBXJ7YRCcjs = require('./chunk-KBXJ7YRC.cjs');
|
|
15
15
|
require('./chunk-AVMOBJJQ.cjs');
|
|
16
16
|
require('./chunk-USNT2KNT.cjs');
|
|
17
17
|
|
|
@@ -27,4 +27,4 @@ require('./chunk-USNT2KNT.cjs');
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
exports.ColorConfigMapSchema =
|
|
30
|
+
exports.ColorConfigMapSchema = _chunkKBXJ7YRCcjs.ColorConfigMapSchema; exports.ColorConfigSchema = _chunkKBXJ7YRCcjs.ColorConfigSchema; exports.DarkThemeColorConfigSchema = _chunkKBXJ7YRCcjs.DarkThemeColorConfigSchema; exports.ExtendsSchema = _chunkKBXJ7YRCcjs.ExtendsSchema; exports.LightThemeColorConfigSchema = _chunkKBXJ7YRCcjs.LightThemeColorConfigSchema; exports.MultiThemeColorConfigSchema = _chunkKBXJ7YRCcjs.MultiThemeColorConfigSchema; exports.RegistryConfigSchema = _chunkKBXJ7YRCcjs.RegistryConfigSchema; exports.RegistryUrlConfigSchema = _chunkKBXJ7YRCcjs.RegistryUrlConfigSchema; exports.SingleThemeColorConfigSchema = _chunkKBXJ7YRCcjs.SingleThemeColorConfigSchema; exports.StormConfigSchema = _chunkKBXJ7YRCcjs.StormConfigSchema; exports.WorkspaceBotConfigSchema = _chunkKBXJ7YRCcjs.WorkspaceBotConfigSchema; exports.WorkspaceDirectoryConfigSchema = _chunkKBXJ7YRCcjs.WorkspaceDirectoryConfigSchema;
|
package/dist/schema.d.cts
CHANGED
|
@@ -1097,7 +1097,7 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
1097
1097
|
name?: string | undefined;
|
|
1098
1098
|
email?: string | undefined;
|
|
1099
1099
|
}>;
|
|
1100
|
-
|
|
1100
|
+
mode: z.ZodDefault<z.ZodEnum<["development", "staging", "production"]>>;
|
|
1101
1101
|
workspaceRoot: z.ZodDefault<z.ZodString>;
|
|
1102
1102
|
externalPackagePatterns: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1103
1103
|
skipCache: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1876,7 +1876,7 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
1876
1876
|
name: string;
|
|
1877
1877
|
email: string;
|
|
1878
1878
|
};
|
|
1879
|
-
|
|
1879
|
+
mode: "development" | "staging" | "production";
|
|
1880
1880
|
workspaceRoot: string;
|
|
1881
1881
|
externalPackagePatterns: string[];
|
|
1882
1882
|
skipCache: boolean;
|
|
@@ -2228,7 +2228,7 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
2228
2228
|
branch?: string | undefined;
|
|
2229
2229
|
preid?: string | undefined;
|
|
2230
2230
|
owner?: string | undefined;
|
|
2231
|
-
|
|
2231
|
+
mode?: "development" | "staging" | "production" | undefined;
|
|
2232
2232
|
workspaceRoot?: string | undefined;
|
|
2233
2233
|
externalPackagePatterns?: string[] | undefined;
|
|
2234
2234
|
skipCache?: boolean | undefined;
|
package/dist/schema.d.ts
CHANGED
|
@@ -1097,7 +1097,7 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
1097
1097
|
name?: string | undefined;
|
|
1098
1098
|
email?: string | undefined;
|
|
1099
1099
|
}>;
|
|
1100
|
-
|
|
1100
|
+
mode: z.ZodDefault<z.ZodEnum<["development", "staging", "production"]>>;
|
|
1101
1101
|
workspaceRoot: z.ZodDefault<z.ZodString>;
|
|
1102
1102
|
externalPackagePatterns: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1103
1103
|
skipCache: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1876,7 +1876,7 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
1876
1876
|
name: string;
|
|
1877
1877
|
email: string;
|
|
1878
1878
|
};
|
|
1879
|
-
|
|
1879
|
+
mode: "development" | "staging" | "production";
|
|
1880
1880
|
workspaceRoot: string;
|
|
1881
1881
|
externalPackagePatterns: string[];
|
|
1882
1882
|
skipCache: boolean;
|
|
@@ -2228,7 +2228,7 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
2228
2228
|
branch?: string | undefined;
|
|
2229
2229
|
preid?: string | undefined;
|
|
2230
2230
|
owner?: string | undefined;
|
|
2231
|
-
|
|
2231
|
+
mode?: "development" | "staging" | "production" | undefined;
|
|
2232
2232
|
workspaceRoot?: string | undefined;
|
|
2233
2233
|
externalPackagePatterns?: string[] | undefined;
|
|
2234
2234
|
skipCache?: boolean | undefined;
|
package/dist/schema.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/config",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.102.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
|
@@ -110,11 +110,15 @@
|
|
|
110
110
|
"additionalProperties": false,
|
|
111
111
|
"description": "The workspace's bot user's config used to automated various operations tasks"
|
|
112
112
|
},
|
|
113
|
-
"
|
|
113
|
+
"mode": {
|
|
114
114
|
"type": "string",
|
|
115
|
-
"enum": [
|
|
115
|
+
"enum": [
|
|
116
|
+
"development",
|
|
117
|
+
"staging",
|
|
118
|
+
"production"
|
|
119
|
+
],
|
|
116
120
|
"default": "production",
|
|
117
|
-
"description": "The current runtime environment
|
|
121
|
+
"description": "The current runtime environment mode for the package"
|
|
118
122
|
},
|
|
119
123
|
"workspaceRoot": {
|
|
120
124
|
"type": "string",
|
|
@@ -168,7 +172,12 @@
|
|
|
168
172
|
},
|
|
169
173
|
"packageManager": {
|
|
170
174
|
"type": "string",
|
|
171
|
-
"enum": [
|
|
175
|
+
"enum": [
|
|
176
|
+
"npm",
|
|
177
|
+
"yarn",
|
|
178
|
+
"pnpm",
|
|
179
|
+
"bun"
|
|
180
|
+
],
|
|
172
181
|
"default": "npm",
|
|
173
182
|
"description": "The JavaScript/TypeScript package manager used by the repository"
|
|
174
183
|
},
|
|
@@ -457,7 +466,10 @@
|
|
|
457
466
|
"additionalProperties": false
|
|
458
467
|
}
|
|
459
468
|
},
|
|
460
|
-
"required": [
|
|
469
|
+
"required": [
|
|
470
|
+
"dark",
|
|
471
|
+
"light"
|
|
472
|
+
],
|
|
461
473
|
"additionalProperties": false
|
|
462
474
|
}
|
|
463
475
|
],
|
|
@@ -472,7 +484,9 @@
|
|
|
472
484
|
"$ref": "#/definitions/StormWorkspaceConfiguration/properties/colors/anyOf/0"
|
|
473
485
|
}
|
|
474
486
|
},
|
|
475
|
-
"required": [
|
|
487
|
+
"required": [
|
|
488
|
+
"base"
|
|
489
|
+
],
|
|
476
490
|
"additionalProperties": false
|
|
477
491
|
},
|
|
478
492
|
{
|
|
@@ -493,7 +507,11 @@
|
|
|
493
507
|
"description": "Configuration of each used extension"
|
|
494
508
|
}
|
|
495
509
|
},
|
|
496
|
-
"required": [
|
|
510
|
+
"required": [
|
|
511
|
+
"bot",
|
|
512
|
+
"directories",
|
|
513
|
+
"colors"
|
|
514
|
+
],
|
|
497
515
|
"additionalProperties": false,
|
|
498
516
|
"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."
|
|
499
517
|
}
|
package/src/define-config.d.ts
CHANGED
|
@@ -178,7 +178,7 @@ export declare const defineConfig: (input: StormConfigInput) => {
|
|
|
178
178
|
branch?: string | undefined;
|
|
179
179
|
preid?: string | undefined;
|
|
180
180
|
owner?: string | undefined;
|
|
181
|
-
|
|
181
|
+
mode?: "development" | "staging" | "production" | undefined;
|
|
182
182
|
workspaceRoot?: string | undefined;
|
|
183
183
|
externalPackagePatterns?: string[] | undefined;
|
|
184
184
|
skipCache?: boolean | undefined;
|
package/src/schema.d.ts
CHANGED
|
@@ -1096,7 +1096,7 @@ export declare const StormConfigSchema: z.ZodObject<{
|
|
|
1096
1096
|
name?: string | undefined;
|
|
1097
1097
|
email?: string | undefined;
|
|
1098
1098
|
}>;
|
|
1099
|
-
|
|
1099
|
+
mode: z.ZodDefault<z.ZodEnum<["development", "staging", "production"]>>;
|
|
1100
1100
|
workspaceRoot: z.ZodDefault<z.ZodString>;
|
|
1101
1101
|
externalPackagePatterns: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1102
1102
|
skipCache: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1875,7 +1875,7 @@ export declare const StormConfigSchema: z.ZodObject<{
|
|
|
1875
1875
|
name: string;
|
|
1876
1876
|
email: string;
|
|
1877
1877
|
};
|
|
1878
|
-
|
|
1878
|
+
mode: "development" | "staging" | "production";
|
|
1879
1879
|
workspaceRoot: string;
|
|
1880
1880
|
externalPackagePatterns: string[];
|
|
1881
1881
|
skipCache: boolean;
|
|
@@ -2227,7 +2227,7 @@ export declare const StormConfigSchema: z.ZodObject<{
|
|
|
2227
2227
|
branch?: string | undefined;
|
|
2228
2228
|
preid?: string | undefined;
|
|
2229
2229
|
owner?: string | undefined;
|
|
2230
|
-
|
|
2230
|
+
mode?: "development" | "staging" | "production" | undefined;
|
|
2231
2231
|
workspaceRoot?: string | undefined;
|
|
2232
2232
|
externalPackagePatterns?: string[] | undefined;
|
|
2233
2233
|
skipCache?: boolean | undefined;
|