@storm-software/workspace-tools 1.175.4 → 1.175.5

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.5 (2024-09-08)
2
+
3
+ ### Bug Fixes
4
+
5
+ - **workspace-tools:** Add custom rollup code
6
+ ([c21fef43](https://github.com/storm-software/storm-ops/commit/c21fef43))
7
+
1
8
  ## 1.175.4 (2024-09-08)
2
9
 
3
10
  ### Bug Fixes
package/index.js CHANGED
@@ -331418,7 +331418,6 @@ __export(workspace_tools_exports, {
331418
331418
  configSchemaGeneratorFn: () => configSchemaGeneratorFn,
331419
331419
  createCliOptions: () => createCliOptions,
331420
331420
  createProjectTsConfigJson: () => createProjectTsConfigJson,
331421
- createRollupOptions: () => createRollupOptions,
331422
331421
  eslintVersion: () => eslintVersion,
331423
331422
  formatProjectTag: () => formatProjectTag,
331424
331423
  getLockFileDependencies: () => getLockFileDependencies,
@@ -341715,7 +341714,6 @@ var import_native4 = __toESM(require_native(), 1);
341715
341714
  var import_async_iterable = require("@nx/devkit/src/utils/async-iterable");
341716
341715
  var import_config_utils = require("@nx/devkit/src/utils/config-utils");
341717
341716
  var import_buildable_libs_utils = require("@nx/js/src/utils/buildable-libs-utils");
341718
- var import_normalize = require("@nx/rollup/src/executors/rollup/lib/normalize");
341719
341717
  var import_generate_package_json = require("@nx/rollup/src/plugins/package-json/generate-package-json");
341720
341718
  var import_with_nx = require("@nx/rollup/src/plugins/with-nx/with-nx");
341721
341719
  async function* rollupExecutorFn(options, context, config) {
@@ -341779,25 +341777,20 @@ async function* rollupExecutorFn(options, context, config) {
341779
341777
  return formatted.startsWith("/") ? formatted.slice(1) : formatted;
341780
341778
  });
341781
341779
  }
341782
- const executorOptions = {
341783
- ...options,
341784
- main: options.entry
341785
- };
341786
- executorOptions.rollupConfig = options.rollupConfig ?? {};
341787
341780
  writeDebug2(
341788
341781
  `\u{1F4E6} Running Storm Rollup build process on the ${context?.projectName} project`,
341789
341782
  config
341790
341783
  );
341791
- writeTrace2(
341792
- `Rollup schema options \u2699\uFE0F
341793
- ${formatLogMessage2(executorOptions)}`,
341794
- config
341795
- );
341784
+ writeTrace2(`Rollup schema options \u2699\uFE0F
341785
+ ${formatLogMessage2(options)}`, config);
341796
341786
  process.env.NODE_ENV ??= "production";
341797
- const normalizedOptions = (0, import_normalize.normalizeRollupExecutorOptions)(
341798
- executorOptions,
341799
- context
341800
- );
341787
+ const normalizedOptions = {
341788
+ ...options,
341789
+ main: options.entry,
341790
+ rollupConfig: [],
341791
+ projectRoot: context.projectGraph?.nodes[context.projectName]?.data.root,
341792
+ skipTypeCheck: options.skipTypeCheck || false
341793
+ };
341801
341794
  const rollupOptions = await createRollupOptions(normalizedOptions, context);
341802
341795
  const outfile = resolveOutfile(context, normalizedOptions);
341803
341796
  if (normalizedOptions.watch) {
@@ -345773,7 +345766,6 @@ var getTypiaTransform = (program3, diagnostics) => (0, import_transform.default)
345773
345766
  configSchemaGeneratorFn,
345774
345767
  createCliOptions,
345775
345768
  createProjectTsConfigJson,
345776
- createRollupOptions,
345777
345769
  eslintVersion,
345778
345770
  formatProjectTag,
345779
345771
  getLockFileDependencies,