@storm-software/workspace-tools 1.179.5 → 1.179.6

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,13 @@
1
+ ## 1.179.6 (2024-09-10)
2
+
3
+ ### Bug Fixes
4
+
5
+ - **eslint-config:** Resolve issue with missing TypeScript configuration
6
+ ([3692faa9](https://github.com/storm-software/storm-ops/commit/3692faa9))
7
+
8
+ - **workspace-tools:** Resolve issue with workspace paths
9
+ ([1b3305e6](https://github.com/storm-software/storm-ops/commit/1b3305e6))
10
+
1
11
  ## 1.179.5 (2024-09-10)
2
12
 
3
13
  ### 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.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)
24
+ [![Version](https://img.shields.io/badge/version-1.179.5-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
@@ -437508,10 +437508,10 @@ function analyze() {
437508
437508
  };
437509
437509
  }
437510
437510
  async function withRollupConfig(rawOptions, rollupConfig = {}, dependencies, config) {
437511
- const { writeWarning: writeWarning2 } = await Promise.resolve().then(() => (init_src2(), src_exports));
437511
+ const { writeWarning: writeWarning2, correctPaths: correctPaths2 } = await Promise.resolve().then(() => (init_src2(), src_exports));
437512
437512
  const finalConfig = { ...rollupConfig };
437513
437513
  const projectNode = getProjectNode();
437514
- const projectRoot = (0, import_node_path14.join)(import_devkit7.workspaceRoot, projectNode.data.root);
437514
+ const projectRoot = correctPaths2((0, import_node_path14.join)(import_devkit7.workspaceRoot, projectNode.data.root));
437515
437515
  const projectGraph = global.NX_GRAPH_CREATION ? null : (0, import_devkit7.readCachedProjectGraph)();
437516
437516
  if (!projectGraph) {
437517
437517
  throw new Error(`Cannot find project graph.`);
@@ -437546,7 +437546,9 @@ async function withRollupConfig(rawOptions, rollupConfig = {}, dependencies, con
437546
437546
  projectNode.data.sourceRoot,
437547
437547
  rawOptions
437548
437548
  );
437549
- const tsConfigPath = (0, import_devkit7.joinPathFragments)(import_devkit7.workspaceRoot, options.tsConfig);
437549
+ const tsConfigPath = correctPaths2(
437550
+ (0, import_devkit7.joinPathFragments)(import_devkit7.workspaceRoot, options.tsConfig)
437551
+ );
437550
437552
  const tsConfigFile = ts.readConfigFile(tsConfigPath, ts.sys.readFile);
437551
437553
  const tsConfig = ts.parseJsonConfigFileContent(
437552
437554
  tsConfigFile.config,
@@ -437586,7 +437588,7 @@ async function withRollupConfig(rawOptions, rollupConfig = {}, dependencies, con
437586
437588
  // Options are not normalized with project root during graph creation due to the lack of project and project root.
437587
437589
  // Cannot be joined with workspace root now, but will be handled by @nx/rollup/plugin.
437588
437590
  options.outputPath
437589
- ) : (0, import_node_path14.join)(import_devkit7.workspaceRoot, options.outputPath),
437591
+ ) : correctPaths2((0, import_node_path14.join)(import_devkit7.workspaceRoot, options.outputPath)),
437590
437592
  sourcemap: options.sourceMap
437591
437593
  }));
437592
437594
  }
@@ -437655,8 +437657,7 @@ async function withRollupConfig(rawOptions, rollupConfig = {}, dependencies, con
437655
437657
  config
437656
437658
  )
437657
437659
  },
437658
- verbosity: 3,
437659
- useTsconfigDeclarationDir: true
437660
+ verbosity: 3
437660
437661
  }),
437661
437662
  (0, import_type_definitions.typeDefinitions)({
437662
437663
  projectRoot
@@ -437685,9 +437686,11 @@ async function withRollupConfig(rawOptions, rollupConfig = {}, dependencies, con
437685
437686
  supportsStaticESM: true,
437686
437687
  isModern: true
437687
437688
  },
437688
- cwd: (0, import_node_path14.join)(
437689
- import_devkit7.workspaceRoot,
437690
- projectNode.data.sourceRoot ?? projectNode.data.root
437689
+ cwd: correctPaths2(
437690
+ (0, import_node_path14.join)(
437691
+ import_devkit7.workspaceRoot,
437692
+ projectNode.data.sourceRoot ?? projectNode.data.root
437693
+ )
437691
437694
  ),
437692
437695
  rootMode: options.babelUpwardRootMode ? "upward" : void 0,
437693
437696
  babelrc: true,