@storm-software/workspace-tools 1.289.1 → 1.289.3

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.
Files changed (111) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/README.md +1 -2
  3. package/dist/{chunk-VAJB3RTI.mjs → chunk-2AMDW3YQ.mjs} +1 -1
  4. package/dist/{chunk-KSOS2M7J.js → chunk-2AWJ2YR5.js} +15 -15
  5. package/dist/{chunk-M5Z57CUO.mjs → chunk-2C4FZPU6.mjs} +1 -1
  6. package/dist/{chunk-DY4PYCP6.js → chunk-3WWUJ2VB.js} +2 -2
  7. package/dist/{chunk-QKQRWKYX.js → chunk-4HV5G4DT.js} +13 -13
  8. package/dist/{chunk-2CRCPMGK.mjs → chunk-4TWBUGWJ.mjs} +1 -1
  9. package/dist/{chunk-T25RSZNX.mjs → chunk-5RWC6WQX.mjs} +3 -3
  10. package/dist/{chunk-7IF3RQD4.js → chunk-6EPU6OJO.js} +5 -5
  11. package/dist/{chunk-WITQCU2S.mjs → chunk-7JIOKFAL.mjs} +1 -1
  12. package/dist/{chunk-73IC2JQV.js → chunk-7QY4X73C.js} +2 -2
  13. package/dist/{chunk-PQGJJ2VC.js → chunk-AEPPOUTZ.js} +7 -7
  14. package/dist/{chunk-UZ63ALZQ.js → chunk-AIHKMBDE.js} +2 -2
  15. package/dist/{chunk-PKUOYXI3.mjs → chunk-BSC56LZT.mjs} +3 -3
  16. package/dist/{chunk-KYGWN2MB.mjs → chunk-BYDAHL6O.mjs} +1 -1
  17. package/dist/{chunk-U7JFVMCK.mjs → chunk-C26A6BXG.mjs} +1 -1
  18. package/dist/{chunk-7Y353S7D.js → chunk-DHLIMON5.js} +29 -29
  19. package/dist/{chunk-VBOSBUKV.mjs → chunk-E4YSYJDS.mjs} +1 -1
  20. package/dist/{chunk-S5DC4QM3.js → chunk-FFU5IOHF.js} +2 -2
  21. package/dist/{chunk-53DNHF7B.js → chunk-G2L3EEEO.js} +2 -2
  22. package/dist/{chunk-7OBL2GKK.js → chunk-GSNSQNWE.js} +7 -7
  23. package/dist/{chunk-KLAMLNPM.mjs → chunk-GYR36ZS5.mjs} +1 -1
  24. package/dist/{chunk-LNCNJLSB.mjs → chunk-HP36FVRU.mjs} +1 -1
  25. package/dist/{chunk-6NZIY22A.mjs → chunk-I5QGFMUH.mjs} +4 -4
  26. package/dist/{chunk-V3SVHUFX.mjs → chunk-IYDKU4UX.mjs} +3 -3
  27. package/dist/{chunk-G2ZFORXG.js → chunk-JN6KPWQF.js} +2 -2
  28. package/dist/{chunk-EJXUFIMK.mjs → chunk-JXPBXBVT.mjs} +3 -3
  29. package/dist/{chunk-4DLKOUQA.js → chunk-KCV7BDWY.js} +2 -2
  30. package/dist/{chunk-HNFKVXBV.js → chunk-L7U4GRI6.js} +3 -3
  31. package/dist/{chunk-2JYSOWHX.js → chunk-LK6W3KH4.js} +2 -2
  32. package/dist/{chunk-M7ZPKNJT.mjs → chunk-LKIIAI4Y.mjs} +1 -1
  33. package/dist/{chunk-FT7UVNPS.mjs → chunk-LRNWFATF.mjs} +3 -3
  34. package/dist/{chunk-PZFEA7HL.mjs → chunk-MLZRCI3A.mjs} +1 -1
  35. package/dist/{chunk-G3LFGXX3.js → chunk-MU56MSLH.js} +7 -7
  36. package/dist/{chunk-SUYGH7CY.mjs → chunk-OI4WJRTJ.mjs} +4 -4
  37. package/dist/{chunk-3KDR7QTH.mjs → chunk-OVBZVQSB.mjs} +1 -1
  38. package/dist/{chunk-UIUT3KSN.mjs → chunk-OZ3HGXJN.mjs} +1 -1
  39. package/dist/{chunk-OSMA3OJG.js → chunk-PW43JUUT.js} +28 -28
  40. package/dist/{chunk-PNWYSTCQ.js → chunk-QHXFWA2F.js} +2 -2
  41. package/dist/{chunk-IID5AST4.mjs → chunk-QZPAK2ZJ.mjs} +1 -1
  42. package/dist/{chunk-UH5PNSPJ.js → chunk-R3FFJCKC.js} +2 -2
  43. package/dist/{chunk-YMP6D267.mjs → chunk-S7UZGQ4Y.mjs} +3 -3
  44. package/dist/{chunk-A77PFJ72.js → chunk-SFE5PARH.js} +2 -2
  45. package/dist/{chunk-QD3JDU6V.mjs → chunk-TRZ2ALAN.mjs} +2 -2
  46. package/dist/{chunk-VGRHMX4G.js → chunk-TUX5HNDD.js} +7 -7
  47. package/dist/{chunk-PIK7KYVE.mjs → chunk-UCXAD2SG.mjs} +1 -1
  48. package/dist/{chunk-3DQHYRAW.js → chunk-UHCY4Z7H.js} +2 -2
  49. package/dist/{chunk-DA53ZKBY.js → chunk-URLWKK3Z.js} +3 -3
  50. package/dist/{chunk-EIZKPKJH.js → chunk-VVI6WID7.js} +2 -2
  51. package/dist/{chunk-6P42TFF5.js → chunk-WJA33YN6.js} +20 -20
  52. package/dist/{chunk-OWKH2ZBQ.mjs → chunk-WYKNXQAY.mjs} +1 -1
  53. package/dist/{chunk-R46H5YPG.js → chunk-XWJOKWDV.js} +7 -7
  54. package/dist/{chunk-L7Z66BRK.js → chunk-YDUY6Q5I.js} +7 -7
  55. package/dist/{chunk-VZPMAVID.mjs → chunk-YFBXGVV7.mjs} +3 -3
  56. package/dist/{chunk-HJPVYUW7.mjs → chunk-ZERVVKRK.mjs} +2 -2
  57. package/dist/executors.js +18 -18
  58. package/dist/executors.mjs +17 -17
  59. package/dist/generators.js +14 -14
  60. package/dist/generators.mjs +13 -13
  61. package/dist/index.js +28 -28
  62. package/dist/index.mjs +27 -27
  63. package/dist/src/base/base-executor.js +6 -6
  64. package/dist/src/base/base-executor.mjs +5 -5
  65. package/dist/src/base/base-generator.js +6 -6
  66. package/dist/src/base/base-generator.mjs +5 -5
  67. package/dist/src/base/index.js +8 -8
  68. package/dist/src/base/index.mjs +7 -7
  69. package/dist/src/executors/cargo-build/executor.js +7 -7
  70. package/dist/src/executors/cargo-build/executor.mjs +6 -6
  71. package/dist/src/executors/cargo-check/executor.js +7 -7
  72. package/dist/src/executors/cargo-check/executor.mjs +6 -6
  73. package/dist/src/executors/cargo-clippy/executor.js +7 -7
  74. package/dist/src/executors/cargo-clippy/executor.mjs +6 -6
  75. package/dist/src/executors/cargo-doc/executor.js +7 -7
  76. package/dist/src/executors/cargo-doc/executor.mjs +6 -6
  77. package/dist/src/executors/cargo-format/executor.js +7 -7
  78. package/dist/src/executors/cargo-format/executor.mjs +6 -6
  79. package/dist/src/executors/clean-package/executor.js +7 -7
  80. package/dist/src/executors/clean-package/executor.mjs +5 -5
  81. package/dist/src/executors/esbuild/executor.js +7 -7
  82. package/dist/src/executors/esbuild/executor.mjs +6 -6
  83. package/dist/src/executors/npm-publish/executor.js +7 -7
  84. package/dist/src/executors/npm-publish/executor.mjs +6 -6
  85. package/dist/src/executors/size-limit/executor.js +7 -7
  86. package/dist/src/executors/size-limit/executor.mjs +6 -6
  87. package/dist/src/executors/typia/executor.js +7 -7
  88. package/dist/src/executors/typia/executor.mjs +6 -6
  89. package/dist/src/executors/unbuild/executor.js +7 -7
  90. package/dist/src/executors/unbuild/executor.mjs +6 -6
  91. package/dist/src/generators/browser-library/generator.js +8 -8
  92. package/dist/src/generators/browser-library/generator.mjs +7 -7
  93. package/dist/src/generators/config-schema/generator.js +7 -7
  94. package/dist/src/generators/config-schema/generator.mjs +6 -6
  95. package/dist/src/generators/neutral-library/generator.js +8 -8
  96. package/dist/src/generators/neutral-library/generator.mjs +7 -7
  97. package/dist/src/generators/node-library/generator.js +8 -8
  98. package/dist/src/generators/node-library/generator.mjs +7 -7
  99. package/dist/src/generators/preset/generator.js +7 -7
  100. package/dist/src/generators/preset/generator.mjs +6 -6
  101. package/dist/src/generators/release-version/generator.js +6 -6
  102. package/dist/src/generators/release-version/generator.mjs +5 -5
  103. package/dist/src/utils/apply-workspace-tokens.js +4 -4
  104. package/dist/src/utils/apply-workspace-tokens.mjs +3 -3
  105. package/dist/src/utils/get-project-configurations.js +4 -4
  106. package/dist/src/utils/get-project-configurations.mjs +3 -3
  107. package/dist/src/utils/index.js +6 -6
  108. package/dist/src/utils/index.mjs +5 -5
  109. package/dist/src/utils/package-helpers.js +3 -3
  110. package/dist/src/utils/package-helpers.mjs +2 -2
  111. package/package.json +7 -7
package/CHANGELOG.md CHANGED
@@ -2,6 +2,38 @@
2
2
 
3
3
  # Changelog for Storm Ops - Workspace Tools
4
4
 
5
+ ## [1.289.2](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.289.2) (2025-09-18)
6
+
7
+ ### Miscellaneous
8
+
9
+ - **monorepo:** Update workspace package links
10
+ ([89e2511ad](https://github.com/storm-software/storm-ops/commit/89e2511ad))
11
+
12
+ ### Updated Dependencies
13
+
14
+ - Updated pnpm-tools to 0.3.2
15
+ - Updated npm-tools to 0.3.2
16
+ - Updated prettier to 0.55.2
17
+ - Updated esbuild to 0.51.2
18
+ - Updated unbuild to 0.55.2
19
+
20
+ ## [1.289.1](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.289.1) (2025-09-18)
21
+
22
+ ### Miscellaneous
23
+
24
+ - **cspell:** Added additional tools to CSpell dictionary
25
+ ([1d91dc573](https://github.com/storm-software/storm-ops/commit/1d91dc573))
26
+ - **monorepo:** Update workspace package links
27
+ ([dfd8585e8](https://github.com/storm-software/storm-ops/commit/dfd8585e8))
28
+
29
+ ### Updated Dependencies
30
+
31
+ - Updated pnpm-tools to 0.3.1
32
+ - Updated npm-tools to 0.3.1
33
+ - Updated prettier to 0.55.1
34
+ - Updated esbuild to 0.51.1
35
+ - Updated unbuild to 0.55.1
36
+
5
37
  ## [1.289.0](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.289.0) (2025-09-16)
6
38
 
7
39
  ### Features
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.288.0-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.289.1-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 -->
@@ -40,7 +40,6 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
40
40
 
41
41
  <!-- START doctoc -->
42
42
  <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
43
-
44
43
  ## Table of Contents
45
44
 
46
45
  - [Storm Workspace Tools](#storm-workspace-tools)
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-QC5ON3X4.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-V3SVHUFX.mjs";
7
+ } from "./chunk-IYDKU4UX.mjs";
8
8
  import {
9
9
  __dirname
10
10
  } from "./chunk-QFSU34UE.mjs";
@@ -4,7 +4,7 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkDA53ZKBYjs = require('./chunk-DA53ZKBY.js');
7
+ var _chunkURLWKK3Zjs = require('./chunk-URLWKK3Z.js');
8
8
 
9
9
 
10
10
 
@@ -13,7 +13,7 @@ var _chunkDA53ZKBYjs = require('./chunk-DA53ZKBY.js');
13
13
  var _chunk452FQZ3Bjs = require('./chunk-452FQZ3B.js');
14
14
 
15
15
 
16
- var _chunkOSMA3OJGjs = require('./chunk-OSMA3OJG.js');
16
+ var _chunkPW43JUUTjs = require('./chunk-PW43JUUT.js');
17
17
 
18
18
 
19
19
 
@@ -25,7 +25,7 @@ var _chunkOSMA3OJGjs = require('./chunk-OSMA3OJG.js');
25
25
  var _chunk2CDSXWFAjs = require('./chunk-2CDSXWFA.js');
26
26
 
27
27
 
28
- var _chunkHNFKVXBVjs = require('./chunk-HNFKVXBV.js');
28
+ var _chunkL7U4GRI6js = require('./chunk-L7U4GRI6.js');
29
29
 
30
30
  // src/generators/release-version/generator.ts
31
31
 
@@ -326,13 +326,13 @@ async function releaseVersionGeneratorFn(tree, options, config) {
326
326
  `, config);
327
327
  const stopwatch = _chunk2CDSXWFAjs.getStopwatch.call(void 0, "Storm Release Version generator");
328
328
  try {
329
- const workspaceRoot = _chunkHNFKVXBVjs.findWorkspaceRoot.call(void 0, );
329
+ const workspaceRoot = _chunkL7U4GRI6js.findWorkspaceRoot.call(void 0, );
330
330
  _chunk2CDSXWFAjs.writeDebug.call(void 0,
331
331
  `Loading the Storm Config from environment variables and storm.config.js file...
332
332
  - workspaceRoot: ${workspaceRoot}`,
333
333
  config
334
334
  );
335
- config = await _chunkOSMA3OJGjs.getConfig.call(void 0, workspaceRoot);
335
+ config = await _chunkPW43JUUTjs.getConfig.call(void 0, workspaceRoot);
336
336
  _chunk2CDSXWFAjs.writeTrace.call(void 0,
337
337
  `Generator schema options \u2699\uFE0F
338
338
  ${Object.keys(_nullishCoalesce(options, () => ( {}))).filter(
@@ -368,7 +368,7 @@ Valid values are: ${_versionlegacy.validReleaseVersionPrefixes.map((s) => `"${s}
368
368
  const projects = options.projects;
369
369
  const createResolvePackageRoot = (customPackageRoot) => (projectNode) => {
370
370
  if (_optionalChain([projectNode, 'optionalAccess', _2 => _2.data, 'optionalAccess', _3 => _3.root]) === _optionalChain([config, 'optionalAccess', _4 => _4.workspaceRoot]) || _optionalChain([projectNode, 'optionalAccess', _5 => _5.data, 'optionalAccess', _6 => _6.root]) === ".") {
371
- return _nullishCoalesce(_optionalChain([config, 'optionalAccess', _7 => _7.workspaceRoot]), () => ( _chunkHNFKVXBVjs.findWorkspaceRoot.call(void 0, )));
371
+ return _nullishCoalesce(_optionalChain([config, 'optionalAccess', _7 => _7.workspaceRoot]), () => ( _chunkL7U4GRI6js.findWorkspaceRoot.call(void 0, )));
372
372
  }
373
373
  if (!customPackageRoot) {
374
374
  return projectNode.data.root;
@@ -410,7 +410,7 @@ To fix this you will either need to add a package.json or Cargo.toml file at tha
410
410
  );
411
411
  }
412
412
  const workspaceRelativePackagePath = _path.relative.call(void 0,
413
- _nullishCoalesce(_optionalChain([config, 'optionalAccess', _8 => _8.workspaceRoot]), () => ( _chunkHNFKVXBVjs.findWorkspaceRoot.call(void 0, ))),
413
+ _nullishCoalesce(_optionalChain([config, 'optionalAccess', _8 => _8.workspaceRoot]), () => ( _chunkL7U4GRI6js.findWorkspaceRoot.call(void 0, ))),
414
414
  tree.exists(packageJsonPath) ? packageJsonPath : cargoTomlPath
415
415
  );
416
416
  const log = (msg) => {
@@ -448,19 +448,19 @@ To fix this you will either need to add a package.json or Cargo.toml file at tha
448
448
  switch (options.currentVersionResolver) {
449
449
  case "registry": {
450
450
  const metadata = _nullishCoalesce(options.currentVersionResolverMetadata, () => ( {}));
451
- const tag = _nullishCoalesce(metadata.tag, () => ( _chunkDA53ZKBYjs.DEFAULT_NPM_TAG));
452
- const registry = await _asyncNullishCoalesce(metadata.registry, async () => ( await _chunkDA53ZKBYjs.getRegistry.call(void 0, )));
453
- const npmRegistry = await _chunkDA53ZKBYjs.getNpmRegistry.call(void 0, );
454
- const githubRegistry = await _chunkDA53ZKBYjs.getGitHubRegistry.call(void 0, );
451
+ const tag = _nullishCoalesce(metadata.tag, () => ( _chunkURLWKK3Zjs.DEFAULT_NPM_TAG));
452
+ const registry = await _asyncNullishCoalesce(metadata.registry, async () => ( await _chunkURLWKK3Zjs.getRegistry.call(void 0, )));
453
+ const npmRegistry = await _chunkURLWKK3Zjs.getNpmRegistry.call(void 0, );
454
+ const githubRegistry = await _chunkURLWKK3Zjs.getGitHubRegistry.call(void 0, );
455
455
  if (options.releaseGroup.projectsRelationship === "independent") {
456
456
  try {
457
- currentVersion = await _chunkDA53ZKBYjs.getVersion.call(void 0, packageName, tag, { registry });
457
+ currentVersion = await _chunkURLWKK3Zjs.getVersion.call(void 0, packageName, tag, { registry });
458
458
  if (!currentVersion) {
459
- currentVersion = await _chunkDA53ZKBYjs.getVersion.call(void 0, packageName, tag, {
459
+ currentVersion = await _chunkURLWKK3Zjs.getVersion.call(void 0, packageName, tag, {
460
460
  registry: npmRegistry
461
461
  });
462
462
  if (!currentVersion) {
463
- currentVersion = await _chunkDA53ZKBYjs.getVersion.call(void 0, packageName, tag, {
463
+ currentVersion = await _chunkURLWKK3Zjs.getVersion.call(void 0, packageName, tag, {
464
464
  registry: githubRegistry
465
465
  });
466
466
  }
@@ -470,7 +470,7 @@ To fix this you will either need to add a package.json or Cargo.toml file at tha
470
470
  );
471
471
  } catch (e) {
472
472
  try {
473
- currentVersion = await _chunkDA53ZKBYjs.getVersion.call(void 0, packageName, tag, {
473
+ currentVersion = await _chunkURLWKK3Zjs.getVersion.call(void 0, packageName, tag, {
474
474
  registry: githubRegistry
475
475
  });
476
476
  log(
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  correctPaths
3
- } from "./chunk-U7JFVMCK.mjs";
3
+ } from "./chunk-C26A6BXG.mjs";
4
4
 
5
5
  // ../config-tools/src/utilities/find-up.ts
6
6
  import { existsSync } from "node:fs";
@@ -4,14 +4,14 @@
4
4
  var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
5
5
 
6
6
 
7
- var _chunkPQGJJ2VCjs = require('./chunk-PQGJJ2VC.js');
7
+ var _chunkAEPPOUTZjs = require('./chunk-AEPPOUTZ.js');
8
8
 
9
9
  // src/executors/cargo-clippy/executor.ts
10
10
  async function cargoClippyExecutor(options, context) {
11
11
  const command = _chunkLJDV7HFTjs.buildCargoCommand.call(void 0, "clippy", options, context);
12
12
  return await _chunkLJDV7HFTjs.cargoCommand.call(void 0, ...command);
13
13
  }
14
- var executor_default = _chunkPQGJJ2VCjs.withRunExecutor.call(void 0,
14
+ var executor_default = _chunkAEPPOUTZjs.withRunExecutor.call(void 0,
15
15
  "Cargo - Clippy",
16
16
  cargoClippyExecutor,
17
17
  {
@@ -7,7 +7,7 @@ var _chunkSZWM7COVjs = require('./chunk-SZWM7COV.js');
7
7
  var _chunkAX3RSZT7js = require('./chunk-AX3RSZT7.js');
8
8
 
9
9
 
10
- var _chunk53DNHF7Bjs = require('./chunk-53DNHF7B.js');
10
+ var _chunkG2L3EEEOjs = require('./chunk-G2L3EEEO.js');
11
11
 
12
12
  // src/base/typescript-library-generator.ts
13
13
 
@@ -55,16 +55,16 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
55
55
  const projectConfig = {
56
56
  root: normalized.directory,
57
57
  projectType: "library",
58
- sourceRoot: _chunk53DNHF7Bjs.joinPaths.call(void 0, _nullishCoalesce(normalized.directory, () => ( "")), "src"),
58
+ sourceRoot: _chunkG2L3EEEOjs.joinPaths.call(void 0, _nullishCoalesce(normalized.directory, () => ( "")), "src"),
59
59
  targets: {
60
60
  build: {
61
61
  executor: options.buildExecutor,
62
62
  outputs: ["{options.outputPath}"],
63
63
  options: {
64
- entry: [_chunk53DNHF7Bjs.joinPaths.call(void 0, normalized.projectRoot, "src", "index.ts")],
64
+ entry: [_chunkG2L3EEEOjs.joinPaths.call(void 0, normalized.projectRoot, "src", "index.ts")],
65
65
  outputPath: getOutputPath(normalized),
66
- tsconfig: _chunk53DNHF7Bjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json"),
67
- project: _chunk53DNHF7Bjs.joinPaths.call(void 0, normalized.projectRoot, "package.json"),
66
+ tsconfig: _chunkG2L3EEEOjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json"),
67
+ project: _chunkG2L3EEEOjs.joinPaths.call(void 0, normalized.projectRoot, "package.json"),
68
68
  defaultConfiguration: "production",
69
69
  platform: "neutral",
70
70
  assets: [
@@ -121,7 +121,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
121
121
  if (!normalized.importPath) {
122
122
  normalized.importPath = normalized.name;
123
123
  }
124
- const packageJsonPath = _chunk53DNHF7Bjs.joinPaths.call(void 0, normalized.projectRoot, "package.json");
124
+ const packageJsonPath = _chunkG2L3EEEOjs.joinPaths.call(void 0, normalized.projectRoot, "package.json");
125
125
  if (tree.exists(packageJsonPath)) {
126
126
  _devkit.updateJson.call(void 0, tree, packageJsonPath, (json) => {
127
127
  if (!normalized.importPath) {
@@ -178,14 +178,14 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
178
178
  }));
179
179
  }
180
180
  _js.addTsConfigPath.call(void 0, tree, normalized.importPath, [
181
- _chunk53DNHF7Bjs.joinPaths.call(void 0,
181
+ _chunkG2L3EEEOjs.joinPaths.call(void 0,
182
182
  normalized.projectRoot,
183
183
  "./src",
184
184
  `index.${normalized.js ? "js" : "ts"}`
185
185
  )
186
186
  ]);
187
- _js.addTsConfigPath.call(void 0, tree, _chunk53DNHF7Bjs.joinPaths.call(void 0, normalized.importPath, "/*"), [
188
- _chunk53DNHF7Bjs.joinPaths.call(void 0, normalized.projectRoot, "./src", "/*")
187
+ _js.addTsConfigPath.call(void 0, tree, _chunkG2L3EEEOjs.joinPaths.call(void 0, normalized.importPath, "/*"), [
188
+ _chunkG2L3EEEOjs.joinPaths.call(void 0, normalized.projectRoot, "./src", "/*")
189
189
  ]);
190
190
  if (tree.exists("package.json")) {
191
191
  const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
@@ -196,7 +196,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
196
196
  description = packageJson.description;
197
197
  }
198
198
  }
199
- const tsconfigPath = _chunk53DNHF7Bjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json");
199
+ const tsconfigPath = _chunkG2L3EEEOjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json");
200
200
  if (tree.exists(tsconfigPath)) {
201
201
  _devkit.updateJson.call(void 0, tree, tsconfigPath, (json) => {
202
202
  json.composite ??= true;
@@ -224,7 +224,7 @@ function getOutputPath(options) {
224
224
  } else {
225
225
  parts.push(options.projectRoot);
226
226
  }
227
- return _chunk53DNHF7Bjs.joinPaths.call(void 0, ...parts);
227
+ return _chunkG2L3EEEOjs.joinPaths.call(void 0, ...parts);
228
228
  }
229
229
  function createProjectTsConfigJson(tree, options) {
230
230
  const tsconfig = {
@@ -232,7 +232,7 @@ function createProjectTsConfigJson(tree, options) {
232
232
  ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _15 => _15.tsconfigOptions]), () => ( {})),
233
233
  compilerOptions: {
234
234
  ...options.rootProject ? _js.tsConfigBaseOptions : {},
235
- outDir: _chunk53DNHF7Bjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
235
+ outDir: _chunkG2L3EEEOjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
236
236
  noEmit: true,
237
237
  ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _16 => _16.tsconfigOptions, 'optionalAccess', _17 => _17.compilerOptions]), () => ( {}))
238
238
  },
@@ -250,7 +250,7 @@ function createProjectTsConfigJson(tree, options) {
250
250
  "src/**/*.test.ts"
251
251
  ]
252
252
  };
253
- _devkit.writeJson.call(void 0, tree, _chunk53DNHF7Bjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"), tsconfig);
253
+ _devkit.writeJson.call(void 0, tree, _chunkG2L3EEEOjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"), tsconfig);
254
254
  }
255
255
  async function normalizeOptions(tree, options, config) {
256
256
  let importPath = options.importPath;
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-6LP3KKXE.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-T25RSZNX.mjs";
7
+ } from "./chunk-5RWC6WQX.mjs";
8
8
 
9
9
  // src/executors/cargo-build/executor.ts
10
10
  async function cargoBuildExecutor(options, context) {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  applyWorkspaceProjectTokens,
3
3
  applyWorkspaceTokens
4
- } from "./chunk-KYGWN2MB.mjs";
4
+ } from "./chunk-BYDAHL6O.mjs";
5
5
  import {
6
6
  getConfig
7
- } from "./chunk-HJPVYUW7.mjs";
7
+ } from "./chunk-ZERVVKRK.mjs";
8
8
  import {
9
9
  formatLogMessage,
10
10
  getStopwatch,
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-V44DYGWX.mjs";
18
18
  import {
19
19
  findWorkspaceRoot
20
- } from "./chunk-M5Z57CUO.mjs";
20
+ } from "./chunk-2C4FZPU6.mjs";
21
21
 
22
22
  // src/base/base-executor.ts
23
23
  import { defu } from "defu";
@@ -1,12 +1,12 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkPQGJJ2VCjs = require('./chunk-PQGJJ2VC.js');
3
+ var _chunkAEPPOUTZjs = require('./chunk-AEPPOUTZ.js');
4
4
 
5
5
 
6
6
  var _chunk2CDSXWFAjs = require('./chunk-2CDSXWFA.js');
7
7
 
8
8
 
9
- var _chunk53DNHF7Bjs = require('./chunk-53DNHF7B.js');
9
+ var _chunkG2L3EEEOjs = require('./chunk-G2L3EEEO.js');
10
10
 
11
11
  // src/executors/unbuild/executor.ts
12
12
  var _defu = require('defu');
@@ -29,7 +29,7 @@ async function unbuildExecutorFn(options, context, config) {
29
29
  );
30
30
  }
31
31
  const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
32
- fsCache: config.skipCache ? false : _chunk53DNHF7Bjs.joinPaths.call(void 0,
32
+ fsCache: config.skipCache ? false : _chunkG2L3EEEOjs.joinPaths.call(void 0,
33
33
  config.workspaceRoot,
34
34
  config.directories.cache || "node_modules/.cache/storm",
35
35
  "jiti"
@@ -51,7 +51,7 @@ async function unbuildExecutorFn(options, context, config) {
51
51
  {
52
52
  stubOptions: {
53
53
  jiti: {
54
- fsCache: config.skipCache ? false : _chunk53DNHF7Bjs.joinPaths.call(void 0,
54
+ fsCache: config.skipCache ? false : _chunkG2L3EEEOjs.joinPaths.call(void 0,
55
55
  config.workspaceRoot,
56
56
  config.directories.cache || "node_modules/.cache/storm",
57
57
  "jiti"
@@ -80,7 +80,7 @@ async function unbuildExecutorFn(options, context, config) {
80
80
  success: true
81
81
  };
82
82
  }
83
- var executor_default = _chunkPQGJJ2VCjs.withRunExecutor.call(void 0,
83
+ var executor_default = _chunkAEPPOUTZjs.withRunExecutor.call(void 0,
84
84
  "TypeScript Unbuild build",
85
85
  unbuildExecutorFn,
86
86
  {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-T25RSZNX.mjs";
3
+ } from "./chunk-5RWC6WQX.mjs";
4
4
  import {
5
5
  writeInfo
6
6
  } from "./chunk-V44DYGWX.mjs";
@@ -7,7 +7,7 @@ var _chunk452FQZ3Bjs = require('./chunk-452FQZ3B.js');
7
7
  var _chunkAX3RSZT7js = require('./chunk-AX3RSZT7.js');
8
8
 
9
9
 
10
- var _chunk53DNHF7Bjs = require('./chunk-53DNHF7B.js');
10
+ var _chunkG2L3EEEOjs = require('./chunk-G2L3EEEO.js');
11
11
 
12
12
  // src/utils/package-helpers.ts
13
13
 
@@ -48,7 +48,7 @@ var getPackageInfo = (project) => {
48
48
  return null;
49
49
  };
50
50
  async function addPackageJsonGitHead(packageRoot) {
51
- const packageJsonPath = _chunk53DNHF7Bjs.joinPaths.call(void 0, packageRoot, "package.json");
51
+ const packageJsonPath = _chunkG2L3EEEOjs.joinPaths.call(void 0, packageRoot, "package.json");
52
52
  if (!packageJsonPath) {
53
53
  throw new Error(
54
54
  "No file path provided. Please provide a valid path to the package.json file."
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunkA77PFJ72js = require('./chunk-A77PFJ72.js');
4
+ var _chunkSFE5PARHjs = require('./chunk-SFE5PARH.js');
5
5
 
6
6
 
7
- var _chunkOSMA3OJGjs = require('./chunk-OSMA3OJG.js');
7
+ var _chunkPW43JUUTjs = require('./chunk-PW43JUUT.js');
8
8
 
9
9
 
10
10
 
@@ -17,7 +17,7 @@ var _chunkOSMA3OJGjs = require('./chunk-OSMA3OJG.js');
17
17
  var _chunk2CDSXWFAjs = require('./chunk-2CDSXWFA.js');
18
18
 
19
19
 
20
- var _chunkHNFKVXBVjs = require('./chunk-HNFKVXBV.js');
20
+ var _chunkL7U4GRI6js = require('./chunk-L7U4GRI6.js');
21
21
 
22
22
  // src/base/base-executor.ts
23
23
  var _defu = require('defu');
@@ -31,7 +31,7 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
31
31
  "The Build process failed because the context is not valid. Please run this command from a workspace."
32
32
  );
33
33
  }
34
- const workspaceRoot = _chunkHNFKVXBVjs.findWorkspaceRoot.call(void 0, );
34
+ const workspaceRoot = _chunkL7U4GRI6js.findWorkspaceRoot.call(void 0, );
35
35
  const projectRoot = context.projectsConfigurations.projects[context.projectName].root || workspaceRoot;
36
36
  const sourceRoot = context.projectsConfigurations.projects[context.projectName].sourceRoot || projectRoot || workspaceRoot;
37
37
  const projectName = context.projectName;
@@ -47,7 +47,7 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
47
47
  `,
48
48
  config
49
49
  );
50
- config = await _chunkOSMA3OJGjs.getConfig.call(void 0, workspaceRoot);
50
+ config = await _chunkPW43JUUTjs.getConfig.call(void 0, workspaceRoot);
51
51
  }
52
52
  if (_optionalChain([executorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.applyDefaultOptions])) {
53
53
  _chunk2CDSXWFAjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
@@ -62,14 +62,14 @@ ${_chunk2CDSXWFAjs.formatLogMessage.call(void 0, options)}
62
62
  `,
63
63
  config
64
64
  );
65
- const tokenized = await _chunkA77PFJ72js.applyWorkspaceTokens.call(void 0,
65
+ const tokenized = await _chunkSFE5PARHjs.applyWorkspaceTokens.call(void 0,
66
66
  options,
67
67
  _defu.defu.call(void 0,
68
68
  { workspaceRoot, projectRoot, sourceRoot, projectName, config },
69
69
  config,
70
70
  context.projectsConfigurations.projects[context.projectName]
71
71
  ),
72
- _chunkA77PFJ72js.applyWorkspaceProjectTokens
72
+ _chunkSFE5PARHjs.applyWorkspaceProjectTokens
73
73
  );
74
74
  _chunk2CDSXWFAjs.writeTrace.call(void 0,
75
75
  `Executor schema tokenized options \u2699\uFE0F
@@ -1,12 +1,12 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkHNFKVXBVjs = require('./chunk-HNFKVXBV.js');
3
+ var _chunkL7U4GRI6js = require('./chunk-L7U4GRI6.js');
4
4
 
5
5
  // src/utils/get-project-configurations.ts
6
6
  var _retrieveworkspacefiles = require('nx/src/project-graph/utils/retrieve-workspace-files');
7
7
  var getProjectConfigurations = async () => {
8
8
  return _retrieveworkspacefiles.retrieveProjectConfigurationsWithoutPluginInference.call(void 0,
9
- _chunkHNFKVXBVjs.findWorkspaceRoot.call(void 0, )
9
+ _chunkL7U4GRI6js.findWorkspaceRoot.call(void 0, )
10
10
  );
11
11
  };
12
12
  var getProjectConfiguration = (projectName) => _optionalChain([getProjectConfigurations, 'call', _ => _(), 'optionalAccess', _2 => _2[projectName]]);
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  normalizeOptions,
3
3
  typeScriptLibraryGeneratorFn
4
- } from "./chunk-LNCNJLSB.mjs";
4
+ } from "./chunk-HP36FVRU.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-V3SVHUFX.mjs";
7
+ } from "./chunk-IYDKU4UX.mjs";
8
8
  import {
9
9
  joinPaths
10
- } from "./chunk-U7JFVMCK.mjs";
10
+ } from "./chunk-C26A6BXG.mjs";
11
11
  import {
12
12
  __dirname
13
13
  } from "./chunk-QFSU34UE.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  findWorkspaceRoot
3
- } from "./chunk-M5Z57CUO.mjs";
3
+ } from "./chunk-2C4FZPU6.mjs";
4
4
 
5
5
  // ../config-tools/src/utilities/apply-workspace-tokens.ts
6
6
  var applyWorkspaceBaseTokens = async (option, tokenParams) => {
@@ -14,7 +14,7 @@ var correctPaths = function(path) {
14
14
  return ".";
15
15
  }
16
16
  path = normalizeWindowsPath(path);
17
- const isUNCPath = path.match(_UNC_REGEX);
17
+ const isUNCPath = path?.match(_UNC_REGEX);
18
18
  const isPathAbsolute = isAbsolute(path);
19
19
  const trailingSeparator = path[path.length - 1] === "/";
20
20
  path = normalizeString(path, !isPathAbsolute);