@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/workspace-tools",
3
- "version": "1.175.5",
3
+ "version": "1.175.6",
4
4
  "type": "commonjs",
5
5
  "description": "⚡ A Nx plugin package that contains various executors and generators used in a Storm workspaces.",
6
6
  "repository": {
@@ -101739,7 +101739,8 @@ ${formatLogMessage2(options)}`, config);
101739
101739
  main: options.entry,
101740
101740
  rollupConfig: [],
101741
101741
  projectRoot: context.projectGraph?.nodes[context.projectName]?.data.root,
101742
- skipTypeCheck: options.skipTypeCheck || false
101742
+ skipTypeCheck: options.skipTypeCheck || false,
101743
+ logLevel: convertRollupLogLevel(config?.logLevel ?? "info")
101743
101744
  };
101744
101745
  const rollupOptions = await createRollupOptions(normalizedOptions, context);
101745
101746
  const outfile = resolveOutfile(context, normalizedOptions);
@@ -101770,7 +101771,9 @@ ${formatLogMessage2(options)}`, config);
101770
101771
  const start = process.hrtime.bigint();
101771
101772
  const allRollupOptions = Array.isArray(rollupOptions) ? rollupOptions : [rollupOptions];
101772
101773
  for (const opts of allRollupOptions) {
101773
- const bundle = await rollup(opts);
101774
+ const bundle = await rollup({
101775
+ ...opts
101776
+ });
101774
101777
  const output = Array.isArray(opts.output) ? opts.output : [opts.output];
101775
101778
  for (const o of output) {
101776
101779
  if (o) {
@@ -101834,6 +101837,18 @@ async function createRollupOptions(options, context) {
101834
101837
  }
101835
101838
  return finalConfig;
101836
101839
  }
101840
+ function convertRollupLogLevel(logLevel) {
101841
+ switch (logLevel) {
101842
+ case "info":
101843
+ return "info";
101844
+ case "trace":
101845
+ case "all":
101846
+ case "debug":
101847
+ return "debug";
101848
+ default:
101849
+ return "warn";
101850
+ }
101851
+ }
101837
101852
  function resolveOutfile(context, options) {
101838
101853
  if (!options.format?.includes("cjs")) return void 0;
101839
101854
  const { name } = (0, import_path3.parse)(options.outputFileName ?? options.main);