@storm-software/config-tools 1.51.0 → 1.56.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/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@storm-software/config-tools",
3
- "version": "1.51.0",
4
- "private": false,
3
+ "version": "1.56.0",
5
4
  "description": "⚡The Storm-Ops monorepo contains utility applications, tools, and various libraries to create modern and scalable web applications.",
6
5
  "repository": {
7
6
  "type": "github",
8
7
  "url": "https://github.com/storm-software/storm-ops",
9
8
  "directory": "packages/config-tools"
10
9
  },
10
+ "private": false,
11
11
  "main": "./index.cjs",
12
12
  "module": "./index.js",
13
13
  "types": "declarations.d.ts",
@@ -5635,7 +5635,7 @@ var RegistryConfigSchema = z.object({
5635
5635
  npm: RegistryUrlConfigSchema,
5636
5636
  cargo: RegistryUrlConfigSchema,
5637
5637
  cyclone: RegistryUrlConfigSchema
5638
- }).describe("A list of remote registry URLs used by Storm Software");
5638
+ }).default({}).describe("A list of remote registry URLs used by Storm Software");
5639
5639
  var ColorConfigSchema = SingleThemeColorConfigSchema.or(
5640
5640
  MultiThemeColorConfigSchema
5641
5641
  ).describe("Colors used for various workspace elements");
@@ -5644,6 +5644,11 @@ var ColorConfigMapSchema = z.union([
5644
5644
  z.record(z.string(), ColorConfigSchema)
5645
5645
  ]);
5646
5646
  var StormConfigSchema = z.object({
5647
+ $schema: z.string().trim().default(
5648
+ "https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm.schema.json"
5649
+ ).describe(
5650
+ "The URL to the JSON schema file that describes the Storm configuration file"
5651
+ ),
5647
5652
  extends: z.string().trim().optional().describe(
5648
5653
  "The path to a base JSON file to use as a configuration preset file"
5649
5654
  ),
@@ -5619,7 +5619,7 @@ var RegistryConfigSchema = z.object({
5619
5619
  npm: RegistryUrlConfigSchema,
5620
5620
  cargo: RegistryUrlConfigSchema,
5621
5621
  cyclone: RegistryUrlConfigSchema
5622
- }).describe("A list of remote registry URLs used by Storm Software");
5622
+ }).default({}).describe("A list of remote registry URLs used by Storm Software");
5623
5623
  var ColorConfigSchema = SingleThemeColorConfigSchema.or(
5624
5624
  MultiThemeColorConfigSchema
5625
5625
  ).describe("Colors used for various workspace elements");
@@ -5628,6 +5628,11 @@ var ColorConfigMapSchema = z.union([
5628
5628
  z.record(z.string(), ColorConfigSchema)
5629
5629
  ]);
5630
5630
  var StormConfigSchema = z.object({
5631
+ $schema: z.string().trim().default(
5632
+ "https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm.schema.json"
5633
+ ).describe(
5634
+ "The URL to the JSON schema file that describes the Storm configuration file"
5635
+ ),
5631
5636
  extends: z.string().trim().optional().describe(
5632
5637
  "The path to a base JSON file to use as a configuration preset file"
5633
5638
  ),