@storm-software/workspace-tools 1.10.17 → 1.10.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/workspace-tools",
3
- "version": "1.10.17",
3
+ "version": "1.10.19",
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": [
@@ -474380,7 +474380,13 @@ function getConfig(workspaceRoot, projectRoot, sourceRoot, {
474380
474380
  withFileTypes: true
474381
474381
  }
474382
474382
  ).reduce((ret, filePath) => {
474383
- ret[(0, import_path2.join)(filePath.path, removeExtension(filePath.name)).replaceAll("/", "-").replaceAll("\\", "-").replaceAll(":", "")] = (0, import_path2.join)(filePath.path, filePath.name);
474383
+ let propertyKey = (0, import_path2.join)(filePath.path, removeExtension(filePath.name)).replaceAll(workspaceRoot, "").replaceAll("\\", "/").replaceAll(sourceRoot, "").replaceAll(projectRoot, "");
474384
+ if (propertyKey.startsWith("/")) {
474385
+ propertyKey = propertyKey.substring(1);
474386
+ }
474387
+ if (!(propertyKey in ret)) {
474388
+ ret[propertyKey] = (0, import_path2.join)(filePath.path, filePath.name);
474389
+ }
474384
474390
  return ret;
474385
474391
  }, {});
474386
474392
  return (0, import_tsup.defineConfig)([
@@ -258712,7 +258712,13 @@ function getConfig(workspaceRoot, projectRoot, sourceRoot, {
258712
258712
  withFileTypes: true
258713
258713
  }
258714
258714
  ).reduce((ret, filePath) => {
258715
- ret[(0, import_path2.join)(filePath.path, removeExtension(filePath.name)).replaceAll("/", "-").replaceAll("\\", "-").replaceAll(":", "")] = (0, import_path2.join)(filePath.path, filePath.name);
258715
+ let propertyKey = (0, import_path2.join)(filePath.path, removeExtension(filePath.name)).replaceAll(workspaceRoot, "").replaceAll("\\", "/").replaceAll(sourceRoot, "").replaceAll(projectRoot, "");
258716
+ if (propertyKey.startsWith("/")) {
258717
+ propertyKey = propertyKey.substring(1);
258718
+ }
258719
+ if (!(propertyKey in ret)) {
258720
+ ret[propertyKey] = (0, import_path2.join)(filePath.path, filePath.name);
258721
+ }
258716
258722
  return ret;
258717
258723
  }, {});
258718
258724
  return (0, import_tsup.defineConfig)([