@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/workspace-tools",
3
- "version": "1.43.8",
3
+ "version": "1.43.10",
4
4
  "private": false,
5
5
  "description": "⚡ A Nx plugin package that contains various executors and generators used in a Storm workspaces.",
6
6
  "keywords": [
package/src/base/index.js CHANGED
@@ -47677,12 +47677,22 @@ var loadStormConfig = async (workspaceRoot) => {
47677
47677
  if (!_workspaceRoot) {
47678
47678
  _workspaceRoot = findWorkspaceRoot();
47679
47679
  }
47680
- const configFile = {
47681
- ...await getConfigFile(_workspaceRoot),
47682
- ...getConfigEnv()
47683
- };
47680
+ const configFile = await getConfigFile(_workspaceRoot);
47681
+ const configEnv = getConfigEnv();
47682
+ for (const key of Object.keys(configEnv)) {
47683
+ if (configEnv[key] !== void 0 && configEnv[key] !== null) {
47684
+ configFile[key] = configEnv[key];
47685
+ }
47686
+ }
47684
47687
  const config = StormConfigSchema.parse(configFile);
47685
47688
  setConfigEnv(config);
47689
+ console.debug("\n\n");
47690
+ console.debug(`Loaded Storm config from ${config.configFile}`);
47691
+ for (const key of Object.keys(configFile)) {
47692
+ console.debug(` ----- ${key} ----- `);
47693
+ console.debug(configFile[key]);
47694
+ }
47695
+ console.debug("\n\n");
47686
47696
  return config;
47687
47697
  };
47688
47698
 
@@ -65593,12 +65593,22 @@ var loadStormConfig = async (workspaceRoot) => {
65593
65593
  if (!_workspaceRoot) {
65594
65594
  _workspaceRoot = findWorkspaceRoot();
65595
65595
  }
65596
- const configFile = {
65597
- ...await getConfigFile(_workspaceRoot),
65598
- ...getConfigEnv()
65599
- };
65596
+ const configFile = await getConfigFile(_workspaceRoot);
65597
+ const configEnv = getConfigEnv();
65598
+ for (const key of Object.keys(configEnv)) {
65599
+ if (configEnv[key] !== void 0 && configEnv[key] !== null) {
65600
+ configFile[key] = configEnv[key];
65601
+ }
65602
+ }
65600
65603
  const config = StormConfigSchema.parse(configFile);
65601
65604
  setConfigEnv(config);
65605
+ console.debug("\n\n");
65606
+ console.debug(`Loaded Storm config from ${config.configFile}`);
65607
+ for (const key of Object.keys(configFile)) {
65608
+ console.debug(` ----- ${key} ----- `);
65609
+ console.debug(configFile[key]);
65610
+ }
65611
+ console.debug("\n\n");
65602
65612
  return config;
65603
65613
  };
65604
65614
 
@@ -130534,12 +130534,22 @@ var loadStormConfig = async (workspaceRoot) => {
130534
130534
  if (!_workspaceRoot) {
130535
130535
  _workspaceRoot = findWorkspaceRoot();
130536
130536
  }
130537
- const configFile = {
130538
- ...await getConfigFile(_workspaceRoot),
130539
- ...getConfigEnv()
130540
- };
130537
+ const configFile = await getConfigFile(_workspaceRoot);
130538
+ const configEnv = getConfigEnv();
130539
+ for (const key of Object.keys(configEnv)) {
130540
+ if (configEnv[key] !== void 0 && configEnv[key] !== null) {
130541
+ configFile[key] = configEnv[key];
130542
+ }
130543
+ }
130541
130544
  const config = StormConfigSchema.parse(configFile);
130542
130545
  setConfigEnv(config);
130546
+ console.debug("\n\n");
130547
+ console.debug(`Loaded Storm config from ${config.configFile}`);
130548
+ for (const key of Object.keys(configFile)) {
130549
+ console.debug(` ----- ${key} ----- `);
130550
+ console.debug(configFile[key]);
130551
+ }
130552
+ console.debug("\n\n");
130543
130553
  return config;
130544
130554
  };
130545
130555
 
@@ -130525,12 +130525,22 @@ var loadStormConfig = async (workspaceRoot) => {
130525
130525
  if (!_workspaceRoot) {
130526
130526
  _workspaceRoot = findWorkspaceRoot();
130527
130527
  }
130528
- const configFile = {
130529
- ...await getConfigFile(_workspaceRoot),
130530
- ...getConfigEnv()
130531
- };
130528
+ const configFile = await getConfigFile(_workspaceRoot);
130529
+ const configEnv = getConfigEnv();
130530
+ for (const key of Object.keys(configEnv)) {
130531
+ if (configEnv[key] !== void 0 && configEnv[key] !== null) {
130532
+ configFile[key] = configEnv[key];
130533
+ }
130534
+ }
130532
130535
  const config = StormConfigSchema.parse(configFile);
130533
130536
  setConfigEnv(config);
130537
+ console.debug("\n\n");
130538
+ console.debug(`Loaded Storm config from ${config.configFile}`);
130539
+ for (const key of Object.keys(configFile)) {
130540
+ console.debug(` ----- ${key} ----- `);
130541
+ console.debug(configFile[key]);
130542
+ }
130543
+ console.debug("\n\n");
130534
130544
  return config;
130535
130545
  };
130536
130546
 
@@ -130525,12 +130525,22 @@ var loadStormConfig = async (workspaceRoot) => {
130525
130525
  if (!_workspaceRoot) {
130526
130526
  _workspaceRoot = findWorkspaceRoot();
130527
130527
  }
130528
- const configFile = {
130529
- ...await getConfigFile(_workspaceRoot),
130530
- ...getConfigEnv()
130531
- };
130528
+ const configFile = await getConfigFile(_workspaceRoot);
130529
+ const configEnv = getConfigEnv();
130530
+ for (const key of Object.keys(configEnv)) {
130531
+ if (configEnv[key] !== void 0 && configEnv[key] !== null) {
130532
+ configFile[key] = configEnv[key];
130533
+ }
130534
+ }
130532
130535
  const config = StormConfigSchema.parse(configFile);
130533
130536
  setConfigEnv(config);
130537
+ console.debug("\n\n");
130538
+ console.debug(`Loaded Storm config from ${config.configFile}`);
130539
+ for (const key of Object.keys(configFile)) {
130540
+ console.debug(` ----- ${key} ----- `);
130541
+ console.debug(configFile[key]);
130542
+ }
130543
+ console.debug("\n\n");
130534
130544
  return config;
130535
130545
  };
130536
130546
 
@@ -130525,12 +130525,22 @@ var loadStormConfig = async (workspaceRoot) => {
130525
130525
  if (!_workspaceRoot) {
130526
130526
  _workspaceRoot = findWorkspaceRoot();
130527
130527
  }
130528
- const configFile = {
130529
- ...await getConfigFile(_workspaceRoot),
130530
- ...getConfigEnv()
130531
- };
130528
+ const configFile = await getConfigFile(_workspaceRoot);
130529
+ const configEnv = getConfigEnv();
130530
+ for (const key of Object.keys(configEnv)) {
130531
+ if (configEnv[key] !== void 0 && configEnv[key] !== null) {
130532
+ configFile[key] = configEnv[key];
130533
+ }
130534
+ }
130532
130535
  const config = StormConfigSchema.parse(configFile);
130533
130536
  setConfigEnv(config);
130537
+ console.debug("\n\n");
130538
+ console.debug(`Loaded Storm config from ${config.configFile}`);
130539
+ for (const key of Object.keys(configFile)) {
130540
+ console.debug(` ----- ${key} ----- `);
130541
+ console.debug(configFile[key]);
130542
+ }
130543
+ console.debug("\n\n");
130534
130544
  return config;
130535
130545
  };
130536
130546
 
@@ -47670,12 +47670,22 @@ var loadStormConfig = async (workspaceRoot) => {
47670
47670
  if (!_workspaceRoot) {
47671
47671
  _workspaceRoot = findWorkspaceRoot();
47672
47672
  }
47673
- const configFile = {
47674
- ...await getConfigFile(_workspaceRoot),
47675
- ...getConfigEnv()
47676
- };
47673
+ const configFile = await getConfigFile(_workspaceRoot);
47674
+ const configEnv = getConfigEnv();
47675
+ for (const key of Object.keys(configEnv)) {
47676
+ if (configEnv[key] !== void 0 && configEnv[key] !== null) {
47677
+ configFile[key] = configEnv[key];
47678
+ }
47679
+ }
47677
47680
  const config = StormConfigSchema.parse(configFile);
47678
47681
  setConfigEnv(config);
47682
+ console.debug("\n\n");
47683
+ console.debug(`Loaded Storm config from ${config.configFile}`);
47684
+ for (const key of Object.keys(configFile)) {
47685
+ console.debug(` ----- ${key} ----- `);
47686
+ console.debug(configFile[key]);
47687
+ }
47688
+ console.debug("\n\n");
47679
47689
  return config;
47680
47690
  };
47681
47691
 
@@ -30428,12 +30428,22 @@ var loadStormConfig = async (workspaceRoot) => {
30428
30428
  if (!_workspaceRoot) {
30429
30429
  _workspaceRoot = findWorkspaceRoot();
30430
30430
  }
30431
- const configFile = {
30432
- ...await getConfigFile(_workspaceRoot),
30433
- ...getConfigEnv()
30434
- };
30431
+ const configFile = await getConfigFile(_workspaceRoot);
30432
+ const configEnv = getConfigEnv();
30433
+ for (const key of Object.keys(configEnv)) {
30434
+ if (configEnv[key] !== void 0 && configEnv[key] !== null) {
30435
+ configFile[key] = configEnv[key];
30436
+ }
30437
+ }
30435
30438
  const config = StormConfigSchema.parse(configFile);
30436
30439
  setConfigEnv(config);
30440
+ console.debug("\n\n");
30441
+ console.debug(`Loaded Storm config from ${config.configFile}`);
30442
+ for (const key of Object.keys(configFile)) {
30443
+ console.debug(` ----- ${key} ----- `);
30444
+ console.debug(configFile[key]);
30445
+ }
30446
+ console.debug("\n\n");
30437
30447
  return config;
30438
30448
  };
30439
30449
 
@@ -47670,12 +47670,22 @@ var loadStormConfig = async (workspaceRoot) => {
47670
47670
  if (!_workspaceRoot) {
47671
47671
  _workspaceRoot = findWorkspaceRoot();
47672
47672
  }
47673
- const configFile = {
47674
- ...await getConfigFile(_workspaceRoot),
47675
- ...getConfigEnv()
47676
- };
47673
+ const configFile = await getConfigFile(_workspaceRoot);
47674
+ const configEnv = getConfigEnv();
47675
+ for (const key of Object.keys(configEnv)) {
47676
+ if (configEnv[key] !== void 0 && configEnv[key] !== null) {
47677
+ configFile[key] = configEnv[key];
47678
+ }
47679
+ }
47677
47680
  const config = StormConfigSchema.parse(configFile);
47678
47681
  setConfigEnv(config);
47682
+ console.debug("\n\n");
47683
+ console.debug(`Loaded Storm config from ${config.configFile}`);
47684
+ for (const key of Object.keys(configFile)) {
47685
+ console.debug(` ----- ${key} ----- `);
47686
+ console.debug(configFile[key]);
47687
+ }
47688
+ console.debug("\n\n");
47679
47689
  return config;
47680
47690
  };
47681
47691
 
@@ -47670,12 +47670,22 @@ var loadStormConfig = async (workspaceRoot) => {
47670
47670
  if (!_workspaceRoot) {
47671
47671
  _workspaceRoot = findWorkspaceRoot();
47672
47672
  }
47673
- const configFile = {
47674
- ...await getConfigFile(_workspaceRoot),
47675
- ...getConfigEnv()
47676
- };
47673
+ const configFile = await getConfigFile(_workspaceRoot);
47674
+ const configEnv = getConfigEnv();
47675
+ for (const key of Object.keys(configEnv)) {
47676
+ if (configEnv[key] !== void 0 && configEnv[key] !== null) {
47677
+ configFile[key] = configEnv[key];
47678
+ }
47679
+ }
47677
47680
  const config = StormConfigSchema.parse(configFile);
47678
47681
  setConfigEnv(config);
47682
+ console.debug("\n\n");
47683
+ console.debug(`Loaded Storm config from ${config.configFile}`);
47684
+ for (const key of Object.keys(configFile)) {
47685
+ console.debug(` ----- ${key} ----- `);
47686
+ console.debug(configFile[key]);
47687
+ }
47688
+ console.debug("\n\n");
47679
47689
  return config;
47680
47690
  };
47681
47691
 
@@ -30429,12 +30429,22 @@ var loadStormConfig = async (workspaceRoot) => {
30429
30429
  if (!_workspaceRoot) {
30430
30430
  _workspaceRoot = findWorkspaceRoot();
30431
30431
  }
30432
- const configFile = {
30433
- ...await getConfigFile(_workspaceRoot),
30434
- ...getConfigEnv()
30435
- };
30432
+ const configFile = await getConfigFile(_workspaceRoot);
30433
+ const configEnv = getConfigEnv();
30434
+ for (const key of Object.keys(configEnv)) {
30435
+ if (configEnv[key] !== void 0 && configEnv[key] !== null) {
30436
+ configFile[key] = configEnv[key];
30437
+ }
30438
+ }
30436
30439
  const config = StormConfigSchema.parse(configFile);
30437
30440
  setConfigEnv(config);
30441
+ console.debug("\n\n");
30442
+ console.debug(`Loaded Storm config from ${config.configFile}`);
30443
+ for (const key of Object.keys(configFile)) {
30444
+ console.debug(` ----- ${key} ----- `);
30445
+ console.debug(configFile[key]);
30446
+ }
30447
+ console.debug("\n\n");
30438
30448
  return config;
30439
30449
  };
30440
30450