@storm-software/workspace-tools 1.175.5 → 1.175.6

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.175.6 (2024-09-08)
2
+
3
+ ### Bug Fixes
4
+
5
+ - **workspace-tools:** Resolved issue resolving plugins
6
+ ([00448e95](https://github.com/storm-software/storm-ops/commit/00448e95))
7
+
1
8
  ## 1.175.5 (2024-09-08)
2
9
 
3
10
  ### Bug Fixes
package/index.js CHANGED
@@ -341789,7 +341789,8 @@ ${formatLogMessage2(options)}`, config);
341789
341789
  main: options.entry,
341790
341790
  rollupConfig: [],
341791
341791
  projectRoot: context.projectGraph?.nodes[context.projectName]?.data.root,
341792
- skipTypeCheck: options.skipTypeCheck || false
341792
+ skipTypeCheck: options.skipTypeCheck || false,
341793
+ logLevel: convertRollupLogLevel(config?.logLevel ?? "info")
341793
341794
  };
341794
341795
  const rollupOptions = await createRollupOptions(normalizedOptions, context);
341795
341796
  const outfile = resolveOutfile(context, normalizedOptions);
@@ -341820,7 +341821,9 @@ ${formatLogMessage2(options)}`, config);
341820
341821
  const start = process.hrtime.bigint();
341821
341822
  const allRollupOptions = Array.isArray(rollupOptions) ? rollupOptions : [rollupOptions];
341822
341823
  for (const opts of allRollupOptions) {
341823
- const bundle = await rollup(opts);
341824
+ const bundle = await rollup({
341825
+ ...opts
341826
+ });
341824
341827
  const output3 = Array.isArray(opts.output) ? opts.output : [opts.output];
341825
341828
  for (const o of output3) {
341826
341829
  if (o) {
@@ -341884,6 +341887,18 @@ async function createRollupOptions(options, context) {
341884
341887
  }
341885
341888
  return finalConfig;
341886
341889
  }
341890
+ function convertRollupLogLevel(logLevel) {
341891
+ switch (logLevel) {
341892
+ case "info":
341893
+ return "info";
341894
+ case "trace":
341895
+ case "all":
341896
+ case "debug":
341897
+ return "debug";
341898
+ default:
341899
+ return "warn";
341900
+ }
341901
+ }
341887
341902
  function resolveOutfile(context, options) {
341888
341903
  if (!options.format?.includes("cjs")) return void 0;
341889
341904
  const { name } = (0, import_path3.parse)(options.outputFileName ?? options.main);