@storm-software/workspace-tools 1.49.14 → 1.49.15

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,15 @@
1
+ ## 1.49.15 (2024-01-24)
2
+
3
+
4
+ ### 🩹 Fixes
5
+
6
+ - **workspace-tools:** Resolved issues with output path formatting ([6b73fc1e](https://github.com/storm-software/storm-ops/commit/6b73fc1e))
7
+
8
+
9
+ ### ❤️ Thank You
10
+
11
+ - Patrick Sullivan
12
+
1
13
  ## 1.49.14 (2024-01-24)
2
14
 
3
15
 
package/index.js CHANGED
@@ -132821,6 +132821,7 @@ var runTsupBuild = async (context, config, options) => {
132821
132821
  options.plugins.push(environmentPlugin(stormEnv));
132822
132822
  const getConfigOptions = {
132823
132823
  ...options,
132824
+ main: context.entry,
132824
132825
  define: {
132825
132826
  __STORM_CONFIG: JSON.stringify(stormEnv)
132826
132827
  },
@@ -139507,8 +139508,15 @@ ${(0, import_node_fs5.readFileSync)(file, "utf-8")}`,
139507
139508
  );
139508
139509
  }
139509
139510
  Promise.all(
139510
- entryPoints.map(
139511
- (entryPoint) => runTsupBuild(
139511
+ entryPoints.map((entryPoint) => {
139512
+ let outputPath = removeExtension(entryPoint).replace(sourceRoot, "");
139513
+ if (outputPath.startsWith(".")) {
139514
+ outputPath = outputPath.substring(1);
139515
+ }
139516
+ if (outputPath.startsWith("/")) {
139517
+ outputPath = outputPath.substring(1);
139518
+ }
139519
+ return runTsupBuild(
139512
139520
  {
139513
139521
  entry: entryPoint,
139514
139522
  projectRoot,
@@ -139521,14 +139529,11 @@ ${(0, import_node_fs5.readFileSync)(file, "utf-8")}`,
139521
139529
  outputPath: (0, import_devkit4.joinPathFragments)(
139522
139530
  options.outputPath,
139523
139531
  "dist",
139524
- removeExtension(entryPoint.replace(sourceRoot, "")).replace(
139525
- findFileName(entryPoint),
139526
- ""
139527
- )
139532
+ outputPath.replace(findFileName(entryPoint), "")
139528
139533
  )
139529
139534
  }
139530
- )
139531
- )
139535
+ );
139536
+ })
139532
139537
  );
139533
139538
  writeSuccess(config, "\u26A1 The Build process has completed successfully");
139534
139539
  return {