@storm-software/workspace-tools 1.175.6 → 1.176.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,11 @@
1
+ ## 1.176.0 (2024-09-08)
2
+
3
+ ### Features
4
+
5
+ - **workspace-tools:** Added functionality to parse the `logLevel` during Rollup
6
+ build
7
+ ([5e617be7](https://github.com/storm-software/storm-ops/commit/5e617be7))
8
+
1
9
  ## 1.175.6 (2024-09-08)
2
10
 
3
11
  ### Bug Fixes
package/index.js CHANGED
@@ -331547,7 +331547,8 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
331547
331547
  writeSuccess: writeSuccess2,
331548
331548
  writeTrace: writeTrace2,
331549
331549
  findWorkspaceRoot: findWorkspaceRoot2,
331550
- loadStormConfig: loadStormConfig2
331550
+ loadStormConfig: loadStormConfig2,
331551
+ formatLogMessage: formatLogMessage2
331551
331552
  } = await Promise.resolve().then(() => (init_src2(), src_exports));
331552
331553
  const stopwatch = getStopwatch2(name);
331553
331554
  let options = _options;
@@ -331621,6 +331622,11 @@ ${Object.keys(options).map(
331621
331622
  ret
331622
331623
  );
331623
331624
  if (result && (!result.success || result.error && result?.error?.message && typeof result?.error?.message === "string" && result?.error?.name && typeof result?.error?.name === "string")) {
331625
+ writeTrace2(
331626
+ `Failure determined by the ${name} executor
331627
+ ${formatLogMessage2(result)}`,
331628
+ config
331629
+ );
331624
331630
  throw new Error(`The ${name} executor failed to run`, {
331625
331631
  cause: result?.error
331626
331632
  });
@@ -341891,9 +341897,9 @@ function convertRollupLogLevel(logLevel) {
341891
341897
  switch (logLevel) {
341892
341898
  case "info":
341893
341899
  return "info";
341900
+ case "debug":
341894
341901
  case "trace":
341895
341902
  case "all":
341896
- case "debug":
341897
341903
  return "debug";
341898
341904
  default:
341899
341905
  return "warn";
@@ -341905,7 +341911,7 @@ function resolveOutfile(context, options) {
341905
341911
  return (0, import_path3.resolve)(context.root, options.outputPath, `${name}.cjs.js`);
341906
341912
  }
341907
341913
  var executor_default3 = withRunExecutor(
341908
- "Rollup build executor",
341914
+ "Rollup build",
341909
341915
  rollupExecutorFn,
341910
341916
  {
341911
341917
  skipReadingConfig: false,