@storm-software/workspace-tools 1.43.8 → 1.43.10

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,17 @@
1
+ ## [1.43.9](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.43.8...workspace-tools-v1.43.9) (2024-01-17)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **config-tools:** Added code to print out config values added ([ea56410](https://github.com/storm-software/storm-ops/commit/ea56410f9e7e9f3e4f68268395a13127a1653d2d))
7
+
8
+ ## [1.43.8](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.43.7...workspace-tools-v1.43.8) (2024-01-17)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **config-tools:** Removed unused defaulting logic for config file ([2770efd](https://github.com/storm-software/storm-ops/commit/2770efde7032b88e6bf20fb23c5b89060175db5d))
14
+
1
15
  ## [1.43.7](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.43.6...workspace-tools-v1.43.7) (2024-01-17)
2
16
 
3
17
 
package/index.js CHANGED
@@ -130574,12 +130574,22 @@ var loadStormConfig = async (workspaceRoot) => {
130574
130574
  if (!_workspaceRoot) {
130575
130575
  _workspaceRoot = findWorkspaceRoot();
130576
130576
  }
130577
- const configFile = {
130578
- ...await getConfigFile(_workspaceRoot),
130579
- ...getConfigEnv()
130580
- };
130577
+ const configFile = await getConfigFile(_workspaceRoot);
130578
+ const configEnv = getConfigEnv();
130579
+ for (const key of Object.keys(configEnv)) {
130580
+ if (configEnv[key] !== void 0 && configEnv[key] !== null) {
130581
+ configFile[key] = configEnv[key];
130582
+ }
130583
+ }
130581
130584
  const config = StormConfigSchema.parse(configFile);
130582
130585
  setConfigEnv(config);
130586
+ console.debug("\n\n");
130587
+ console.debug(`Loaded Storm config from ${config.configFile}`);
130588
+ for (const key of Object.keys(configFile)) {
130589
+ console.debug(` ----- ${key} ----- `);
130590
+ console.debug(configFile[key]);
130591
+ }
130592
+ console.debug("\n\n");
130583
130593
  return config;
130584
130594
  };
130585
130595