@storm-software/workspace-tools 1.290.4 → 1.290.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.
Files changed (103) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-IYDKU4UX.mjs → chunk-2HVWUI3X.mjs} +3 -3
  4. package/dist/{chunk-AIHKMBDE.js → chunk-3Q7VPB75.js} +2 -2
  5. package/dist/{chunk-LK6W3KH4.js → chunk-3RABECS5.js} +2 -2
  6. package/dist/{chunk-JN6KPWQF.js → chunk-4UDVQQ6B.js} +2 -2
  7. package/dist/{chunk-GSNSQNWE.js → chunk-544BSUBS.js} +2 -2
  8. package/dist/{chunk-BYDAHL6O.mjs → chunk-76SRFTZ2.mjs} +1 -1
  9. package/dist/{chunk-E4YSYJDS.mjs → chunk-7GU6SKP6.mjs} +1 -1
  10. package/dist/{chunk-S7UZGQ4Y.mjs → chunk-APNNTHDW.mjs} +3 -3
  11. package/dist/{chunk-TUX5HNDD.js → chunk-BC2RE573.js} +7 -7
  12. package/dist/{chunk-OVBZVQSB.mjs → chunk-BFKZISNH.mjs} +1 -1
  13. package/dist/{chunk-4ZFI7RRO.mjs → chunk-C52TQLO3.mjs} +2 -3
  14. package/dist/{chunk-4TWBUGWJ.mjs → chunk-CEBLL7YY.mjs} +1 -1
  15. package/dist/{chunk-PW43JUUT.js → chunk-CLVIC3ZC.js} +11 -7
  16. package/dist/{chunk-R3FFJCKC.js → chunk-DA7FMMMA.js} +2 -2
  17. package/dist/{chunk-GYR36ZS5.mjs → chunk-FML2FBSG.mjs} +1 -1
  18. package/dist/{chunk-WYKNXQAY.mjs → chunk-GEP246CJ.mjs} +1 -1
  19. package/dist/{chunk-MU56MSLH.js → chunk-GWFLM6SH.js} +2 -2
  20. package/dist/{chunk-O6WPJVUK.mjs → chunk-GXE5LDEQ.mjs} +1 -1
  21. package/dist/{chunk-QHXFWA2F.js → chunk-HLOKLT5R.js} +2 -2
  22. package/dist/{chunk-X65UAI5Q.js → chunk-IKKICHBW.js} +15 -15
  23. package/dist/{chunk-S2N7LJJH.mjs → chunk-IOIIADML.mjs} +1 -1
  24. package/dist/{chunk-L7U4GRI6.js → chunk-IVAHNQZP.js} +1 -0
  25. package/dist/{chunk-TRZ2ALAN.mjs → chunk-JDQQPHXZ.mjs} +1 -1
  26. package/dist/{chunk-OI4WJRTJ.mjs → chunk-KKCNNJUO.mjs} +3 -3
  27. package/dist/{chunk-KCV7BDWY.js → chunk-KLUJ3GE7.js} +2 -2
  28. package/dist/{chunk-YDUY6Q5I.js → chunk-KQETJZKM.js} +7 -7
  29. package/dist/{chunk-OZ3HGXJN.mjs → chunk-L6HJ4LUM.mjs} +1 -1
  30. package/dist/{chunk-SFE5PARH.js → chunk-LA2KY2TQ.js} +2 -2
  31. package/dist/{chunk-T22M3VGL.js → chunk-LAFUQANP.js} +3 -3
  32. package/dist/{chunk-5RWC6WQX.mjs → chunk-LUXZM24C.mjs} +3 -3
  33. package/dist/{chunk-AEPPOUTZ.js → chunk-LXGJXVCR.js} +7 -7
  34. package/dist/{chunk-VVI6WID7.js → chunk-MHSVHZEU.js} +2 -2
  35. package/dist/{chunk-DHLIMON5.js → chunk-MR2J2XDA.js} +6 -6
  36. package/dist/{chunk-XWJOKWDV.js → chunk-NCTXR4WB.js} +2 -2
  37. package/dist/{chunk-6EPU6OJO.js → chunk-ODSWSMRN.js} +2 -2
  38. package/dist/{chunk-J7EMDGZG.js → chunk-QMDX2Y2I.js} +8 -9
  39. package/dist/{chunk-FFU5IOHF.js → chunk-QPOU7UM4.js} +2 -2
  40. package/dist/{chunk-SIJTE7Y2.mjs → chunk-SEUH2IGO.mjs} +1 -1
  41. package/dist/{chunk-UHCY4Z7H.js → chunk-TWVSWR5E.js} +2 -2
  42. package/dist/{chunk-MLZRCI3A.mjs → chunk-TY3QG6D3.mjs} +1 -1
  43. package/dist/{chunk-2C4FZPU6.mjs → chunk-VGJEUOUN.mjs} +1 -0
  44. package/dist/{chunk-QZPAK2ZJ.mjs → chunk-VRE2IMSM.mjs} +1 -1
  45. package/dist/{chunk-W2A22QES.mjs → chunk-W5GG7QT2.mjs} +1 -1
  46. package/dist/{chunk-UCASO3DX.mjs → chunk-WC3QW6X2.mjs} +1 -1
  47. package/dist/{chunk-3WWUJ2VB.js → chunk-WQZ2PTQ4.js} +2 -2
  48. package/dist/{chunk-7JIOKFAL.mjs → chunk-XO24BCVW.mjs} +1 -1
  49. package/dist/{chunk-ZERVVKRK.mjs → chunk-Y4TAQWND.mjs} +5 -1
  50. package/dist/{chunk-TLKHHQP5.mjs → chunk-ZGWMWTYJ.mjs} +3 -3
  51. package/dist/executors.js +16 -16
  52. package/dist/executors.mjs +15 -15
  53. package/dist/generators.js +12 -12
  54. package/dist/generators.mjs +11 -11
  55. package/dist/index.js +25 -25
  56. package/dist/index.mjs +24 -24
  57. package/dist/src/base/base-executor.js +5 -5
  58. package/dist/src/base/base-executor.mjs +4 -4
  59. package/dist/src/base/base-generator.js +5 -5
  60. package/dist/src/base/base-generator.mjs +4 -4
  61. package/dist/src/base/index.js +6 -6
  62. package/dist/src/base/index.mjs +5 -5
  63. package/dist/src/executors/cargo-build/executor.js +6 -6
  64. package/dist/src/executors/cargo-build/executor.mjs +5 -5
  65. package/dist/src/executors/cargo-check/executor.js +6 -6
  66. package/dist/src/executors/cargo-check/executor.mjs +5 -5
  67. package/dist/src/executors/cargo-clippy/executor.js +6 -6
  68. package/dist/src/executors/cargo-clippy/executor.mjs +5 -5
  69. package/dist/src/executors/cargo-doc/executor.js +6 -6
  70. package/dist/src/executors/cargo-doc/executor.mjs +5 -5
  71. package/dist/src/executors/cargo-format/executor.js +6 -6
  72. package/dist/src/executors/cargo-format/executor.mjs +5 -5
  73. package/dist/src/executors/clean-package/executor.js +5 -5
  74. package/dist/src/executors/clean-package/executor.mjs +4 -4
  75. package/dist/src/executors/esbuild/executor.js +6 -6
  76. package/dist/src/executors/esbuild/executor.mjs +5 -5
  77. package/dist/src/executors/npm-publish/executor.js +5 -5
  78. package/dist/src/executors/npm-publish/executor.mjs +4 -4
  79. package/dist/src/executors/size-limit/executor.js +6 -6
  80. package/dist/src/executors/size-limit/executor.mjs +5 -5
  81. package/dist/src/executors/typia/executor.js +6 -6
  82. package/dist/src/executors/typia/executor.mjs +5 -5
  83. package/dist/src/executors/unbuild/executor.js +6 -6
  84. package/dist/src/executors/unbuild/executor.mjs +5 -5
  85. package/dist/src/generators/browser-library/generator.js +6 -6
  86. package/dist/src/generators/browser-library/generator.mjs +5 -5
  87. package/dist/src/generators/config-schema/generator.js +6 -6
  88. package/dist/src/generators/config-schema/generator.mjs +5 -5
  89. package/dist/src/generators/neutral-library/generator.js +6 -6
  90. package/dist/src/generators/neutral-library/generator.mjs +5 -5
  91. package/dist/src/generators/node-library/generator.js +6 -6
  92. package/dist/src/generators/node-library/generator.mjs +5 -5
  93. package/dist/src/generators/preset/generator.js +6 -6
  94. package/dist/src/generators/preset/generator.mjs +5 -5
  95. package/dist/src/generators/release-version/generator.js +5 -5
  96. package/dist/src/generators/release-version/generator.mjs +4 -4
  97. package/dist/src/utils/apply-workspace-tokens.js +3 -3
  98. package/dist/src/utils/apply-workspace-tokens.mjs +2 -2
  99. package/dist/src/utils/get-project-configurations.js +3 -3
  100. package/dist/src/utils/get-project-configurations.mjs +2 -2
  101. package/dist/src/utils/index.js +4 -4
  102. package/dist/src/utils/index.mjs +3 -3
  103. package/package.json +7 -7
package/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  # Changelog for Storm Ops - Workspace Tools
4
4
 
5
+ ## [1.290.4](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.290.4) (2025-09-20)
6
+
7
+ ### Miscellaneous
8
+
9
+ - **monorepo:** Update workspace package links
10
+ ([7e12795ad](https://github.com/storm-software/storm-ops/commit/7e12795ad))
11
+
12
+ ### Updated Dependencies
13
+
14
+ - Updated pnpm-tools to 0.4.4
15
+ - Updated npm-tools to 0.4.4
16
+ - Updated esbuild to 0.52.4
17
+ - Updated unbuild to 0.56.4
18
+
5
19
  ## [1.290.3](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.290.3) (2025-09-20)
6
20
 
7
21
  ### Miscellaneous
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.290.2-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.290.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)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  applyWorkspaceBaseTokens,
3
3
  applyWorkspaceTokens
4
- } from "./chunk-BYDAHL6O.mjs";
4
+ } from "./chunk-76SRFTZ2.mjs";
5
5
  import {
6
6
  getConfig
7
- } from "./chunk-ZERVVKRK.mjs";
7
+ } from "./chunk-Y4TAQWND.mjs";
8
8
  import {
9
9
  getStopwatch,
10
10
  writeDebug,
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-V44DYGWX.mjs";
17
17
  import {
18
18
  findWorkspaceRoot
19
- } from "./chunk-2C4FZPU6.mjs";
19
+ } from "./chunk-VGJEUOUN.mjs";
20
20
 
21
21
  // src/base/base-generator.ts
22
22
  var withRunGenerator = (name, generatorFn, generatorOptions = {
@@ -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 _chunkL7U4GRI6js = require('./chunk-L7U4GRI6.js');
3
+ var _chunkIVAHNQZPjs = require('./chunk-IVAHNQZP.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
- _chunkL7U4GRI6js.findWorkspaceRoot.call(void 0, )
9
+ _chunkIVAHNQZPjs.findWorkspaceRoot.call(void 0, )
10
10
  );
11
11
  };
12
12
  var getProjectConfiguration = (projectName) => _optionalChain([getProjectConfigurations, 'call', _ => _(), 'optionalAccess', _2 => _2[projectName]]);
@@ -4,14 +4,14 @@
4
4
  var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
5
5
 
6
6
 
7
- var _chunkAEPPOUTZjs = require('./chunk-AEPPOUTZ.js');
7
+ var _chunkLXGJXVCRjs = require('./chunk-LXGJXVCR.js');
8
8
 
9
9
  // src/executors/cargo-build/executor.ts
10
10
  async function cargoBuildExecutor(options, context) {
11
11
  const command = _chunkLJDV7HFTjs.buildCargoCommand.call(void 0, "build", options, context);
12
12
  return await _chunkLJDV7HFTjs.cargoCommand.call(void 0, ...command);
13
13
  }
14
- var executor_default = _chunkAEPPOUTZjs.withRunExecutor.call(void 0,
14
+ var executor_default = _chunkLXGJXVCRjs.withRunExecutor.call(void 0,
15
15
  "Cargo - Build",
16
16
  cargoBuildExecutor,
17
17
  {
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkAEPPOUTZjs = require('./chunk-AEPPOUTZ.js');
3
+ var _chunkLXGJXVCRjs = require('./chunk-LXGJXVCR.js');
4
4
 
5
5
 
6
6
  var _chunk2CDSXWFAjs = require('./chunk-2CDSXWFA.js');
@@ -27,7 +27,7 @@ async function typiaExecutorFn(options, _, config) {
27
27
  success: true
28
28
  };
29
29
  }
30
- var executor_default = _chunkAEPPOUTZjs.withRunExecutor.call(void 0,
30
+ var executor_default = _chunkLXGJXVCRjs.withRunExecutor.call(void 0,
31
31
  "Typia runtime validation generator",
32
32
  typiaExecutorFn,
33
33
  {
@@ -4,7 +4,7 @@
4
4
  var _chunk4HV5G4DTjs = require('./chunk-4HV5G4DT.js');
5
5
 
6
6
 
7
- var _chunkTUX5HNDDjs = require('./chunk-TUX5HNDD.js');
7
+ var _chunkBC2RE573js = require('./chunk-BC2RE573.js');
8
8
 
9
9
 
10
10
  var _chunkG2L3EEEOjs = require('./chunk-G2L3EEEO.js');
@@ -82,7 +82,7 @@ async function browserLibraryGeneratorFn(tree, schema, config) {
82
82
  await _devkit.formatFiles.call(void 0, tree);
83
83
  return null;
84
84
  }
85
- var generator_default = _chunkTUX5HNDDjs.withRunGenerator.call(void 0,
85
+ var generator_default = _chunkBC2RE573js.withRunGenerator.call(void 0,
86
86
  "TypeScript Library Creator (Browser Platform)",
87
87
  browserLibraryGeneratorFn,
88
88
  {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  findWorkspaceRoot
3
- } from "./chunk-2C4FZPU6.mjs";
3
+ } from "./chunk-VGJEUOUN.mjs";
4
4
 
5
5
  // ../config-tools/src/utilities/apply-workspace-tokens.ts
6
6
  var applyWorkspaceBaseTokens = async (option, tokenParams) => {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-6LP3KKXE.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-5RWC6WQX.mjs";
7
+ } from "./chunk-LUXZM24C.mjs";
8
8
 
9
9
  // src/executors/cargo-format/executor.ts
10
10
  async function cargoFormatExecutor(options, context) {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  withRunGenerator
3
- } from "./chunk-IYDKU4UX.mjs";
3
+ } from "./chunk-2HVWUI3X.mjs";
4
4
  import {
5
5
  schemaRegistry,
6
6
  workspaceConfigSchema
7
- } from "./chunk-ZERVVKRK.mjs";
7
+ } from "./chunk-Y4TAQWND.mjs";
8
8
  import {
9
9
  writeInfo,
10
10
  writeSuccess,
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-V44DYGWX.mjs";
13
13
  import {
14
14
  findWorkspaceRoot
15
- } from "./chunk-2C4FZPU6.mjs";
15
+ } from "./chunk-VGJEUOUN.mjs";
16
16
 
17
17
  // src/generators/config-schema/generator.ts
18
18
  import { formatFiles, writeJson } from "@nx/devkit";
@@ -1,10 +1,10 @@
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
3
 
4
- var _chunkSFE5PARHjs = require('./chunk-SFE5PARH.js');
4
+ var _chunkLA2KY2TQjs = require('./chunk-LA2KY2TQ.js');
5
5
 
6
6
 
7
- var _chunkPW43JUUTjs = require('./chunk-PW43JUUT.js');
7
+ var _chunkCLVIC3ZCjs = require('./chunk-CLVIC3ZC.js');
8
8
 
9
9
 
10
10
 
@@ -16,7 +16,7 @@ var _chunkPW43JUUTjs = require('./chunk-PW43JUUT.js');
16
16
  var _chunk2CDSXWFAjs = require('./chunk-2CDSXWFA.js');
17
17
 
18
18
 
19
- var _chunkL7U4GRI6js = require('./chunk-L7U4GRI6.js');
19
+ var _chunkIVAHNQZPjs = require('./chunk-IVAHNQZP.js');
20
20
 
21
21
  // src/base/base-generator.ts
22
22
  var withRunGenerator = (name, generatorFn, generatorOptions = {
@@ -29,14 +29,14 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
29
29
  _chunk2CDSXWFAjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
30
30
 
31
31
  `, config);
32
- const workspaceRoot = _chunkL7U4GRI6js.findWorkspaceRoot.call(void 0, );
32
+ const workspaceRoot = _chunkIVAHNQZPjs.findWorkspaceRoot.call(void 0, );
33
33
  if (!generatorOptions.skipReadingConfig) {
34
34
  _chunk2CDSXWFAjs.writeDebug.call(void 0,
35
35
  `Loading the Storm Config from environment variables and storm.config.js file...
36
36
  - workspaceRoot: ${workspaceRoot}`,
37
37
  config
38
38
  );
39
- config = await _chunkPW43JUUTjs.getConfig.call(void 0, workspaceRoot);
39
+ config = await _chunkCLVIC3ZCjs.getConfig.call(void 0, workspaceRoot);
40
40
  }
41
41
  if (_optionalChain([generatorOptions, 'optionalAccess', _ => _.hooks, 'optionalAccess', _2 => _2.applyDefaultOptions])) {
42
42
  _chunk2CDSXWFAjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
@@ -50,10 +50,10 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
50
50
  ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`,
51
51
  config
52
52
  );
53
- const tokenized = await _chunkSFE5PARHjs.applyWorkspaceTokens.call(void 0,
53
+ const tokenized = await _chunkLA2KY2TQjs.applyWorkspaceTokens.call(void 0,
54
54
  options,
55
55
  { workspaceRoot: tree.root, config },
56
- _chunkSFE5PARHjs.applyWorkspaceBaseTokens
56
+ _chunkLA2KY2TQjs.applyWorkspaceBaseTokens
57
57
  );
58
58
  if (_optionalChain([generatorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.preProcess])) {
59
59
  _chunk2CDSXWFAjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-5RWC6WQX.mjs";
3
+ } from "./chunk-LUXZM24C.mjs";
4
4
  import {
5
5
  writeInfo
6
6
  } from "./chunk-V44DYGWX.mjs";
@@ -4,10 +4,10 @@ import {
4
4
  import {
5
5
  getNpmRegistry,
6
6
  getRegistry
7
- } from "./chunk-UCASO3DX.mjs";
7
+ } from "./chunk-WC3QW6X2.mjs";
8
8
  import {
9
9
  findWorkspaceRoot
10
- } from "./chunk-2C4FZPU6.mjs";
10
+ } from "./chunk-VGJEUOUN.mjs";
11
11
  import {
12
12
  joinPaths
13
13
  } from "./chunk-C26A6BXG.mjs";
@@ -22,7 +22,6 @@ import { readFile as readFile2, writeFile as writeFile2 } from "node:fs/promises
22
22
  import { format } from "prettier";
23
23
 
24
24
  // ../pnpm-tools/src/helpers/catalog.ts
25
- import { getWorkspaceConfig } from "packages/config-tools/dist/get-config.cjs";
26
25
  import { coerce, gt, valid } from "semver";
27
26
 
28
27
  // ../pnpm-tools/src/helpers/pnpm-workspace.ts
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-6LP3KKXE.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-5RWC6WQX.mjs";
7
+ } from "./chunk-LUXZM24C.mjs";
8
8
 
9
9
  // src/executors/cargo-build/executor.ts
10
10
  async function cargoBuildExecutor(options, context) {
@@ -8,7 +8,7 @@
8
8
  var _chunk2CDSXWFAjs = require('./chunk-2CDSXWFA.js');
9
9
 
10
10
 
11
- var _chunkL7U4GRI6js = require('./chunk-L7U4GRI6.js');
11
+ var _chunkIVAHNQZPjs = require('./chunk-IVAHNQZP.js');
12
12
 
13
13
 
14
14
 
@@ -609,13 +609,14 @@ var COLOR_KEYS = [
609
609
 
610
610
  // ../config-tools/src/create-storm-config.ts
611
611
  var _defu = require('defu'); var _defu2 = _interopRequireDefault(_defu);
612
+ var _fs = require('fs');
612
613
 
613
614
  // ../config-tools/src/config-file/get-config-file.ts
614
615
  var _c12 = require('c12');
615
616
 
616
617
 
617
618
  // ../config-tools/src/utilities/get-default-config.ts
618
- var _fs = require('fs');
619
+
619
620
  var _promises = require('fs/promises');
620
621
  var _path = require('path');
621
622
  async function getPackageJsonConfig(root) {
@@ -625,7 +626,7 @@ async function getPackageJsonConfig(root) {
625
626
  let name = void 0;
626
627
  let namespace = void 0;
627
628
  let repository = void 0;
628
- const workspaceRoot = _chunkL7U4GRI6js.findWorkspaceRoot.call(void 0, root);
629
+ const workspaceRoot = _chunkIVAHNQZPjs.findWorkspaceRoot.call(void 0, root);
629
630
  if (_fs.existsSync.call(void 0, _path.join.call(void 0, workspaceRoot, "package.json"))) {
630
631
  const file = await _promises.readFile.call(void 0,
631
632
  _chunkG2L3EEEOjs.joinPaths.call(void 0, workspaceRoot, "package.json"),
@@ -703,7 +704,7 @@ function applyDefaultConfig(config) {
703
704
 
704
705
  // ../config-tools/src/config-file/get-config-file.ts
705
706
  var getConfigFileByName = async (fileName, filePath, options = {}) => {
706
- const workspacePath = filePath || _chunkL7U4GRI6js.findWorkspaceRoot.call(void 0, filePath);
707
+ const workspacePath = filePath || _chunkIVAHNQZPjs.findWorkspaceRoot.call(void 0, filePath);
707
708
  const configs = await Promise.all([
708
709
  _c12.loadConfig.call(void 0, {
709
710
  cwd: workspacePath,
@@ -738,7 +739,7 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
738
739
  return _defu2.default.call(void 0, _nullishCoalesce(configs[0], () => ( {})), _nullishCoalesce(configs[1], () => ( {})));
739
740
  };
740
741
  var getConfigFile = async (filePath, additionalFileNames = []) => {
741
- const workspacePath = filePath ? filePath : _chunkL7U4GRI6js.findWorkspaceRoot.call(void 0, filePath);
742
+ const workspacePath = filePath ? filePath : _chunkIVAHNQZPjs.findWorkspaceRoot.call(void 0, filePath);
742
743
  const result = await getConfigFileByName("storm-workspace", workspacePath);
743
744
  let config = result.config;
744
745
  const configFile = result.configFile;
@@ -1366,7 +1367,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
1366
1367
  if (!_optionalChain([_static_cache, 'optionalAccess', _33 => _33.data]) || !_optionalChain([_static_cache, 'optionalAccess', _34 => _34.timestamp]) || _static_cache.timestamp < Date.now() - 8e3) {
1367
1368
  let _workspaceRoot = workspaceRoot;
1368
1369
  if (!_workspaceRoot) {
1369
- _workspaceRoot = _chunkL7U4GRI6js.findWorkspaceRoot.call(void 0, );
1370
+ _workspaceRoot = _chunkIVAHNQZPjs.findWorkspaceRoot.call(void 0, );
1370
1371
  }
1371
1372
  const configEnv = getConfigEnv();
1372
1373
  const configFile = await getConfigFile(_workspaceRoot);
@@ -1387,6 +1388,9 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
1387
1388
  configFile,
1388
1389
  defaultConfig
1389
1390
  );
1391
+ if (!configInput.variant) {
1392
+ configInput.variant = _fs.existsSync.call(void 0, _chunkG2L3EEEOjs.joinPaths.call(void 0, _workspaceRoot, "nx.json")) || _fs.existsSync.call(void 0, _chunkG2L3EEEOjs.joinPaths.call(void 0, _workspaceRoot, ".nx")) || _fs.existsSync.call(void 0, _chunkG2L3EEEOjs.joinPaths.call(void 0, _workspaceRoot, "lerna.json")) || _fs.existsSync.call(void 0, _chunkG2L3EEEOjs.joinPaths.call(void 0, _workspaceRoot, "turbo.json")) ? "monorepo" : "minimal";
1393
+ }
1390
1394
  try {
1391
1395
  result = applyDefaultConfig(
1392
1396
  await workspaceConfigSchema.parseAsync(configInput)
@@ -1457,7 +1461,7 @@ var getConfig = (workspaceRoot, skipLogs = false) => {
1457
1461
  var getWorkspaceConfig = (skipLogs = true, options = {}) => {
1458
1462
  let workspaceRoot = options.workspaceRoot;
1459
1463
  if (!workspaceRoot) {
1460
- workspaceRoot = _chunkL7U4GRI6js.findWorkspaceRoot.call(void 0, options.cwd);
1464
+ workspaceRoot = _chunkIVAHNQZPjs.findWorkspaceRoot.call(void 0, options.cwd);
1461
1465
  }
1462
1466
  return getConfig(workspaceRoot, skipLogs);
1463
1467
  };
@@ -4,14 +4,14 @@
4
4
  var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
5
5
 
6
6
 
7
- var _chunkAEPPOUTZjs = require('./chunk-AEPPOUTZ.js');
7
+ var _chunkLXGJXVCRjs = require('./chunk-LXGJXVCR.js');
8
8
 
9
9
  // src/executors/cargo-check/executor.ts
10
10
  async function cargoCheckExecutor(options, context) {
11
11
  const command = _chunkLJDV7HFTjs.buildCargoCommand.call(void 0, "check", options, context);
12
12
  return await _chunkLJDV7HFTjs.cargoCommand.call(void 0, ...command);
13
13
  }
14
- var executor_default = _chunkAEPPOUTZjs.withRunExecutor.call(void 0,
14
+ var executor_default = _chunkLXGJXVCRjs.withRunExecutor.call(void 0,
15
15
  "Cargo - Check",
16
16
  cargoCheckExecutor,
17
17
  {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  findWorkspaceRoot
3
- } from "./chunk-2C4FZPU6.mjs";
3
+ } from "./chunk-VGJEUOUN.mjs";
4
4
 
5
5
  // src/utils/apply-workspace-tokens.ts
6
6
  var applyWorkspaceExecutorTokens = async (option, tokenizerOptions) => {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  findWorkspaceRoot
3
- } from "./chunk-2C4FZPU6.mjs";
3
+ } from "./chunk-VGJEUOUN.mjs";
4
4
 
5
5
  // src/utils/get-project-configurations.ts
6
6
  import { retrieveProjectConfigurationsWithoutPluginInference } from "nx/src/project-graph/utils/retrieve-workspace-files";
@@ -4,7 +4,7 @@
4
4
  var _chunk4HV5G4DTjs = require('./chunk-4HV5G4DT.js');
5
5
 
6
6
 
7
- var _chunkTUX5HNDDjs = require('./chunk-TUX5HNDD.js');
7
+ var _chunkBC2RE573js = require('./chunk-BC2RE573.js');
8
8
 
9
9
 
10
10
  var _chunkG2L3EEEOjs = require('./chunk-G2L3EEEO.js');
@@ -54,7 +54,7 @@ async function neutralLibraryGeneratorFn(tree, schema, config) {
54
54
  await _devkit.formatFiles.call(void 0, tree);
55
55
  return null;
56
56
  }
57
- var generator_default = _chunkTUX5HNDDjs.withRunGenerator.call(void 0,
57
+ var generator_default = _chunkBC2RE573js.withRunGenerator.call(void 0,
58
58
  "TypeScript Library Creator (Neutral Platform)",
59
59
  neutralLibraryGeneratorFn,
60
60
  {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-QC5ON3X4.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-IYDKU4UX.mjs";
7
+ } from "./chunk-2HVWUI3X.mjs";
8
8
  import {
9
9
  __dirname
10
10
  } from "./chunk-NMQP6WEB.mjs";
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 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 _chunkAEPPOUTZjs = require('./chunk-AEPPOUTZ.js');
3
+ var _chunkLXGJXVCRjs = require('./chunk-LXGJXVCR.js');
4
4
 
5
5
 
6
6
  var _chunk2CDSXWFAjs = require('./chunk-2CDSXWFA.js');
@@ -33,7 +33,7 @@ async function sizeLimitExecutorFn(options, context, config) {
33
33
  success: true
34
34
  };
35
35
  }
36
- var executor_default = _chunkAEPPOUTZjs.withRunExecutor.call(void 0,
36
+ var executor_default = _chunkLXGJXVCRjs.withRunExecutor.call(void 0,
37
37
  "Size-Limit Performance Test Executor",
38
38
  sizeLimitExecutorFn,
39
39
  {
@@ -4,7 +4,7 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkT22M3VGLjs = require('./chunk-T22M3VGL.js');
7
+ var _chunkLAFUQANPjs = require('./chunk-LAFUQANP.js');
8
8
 
9
9
 
10
10
 
@@ -13,7 +13,7 @@ var _chunkT22M3VGLjs = require('./chunk-T22M3VGL.js');
13
13
  var _chunk452FQZ3Bjs = require('./chunk-452FQZ3B.js');
14
14
 
15
15
 
16
- var _chunkPW43JUUTjs = require('./chunk-PW43JUUT.js');
16
+ var _chunkCLVIC3ZCjs = require('./chunk-CLVIC3ZC.js');
17
17
 
18
18
 
19
19
 
@@ -25,7 +25,7 @@ var _chunkPW43JUUTjs = require('./chunk-PW43JUUT.js');
25
25
  var _chunk2CDSXWFAjs = require('./chunk-2CDSXWFA.js');
26
26
 
27
27
 
28
- var _chunkL7U4GRI6js = require('./chunk-L7U4GRI6.js');
28
+ var _chunkIVAHNQZPjs = require('./chunk-IVAHNQZP.js');
29
29
 
30
30
  // src/generators/release-version/generator.ts
31
31
 
@@ -434,13 +434,13 @@ async function releaseVersionGeneratorFn(tree, options, config5) {
434
434
  `, config5);
435
435
  const stopwatch = _chunk2CDSXWFAjs.getStopwatch.call(void 0, "Storm Release Version generator");
436
436
  try {
437
- const workspaceRoot = _chunkL7U4GRI6js.findWorkspaceRoot.call(void 0, );
437
+ const workspaceRoot = _chunkIVAHNQZPjs.findWorkspaceRoot.call(void 0, );
438
438
  _chunk2CDSXWFAjs.writeDebug.call(void 0,
439
439
  `Loading the Storm Config from environment variables and storm.config.js file...
440
440
  - workspaceRoot: ${workspaceRoot}`,
441
441
  config5
442
442
  );
443
- config5 = await _chunkPW43JUUTjs.getConfig.call(void 0, workspaceRoot);
443
+ config5 = await _chunkCLVIC3ZCjs.getConfig.call(void 0, workspaceRoot);
444
444
  _chunk2CDSXWFAjs.writeTrace.call(void 0,
445
445
  `Generator schema options \u2699\uFE0F
446
446
  ${Object.keys(_nullishCoalesce(options, () => ( {}))).filter(
@@ -476,7 +476,7 @@ Valid values are: ${_versionlegacy.validReleaseVersionPrefixes.map((s) => `"${s}
476
476
  const projects = options.projects;
477
477
  const createResolvePackageRoot = (customPackageRoot) => (projectNode) => {
478
478
  if (_optionalChain([projectNode, 'optionalAccess', _6 => _6.data, 'optionalAccess', _7 => _7.root]) === _optionalChain([config5, 'optionalAccess', _8 => _8.workspaceRoot]) || _optionalChain([projectNode, 'optionalAccess', _9 => _9.data, 'optionalAccess', _10 => _10.root]) === ".") {
479
- return _nullishCoalesce(_optionalChain([config5, 'optionalAccess', _11 => _11.workspaceRoot]), () => ( _chunkL7U4GRI6js.findWorkspaceRoot.call(void 0, )));
479
+ return _nullishCoalesce(_optionalChain([config5, 'optionalAccess', _11 => _11.workspaceRoot]), () => ( _chunkIVAHNQZPjs.findWorkspaceRoot.call(void 0, )));
480
480
  }
481
481
  if (!customPackageRoot) {
482
482
  return projectNode.data.root;
@@ -518,7 +518,7 @@ To fix this you will either need to add a package.json or Cargo.toml file at tha
518
518
  );
519
519
  }
520
520
  const workspaceRelativePackagePath = _path.relative.call(void 0,
521
- _nullishCoalesce(_optionalChain([config5, 'optionalAccess', _12 => _12.workspaceRoot]), () => ( _chunkL7U4GRI6js.findWorkspaceRoot.call(void 0, ))),
521
+ _nullishCoalesce(_optionalChain([config5, 'optionalAccess', _12 => _12.workspaceRoot]), () => ( _chunkIVAHNQZPjs.findWorkspaceRoot.call(void 0, ))),
522
522
  tree.exists(packageJsonPath) ? packageJsonPath : cargoTomlPath
523
523
  );
524
524
  const log = (msg) => {
@@ -556,19 +556,19 @@ To fix this you will either need to add a package.json or Cargo.toml file at tha
556
556
  switch (options.currentVersionResolver) {
557
557
  case "registry": {
558
558
  const metadata = _nullishCoalesce(options.currentVersionResolverMetadata, () => ( {}));
559
- const tag = _nullishCoalesce(metadata.tag, () => ( _chunkT22M3VGLjs.DEFAULT_NPM_TAG));
560
- const registry = await _asyncNullishCoalesce(metadata.registry, async () => ( await _chunkT22M3VGLjs.getRegistry.call(void 0, )));
561
- const npmRegistry = await _chunkT22M3VGLjs.getNpmRegistry.call(void 0, );
562
- const githubRegistry = await _chunkT22M3VGLjs.getGitHubRegistry.call(void 0, );
559
+ const tag = _nullishCoalesce(metadata.tag, () => ( _chunkLAFUQANPjs.DEFAULT_NPM_TAG));
560
+ const registry = await _asyncNullishCoalesce(metadata.registry, async () => ( await _chunkLAFUQANPjs.getRegistry.call(void 0, )));
561
+ const npmRegistry = await _chunkLAFUQANPjs.getNpmRegistry.call(void 0, );
562
+ const githubRegistry = await _chunkLAFUQANPjs.getGitHubRegistry.call(void 0, );
563
563
  if (options.releaseGroup.projectsRelationship === "independent") {
564
564
  try {
565
- currentVersion = await _chunkT22M3VGLjs.getVersion.call(void 0, packageName, tag, { registry });
565
+ currentVersion = await _chunkLAFUQANPjs.getVersion.call(void 0, packageName, tag, { registry });
566
566
  if (!currentVersion) {
567
- currentVersion = await _chunkT22M3VGLjs.getVersion.call(void 0, packageName, tag, {
567
+ currentVersion = await _chunkLAFUQANPjs.getVersion.call(void 0, packageName, tag, {
568
568
  registry: npmRegistry
569
569
  });
570
570
  if (!currentVersion) {
571
- currentVersion = await _chunkT22M3VGLjs.getVersion.call(void 0, packageName, tag, {
571
+ currentVersion = await _chunkLAFUQANPjs.getVersion.call(void 0, packageName, tag, {
572
572
  registry: githubRegistry
573
573
  });
574
574
  }
@@ -578,7 +578,7 @@ To fix this you will either need to add a package.json or Cargo.toml file at tha
578
578
  );
579
579
  } catch (e) {
580
580
  try {
581
- currentVersion = await _chunkT22M3VGLjs.getVersion.call(void 0, packageName, tag, {
581
+ currentVersion = await _chunkLAFUQANPjs.getVersion.call(void 0, packageName, tag, {
582
582
  registry: githubRegistry
583
583
  });
584
584
  log(
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-QC5ON3X4.mjs";
8
8
  import {
9
9
  withRunGenerator
10
- } from "./chunk-IYDKU4UX.mjs";
10
+ } from "./chunk-2HVWUI3X.mjs";
11
11
  import {
12
12
  joinPaths
13
13
  } from "./chunk-C26A6BXG.mjs";
@@ -64,6 +64,7 @@ var rootFiles = [
64
64
  var rootDirectories = [
65
65
  ".storm-workspace",
66
66
  ".nx",
67
+ ".git",
67
68
  ".github",
68
69
  ".vscode",
69
70
  ".verdaccio"
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-5RWC6WQX.mjs";
3
+ } from "./chunk-LUXZM24C.mjs";
4
4
  import {
5
5
  writeInfo
6
6
  } from "./chunk-V44DYGWX.mjs";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-5RWC6WQX.mjs";
3
+ } from "./chunk-LUXZM24C.mjs";
4
4
  import {
5
5
  getWorkspaceConfig
6
- } from "./chunk-ZERVVKRK.mjs";
6
+ } from "./chunk-Y4TAQWND.mjs";
7
7
  import {
8
8
  formatLogMessage,
9
9
  getStopwatch,
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-V44DYGWX.mjs";
18
18
  import {
19
19
  findWorkspaceRoot
20
- } from "./chunk-2C4FZPU6.mjs";
20
+ } from "./chunk-VGJEUOUN.mjs";
21
21
  import {
22
22
  joinPaths
23
23
  } from "./chunk-C26A6BXG.mjs";
@@ -1,6 +1,6 @@
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 _chunkL7U4GRI6js = require('./chunk-L7U4GRI6.js');
3
+ var _chunkIVAHNQZPjs = require('./chunk-IVAHNQZP.js');
4
4
 
5
5
  // src/utils/apply-workspace-tokens.ts
6
6
  var applyWorkspaceExecutorTokens = async (option, tokenizerOptions) => {
@@ -51,7 +51,7 @@ var applyWorkspaceExecutorTokens = async (option, tokenizerOptions) => {
51
51
  if (result.includes("{workspaceRoot}")) {
52
52
  result = result.replaceAll(
53
53
  "{workspaceRoot}",
54
- _nullishCoalesce(tokenizerOptions.workspaceRoot, () => ( _chunkL7U4GRI6js.findWorkspaceRoot.call(void 0, )))
54
+ _nullishCoalesce(tokenizerOptions.workspaceRoot, () => ( _chunkIVAHNQZPjs.findWorkspaceRoot.call(void 0, )))
55
55
  );
56
56
  }
57
57
  return result;