@storm-software/workspace-tools 1.30.7 → 1.30.8

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,10 @@
1
+ ## [1.30.7](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.30.6...workspace-tools-v1.30.7) (2023-12-14)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **workspace-tools:** Resolved issue with promise on configuration object ([1f2046f](https://github.com/storm-software/storm-ops/commit/1f2046f4ad6bedbc314535b424cf1b5511f31269))
7
+
1
8
  ## [1.30.6](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.30.5...workspace-tools-v1.30.6) (2023-12-14)
2
9
 
3
10
 
package/index.js CHANGED
@@ -117447,10 +117447,14 @@ function getConfig(workspaceRoot, projectRoot, sourceRoot, {
117447
117447
  const entry = globSync(entryPoints, {
117448
117448
  withFileTypes: true
117449
117449
  }).reduce((ret, filePath) => {
117450
+ let formattedPath = workspaceRoot.replaceAll("\\", "/");
117451
+ if (formattedPath.toUpperCase().startsWith("C:")) {
117452
+ formattedPath = formattedPath.substring(2);
117453
+ }
117450
117454
  let propertyKey = (0, import_devkit.joinPathFragments)(
117451
117455
  filePath.path,
117452
117456
  removeExtension(filePath.name)
117453
- ).replaceAll("\\", "/").replaceAll(workspaceRoot.substring(2).replaceAll("\\", "/"), "").replaceAll(sourceRoot, "").replaceAll(projectRoot, "");
117457
+ ).replaceAll("\\", "/").replaceAll(formattedPath, "").replaceAll(sourceRoot, "").replaceAll(projectRoot, "");
117454
117458
  if (propertyKey) {
117455
117459
  while (propertyKey.startsWith("/")) {
117456
117460
  propertyKey = propertyKey.substring(1);