@storm-software/workspace-tools 1.179.3 → 1.179.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/workspace-tools",
3
- "version": "1.179.3",
3
+ "version": "1.179.5",
4
4
  "type": "commonjs",
5
5
  "description": "⚡ A Nx plugin package that contains various executors and generators used in a Storm workspaces.",
6
6
  "repository": {
@@ -61294,6 +61294,7 @@ var init_correct_paths = __esm({
61294
61294
  }
61295
61295
  if (!path5.toUpperCase().startsWith("C:") && path5.includes("\\")) {
61296
61296
  path5 = `C:${path5}`;
61297
+ return path5.replaceAll("/", "\\");
61297
61298
  }
61298
61299
  return path5.replaceAll("\\", "/");
61299
61300
  };
@@ -61294,6 +61294,7 @@ var init_correct_paths = __esm({
61294
61294
  }
61295
61295
  if (!path5.toUpperCase().startsWith("C:") && path5.includes("\\")) {
61296
61296
  path5 = `C:${path5}`;
61297
+ return path5.replaceAll("/", "\\");
61297
61298
  }
61298
61299
  return path5.replaceAll("\\", "/");
61299
61300
  };
package/src/base/index.js CHANGED
@@ -61294,6 +61294,7 @@ var init_correct_paths = __esm({
61294
61294
  }
61295
61295
  if (!path5.toUpperCase().startsWith("C:") && path5.includes("\\")) {
61296
61296
  path5 = `C:${path5}`;
61297
+ return path5.replaceAll("/", "\\");
61297
61298
  }
61298
61299
  return path5.replaceAll("\\", "/");
61299
61300
  };
@@ -61294,6 +61294,7 @@ var init_correct_paths = __esm({
61294
61294
  }
61295
61295
  if (!path5.toUpperCase().startsWith("C:") && path5.includes("\\")) {
61296
61296
  path5 = `C:${path5}`;
61297
+ return path5.replaceAll("/", "\\");
61297
61298
  }
61298
61299
  return path5.replaceAll("\\", "/");
61299
61300
  };
@@ -61294,6 +61294,7 @@ var init_correct_paths = __esm({
61294
61294
  }
61295
61295
  if (!path5.toUpperCase().startsWith("C:") && path5.includes("\\")) {
61296
61296
  path5 = `C:${path5}`;
61297
+ return path5.replaceAll("/", "\\");
61297
61298
  }
61298
61299
  return path5.replaceAll("\\", "/");
61299
61300
  };
@@ -61294,6 +61294,7 @@ var init_correct_paths = __esm({
61294
61294
  }
61295
61295
  if (!path5.toUpperCase().startsWith("C:") && path5.includes("\\")) {
61296
61296
  path5 = `C:${path5}`;
61297
+ return path5.replaceAll("/", "\\");
61297
61298
  }
61298
61299
  return path5.replaceAll("\\", "/");
61299
61300
  };
@@ -61294,6 +61294,7 @@ var init_correct_paths = __esm({
61294
61294
  }
61295
61295
  if (!path5.toUpperCase().startsWith("C:") && path5.includes("\\")) {
61296
61296
  path5 = `C:${path5}`;
61297
+ return path5.replaceAll("/", "\\");
61297
61298
  }
61298
61299
  return path5.replaceAll("\\", "/");
61299
61300
  };
@@ -61294,6 +61294,7 @@ var init_correct_paths = __esm({
61294
61294
  }
61295
61295
  if (!path5.toUpperCase().startsWith("C:") && path5.includes("\\")) {
61296
61296
  path5 = `C:${path5}`;
61297
+ return path5.replaceAll("/", "\\");
61297
61298
  }
61298
61299
  return path5.replaceAll("\\", "/");
61299
61300
  };
@@ -63615,6 +63615,7 @@ var init_correct_paths = __esm({
63615
63615
  }
63616
63616
  if (!path6.toUpperCase().startsWith("C:") && path6.includes("\\")) {
63617
63617
  path6 = `C:${path6}`;
63618
+ return path6.replaceAll("/", "\\");
63618
63619
  }
63619
63620
  return path6.replaceAll("\\", "/");
63620
63621
  };
@@ -61294,6 +61294,7 @@ var init_correct_paths = __esm({
61294
61294
  }
61295
61295
  if (!path5.toUpperCase().startsWith("C:") && path5.includes("\\")) {
61296
61296
  path5 = `C:${path5}`;
61297
+ return path5.replaceAll("/", "\\");
61297
61298
  }
61298
61299
  return path5.replaceAll("\\", "/");
61299
61300
  };
@@ -88208,6 +88208,7 @@ var init_correct_paths = __esm({
88208
88208
  }
88209
88209
  if (!path9.toUpperCase().startsWith("C:") && path9.includes("\\")) {
88210
88210
  path9 = `C:${path9}`;
88211
+ return path9.replaceAll("/", "\\");
88211
88212
  }
88212
88213
  return path9.replaceAll("\\", "/");
88213
88214
  };
@@ -409732,6 +409733,11 @@ function createInput(options) {
409732
409733
  }
409733
409734
  async function createTsCompilerOptions(parsedCommandLine, options, dependencies, config) {
409734
409735
  const { correctPaths: correctPaths2 } = await Promise.resolve().then(() => (init_src2(), src_exports));
409736
+ if (!config?.workspaceRoot) {
409737
+ throw new Error(`Cannot find workspace root in the config.`);
409738
+ }
409739
+ parsedCommandLine.options.rootDir = correctPaths2(config?.workspaceRoot);
409740
+ parsedCommandLine.options.baseUrl = correctPaths2(config?.workspaceRoot);
409735
409741
  const compilerOptionPaths = (0, import_buildable_libs_utils.computeCompilerOptionsPaths)(
409736
409742
  parsedCommandLine,
409737
409743
  dependencies ?? []
@@ -61782,6 +61782,7 @@ var init_correct_paths = __esm({
61782
61782
  }
61783
61783
  if (!path6.toUpperCase().startsWith("C:") && path6.includes("\\")) {
61784
61784
  path6 = `C:${path6}`;
61785
+ return path6.replaceAll("/", "\\");
61785
61786
  }
61786
61787
  return path6.replaceAll("\\", "/");
61787
61788
  };
@@ -61294,6 +61294,7 @@ var init_correct_paths = __esm({
61294
61294
  }
61295
61295
  if (!path5.toUpperCase().startsWith("C:") && path5.includes("\\")) {
61296
61296
  path5 = `C:${path5}`;
61297
+ return path5.replaceAll("/", "\\");
61297
61298
  }
61298
61299
  return path5.replaceAll("\\", "/");
61299
61300
  };
@@ -61294,6 +61294,7 @@ var init_correct_paths = __esm({
61294
61294
  }
61295
61295
  if (!path5.toUpperCase().startsWith("C:") && path5.includes("\\")) {
61296
61296
  path5 = `C:${path5}`;
61297
+ return path5.replaceAll("/", "\\");
61297
61298
  }
61298
61299
  return path5.replaceAll("\\", "/");
61299
61300
  };
@@ -61294,6 +61294,7 @@ var init_correct_paths = __esm({
61294
61294
  }
61295
61295
  if (!path5.toUpperCase().startsWith("C:") && path5.includes("\\")) {
61296
61296
  path5 = `C:${path5}`;
61297
+ return path5.replaceAll("/", "\\");
61297
61298
  }
61298
61299
  return path5.replaceAll("\\", "/");
61299
61300
  };
@@ -61294,6 +61294,7 @@ var init_correct_paths = __esm({
61294
61294
  }
61295
61295
  if (!path5.toUpperCase().startsWith("C:") && path5.includes("\\")) {
61296
61296
  path5 = `C:${path5}`;
61297
+ return path5.replaceAll("/", "\\");
61297
61298
  }
61298
61299
  return path5.replaceAll("\\", "/");
61299
61300
  };
@@ -294558,6 +294558,7 @@ var init_correct_paths = __esm({
294558
294558
  }
294559
294559
  if (!path5.toUpperCase().startsWith("C:") && path5.includes("\\")) {
294560
294560
  path5 = `C:${path5}`;
294561
+ return path5.replaceAll("/", "\\");
294561
294562
  }
294562
294563
  return path5.replaceAll("\\", "/");
294563
294564
  };
@@ -61294,6 +61294,7 @@ var init_correct_paths = __esm({
61294
61294
  }
61295
61295
  if (!path5.toUpperCase().startsWith("C:") && path5.includes("\\")) {
61296
61296
  path5 = `C:${path5}`;
61297
+ return path5.replaceAll("/", "\\");
61297
61298
  }
61298
61299
  return path5.replaceAll("\\", "/");
61299
61300
  };
@@ -61294,6 +61294,7 @@ var init_correct_paths = __esm({
61294
61294
  }
61295
61295
  if (!path5.toUpperCase().startsWith("C:") && path5.includes("\\")) {
61296
61296
  path5 = `C:${path5}`;
61297
+ return path5.replaceAll("/", "\\");
61297
61298
  }
61298
61299
  return path5.replaceAll("\\", "/");
61299
61300
  };
@@ -65396,6 +65396,7 @@ var init_correct_paths = __esm({
65396
65396
  }
65397
65397
  if (!path5.toUpperCase().startsWith("C:") && path5.includes("\\")) {
65398
65398
  path5 = `C:${path5}`;
65399
+ return path5.replaceAll("/", "\\");
65399
65400
  }
65400
65401
  return path5.replaceAll("\\", "/");
65401
65402
  };
@@ -61294,6 +61294,7 @@ var init_correct_paths = __esm({
61294
61294
  }
61295
61295
  if (!path5.toUpperCase().startsWith("C:") && path5.includes("\\")) {
61296
61296
  path5 = `C:${path5}`;
61297
+ return path5.replaceAll("/", "\\");
61297
61298
  }
61298
61299
  return path5.replaceAll("\\", "/");
61299
61300
  };
@@ -61294,6 +61294,7 @@ var init_correct_paths = __esm({
61294
61294
  }
61295
61295
  if (!path5.toUpperCase().startsWith("C:") && path5.includes("\\")) {
61296
61296
  path5 = `C:${path5}`;
61297
+ return path5.replaceAll("/", "\\");
61297
61298
  }
61298
61299
  return path5.replaceAll("\\", "/");
61299
61300
  };
@@ -61294,6 +61294,7 @@ var init_correct_paths = __esm({
61294
61294
  }
61295
61295
  if (!path6.toUpperCase().startsWith("C:") && path6.includes("\\")) {
61296
61296
  path6 = `C:${path6}`;
61297
+ return path6.replaceAll("/", "\\");
61297
61298
  }
61298
61299
  return path6.replaceAll("\\", "/");
61299
61300
  };
@@ -63118,6 +63118,7 @@ var init_correct_paths = __esm({
63118
63118
  }
63119
63119
  if (!path5.toUpperCase().startsWith("C:") && path5.includes("\\")) {
63120
63120
  path5 = `C:${path5}`;
63121
+ return path5.replaceAll("/", "\\");
63121
63122
  }
63122
63123
  return path5.replaceAll("\\", "/");
63123
63124
  };
@@ -61294,6 +61294,7 @@ var init_correct_paths = __esm({
61294
61294
  }
61295
61295
  if (!path5.toUpperCase().startsWith("C:") && path5.includes("\\")) {
61296
61296
  path5 = `C:${path5}`;
61297
+ return path5.replaceAll("/", "\\");
61297
61298
  }
61298
61299
  return path5.replaceAll("\\", "/");
61299
61300
  };