@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/workspace-tools",
3
- "version": "1.49.14",
3
+ "version": "1.49.16",
4
4
  "private": false,
5
5
  "description": "⚡ A Nx plugin package that contains various executors and generators used in a Storm workspaces.",
6
6
  "keywords": [
@@ -115433,6 +115433,7 @@ var runTsupBuild = async (context, config, options) => {
115433
115433
  options.plugins.push(environmentPlugin(stormEnv));
115434
115434
  const getConfigOptions = {
115435
115435
  ...options,
115436
+ main: context.entry,
115436
115437
  define: {
115437
115438
  __STORM_CONFIG: JSON.stringify(stormEnv)
115438
115439
  },
@@ -115863,9 +115864,16 @@ ${(0, import_node_fs5.readFileSync)(file, "utf-8")}`,
115863
115864
  )
115864
115865
  );
115865
115866
  }
115866
- Promise.all(
115867
- entryPoints.map(
115868
- (entryPoint) => runTsupBuild(
115867
+ await Promise.all(
115868
+ entryPoints.map((entryPoint) => {
115869
+ let outputPath = removeExtension(entryPoint).replace(sourceRoot, "");
115870
+ if (outputPath.startsWith(".")) {
115871
+ outputPath = outputPath.substring(1);
115872
+ }
115873
+ if (outputPath.startsWith("/")) {
115874
+ outputPath = outputPath.substring(1);
115875
+ }
115876
+ return runTsupBuild(
115869
115877
  {
115870
115878
  entry: entryPoint,
115871
115879
  projectRoot,
@@ -115878,14 +115886,11 @@ ${(0, import_node_fs5.readFileSync)(file, "utf-8")}`,
115878
115886
  outputPath: (0, import_devkit3.joinPathFragments)(
115879
115887
  options.outputPath,
115880
115888
  "dist",
115881
- removeExtension(entryPoint.replace(sourceRoot, "")).replace(
115882
- findFileName(entryPoint),
115883
- ""
115884
- )
115889
+ outputPath.replace(findFileName(entryPoint), "")
115885
115890
  )
115886
115891
  }
115887
- )
115888
- )
115892
+ );
115893
+ })
115889
115894
  );
115890
115895
  writeSuccess(config, "\u26A1 The Build process has completed successfully");
115891
115896
  return {
@@ -109250,6 +109250,7 @@ var runTsupBuild = async (context, config, options) => {
109250
109250
  options.plugins.push(environmentPlugin(stormEnv));
109251
109251
  const getConfigOptions = {
109252
109252
  ...options,
109253
+ main: context.entry,
109253
109254
  define: {
109254
109255
  __STORM_CONFIG: JSON.stringify(stormEnv)
109255
109256
  },
@@ -115893,9 +115894,16 @@ ${(0, import_node_fs5.readFileSync)(file, "utf-8")}`,
115893
115894
  )
115894
115895
  );
115895
115896
  }
115896
- Promise.all(
115897
- entryPoints.map(
115898
- (entryPoint) => runTsupBuild(
115897
+ await Promise.all(
115898
+ entryPoints.map((entryPoint) => {
115899
+ let outputPath = removeExtension(entryPoint).replace(sourceRoot, "");
115900
+ if (outputPath.startsWith(".")) {
115901
+ outputPath = outputPath.substring(1);
115902
+ }
115903
+ if (outputPath.startsWith("/")) {
115904
+ outputPath = outputPath.substring(1);
115905
+ }
115906
+ return runTsupBuild(
115899
115907
  {
115900
115908
  entry: entryPoint,
115901
115909
  projectRoot,
@@ -115908,14 +115916,11 @@ ${(0, import_node_fs5.readFileSync)(file, "utf-8")}`,
115908
115916
  outputPath: (0, import_devkit3.joinPathFragments)(
115909
115917
  options.outputPath,
115910
115918
  "dist",
115911
- removeExtension(entryPoint.replace(sourceRoot, "")).replace(
115912
- findFileName(entryPoint),
115913
- ""
115914
- )
115919
+ outputPath.replace(findFileName(entryPoint), "")
115915
115920
  )
115916
115921
  }
115917
- )
115918
- )
115922
+ );
115923
+ })
115919
115924
  );
115920
115925
  writeSuccess(config, "\u26A1 The Build process has completed successfully");
115921
115926
  return {
@@ -109250,6 +109250,7 @@ var runTsupBuild = async (context, config, options) => {
109250
109250
  options.plugins.push(environmentPlugin(stormEnv));
109251
109251
  const getConfigOptions = {
109252
109252
  ...options,
109253
+ main: context.entry,
109253
109254
  define: {
109254
109255
  __STORM_CONFIG: JSON.stringify(stormEnv)
109255
109256
  },
@@ -115893,9 +115894,16 @@ ${(0, import_node_fs5.readFileSync)(file, "utf-8")}`,
115893
115894
  )
115894
115895
  );
115895
115896
  }
115896
- Promise.all(
115897
- entryPoints.map(
115898
- (entryPoint) => runTsupBuild(
115897
+ await Promise.all(
115898
+ entryPoints.map((entryPoint) => {
115899
+ let outputPath = removeExtension(entryPoint).replace(sourceRoot, "");
115900
+ if (outputPath.startsWith(".")) {
115901
+ outputPath = outputPath.substring(1);
115902
+ }
115903
+ if (outputPath.startsWith("/")) {
115904
+ outputPath = outputPath.substring(1);
115905
+ }
115906
+ return runTsupBuild(
115899
115907
  {
115900
115908
  entry: entryPoint,
115901
115909
  projectRoot,
@@ -115908,14 +115916,11 @@ ${(0, import_node_fs5.readFileSync)(file, "utf-8")}`,
115908
115916
  outputPath: (0, import_devkit3.joinPathFragments)(
115909
115917
  options.outputPath,
115910
115918
  "dist",
115911
- removeExtension(entryPoint.replace(sourceRoot, "")).replace(
115912
- findFileName(entryPoint),
115913
- ""
115914
- )
115919
+ outputPath.replace(findFileName(entryPoint), "")
115915
115920
  )
115916
115921
  }
115917
- )
115918
- )
115922
+ );
115923
+ })
115919
115924
  );
115920
115925
  writeSuccess(config, "\u26A1 The Build process has completed successfully");
115921
115926
  return {
@@ -109250,6 +109250,7 @@ var runTsupBuild = async (context, config, options) => {
109250
109250
  options.plugins.push(environmentPlugin(stormEnv));
109251
109251
  const getConfigOptions = {
109252
109252
  ...options,
109253
+ main: context.entry,
109253
109254
  define: {
109254
109255
  __STORM_CONFIG: JSON.stringify(stormEnv)
109255
109256
  },
@@ -115893,9 +115894,16 @@ ${(0, import_node_fs5.readFileSync)(file, "utf-8")}`,
115893
115894
  )
115894
115895
  );
115895
115896
  }
115896
- Promise.all(
115897
- entryPoints.map(
115898
- (entryPoint) => runTsupBuild(
115897
+ await Promise.all(
115898
+ entryPoints.map((entryPoint) => {
115899
+ let outputPath = removeExtension(entryPoint).replace(sourceRoot, "");
115900
+ if (outputPath.startsWith(".")) {
115901
+ outputPath = outputPath.substring(1);
115902
+ }
115903
+ if (outputPath.startsWith("/")) {
115904
+ outputPath = outputPath.substring(1);
115905
+ }
115906
+ return runTsupBuild(
115899
115907
  {
115900
115908
  entry: entryPoint,
115901
115909
  projectRoot,
@@ -115908,14 +115916,11 @@ ${(0, import_node_fs5.readFileSync)(file, "utf-8")}`,
115908
115916
  outputPath: (0, import_devkit3.joinPathFragments)(
115909
115917
  options.outputPath,
115910
115918
  "dist",
115911
- removeExtension(entryPoint.replace(sourceRoot, "")).replace(
115912
- findFileName(entryPoint),
115913
- ""
115914
- )
115919
+ outputPath.replace(findFileName(entryPoint), "")
115915
115920
  )
115916
115921
  }
115917
- )
115918
- )
115922
+ );
115923
+ })
115919
115924
  );
115920
115925
  writeSuccess(config, "\u26A1 The Build process has completed successfully");
115921
115926
  return {
@@ -119429,6 +119429,7 @@ var runTsupBuild = async (context, config, options) => {
119429
119429
  options.plugins.push(environmentPlugin(stormEnv));
119430
119430
  const getConfigOptions = {
119431
119431
  ...options,
119432
+ main: context.entry,
119432
119433
  define: {
119433
119434
  __STORM_CONFIG: JSON.stringify(stormEnv)
119434
119435
  },