@storm-software/workspace-tools 1.49.14 → 1.49.16

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,27 @@
1
+ ## 1.49.16 (2024-01-25)
2
+
3
+
4
+ ### 🩹 Fixes
5
+
6
+ - **workspace-tools:** Ensure tsup build is awaited in executor ([b81872df](https://github.com/storm-software/storm-ops/commit/b81872df))
7
+
8
+
9
+ ### ❤️ Thank You
10
+
11
+ - Patrick Sullivan
12
+
13
+ ## 1.49.15 (2024-01-24)
14
+
15
+
16
+ ### 🩹 Fixes
17
+
18
+ - **workspace-tools:** Resolved issues with output path formatting ([6b73fc1e](https://github.com/storm-software/storm-ops/commit/6b73fc1e))
19
+
20
+
21
+ ### ❤️ Thank You
22
+
23
+ - Patrick Sullivan
24
+
1
25
  ## 1.49.14 (2024-01-24)
2
26
 
3
27
 
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
  },
@@ -139506,9 +139507,16 @@ ${(0, import_node_fs5.readFileSync)(file, "utf-8")}`,
139506
139507
  )
139507
139508
  );
139508
139509
  }
139509
- Promise.all(
139510
- entryPoints.map(
139511
- (entryPoint) => runTsupBuild(
139510
+ await Promise.all(
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 {