@storm-software/workspace-tools 1.179.4 → 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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## 1.179.5 (2024-09-10)
2
+
3
+ ### Bug Fixes
4
+
5
+ - **workspace-tools:** Added `baseUrl` to compiler options
6
+ ([dd058e2e](https://github.com/storm-software/storm-ops/commit/dd058e2e))
7
+
1
8
  ## 1.179.4 (2024-09-09)
2
9
 
3
10
  ### Bug Fixes
package/README.md CHANGED
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
21
21
 
22
22
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
23
23
 
24
- [![Version](https://img.shields.io/badge/version-1.179.3-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-1.179.4-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
package/index.js CHANGED
@@ -61294,6 +61294,7 @@ var init_correct_paths = __esm({
61294
61294
  }
61295
61295
  if (!path11.toUpperCase().startsWith("C:") && path11.includes("\\")) {
61296
61296
  path11 = `C:${path11}`;
61297
+ return path11.replaceAll("/", "\\");
61297
61298
  }
61298
61299
  return path11.replaceAll("\\", "/");
61299
61300
  };
@@ -437718,13 +437719,17 @@ function createInput(options) {
437718
437719
  }
437719
437720
  async function createTsCompilerOptions(parsedCommandLine, options, dependencies, config) {
437720
437721
  const { correctPaths: correctPaths2 } = await Promise.resolve().then(() => (init_src2(), src_exports));
437722
+ if (!config?.workspaceRoot) {
437723
+ throw new Error(`Cannot find workspace root in the config.`);
437724
+ }
437725
+ parsedCommandLine.options.rootDir = correctPaths2(config?.workspaceRoot);
437726
+ parsedCommandLine.options.baseUrl = correctPaths2(config?.workspaceRoot);
437721
437727
  const compilerOptionPaths = (0, import_buildable_libs_utils.computeCompilerOptionsPaths)(
437722
437728
  parsedCommandLine,
437723
437729
  dependencies ?? []
437724
437730
  );
437725
437731
  const compilerOptions = {
437726
437732
  rootDir: correctPaths2(config?.workspaceRoot).replaceAll("/", "\\"),
437727
- baseUrl: correctPaths2(config?.workspaceRoot).replaceAll("/", "\\"),
437728
437733
  declaration: true,
437729
437734
  skipLibCheck: true,
437730
437735
  skipDefaultLibCheck: true,