@storm-software/config-tools 1.5.13 → 1.5.14

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 CHANGED
@@ -1,3 +1,10 @@
1
+ ## [1.5.13](https://github.com/storm-software/storm-ops/compare/config-tools-v1.5.12...config-tools-v1.5.13) (2023-12-21)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **config-tools:** Add workspace root parameter to config creator ([a22f0fb](https://github.com/storm-software/storm-ops/commit/a22f0fb10970bf49c4ab384ef9a4e8988ef6f372))
7
+
1
8
  ## [1.5.12](https://github.com/storm-software/storm-ops/compare/config-tools-v1.5.11...config-tools-v1.5.12) (2023-12-21)
2
9
 
3
10
 
package/declarations.d.ts CHANGED
@@ -17,6 +17,15 @@ declare type StormConfig<
17
17
  };
18
18
  export { StormConfig };
19
19
 
20
+ /**
21
+ * Type-check to determine if `obj` is a `StormError` object
22
+ *
23
+ * @param value - the object to check
24
+ * @returns The function isStormError is returning a boolean value.
25
+ */
26
+ declare function createConfig(workspaceRoot?: string): StormConfig;
27
+ export { createConfig };
28
+
20
29
  /**
21
30
  * Type-check to determine if `obj` is a `StormError` object
22
31
  *
@@ -30,6 +39,7 @@ declare function createStormConfig<
30
39
  TExtensionSchema extends z.ZodTypeAny = z.ZodTypeAny
31
40
  >(
32
41
  extensionName?: TExtensionName,
33
- schema?: TExtensionSchema
42
+ schema?: TExtensionSchema,
43
+ workspaceRoot?: string
34
44
  ): StormConfig<TExtensionName, TExtensionConfig>;
35
45
  export { createStormConfig };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/config-tools",
3
- "version": "1.5.13",
3
+ "version": "1.5.14",
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": {