@storm-software/config-tools 1.49.0 → 1.51.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 +14 -0
- package/README.md +1 -1
- package/index.cjs +49 -18
- package/index.js +49 -18
- package/meta.cjs.json +1 -1
- package/meta.esm.json +1 -1
- package/package.json +1 -1
- package/utilities/logger.cjs +8 -0
- package/utilities/logger.js +8 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/config-tools",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.51.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "⚡The Storm-Ops monorepo contains utility applications, tools, and various libraries to create modern and scalable web applications.",
|
|
6
6
|
"repository": {
|
package/utilities/logger.cjs
CHANGED
|
@@ -5629,6 +5629,13 @@ var SingleThemeColorConfigSchema = z.object({
|
|
|
5629
5629
|
error: ErrorColorSchema,
|
|
5630
5630
|
fatal: FatalColorSchema
|
|
5631
5631
|
});
|
|
5632
|
+
var RegistryUrlConfigSchema = z.string().trim().toLowerCase().url().optional().describe("A remote registry URL used to publish distributable packages");
|
|
5633
|
+
var RegistryConfigSchema = z.object({
|
|
5634
|
+
github: RegistryUrlConfigSchema,
|
|
5635
|
+
npm: RegistryUrlConfigSchema,
|
|
5636
|
+
cargo: RegistryUrlConfigSchema,
|
|
5637
|
+
cyclone: RegistryUrlConfigSchema
|
|
5638
|
+
}).describe("A list of remote registry URLs used by Storm Software");
|
|
5632
5639
|
var ColorConfigSchema = SingleThemeColorConfigSchema.or(
|
|
5633
5640
|
MultiThemeColorConfigSchema
|
|
5634
5641
|
).describe("Colors used for various workspace elements");
|
|
@@ -5684,6 +5691,7 @@ var StormConfigSchema = z.object({
|
|
|
5684
5691
|
"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`)."
|
|
5685
5692
|
),
|
|
5686
5693
|
cloudflareAccountId: z.string().trim().toLowerCase().length(32).regex(/^([0-9a-fA-F]{32})$/i).nullable().default(null).describe("The default Cloudflare account ID of the workspace"),
|
|
5694
|
+
registry: RegistryConfigSchema,
|
|
5687
5695
|
configFile: z.string().trim().nullable().default(null).describe(
|
|
5688
5696
|
"The filepath of the Storm config. When this field is null, no config file was found in the current workspace."
|
|
5689
5697
|
),
|
package/utilities/logger.js
CHANGED
|
@@ -5613,6 +5613,13 @@ var SingleThemeColorConfigSchema = z.object({
|
|
|
5613
5613
|
error: ErrorColorSchema,
|
|
5614
5614
|
fatal: FatalColorSchema
|
|
5615
5615
|
});
|
|
5616
|
+
var RegistryUrlConfigSchema = z.string().trim().toLowerCase().url().optional().describe("A remote registry URL used to publish distributable packages");
|
|
5617
|
+
var RegistryConfigSchema = z.object({
|
|
5618
|
+
github: RegistryUrlConfigSchema,
|
|
5619
|
+
npm: RegistryUrlConfigSchema,
|
|
5620
|
+
cargo: RegistryUrlConfigSchema,
|
|
5621
|
+
cyclone: RegistryUrlConfigSchema
|
|
5622
|
+
}).describe("A list of remote registry URLs used by Storm Software");
|
|
5616
5623
|
var ColorConfigSchema = SingleThemeColorConfigSchema.or(
|
|
5617
5624
|
MultiThemeColorConfigSchema
|
|
5618
5625
|
).describe("Colors used for various workspace elements");
|
|
@@ -5668,6 +5675,7 @@ var StormConfigSchema = z.object({
|
|
|
5668
5675
|
"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`)."
|
|
5669
5676
|
),
|
|
5670
5677
|
cloudflareAccountId: z.string().trim().toLowerCase().length(32).regex(/^([0-9a-fA-F]{32})$/i).nullable().default(null).describe("The default Cloudflare account ID of the workspace"),
|
|
5678
|
+
registry: RegistryConfigSchema,
|
|
5671
5679
|
configFile: z.string().trim().nullable().default(null).describe(
|
|
5672
5680
|
"The filepath of the Storm config. When this field is null, no config file was found in the current workspace."
|
|
5673
5681
|
),
|