@storm-software/workspace-tools 1.63.3 → 1.63.4

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,15 @@
1
+ ## 1.63.4 (2024-03-05)
2
+
3
+
4
+ ### 🩹 Fixes
5
+
6
+ - **storm-ops:** Resolve issue with path corrections logic ([2f84316c](https://github.com/storm-software/storm-ops/commit/2f84316c))
7
+
8
+
9
+ ### ❤️ Thank You
10
+
11
+ - Patrick Sullivan
12
+
1
13
  ## 1.63.3 (2024-03-03)
2
14
 
3
15
 
package/index.js CHANGED
@@ -474775,31 +474775,34 @@ async function getNormalizedTsConfig(workspaceRoot, outputPath, options8) {
474775
474775
  Error: ${rawTsconfig.error.messageText}` : ""}`
474776
474776
  );
474777
474777
  }
474778
+ const basePath = correctPaths(workspaceRoot);
474779
+ const declarationDir = correctPaths((0, import_node_path2.join)(basePath, "tmp", ".tsup", "declaration"));
474778
474780
  const parsedTsconfig = (0, import_typescript.parseJsonConfigFileContent)(
474779
474781
  {
474780
474782
  ...rawTsconfig.config,
474781
474783
  compilerOptions: {
474782
474784
  ...rawTsconfig.config?.compilerOptions,
474783
474785
  outDir: outputPath,
474784
- rootDir: ".",
474785
- baseUrl: correctPaths(workspaceRoot),
474786
474786
  noEmit: false,
474787
474787
  emitDeclarationOnly: true,
474788
474788
  declaration: true,
474789
474789
  declarationMap: true,
474790
- declarationDir: correctPaths((0, import_node_path2.join)(workspaceRoot, "tmp", ".tsup", "declaration"))
474790
+ declarationDir
474791
474791
  }
474792
474792
  },
474793
474793
  import_typescript.sys,
474794
474794
  correctPaths((0, import_node_path2.dirname)(options8.tsConfig))
474795
474795
  );
474796
- parsedTsconfig.options.pathsBasePath = correctPaths(workspaceRoot);
474796
+ parsedTsconfig.options.rootDir = basePath;
474797
+ parsedTsconfig.options.baseUrl = basePath;
474798
+ parsedTsconfig.options.pathsBasePath = basePath;
474799
+ parsedTsconfig.options.declarationDir = declarationDir;
474797
474800
  if (parsedTsconfig.options.paths) {
474798
474801
  parsedTsconfig.options.paths = Object.keys(parsedTsconfig.options.paths).reduce(
474799
474802
  (ret, key2) => {
474800
474803
  if (parsedTsconfig.options.paths?.[key2]) {
474801
474804
  ret[key2] = parsedTsconfig.options.paths[key2]?.map(
474802
- (path15) => correctPaths((0, import_node_path2.join)(workspaceRoot, path15))
474805
+ (path15) => correctPaths((0, import_node_path2.join)(basePath, path15))
474803
474806
  );
474804
474807
  }
474805
474808
  return ret;