@storm-software/workspace-tools 1.49.17 → 1.49.19

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,29 @@
1
+ ## 1.49.19 (2024-01-25)
2
+
3
+
4
+ ### 🩹 Fixes
5
+
6
+ - **workspace-tools:** Add build options logging to tsup processing ([2c1e2063](https://github.com/storm-software/storm-ops/commit/2c1e2063))
7
+
8
+
9
+ ### ❤️ Thank You
10
+
11
+ - Patrick Sullivan
12
+
13
+ ## 1.49.18 (2024-01-25)
14
+
15
+
16
+ ### 🩹 Fixes
17
+
18
+ - **workspace-tools:** Resolved issue with output path formatting ([5e9a3751](https://github.com/storm-software/storm-ops/commit/5e9a3751))
19
+
20
+ - **workspace-tools:** Resolved issue with unused parameter ([fcc51ad9](https://github.com/storm-software/storm-ops/commit/fcc51ad9))
21
+
22
+
23
+ ### ❤️ Thank You
24
+
25
+ - Patrick Sullivan
26
+
1
27
  ## 1.49.17 (2024-01-25)
2
28
 
3
29
 
package/index.js CHANGED
@@ -132863,6 +132863,14 @@ ${options.banner}
132863
132863
  };
132864
132864
  if (options.getConfig) {
132865
132865
  writeInfo(config, "\u26A1 Running the Build process");
132866
+ writeDebug(
132867
+ config,
132868
+ `\u2699\uFE0F Build options:
132869
+ ${Object.keys(options).map(
132870
+ (key) => `${key}: ${!options[key] || _isPrimitive(options[key]) ? options[key] : JSON.stringify(options[key])}`
132871
+ ).join("\n")}
132872
+ `
132873
+ );
132866
132874
  const getConfigFns = _isFunction(options.getConfig) ? [options.getConfig] : Object.keys(options.getConfig).map((key) => options.getConfig[key]);
132867
132875
  const tsupConfig = (0, import_tsup.defineConfig)(
132868
132876
  getConfigFns.map(
@@ -132922,6 +132930,13 @@ var build = async (options, config) => {
132922
132930
  await new Promise((r) => setTimeout(r, 100));
132923
132931
  }
132924
132932
  };
132933
+ var _isPrimitive = (value) => {
132934
+ try {
132935
+ return value === void 0 || value === null || typeof value !== "object" && typeof value !== "function";
132936
+ } catch (e) {
132937
+ return false;
132938
+ }
132939
+ };
132925
132940
  var _isFunction = (value) => {
132926
132941
  try {
132927
132942
  return value instanceof Function || typeof value === "function" || !!(value?.constructor && value?.call && value?.apply);
@@ -139204,7 +139219,7 @@ async function tsupExecutorFn(options, context, config) {
139204
139219
  config,
139205
139220
  `\u2699\uFE0F Executor options:
139206
139221
  ${Object.keys(options).map(
139207
- (key) => `${key}: ${!options[key] || _isPrimitive(options[key]) ? options[key] : JSON.stringify(options[key])}`
139222
+ (key) => `${key}: ${!options[key] || _isPrimitive2(options[key]) ? options[key] : JSON.stringify(options[key])}`
139208
139223
  ).join("\n")}
139209
139224
  `
139210
139225
  );
@@ -139519,7 +139534,7 @@ ${(0, import_node_fs5.readFileSync)(file, "utf-8")}`,
139519
139534
  outputPath = (0, import_devkit4.joinPathFragments)(
139520
139535
  options.outputPath,
139521
139536
  "dist",
139522
- outputPath.replace(findFileName(entryPoint), "")
139537
+ outputPath.includes("/") ? outputPath.substring(0, outputPath.lastIndexOf("/")) : ""
139523
139538
  );
139524
139539
  writeInfo(config, `*** Build output path: ${outputPath} ***`);
139525
139540
  return runTsupBuild(
@@ -139548,7 +139563,7 @@ var executor_default = withRunExecutor("TypeScript Build using tsup", tsupExecut
139548
139563
  applyDefaultOptions
139549
139564
  }
139550
139565
  });
139551
- var _isPrimitive = (value) => {
139566
+ var _isPrimitive2 = (value) => {
139552
139567
  try {
139553
139568
  return value === void 0 || value === null || typeof value !== "object" && typeof value !== "function";
139554
139569
  } catch (e) {