@storm-software/config 1.100.18 → 1.101.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 +17 -0
- package/README.md +1 -1
- package/dist/{chunk-W7MRCX7I.js → chunk-25SDWZVG.js} +2 -1
- package/dist/{chunk-E2EZJIOY.cjs → chunk-TES2EEEN.cjs} +2 -1
- package/dist/define-config.d.cts +1 -0
- package/dist/define-config.d.ts +1 -0
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/dist/schema.cjs +2 -2
- package/dist/schema.d.cts +3 -0
- package/dist/schema.d.ts +3 -0
- package/dist/schema.js +1 -1
- package/package.json +1 -1
- package/presets/base.json +2 -1
- package/schemas/{storm.schema.json → storm-workspace.schema.json} +5 -1
- package/src/define-config.d.ts +1 -0
- package/src/schema.d.ts +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
## 1.101.0 (2025-02-01)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
- **config:** Added the `skipConfigLogging` option to config ([7bd9a7a5](https://github.com/storm-software/storm-ops/commit/7bd9a7a5))
|
|
6
|
+
- **config:** Renamed config file from `storm.json` to `storm-workspace.json` ([3ce65c15](https://github.com/storm-software/storm-ops/commit/3ce65c15))
|
|
7
|
+
|
|
8
|
+
### Miscellaneous
|
|
9
|
+
|
|
10
|
+
- **config:** Regenerate the JSON schema file ([65bac541](https://github.com/storm-software/storm-ops/commit/65bac541))
|
|
11
|
+
|
|
12
|
+
## 1.100.19 (2025-01-29)
|
|
13
|
+
|
|
14
|
+
### Miscellaneous
|
|
15
|
+
|
|
16
|
+
- **monorepo:** Regenerate README markdown files ([a1b6717d](https://github.com/storm-software/storm-ops/commit/a1b6717d))
|
|
17
|
+
|
|
1
18
|
## 1.100.18 (2025-01-29)
|
|
2
19
|
|
|
3
20
|
### 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 -->
|
|
@@ -102,7 +102,7 @@ var WorkspaceDirectoryConfigSchema = z.object({
|
|
|
102
102
|
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)")
|
|
103
103
|
}).describe("Various directories used by the workspace to store data, cache, and configuration files");
|
|
104
104
|
var StormConfigSchema = z.object({
|
|
105
|
-
$schema: z.string().trim().default("https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm.schema.json").optional().nullish().describe("The URL to the JSON schema file that describes the Storm configuration file"),
|
|
105
|
+
$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"),
|
|
106
106
|
extends: ExtendsSchema.optional(),
|
|
107
107
|
name: z.string().trim().toLowerCase().optional().describe("The name of the service/package/scope using this configuration"),
|
|
108
108
|
namespace: z.string().trim().toLowerCase().optional().describe("The namespace of the package"),
|
|
@@ -144,6 +144,7 @@ var StormConfigSchema = z.object({
|
|
|
144
144
|
"trace",
|
|
145
145
|
"all"
|
|
146
146
|
]).default("info").describe("The log level used to filter out lower priority log messages. If not provided, this is defaulted using the `environment` config value (if `environment` is set to `production` then `level` is `error`, else `level` is `debug`)."),
|
|
147
|
+
skipConfigLogging: z.boolean().optional().describe("Should the logging of the current Storm Workspace configuration be skipped?"),
|
|
147
148
|
registry: RegistryConfigSchema,
|
|
148
149
|
configFile: z.string().trim().nullable().default(null).describe("The filepath of the Storm config. When this field is null, no config file was found in the current workspace."),
|
|
149
150
|
colors: ColorConfigSchema.or(ColorConfigMapSchema).describe("Storm theme config values used for styling various package elements"),
|
|
@@ -102,7 +102,7 @@ var WorkspaceDirectoryConfigSchema = _zod2.default.object({
|
|
|
102
102
|
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)")
|
|
103
103
|
}).describe("Various directories used by the workspace to store data, cache, and configuration files");
|
|
104
104
|
var StormConfigSchema = _zod2.default.object({
|
|
105
|
-
$schema: _zod2.default.string().trim().default("https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm.schema.json").optional().nullish().describe("The URL to the JSON schema file that describes the Storm configuration file"),
|
|
105
|
+
$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"),
|
|
106
106
|
extends: ExtendsSchema.optional(),
|
|
107
107
|
name: _zod2.default.string().trim().toLowerCase().optional().describe("The name of the service/package/scope using this configuration"),
|
|
108
108
|
namespace: _zod2.default.string().trim().toLowerCase().optional().describe("The namespace of the package"),
|
|
@@ -144,6 +144,7 @@ var StormConfigSchema = _zod2.default.object({
|
|
|
144
144
|
"trace",
|
|
145
145
|
"all"
|
|
146
146
|
]).default("info").describe("The log level used to filter out lower priority log messages. If not provided, this is defaulted using the `environment` config value (if `environment` is set to `production` then `level` is `error`, else `level` is `debug`)."),
|
|
147
|
+
skipConfigLogging: _zod2.default.boolean().optional().describe("Should the logging of the current Storm Workspace configuration be skipped?"),
|
|
147
148
|
registry: RegistryConfigSchema,
|
|
148
149
|
configFile: _zod2.default.string().trim().nullable().default(null).describe("The filepath of the Storm config. When this field is null, no config file was found in the current workspace."),
|
|
149
150
|
colors: ColorConfigSchema.or(ColorConfigMapSchema).describe("Storm theme config values used for styling various package elements"),
|
package/dist/define-config.d.cts
CHANGED
|
@@ -189,6 +189,7 @@ declare const defineConfig: (input: StormConfigInput) => {
|
|
|
189
189
|
timezone?: string | undefined;
|
|
190
190
|
locale?: string | undefined;
|
|
191
191
|
logLevel?: "silent" | "fatal" | "error" | "warn" | "success" | "info" | "debug" | "trace" | "all" | undefined;
|
|
192
|
+
skipConfigLogging?: boolean | undefined;
|
|
192
193
|
registry?: {
|
|
193
194
|
npm?: string | undefined;
|
|
194
195
|
github?: string | undefined;
|
package/dist/define-config.d.ts
CHANGED
|
@@ -189,6 +189,7 @@ declare const defineConfig: (input: StormConfigInput) => {
|
|
|
189
189
|
timezone?: string | undefined;
|
|
190
190
|
locale?: string | undefined;
|
|
191
191
|
logLevel?: "silent" | "fatal" | "error" | "warn" | "success" | "info" | "debug" | "trace" | "all" | undefined;
|
|
192
|
+
skipConfigLogging?: boolean | undefined;
|
|
192
193
|
registry?: {
|
|
193
194
|
npm?: string | undefined;
|
|
194
195
|
github?: string | 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 _chunkTES2EEENcjs = require('./chunk-TES2EEEN.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 = _chunkTES2EEENcjs.ColorConfigMapSchema; exports.ColorConfigSchema = _chunkTES2EEENcjs.ColorConfigSchema; exports.DarkThemeColorConfigSchema = _chunkTES2EEENcjs.DarkThemeColorConfigSchema; exports.ExtendsSchema = _chunkTES2EEENcjs.ExtendsSchema; exports.LightThemeColorConfigSchema = _chunkTES2EEENcjs.LightThemeColorConfigSchema; exports.MultiThemeColorConfigSchema = _chunkTES2EEENcjs.MultiThemeColorConfigSchema; exports.RegistryConfigSchema = _chunkTES2EEENcjs.RegistryConfigSchema; exports.RegistryUrlConfigSchema = _chunkTES2EEENcjs.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 = _chunkTES2EEENcjs.SingleThemeColorConfigSchema; exports.StormConfigSchema = _chunkTES2EEENcjs.StormConfigSchema; exports.WorkspaceBotConfigSchema = _chunkTES2EEENcjs.WorkspaceBotConfigSchema; exports.WorkspaceDirectoryConfigSchema = _chunkTES2EEENcjs.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 _chunkTES2EEENcjs = require('./chunk-TES2EEEN.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 = _chunkTES2EEENcjs.ColorConfigMapSchema; exports.ColorConfigSchema = _chunkTES2EEENcjs.ColorConfigSchema; exports.DarkThemeColorConfigSchema = _chunkTES2EEENcjs.DarkThemeColorConfigSchema; exports.ExtendsSchema = _chunkTES2EEENcjs.ExtendsSchema; exports.LightThemeColorConfigSchema = _chunkTES2EEENcjs.LightThemeColorConfigSchema; exports.MultiThemeColorConfigSchema = _chunkTES2EEENcjs.MultiThemeColorConfigSchema; exports.RegistryConfigSchema = _chunkTES2EEENcjs.RegistryConfigSchema; exports.RegistryUrlConfigSchema = _chunkTES2EEENcjs.RegistryUrlConfigSchema; exports.SingleThemeColorConfigSchema = _chunkTES2EEENcjs.SingleThemeColorConfigSchema; exports.StormConfigSchema = _chunkTES2EEENcjs.StormConfigSchema; exports.WorkspaceBotConfigSchema = _chunkTES2EEENcjs.WorkspaceBotConfigSchema; exports.WorkspaceDirectoryConfigSchema = _chunkTES2EEENcjs.WorkspaceDirectoryConfigSchema;
|
package/dist/schema.d.cts
CHANGED
|
@@ -1127,6 +1127,7 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
1127
1127
|
timezone: z.ZodDefault<z.ZodString>;
|
|
1128
1128
|
locale: z.ZodDefault<z.ZodString>;
|
|
1129
1129
|
logLevel: z.ZodDefault<z.ZodEnum<["silent", "fatal", "error", "warn", "success", "info", "debug", "trace", "all"]>>;
|
|
1130
|
+
skipConfigLogging: z.ZodOptional<z.ZodBoolean>;
|
|
1130
1131
|
registry: z.ZodDefault<z.ZodObject<{
|
|
1131
1132
|
github: z.ZodOptional<z.ZodString>;
|
|
1132
1133
|
npm: z.ZodOptional<z.ZodString>;
|
|
@@ -2053,6 +2054,7 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
2053
2054
|
namespace?: string | undefined;
|
|
2054
2055
|
repository?: string | undefined;
|
|
2055
2056
|
preid?: string | undefined;
|
|
2057
|
+
skipConfigLogging?: boolean | undefined;
|
|
2056
2058
|
}, {
|
|
2057
2059
|
bot: {
|
|
2058
2060
|
name?: string | undefined;
|
|
@@ -2234,6 +2236,7 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
2234
2236
|
timezone?: string | undefined;
|
|
2235
2237
|
locale?: string | undefined;
|
|
2236
2238
|
logLevel?: "silent" | "fatal" | "error" | "warn" | "success" | "info" | "debug" | "trace" | "all" | undefined;
|
|
2239
|
+
skipConfigLogging?: boolean | undefined;
|
|
2237
2240
|
registry?: {
|
|
2238
2241
|
npm?: string | undefined;
|
|
2239
2242
|
github?: string | undefined;
|
package/dist/schema.d.ts
CHANGED
|
@@ -1127,6 +1127,7 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
1127
1127
|
timezone: z.ZodDefault<z.ZodString>;
|
|
1128
1128
|
locale: z.ZodDefault<z.ZodString>;
|
|
1129
1129
|
logLevel: z.ZodDefault<z.ZodEnum<["silent", "fatal", "error", "warn", "success", "info", "debug", "trace", "all"]>>;
|
|
1130
|
+
skipConfigLogging: z.ZodOptional<z.ZodBoolean>;
|
|
1130
1131
|
registry: z.ZodDefault<z.ZodObject<{
|
|
1131
1132
|
github: z.ZodOptional<z.ZodString>;
|
|
1132
1133
|
npm: z.ZodOptional<z.ZodString>;
|
|
@@ -2053,6 +2054,7 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
2053
2054
|
namespace?: string | undefined;
|
|
2054
2055
|
repository?: string | undefined;
|
|
2055
2056
|
preid?: string | undefined;
|
|
2057
|
+
skipConfigLogging?: boolean | undefined;
|
|
2056
2058
|
}, {
|
|
2057
2059
|
bot: {
|
|
2058
2060
|
name?: string | undefined;
|
|
@@ -2234,6 +2236,7 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
2234
2236
|
timezone?: string | undefined;
|
|
2235
2237
|
locale?: string | undefined;
|
|
2236
2238
|
logLevel?: "silent" | "fatal" | "error" | "warn" | "success" | "info" | "debug" | "trace" | "all" | undefined;
|
|
2239
|
+
skipConfigLogging?: boolean | undefined;
|
|
2237
2240
|
registry?: {
|
|
2238
2241
|
npm?: string | undefined;
|
|
2239
2242
|
github?: string | 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.101.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": {
|
package/presets/base.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm.schema.json",
|
|
2
|
+
"$schema": "https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json",
|
|
3
3
|
"organization": "storm-software",
|
|
4
4
|
"owner": "@storm-software/admin",
|
|
5
5
|
"bot": { "name": "Stormie-Bot", "email": "bot@stormsoftware.com" },
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
"timezone": "America/New_York",
|
|
8
8
|
"locale": "en-US",
|
|
9
9
|
"logLevel": "info",
|
|
10
|
+
"skipConfigLogging": true,
|
|
10
11
|
"skipCache": false,
|
|
11
12
|
"directories": {
|
|
12
13
|
"build": "dist"
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
},
|
|
14
14
|
{
|
|
15
15
|
"type": "string",
|
|
16
|
-
"default": "https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm.schema.json"
|
|
16
|
+
"default": "https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json"
|
|
17
17
|
}
|
|
18
18
|
]
|
|
19
19
|
},
|
|
@@ -198,6 +198,10 @@
|
|
|
198
198
|
"default": "info",
|
|
199
199
|
"description": "The log level used to filter out lower priority log messages. If not provided, this is defaulted using the `environment` config value (if `environment` is set to `production` then `level` is `error`, else `level` is `debug`)."
|
|
200
200
|
},
|
|
201
|
+
"skipConfigLogging": {
|
|
202
|
+
"type": "boolean",
|
|
203
|
+
"description": "Should the logging of the current Storm Workspace configuration be skipped?"
|
|
204
|
+
},
|
|
201
205
|
"registry": {
|
|
202
206
|
"type": "object",
|
|
203
207
|
"properties": {
|
package/src/define-config.d.ts
CHANGED
|
@@ -186,6 +186,7 @@ export declare const defineConfig: (input: StormConfigInput) => {
|
|
|
186
186
|
timezone?: string | undefined;
|
|
187
187
|
locale?: string | undefined;
|
|
188
188
|
logLevel?: "success" | "info" | "fatal" | "silent" | "error" | "warn" | "debug" | "trace" | "all" | undefined;
|
|
189
|
+
skipConfigLogging?: boolean | undefined;
|
|
189
190
|
registry?: {
|
|
190
191
|
github?: string | undefined;
|
|
191
192
|
npm?: string | undefined;
|
package/src/schema.d.ts
CHANGED
|
@@ -1126,6 +1126,7 @@ export declare const StormConfigSchema: z.ZodObject<{
|
|
|
1126
1126
|
timezone: z.ZodDefault<z.ZodString>;
|
|
1127
1127
|
locale: z.ZodDefault<z.ZodString>;
|
|
1128
1128
|
logLevel: z.ZodDefault<z.ZodEnum<["silent", "fatal", "error", "warn", "success", "info", "debug", "trace", "all"]>>;
|
|
1129
|
+
skipConfigLogging: z.ZodOptional<z.ZodBoolean>;
|
|
1129
1130
|
registry: z.ZodDefault<z.ZodObject<{
|
|
1130
1131
|
github: z.ZodOptional<z.ZodString>;
|
|
1131
1132
|
npm: z.ZodOptional<z.ZodString>;
|
|
@@ -2052,6 +2053,7 @@ export declare const StormConfigSchema: z.ZodObject<{
|
|
|
2052
2053
|
namespace?: string | undefined;
|
|
2053
2054
|
repository?: string | undefined;
|
|
2054
2055
|
preid?: string | undefined;
|
|
2056
|
+
skipConfigLogging?: boolean | undefined;
|
|
2055
2057
|
}, {
|
|
2056
2058
|
bot: {
|
|
2057
2059
|
name?: string | undefined;
|
|
@@ -2233,6 +2235,7 @@ export declare const StormConfigSchema: z.ZodObject<{
|
|
|
2233
2235
|
timezone?: string | undefined;
|
|
2234
2236
|
locale?: string | undefined;
|
|
2235
2237
|
logLevel?: "success" | "info" | "fatal" | "silent" | "error" | "warn" | "debug" | "trace" | "all" | undefined;
|
|
2238
|
+
skipConfigLogging?: boolean | undefined;
|
|
2236
2239
|
registry?: {
|
|
2237
2240
|
github?: string | undefined;
|
|
2238
2241
|
npm?: string | undefined;
|