@storm-software/config-tools 1.17.0 → 1.18.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 CHANGED
@@ -1,3 +1,29 @@
1
+ ## [1.17.1](https://github.com/storm-software/storm-ops/compare/config-tools-v1.17.0...config-tools-v1.17.1) (2024-01-19)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **config-tools:** Added the `defineConfig` function to type-check config options ([0676271](https://github.com/storm-software/storm-ops/commit/0676271161ec4a04715fb495f55042328a9f116f))
7
+
8
+ # [1.17.0](https://github.com/storm-software/storm-ops/compare/config-tools-v1.16.2...config-tools-v1.17.0) (2024-01-19)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **config-tools:** Rerun ci pipeline ([d855670](https://github.com/storm-software/storm-ops/commit/d855670faf558969a592b8b6666754280c0dc829))
14
+ * **config-tools:** Resolved the issue with the tsconfig properties ([5bc729e](https://github.com/storm-software/storm-ops/commit/5bc729e4680f2bb8ce67a2f6a85dff875bef9997))
15
+ * **config-tools:** Skip type checks ([c7da786](https://github.com/storm-software/storm-ops/commit/c7da78609234d5eb0998465c9d38fe10eb02d205))
16
+ * **config-tools:** Update lefthook config to call install prior to push ([6a81b6a](https://github.com/storm-software/storm-ops/commit/6a81b6a27359ab41549cb93227d28c5fc1b2ee01))
17
+ * **git-tools:** Resolved issue preventing git-tools publish ([1bf9727](https://github.com/storm-software/storm-ops/commit/1bf97271e3421b5c485708ed2c59da815cde6c4b))
18
+ * **git-tools:** Resovled issues with lock file versions ([3740dc2](https://github.com/storm-software/storm-ops/commit/3740dc2392a8c4fcb0beae0816afeaea1573f6ae))
19
+ * **git-tools:** Upgrade Nx version and resolved import issues ([53432f2](https://github.com/storm-software/storm-ops/commit/53432f2b318c24bc0d65cf2509d01861c0c6f91b))
20
+ * **git-tools:** Upgrade pnpm lock file ([daa3d32](https://github.com/storm-software/storm-ops/commit/daa3d32fd692799b036556ccf04279507410e4eb))
21
+
22
+
23
+ ### Features
24
+
25
+ * **git-tools:** Redesigned the executable script structure ([a4c097b](https://github.com/storm-software/storm-ops/commit/a4c097bd38a68ca0c206686b592d994fb643a5d2))
26
+
1
27
  ## [1.16.2](https://github.com/storm-software/storm-ops/compare/config-tools-v1.16.1...config-tools-v1.16.2) (2024-01-19)
2
28
 
3
29
 
package/declarations.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import type { CosmiconfigResult } from "cosmiconfig";
1
2
  import type * as z from "zod";
2
3
  import type { StormConfigSchema } from "./src/schema";
3
4
 
@@ -72,3 +73,24 @@ declare function createStormConfig<
72
73
  workspaceRoot?: string
73
74
  ): StormConfig<TExtensionName, TExtensionConfig>;
74
75
  export { createStormConfig };
76
+
77
+ /**
78
+ * Get the config file for the current Storm workspace
79
+ *
80
+ * @param fileName - The name of the config file to search for
81
+ * @param filePath - The path to search for the config file in
82
+ * @returns The config file for the current Storm workspace
83
+ */
84
+ declare function getConfigFileByName(
85
+ fileName: string,
86
+ filePath?: string
87
+ ): Promise<CosmiconfigResult>;
88
+ export { getConfigFileByName };
89
+
90
+ /**
91
+ * Get the config file for the current Storm workspace
92
+ *
93
+ * @returns The config file for the current Storm workspace
94
+ */
95
+ declare function defineConfig(input: StormConfigInput): StormConfigInput;
96
+ export { defineConfig };