@storm-software/workspace-tools 1.240.2 → 1.240.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.
Files changed (144) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/README.md +1 -1
  3. package/dist/chunk-2AUNU6UA.mjs +32 -0
  4. package/dist/{chunk-WPMFZECR.js → chunk-2GRVQNW3.js} +3 -3
  5. package/dist/{chunk-HCEVPME2.js → chunk-2HD75CLD.js} +11 -11
  6. package/dist/{chunk-QLOTS3MH.mjs → chunk-3SP4ZXOA.mjs} +2 -2
  7. package/dist/{chunk-M47JATRY.mjs → chunk-4BEERAL7.mjs} +4 -4
  8. package/dist/{chunk-XSRDTQ5C.mjs → chunk-5AQJQ72E.mjs} +4 -4
  9. package/dist/{chunk-ZPWY4RXH.js → chunk-5DAZ2WTI.js} +2 -2
  10. package/dist/{chunk-WGNNLNSH.mjs → chunk-5XF4CY7D.mjs} +1 -1
  11. package/dist/{chunk-6TSAUSG4.mjs → chunk-6N67WSX5.mjs} +1 -1
  12. package/dist/{chunk-XS73BPQS.js → chunk-6QSFQS3X.js} +2 -2
  13. package/dist/{chunk-BJAK7EVK.js → chunk-7GKIVRFH.js} +6 -6
  14. package/dist/{chunk-5FEFILUQ.mjs → chunk-7PLUDZNP.mjs} +2 -2
  15. package/dist/{chunk-NYX3ICKR.mjs → chunk-7Q66XSCS.mjs} +2 -2
  16. package/dist/{chunk-RN4QXP7F.js → chunk-B6PUPX6O.js} +27 -27
  17. package/dist/{chunk-XCSSYTCU.js → chunk-BUXJSVJG.js} +11 -5
  18. package/dist/{chunk-M4PPRKPX.mjs → chunk-CFRPLVEU.mjs} +2 -2
  19. package/dist/{chunk-FFBZYD6R.mjs → chunk-CLBFXZQ5.mjs} +1 -1
  20. package/dist/{chunk-PB6J3FU7.js → chunk-D2ECVPJF.js} +2 -2
  21. package/dist/{chunk-TYAPQ46X.js → chunk-EDVXB4EP.js} +28 -20
  22. package/dist/{chunk-Y7RQKDIF.js → chunk-EFPBJWHS.js} +5 -5
  23. package/dist/{chunk-Y5SXJ6IC.mjs → chunk-EUCOXCI2.mjs} +3 -3
  24. package/dist/{chunk-JKJK4ONU.mjs → chunk-GJ6DN3BR.mjs} +3 -3
  25. package/dist/{chunk-33S3ENYB.mjs → chunk-GMC262MH.mjs} +4 -4
  26. package/dist/{chunk-3LJCHADS.js → chunk-GYGIXXAL.js} +5 -5
  27. package/dist/{chunk-NWSV2EYZ.js → chunk-HONSACRT.js} +2 -2
  28. package/dist/{chunk-AJ7WQHX5.mjs → chunk-HXU5ZXAJ.mjs} +1 -1
  29. package/dist/{chunk-CRMDACYF.js → chunk-IBHLVELV.js} +25 -25
  30. package/dist/{chunk-MQAKNE4X.js → chunk-IF2GIONQ.js} +5 -5
  31. package/dist/{chunk-I5N7XQEK.mjs → chunk-IUV3RLT4.mjs} +1 -1
  32. package/dist/{chunk-6NSTM255.js → chunk-JARU6ZVH.js} +41 -41
  33. package/dist/{chunk-2VV3TV3C.js → chunk-JOJ3CZQC.js} +5 -5
  34. package/dist/{chunk-2BQA54CQ.mjs → chunk-K62HB3IT.mjs} +1 -1
  35. package/dist/{chunk-4AOGBZNI.js → chunk-K7QVZAWD.js} +2 -2
  36. package/dist/{chunk-EGBJI6CN.js → chunk-KLHTXAIU.js} +20 -20
  37. package/dist/{chunk-RRQ7WHLD.mjs → chunk-KWIXQ4UN.mjs} +3 -3
  38. package/dist/{chunk-6WRRTV43.js → chunk-L5FYEAAP.js} +62 -62
  39. package/dist/{chunk-762D6XMQ.mjs → chunk-LNDWWYO3.mjs} +2 -2
  40. package/dist/chunk-LUQIF4A3.mjs +73 -0
  41. package/dist/{chunk-MFWYLIWY.mjs → chunk-LYUV4LMB.mjs} +2 -2
  42. package/dist/{chunk-MZ6IF3DO.js → chunk-MMMTLP2W.js} +5 -5
  43. package/dist/{chunk-XID4OBY2.mjs → chunk-N7VQR5KC.mjs} +25 -17
  44. package/dist/{chunk-F7QTSVDJ.mjs → chunk-NJ2QOT34.mjs} +1 -1
  45. package/dist/{chunk-PY52QA2R.js → chunk-PK2SUBWI.js} +7 -7
  46. package/dist/{chunk-FOYWFRVO.mjs → chunk-Q45DDLNL.mjs} +2 -2
  47. package/dist/{chunk-YVJY3MXR.js → chunk-QSLN7UYG.js} +2 -2
  48. package/dist/{chunk-BWFTYFWM.js → chunk-RFO5NMSB.js} +2 -2
  49. package/dist/{chunk-4ZKSU75O.js → chunk-RRWRVA7F.js} +15 -15
  50. package/dist/{chunk-2JLHVV5S.js → chunk-RSILHGEU.js} +21 -21
  51. package/dist/{chunk-SBHOAJIT.js → chunk-RTFFYOEY.js} +5 -5
  52. package/dist/{chunk-JXMDPU4I.mjs → chunk-SNFZL5BN.mjs} +3 -3
  53. package/dist/{chunk-SC3ANGC5.mjs → chunk-T342MIBF.mjs} +3 -3
  54. package/dist/{chunk-7HUOKMPU.mjs → chunk-TGDWEUKX.mjs} +1 -1
  55. package/dist/{chunk-JE4JY3YS.mjs → chunk-U4K5KWKS.mjs} +2 -2
  56. package/dist/{chunk-5MKQX2FE.js → chunk-U6TLQT5H.js} +3 -3
  57. package/dist/chunk-UF6KFXG5.js +73 -0
  58. package/dist/{chunk-BFKQCOQJ.mjs → chunk-UI3SQYV3.mjs} +1 -1
  59. package/dist/{chunk-FBLF4KJF.js → chunk-XHH2IY66.js} +15 -15
  60. package/dist/{chunk-RXH7O5YP.mjs → chunk-XIOF32ZH.mjs} +1 -1
  61. package/dist/{chunk-APBDTIK2.js → chunk-YSYBVJGR.js} +2 -2
  62. package/dist/{chunk-SGSMEZWT.js → chunk-YWKUJJ34.js} +2 -2
  63. package/dist/{chunk-HO2DSAZ2.mjs → chunk-ZERO7WV2.mjs} +1 -1
  64. package/dist/{chunk-DMUTOQCB.mjs → chunk-ZOFW74B2.mjs} +1 -1
  65. package/dist/executors.js +19 -19
  66. package/dist/executors.mjs +18 -18
  67. package/dist/generators.js +15 -15
  68. package/dist/generators.mjs +16 -16
  69. package/dist/index.d.mts +2 -1
  70. package/dist/index.d.ts +2 -1
  71. package/dist/index.js +44 -34
  72. package/dist/index.mjs +53 -43
  73. package/dist/src/base/base-executor.js +6 -6
  74. package/dist/src/base/base-executor.mjs +5 -5
  75. package/dist/src/base/base-generator.js +6 -6
  76. package/dist/src/base/base-generator.mjs +5 -5
  77. package/dist/src/base/index.js +9 -9
  78. package/dist/src/base/index.mjs +8 -8
  79. package/dist/src/executors/cargo-build/executor.js +7 -7
  80. package/dist/src/executors/cargo-build/executor.mjs +6 -6
  81. package/dist/src/executors/cargo-check/executor.js +7 -7
  82. package/dist/src/executors/cargo-check/executor.mjs +6 -6
  83. package/dist/src/executors/cargo-clippy/executor.js +7 -7
  84. package/dist/src/executors/cargo-clippy/executor.mjs +6 -6
  85. package/dist/src/executors/cargo-doc/executor.js +7 -7
  86. package/dist/src/executors/cargo-doc/executor.mjs +6 -6
  87. package/dist/src/executors/cargo-format/executor.js +7 -7
  88. package/dist/src/executors/cargo-format/executor.mjs +6 -6
  89. package/dist/src/executors/clean-package/executor.js +9 -9
  90. package/dist/src/executors/clean-package/executor.mjs +5 -5
  91. package/dist/src/executors/esbuild/executor.js +8 -8
  92. package/dist/src/executors/esbuild/executor.mjs +7 -7
  93. package/dist/src/executors/npm-publish/executor.js +4 -4
  94. package/dist/src/executors/npm-publish/executor.mjs +3 -3
  95. package/dist/src/executors/size-limit/executor.js +7 -7
  96. package/dist/src/executors/size-limit/executor.mjs +6 -6
  97. package/dist/src/executors/tsdown/executor.js +8 -8
  98. package/dist/src/executors/tsdown/executor.mjs +7 -7
  99. package/dist/src/executors/typia/executor.js +7 -7
  100. package/dist/src/executors/typia/executor.mjs +6 -6
  101. package/dist/src/executors/unbuild/executor.js +7 -7
  102. package/dist/src/executors/unbuild/executor.mjs +6 -6
  103. package/dist/src/generators/browser-library/generator.js +9 -9
  104. package/dist/src/generators/browser-library/generator.mjs +8 -8
  105. package/dist/src/generators/config-schema/generator.js +7 -7
  106. package/dist/src/generators/config-schema/generator.mjs +6 -6
  107. package/dist/src/generators/neutral-library/generator.js +9 -9
  108. package/dist/src/generators/neutral-library/generator.mjs +8 -8
  109. package/dist/src/generators/node-library/generator.js +9 -9
  110. package/dist/src/generators/node-library/generator.mjs +8 -8
  111. package/dist/src/generators/preset/generator.js +7 -7
  112. package/dist/src/generators/preset/generator.mjs +6 -6
  113. package/dist/src/generators/release-version/generator.js +5 -5
  114. package/dist/src/generators/release-version/generator.mjs +4 -4
  115. package/dist/src/plugins/typescript/index.js +3 -2
  116. package/dist/src/plugins/typescript/index.mjs +2 -1
  117. package/dist/src/plugins/typescript/project-config.js +3 -2
  118. package/dist/src/plugins/typescript/project-config.mjs +2 -1
  119. package/dist/src/plugins/typescript/tsdown.js +9 -2
  120. package/dist/src/plugins/typescript/tsdown.mjs +9 -2
  121. package/dist/src/plugins/typescript/tsup.js +9 -2
  122. package/dist/src/plugins/typescript/tsup.mjs +9 -2
  123. package/dist/src/utils/apply-workspace-tokens.js +4 -4
  124. package/dist/src/utils/apply-workspace-tokens.mjs +3 -3
  125. package/dist/src/utils/get-project-configurations.js +4 -4
  126. package/dist/src/utils/get-project-configurations.mjs +3 -3
  127. package/dist/src/utils/index.d.mts +2 -1
  128. package/dist/src/utils/index.d.ts +2 -1
  129. package/dist/src/utils/index.js +20 -10
  130. package/dist/src/utils/index.mjs +27 -17
  131. package/dist/src/utils/lock-file.d.mts +1 -1
  132. package/dist/src/utils/lock-file.d.ts +1 -1
  133. package/dist/src/utils/lock-file.js +2 -2
  134. package/dist/src/utils/lock-file.mjs +1 -1
  135. package/dist/src/utils/plugin-helpers.d.mts +9 -0
  136. package/dist/src/utils/plugin-helpers.d.ts +9 -0
  137. package/dist/src/utils/plugin-helpers.js +14 -0
  138. package/dist/src/utils/plugin-helpers.mjs +14 -0
  139. package/dist/src/utils/pnpm-deps-update.js +3 -3
  140. package/dist/src/utils/pnpm-deps-update.mjs +2 -2
  141. package/package.json +2 -7
  142. package/dist/chunk-PVTEDLBL.mjs +0 -26
  143. /package/dist/{chunk-JGP4YWZY.js → chunk-DO2X7OZO.js} +0 -0
  144. /package/dist/{chunk-6YZ3OUJB.mjs → chunk-XCVH63OO.mjs} +0 -0
@@ -1,13 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
3
 
4
- var _chunkFBLF4KJFjs = require('./chunk-FBLF4KJF.js');
4
+ var _chunkXHH2IY66js = require('./chunk-XHH2IY66.js');
5
5
 
6
6
 
7
7
  var _chunkHI4G4OOGjs = require('./chunk-HI4G4OOG.js');
8
8
 
9
9
 
10
- var _chunkEGBJI6CNjs = require('./chunk-EGBJI6CN.js');
10
+ var _chunkKLHTXAIUjs = require('./chunk-KLHTXAIU.js');
11
11
 
12
12
 
13
13
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -26,7 +26,7 @@ async function nodeLibraryGeneratorFn(tree, schema, config) {
26
26
  directory: schema.directory,
27
27
  description: schema.description
28
28
  };
29
- const options = await _chunkFBLF4KJFjs.normalizeOptions.call(void 0, tree, tsLibraryGeneratorOptions);
29
+ const options = await _chunkXHH2IY66js.normalizeOptions.call(void 0, tree, tsLibraryGeneratorOptions);
30
30
  const { className, name, propertyName } = _devkit.names.call(void 0, options.name);
31
31
  _devkit.generateFiles.call(void 0, tree, filesDir, options.projectRoot, {
32
32
  ...schema,
@@ -44,12 +44,12 @@ async function nodeLibraryGeneratorFn(tree, schema, config) {
44
44
  buildable: options.bundler && options.bundler !== "none",
45
45
  hasUnitTestRunner: options.unitTestRunner !== "none"
46
46
  });
47
- await _chunkFBLF4KJFjs.typeScriptLibraryGeneratorFn.call(void 0, tree, tsLibraryGeneratorOptions, config);
47
+ await _chunkXHH2IY66js.typeScriptLibraryGeneratorFn.call(void 0, tree, tsLibraryGeneratorOptions, config);
48
48
  await _devkit.formatFiles.call(void 0, tree);
49
49
  return null;
50
50
  }
51
51
  _chunk3GQAWCBQjs.__name.call(void 0, nodeLibraryGeneratorFn, "nodeLibraryGeneratorFn");
52
- var generator_default = _chunkEGBJI6CNjs.withRunGenerator.call(void 0, "TypeScript Library Creator (NodeJs Platform)", nodeLibraryGeneratorFn, {
52
+ var generator_default = _chunkKLHTXAIUjs.withRunGenerator.call(void 0, "TypeScript Library Creator (NodeJs Platform)", nodeLibraryGeneratorFn, {
53
53
  hooks: {
54
54
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
55
55
  options.description ??= "A library used by Storm Software to support NodeJs applications";
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  writeDebug,
3
3
  writeTrace
4
- } from "./chunk-NYX3ICKR.mjs";
4
+ } from "./chunk-7Q66XSCS.mjs";
5
5
  import {
6
6
  findWorkspaceRoot
7
- } from "./chunk-DMUTOQCB.mjs";
7
+ } from "./chunk-ZOFW74B2.mjs";
8
8
  import {
9
9
  correctPaths,
10
10
  joinPaths
11
- } from "./chunk-PVTEDLBL.mjs";
11
+ } from "./chunk-2AUNU6UA.mjs";
12
12
  import {
13
13
  __name
14
14
  } from "./chunk-XUV4U54K.mjs";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  applyWorkspaceProjectTokens,
3
3
  applyWorkspaceTokens
4
- } from "./chunk-2BQA54CQ.mjs";
4
+ } from "./chunk-K62HB3IT.mjs";
5
5
  import {
6
6
  formatLogMessage,
7
7
  getConfig,
@@ -12,10 +12,10 @@ import {
12
12
  writeInfo,
13
13
  writeSuccess,
14
14
  writeTrace
15
- } from "./chunk-NYX3ICKR.mjs";
15
+ } from "./chunk-7Q66XSCS.mjs";
16
16
  import {
17
17
  findWorkspaceRoot
18
- } from "./chunk-DMUTOQCB.mjs";
18
+ } from "./chunk-ZOFW74B2.mjs";
19
19
  import {
20
20
  __name
21
21
  } from "./chunk-XUV4U54K.mjs";
@@ -8,10 +8,10 @@ import {
8
8
  getEntryPoints,
9
9
  getEnv,
10
10
  getOutExtension
11
- } from "./chunk-Y5SXJ6IC.mjs";
11
+ } from "./chunk-EUCOXCI2.mjs";
12
12
  import {
13
13
  withRunExecutor
14
- } from "./chunk-JKJK4ONU.mjs";
14
+ } from "./chunk-GJ6DN3BR.mjs";
15
15
  import {
16
16
  getConfig,
17
17
  getStopwatch,
@@ -23,10 +23,10 @@ import {
23
23
  writeSuccess,
24
24
  writeTrace,
25
25
  writeWarning
26
- } from "./chunk-NYX3ICKR.mjs";
26
+ } from "./chunk-7Q66XSCS.mjs";
27
27
  import {
28
28
  joinPaths
29
- } from "./chunk-PVTEDLBL.mjs";
29
+ } from "./chunk-2AUNU6UA.mjs";
30
30
  import {
31
31
  __dirname,
32
32
  __name,
@@ -1,9 +1,9 @@
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 _chunkCRMDACYFjs = require('./chunk-CRMDACYF.js');
3
+ var _chunkIBHLVELVjs = require('./chunk-IBHLVELV.js');
4
4
 
5
5
 
6
- var _chunkRN4QXP7Fjs = require('./chunk-RN4QXP7F.js');
6
+ var _chunkB6PUPX6Ojs = require('./chunk-B6PUPX6O.js');
7
7
 
8
8
 
9
9
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -18,7 +18,7 @@ async function sizeLimitExecutorFn(options, context, config) {
18
18
  if (!_optionalChain([context, 'optionalAccess', _ => _.projectName]) || !_optionalChain([context, 'access', _2 => _2.projectsConfigurations, 'optionalAccess', _3 => _3.projects]) || !context.projectsConfigurations.projects[context.projectName]) {
19
19
  throw new Error("The Size-Limit process failed because the context is not valid. Please run this command from a workspace.");
20
20
  }
21
- _chunkRN4QXP7Fjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
21
+ _chunkB6PUPX6Ojs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
22
22
  _sizelimit2.default.call(void 0, [
23
23
  _file2.default,
24
24
  _esbuild2.default,
@@ -26,14 +26,14 @@ async function sizeLimitExecutorFn(options, context, config) {
26
26
  ], {
27
27
  checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context, 'access', _4 => _4.projectsConfigurations, 'access', _5 => _5.projects, 'access', _6 => _6[context.projectName], 'optionalAccess', _7 => _7.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0, _nullishCoalesce(_optionalChain([context, 'access', _8 => _8.projectsConfigurations, 'access', _9 => _9.projects, 'access', _10 => _10[context.projectName], 'optionalAccess', _11 => _11.root]), () => ( "./")), "src")))
28
28
  }).then((result) => {
29
- _chunkRN4QXP7Fjs.writeInfo.call(void 0, `\u{1F4CF} ${context.projectName} Size-Limit result: ${JSON.stringify(result)}`, config);
29
+ _chunkB6PUPX6Ojs.writeInfo.call(void 0, `\u{1F4CF} ${context.projectName} Size-Limit result: ${JSON.stringify(result)}`, config);
30
30
  });
31
31
  return {
32
32
  success: true
33
33
  };
34
34
  }
35
35
  _chunk3GQAWCBQjs.__name.call(void 0, sizeLimitExecutorFn, "sizeLimitExecutorFn");
36
- var executor_default = _chunkCRMDACYFjs.withRunExecutor.call(void 0, "Size-Limit Performance Test Executor", sizeLimitExecutorFn, {
36
+ var executor_default = _chunkIBHLVELVjs.withRunExecutor.call(void 0, "Size-Limit Performance Test Executor", sizeLimitExecutorFn, {
37
37
  skipReadingConfig: false,
38
38
  hooks: {
39
39
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -4,7 +4,7 @@
4
4
  var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkCRMDACYFjs = require('./chunk-CRMDACYF.js');
7
+ var _chunkIBHLVELVjs = require('./chunk-IBHLVELV.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -15,7 +15,7 @@ async function cargoCheckExecutor(options, context) {
15
15
  return await _chunkULBTYC2Bjs.cargoCommand.call(void 0, ...command);
16
16
  }
17
17
  _chunk3GQAWCBQjs.__name.call(void 0, cargoCheckExecutor, "cargoCheckExecutor");
18
- var executor_default = _chunkCRMDACYFjs.withRunExecutor.call(void 0, "Cargo Check", cargoCheckExecutor, {
18
+ var executor_default = _chunkIBHLVELVjs.withRunExecutor.call(void 0, "Cargo Check", cargoCheckExecutor, {
19
19
  skipReadingConfig: false,
20
20
  hooks: {
21
21
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-QZHIWK5Z.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-JKJK4ONU.mjs";
7
+ } from "./chunk-GJ6DN3BR.mjs";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-XUV4U54K.mjs";
@@ -1,7 +1,7 @@
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 _chunkXS73BPQSjs = require('./chunk-XS73BPQS.js');
4
+ var _chunk6QSFQS3Xjs = require('./chunk-6QSFQS3X.js');
5
5
 
6
6
 
7
7
 
@@ -12,10 +12,10 @@ var _chunkXS73BPQSjs = require('./chunk-XS73BPQS.js');
12
12
 
13
13
 
14
14
 
15
- var _chunkRN4QXP7Fjs = require('./chunk-RN4QXP7F.js');
15
+ var _chunkB6PUPX6Ojs = require('./chunk-B6PUPX6O.js');
16
16
 
17
17
 
18
- var _chunk5MKQX2FEjs = require('./chunk-5MKQX2FE.js');
18
+ var _chunkU6TLQT5Hjs = require('./chunk-U6TLQT5H.js');
19
19
 
20
20
 
21
21
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -23,52 +23,52 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
23
23
  // src/base/base-executor.ts
24
24
  var _defu = require('defu');
25
25
  var withRunExecutor = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (name, executorFn, executorOptions = {}) => async (_options, context) => {
26
- const stopwatch = _chunkRN4QXP7Fjs.getStopwatch.call(void 0, name);
26
+ const stopwatch = _chunkB6PUPX6Ojs.getStopwatch.call(void 0, name);
27
27
  let options = _options;
28
28
  let config = {};
29
29
  try {
30
30
  if (!_optionalChain([context, 'access', _ => _.projectsConfigurations, 'optionalAccess', _2 => _2.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
31
31
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
32
32
  }
33
- const workspaceRoot = _chunk5MKQX2FEjs.findWorkspaceRoot.call(void 0, );
33
+ const workspaceRoot = _chunkU6TLQT5Hjs.findWorkspaceRoot.call(void 0, );
34
34
  const projectRoot = context.projectsConfigurations.projects[context.projectName].root || workspaceRoot;
35
35
  const sourceRoot = context.projectsConfigurations.projects[context.projectName].sourceRoot || projectRoot || workspaceRoot;
36
36
  const projectName = context.projectName;
37
37
  config.workspaceRoot = workspaceRoot;
38
- _chunkRN4QXP7Fjs.writeInfo.call(void 0, `
38
+ _chunkB6PUPX6Ojs.writeInfo.call(void 0, `
39
39
  \u26A1 Running the ${name} executor for ${projectName}
40
40
  `, config);
41
41
  if (!executorOptions.skipReadingConfig) {
42
- _chunkRN4QXP7Fjs.writeTrace.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
42
+ _chunkB6PUPX6Ojs.writeTrace.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
43
43
  - workspaceRoot: ${workspaceRoot}
44
44
  - projectRoot: ${projectRoot}
45
45
  - sourceRoot: ${sourceRoot}
46
46
  - projectName: ${projectName}
47
47
  `, config);
48
- config = await _chunkRN4QXP7Fjs.getConfig.call(void 0, workspaceRoot);
48
+ config = await _chunkB6PUPX6Ojs.getConfig.call(void 0, workspaceRoot);
49
49
  }
50
50
  if (_optionalChain([executorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.applyDefaultOptions])) {
51
- _chunkRN4QXP7Fjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
51
+ _chunkB6PUPX6Ojs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
52
52
  options = await Promise.resolve(executorOptions.hooks.applyDefaultOptions(options, config));
53
- _chunkRN4QXP7Fjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
53
+ _chunkB6PUPX6Ojs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
54
54
  }
55
- _chunkRN4QXP7Fjs.writeTrace.call(void 0, `Executor schema options \u2699\uFE0F
56
- ${_chunkRN4QXP7Fjs.formatLogMessage.call(void 0, options)}
55
+ _chunkB6PUPX6Ojs.writeTrace.call(void 0, `Executor schema options \u2699\uFE0F
56
+ ${_chunkB6PUPX6Ojs.formatLogMessage.call(void 0, options)}
57
57
  `, config);
58
- const tokenized = await _chunkXS73BPQSjs.applyWorkspaceTokens.call(void 0, options, _defu.defu.call(void 0, {
58
+ const tokenized = await _chunk6QSFQS3Xjs.applyWorkspaceTokens.call(void 0, options, _defu.defu.call(void 0, {
59
59
  workspaceRoot,
60
60
  projectRoot,
61
61
  sourceRoot,
62
62
  projectName,
63
63
  config
64
- }, config, context.projectsConfigurations.projects[context.projectName]), _chunkXS73BPQSjs.applyWorkspaceProjectTokens);
65
- _chunkRN4QXP7Fjs.writeTrace.call(void 0, `Executor schema tokenized options \u2699\uFE0F
66
- ${_chunkRN4QXP7Fjs.formatLogMessage.call(void 0, tokenized)}
64
+ }, config, context.projectsConfigurations.projects[context.projectName]), _chunk6QSFQS3Xjs.applyWorkspaceProjectTokens);
65
+ _chunkB6PUPX6Ojs.writeTrace.call(void 0, `Executor schema tokenized options \u2699\uFE0F
66
+ ${_chunkB6PUPX6Ojs.formatLogMessage.call(void 0, tokenized)}
67
67
  `, config);
68
68
  if (_optionalChain([executorOptions, 'optionalAccess', _5 => _5.hooks, 'optionalAccess', _6 => _6.preProcess])) {
69
- _chunkRN4QXP7Fjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
69
+ _chunkB6PUPX6Ojs.writeDebug.call(void 0, "Running the preProcess hook...", config);
70
70
  await Promise.resolve(executorOptions.hooks.preProcess(tokenized, config));
71
- _chunkRN4QXP7Fjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
71
+ _chunkB6PUPX6Ojs.writeDebug.call(void 0, "Completed the preProcess hook", config);
72
72
  }
73
73
  const ret = executorFn(tokenized, context, config);
74
74
  if (_isFunction(_optionalChain([ret, 'optionalAccess', _7 => _7.next]))) {
@@ -78,26 +78,26 @@ ${_chunkRN4QXP7Fjs.formatLogMessage.call(void 0, tokenized)}
78
78
  }
79
79
  const result = await Promise.resolve(ret);
80
80
  if (result && (!result.success || result.error && _optionalChain([result, 'optionalAccess', _8 => _8.error, 'optionalAccess', _9 => _9.message]) && typeof _optionalChain([result, 'optionalAccess', _10 => _10.error, 'optionalAccess', _11 => _11.message]) === "string" && _optionalChain([result, 'optionalAccess', _12 => _12.error, 'optionalAccess', _13 => _13.name]) && typeof _optionalChain([result, 'optionalAccess', _14 => _14.error, 'optionalAccess', _15 => _15.name]) === "string")) {
81
- _chunkRN4QXP7Fjs.writeTrace.call(void 0, `Failure determined by the ${name} executor
82
- ${_chunkRN4QXP7Fjs.formatLogMessage.call(void 0, result)}`, config);
81
+ _chunkB6PUPX6Ojs.writeTrace.call(void 0, `Failure determined by the ${name} executor
82
+ ${_chunkB6PUPX6Ojs.formatLogMessage.call(void 0, result)}`, config);
83
83
  console.error(result);
84
84
  throw new Error(`The ${name} executor failed to run`, {
85
85
  cause: _optionalChain([result, 'optionalAccess', _16 => _16.error])
86
86
  });
87
87
  }
88
88
  if (_optionalChain([executorOptions, 'optionalAccess', _17 => _17.hooks, 'optionalAccess', _18 => _18.postProcess])) {
89
- _chunkRN4QXP7Fjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
89
+ _chunkB6PUPX6Ojs.writeDebug.call(void 0, "Running the postProcess hook...", config);
90
90
  await Promise.resolve(executorOptions.hooks.postProcess(config));
91
- _chunkRN4QXP7Fjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
91
+ _chunkB6PUPX6Ojs.writeDebug.call(void 0, "Completed the postProcess hook", config);
92
92
  }
93
- _chunkRN4QXP7Fjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
93
+ _chunkB6PUPX6Ojs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
94
94
  `, config);
95
95
  return {
96
96
  success: true
97
97
  };
98
98
  } catch (error) {
99
- _chunkRN4QXP7Fjs.writeFatal.call(void 0, "A fatal error occurred while running the executor - the process was forced to terminate", config);
100
- _chunkRN4QXP7Fjs.writeError.call(void 0, `An exception was thrown in the executor's process
99
+ _chunkB6PUPX6Ojs.writeFatal.call(void 0, "A fatal error occurred while running the executor - the process was forced to terminate", config);
100
+ _chunkB6PUPX6Ojs.writeError.call(void 0, `An exception was thrown in the executor's process
101
101
  - Details: ${error.message}
102
102
  - Stacktrace: ${error.stack}`, config);
103
103
  return {
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkCRMDACYFjs = require('./chunk-CRMDACYF.js');
3
+ var _chunkIBHLVELVjs = require('./chunk-IBHLVELV.js');
4
4
 
5
5
 
6
- var _chunkRN4QXP7Fjs = require('./chunk-RN4QXP7F.js');
6
+ var _chunkB6PUPX6Ojs = require('./chunk-B6PUPX6O.js');
7
7
 
8
8
 
9
9
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -13,11 +13,11 @@ var _fsextra = require('fs-extra');
13
13
  var _TypiaProgrammerjs = require('typia/lib/programmers/TypiaProgrammer.js');
14
14
  async function typiaExecutorFn(options, _, config) {
15
15
  if (options.clean !== false) {
16
- _chunkRN4QXP7Fjs.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
16
+ _chunkB6PUPX6Ojs.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
17
17
  _fsextra.removeSync.call(void 0, options.outputPath);
18
18
  }
19
19
  await Promise.all(options.entry.map((entry) => {
20
- _chunkRN4QXP7Fjs.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
20
+ _chunkB6PUPX6Ojs.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
21
21
  return _TypiaProgrammerjs.TypiaProgrammer.build({
22
22
  input: entry,
23
23
  output: options.outputPath,
@@ -29,7 +29,7 @@ async function typiaExecutorFn(options, _, config) {
29
29
  };
30
30
  }
31
31
  _chunk3GQAWCBQjs.__name.call(void 0, typiaExecutorFn, "typiaExecutorFn");
32
- var executor_default = _chunkCRMDACYFjs.withRunExecutor.call(void 0, "Typia runtime validation generator", typiaExecutorFn, {
32
+ var executor_default = _chunkIBHLVELVjs.withRunExecutor.call(void 0, "Typia runtime validation generator", typiaExecutorFn, {
33
33
  skipReadingConfig: false,
34
34
  hooks: {
35
35
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-EK75QNMS.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-JXMDPU4I.mjs";
7
+ } from "./chunk-SNFZL5BN.mjs";
8
8
  import {
9
9
  __dirname,
10
10
  __name
@@ -6,10 +6,10 @@
6
6
 
7
7
 
8
8
 
9
- var _chunk2JLHVV5Sjs = require('./chunk-2JLHVV5S.js');
9
+ var _chunkRSILHGEUjs = require('./chunk-RSILHGEU.js');
10
10
 
11
11
 
12
- var _chunkCRMDACYFjs = require('./chunk-CRMDACYF.js');
12
+ var _chunkIBHLVELVjs = require('./chunk-IBHLVELV.js');
13
13
 
14
14
 
15
15
 
@@ -19,10 +19,10 @@ var _chunkCRMDACYFjs = require('./chunk-CRMDACYF.js');
19
19
 
20
20
 
21
21
 
22
- var _chunkRN4QXP7Fjs = require('./chunk-RN4QXP7F.js');
22
+ var _chunkB6PUPX6Ojs = require('./chunk-B6PUPX6O.js');
23
23
 
24
24
 
25
- var _chunkXCSSYTCUjs = require('./chunk-XCSSYTCU.js');
25
+ var _chunkBUXJSVJGjs = require('./chunk-BUXJSVJG.js');
26
26
 
27
27
 
28
28
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -37,8 +37,8 @@ var _tsdown = require('tsdown');
37
37
  // ../tsdown/src/clean.ts
38
38
 
39
39
  async function clean(name = "ESBuild", directory, config) {
40
- _chunkRN4QXP7Fjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
41
- const stopwatch = _chunkRN4QXP7Fjs.getStopwatch.call(void 0, `${name} output clean`);
40
+ _chunkB6PUPX6Ojs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
41
+ const stopwatch = _chunkB6PUPX6Ojs.getStopwatch.call(void 0, `${name} output clean`);
42
42
  await _node.hfs.deleteAll(directory);
43
43
  stopwatch();
44
44
  }
@@ -73,13 +73,13 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
73
73
  if (!workspaceRoot) {
74
74
  throw new Error("Cannot find Nx workspace root");
75
75
  }
76
- const config = await _chunkRN4QXP7Fjs.getConfig.call(void 0, workspaceRoot.dir);
77
- _chunkRN4QXP7Fjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
78
- const stopwatch = _chunkRN4QXP7Fjs.getStopwatch.call(void 0, "Build options resolution");
76
+ const config = await _chunkB6PUPX6Ojs.getConfig.call(void 0, workspaceRoot.dir);
77
+ _chunkB6PUPX6Ojs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
78
+ const stopwatch = _chunkB6PUPX6Ojs.getStopwatch.call(void 0, "Build options resolution");
79
79
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
80
80
  exitOnError: true
81
81
  });
82
- const projectJsonPath = _chunkXCSSYTCUjs.joinPaths.call(void 0, workspaceRoot.dir, projectRoot, "project.json");
82
+ const projectJsonPath = _chunkBUXJSVJGjs.joinPaths.call(void 0, workspaceRoot.dir, projectRoot, "project.json");
83
83
  if (!await _node.hfs.isFile(projectJsonPath)) {
84
84
  throw new Error("Cannot find project.json configuration");
85
85
  }
@@ -91,30 +91,30 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
91
91
  }
92
92
  const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
93
93
  options.name ??= `${projectName}-${options.format}`;
94
- options.target ??= _chunk2JLHVV5Sjs.DEFAULT_TARGET;
95
- const packageJsonPath = _chunkXCSSYTCUjs.joinPaths.call(void 0, workspaceRoot.dir, options.projectRoot, "package.json");
94
+ options.target ??= _chunkRSILHGEUjs.DEFAULT_TARGET;
95
+ const packageJsonPath = _chunkBUXJSVJGjs.joinPaths.call(void 0, workspaceRoot.dir, options.projectRoot, "package.json");
96
96
  if (!await _node.hfs.isFile(packageJsonPath)) {
97
97
  throw new Error("Cannot find package.json configuration");
98
98
  }
99
- const env = _chunk2JLHVV5Sjs.getEnv.call(void 0, "tsdown", options);
99
+ const env = _chunkRSILHGEUjs.getEnv.call(void 0, "tsdown", options);
100
100
  const result = {
101
101
  ...options,
102
102
  config,
103
103
  ...userOptions,
104
- tsconfig: _chunkXCSSYTCUjs.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
104
+ tsconfig: _chunkBUXJSVJGjs.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
105
105
  format: options.format || "cjs",
106
- entryPoints: await _chunk2JLHVV5Sjs.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
106
+ entryPoints: await _chunkRSILHGEUjs.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
107
107
  "./src/index.ts"
108
108
  ], userOptions.emitOnAll),
109
- outdir: userOptions.outputPath || _chunkXCSSYTCUjs.joinPaths.call(void 0, "dist", projectRoot),
109
+ outdir: userOptions.outputPath || _chunkBUXJSVJGjs.joinPaths.call(void 0, "dist", projectRoot),
110
110
  plugins: [],
111
111
  name: userOptions.name || projectName,
112
112
  projectConfigurations,
113
113
  projectName,
114
114
  projectGraph,
115
- sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot || _chunkXCSSYTCUjs.joinPaths.call(void 0, projectRoot, "src"),
115
+ sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot || _chunkBUXJSVJGjs.joinPaths.call(void 0, projectRoot, "src"),
116
116
  minify: userOptions.minify || !userOptions.debug,
117
- verbose: userOptions.verbose || _chunkRN4QXP7Fjs.isVerbose.call(void 0, ) || userOptions.debug === true,
117
+ verbose: userOptions.verbose || _chunkB6PUPX6Ojs.isVerbose.call(void 0, ) || userOptions.debug === true,
118
118
  includeSrc: userOptions.includeSrc === true,
119
119
  metafile: userOptions.metafile !== false,
120
120
  generatePackageJson: userOptions.generatePackageJson !== false,
@@ -148,22 +148,22 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
148
148
  return result;
149
149
  }, "resolveOptions");
150
150
  async function generatePackageJson(options) {
151
- if (options.generatePackageJson !== false && await _node.hfs.isFile(_chunkXCSSYTCUjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
152
- _chunkRN4QXP7Fjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
153
- const stopwatch = _chunkRN4QXP7Fjs.getStopwatch.call(void 0, "Write package.json file");
154
- const packageJsonPath = _chunkXCSSYTCUjs.joinPaths.call(void 0, options.projectRoot, "project.json");
151
+ if (options.generatePackageJson !== false && await _node.hfs.isFile(_chunkBUXJSVJGjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
152
+ _chunkB6PUPX6Ojs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
153
+ const stopwatch = _chunkB6PUPX6Ojs.getStopwatch.call(void 0, "Write package.json file");
154
+ const packageJsonPath = _chunkBUXJSVJGjs.joinPaths.call(void 0, options.projectRoot, "project.json");
155
155
  if (!await _node.hfs.isFile(packageJsonPath)) {
156
156
  throw new Error("Cannot find package.json configuration");
157
157
  }
158
- let packageJson = await _node.hfs.json(_chunkXCSSYTCUjs.joinPaths.call(void 0, options.config.workspaceRoot, options.projectRoot, "package.json"));
158
+ let packageJson = await _node.hfs.json(_chunkBUXJSVJGjs.joinPaths.call(void 0, options.config.workspaceRoot, options.projectRoot, "package.json"));
159
159
  if (!packageJson) {
160
160
  throw new Error("Cannot find package.json configuration file");
161
161
  }
162
- packageJson = await _chunk2JLHVV5Sjs.addPackageDependencies.call(void 0, options.config.workspaceRoot, options.projectRoot, options.projectName, packageJson);
163
- packageJson = await _chunk2JLHVV5Sjs.addWorkspacePackageJsonFields.call(void 0, options.config, options.projectRoot, options.sourceRoot, options.projectName, false, packageJson);
162
+ packageJson = await _chunkRSILHGEUjs.addPackageDependencies.call(void 0, options.config.workspaceRoot, options.projectRoot, options.projectName, packageJson);
163
+ packageJson = await _chunkRSILHGEUjs.addWorkspacePackageJsonFields.call(void 0, options.config, options.projectRoot, options.sourceRoot, options.projectName, false, packageJson);
164
164
  packageJson.exports ??= {};
165
165
  packageJson.exports["./package.json"] ??= "./package.json";
166
- packageJson.exports["."] ??= _chunk2JLHVV5Sjs.addPackageJsonExport.call(void 0, "index", packageJson.type, options.sourceRoot);
166
+ packageJson.exports["."] ??= _chunkRSILHGEUjs.addPackageJsonExport.call(void 0, "index", packageJson.type, options.sourceRoot);
167
167
  let entryPoints = [
168
168
  {
169
169
  in: "./src/index.ts",
@@ -181,7 +181,7 @@ async function generatePackageJson(options) {
181
181
  const split = entryPoint.out.split(".");
182
182
  split.pop();
183
183
  const entry = split.join(".").replaceAll("\\", "/");
184
- packageJson.exports[`./${entry}`] ??= _chunk2JLHVV5Sjs.addPackageJsonExport.call(void 0, entry, packageJson.type, options.sourceRoot);
184
+ packageJson.exports[`./${entry}`] ??= _chunkRSILHGEUjs.addPackageJsonExport.call(void 0, entry, packageJson.type, options.sourceRoot);
185
185
  }
186
186
  }
187
187
  packageJson.main = packageJson.type === "commonjs" ? "./dist/index.js" : "./dist/index.cjs";
@@ -193,15 +193,15 @@ async function generatePackageJson(options) {
193
193
  }
194
194
  return ret;
195
195
  }, packageJson.exports);
196
- await _devkit.writeJsonFile.call(void 0, _chunkXCSSYTCUjs.joinPaths.call(void 0, options.outdir, "package.json"), packageJson);
196
+ await _devkit.writeJsonFile.call(void 0, _chunkBUXJSVJGjs.joinPaths.call(void 0, options.outdir, "package.json"), packageJson);
197
197
  stopwatch();
198
198
  }
199
199
  return options;
200
200
  }
201
201
  _chunk3GQAWCBQjs.__name.call(void 0, generatePackageJson, "generatePackageJson");
202
202
  async function executeTSDown(options) {
203
- _chunkRN4QXP7Fjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.config);
204
- const stopwatch = _chunkRN4QXP7Fjs.getStopwatch.call(void 0, `${options.name} build`);
203
+ _chunkB6PUPX6Ojs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.config);
204
+ const stopwatch = _chunkB6PUPX6Ojs.getStopwatch.call(void 0, `${options.name} build`);
205
205
  await _tsdown.build.call(void 0, {
206
206
  ...options,
207
207
  entry: options.entryPoints,
@@ -213,15 +213,15 @@ async function executeTSDown(options) {
213
213
  }
214
214
  _chunk3GQAWCBQjs.__name.call(void 0, executeTSDown, "executeTSDown");
215
215
  async function copyBuildAssets(options) {
216
- _chunkRN4QXP7Fjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${options.outdir}`, options.config);
217
- const stopwatch = _chunkRN4QXP7Fjs.getStopwatch.call(void 0, `${options.name} asset copy`);
218
- await _chunk2JLHVV5Sjs.copyAssets.call(void 0, options.config, _nullishCoalesce(options.assets, () => ( [])), options.outdir, options.projectRoot, options.sourceRoot, true, false);
216
+ _chunkB6PUPX6Ojs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${options.outdir}`, options.config);
217
+ const stopwatch = _chunkB6PUPX6Ojs.getStopwatch.call(void 0, `${options.name} asset copy`);
218
+ await _chunkRSILHGEUjs.copyAssets.call(void 0, options.config, _nullishCoalesce(options.assets, () => ( [])), options.outdir, options.projectRoot, options.sourceRoot, true, false);
219
219
  stopwatch();
220
220
  return options;
221
221
  }
222
222
  _chunk3GQAWCBQjs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
223
223
  async function reportResults(options) {
224
- _chunkRN4QXP7Fjs.writeSuccess.call(void 0, ` \u{1F4E6} The ${options.name} build completed successfully`, options.config);
224
+ _chunkB6PUPX6Ojs.writeSuccess.call(void 0, ` \u{1F4E6} The ${options.name} build completed successfully`, options.config);
225
225
  }
226
226
  _chunk3GQAWCBQjs.__name.call(void 0, reportResults, "reportResults");
227
227
  async function cleanOutputPath(options) {
@@ -232,8 +232,8 @@ async function cleanOutputPath(options) {
232
232
  }
233
233
  _chunk3GQAWCBQjs.__name.call(void 0, cleanOutputPath, "cleanOutputPath");
234
234
  async function build(options) {
235
- _chunkRN4QXP7Fjs.writeDebug.call(void 0, ` \u26A1 Executing Storm TSDown pipeline`);
236
- const stopwatch = _chunkRN4QXP7Fjs.getStopwatch.call(void 0, "TSDown pipeline");
235
+ _chunkB6PUPX6Ojs.writeDebug.call(void 0, ` \u26A1 Executing Storm TSDown pipeline`);
236
+ const stopwatch = _chunkB6PUPX6Ojs.getStopwatch.call(void 0, "TSDown pipeline");
237
237
  try {
238
238
  const opts = Array.isArray(options) ? options : [
239
239
  options
@@ -251,11 +251,11 @@ async function build(options) {
251
251
  await reportResults(opt);
252
252
  }));
253
253
  } else {
254
- _chunkRN4QXP7Fjs.writeWarning.call(void 0, " \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function.");
254
+ _chunkB6PUPX6Ojs.writeWarning.call(void 0, " \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function.");
255
255
  }
256
- _chunkRN4QXP7Fjs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
256
+ _chunkB6PUPX6Ojs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
257
257
  } catch (error) {
258
- _chunkRN4QXP7Fjs.writeFatal.call(void 0, " \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.");
258
+ _chunkB6PUPX6Ojs.writeFatal.call(void 0, " \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.");
259
259
  throw error;
260
260
  } finally {
261
261
  stopwatch();
@@ -265,7 +265,7 @@ _chunk3GQAWCBQjs.__name.call(void 0, build, "build");
265
265
 
266
266
  // src/executors/tsdown/executor.ts
267
267
  async function tsdownExecutorFn(options, context, config) {
268
- _chunkRN4QXP7Fjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown build executor on the workspace", config);
268
+ _chunkB6PUPX6Ojs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown build executor on the workspace", config);
269
269
  if (!_optionalChain([context, 'access', _3 => _3.projectsConfigurations, 'optionalAccess', _4 => _4.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !_optionalChain([context, 'access', _5 => _5.projectsConfigurations, 'access', _6 => _6.projects, 'access', _7 => _7[context.projectName], 'optionalAccess', _8 => _8.root])) {
270
270
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
271
271
  }
@@ -282,7 +282,7 @@ async function tsdownExecutorFn(options, context, config) {
282
282
  };
283
283
  }
284
284
  _chunk3GQAWCBQjs.__name.call(void 0, tsdownExecutorFn, "tsdownExecutorFn");
285
- var executor_default = _chunkCRMDACYFjs.withRunExecutor.call(void 0, "Storm TSDown build executor", tsdownExecutorFn, {
285
+ var executor_default = _chunkIBHLVELVjs.withRunExecutor.call(void 0, "Storm TSDown build executor", tsdownExecutorFn, {
286
286
  skipReadingConfig: false,
287
287
  hooks: {
288
288
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (options, config) => {
@@ -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(); } }
2
2
 
3
3
 
4
- var _chunkFBLF4KJFjs = require('./chunk-FBLF4KJF.js');
4
+ var _chunkXHH2IY66js = require('./chunk-XHH2IY66.js');
5
5
 
6
6
 
7
- var _chunkEGBJI6CNjs = require('./chunk-EGBJI6CN.js');
7
+ var _chunkKLHTXAIUjs = require('./chunk-KLHTXAIU.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -37,7 +37,7 @@ async function browserLibraryGeneratorFn(tree, schema, config) {
37
37
  description: schema.description,
38
38
  directory: schema.directory
39
39
  };
40
- const options = await _chunkFBLF4KJFjs.normalizeOptions.call(void 0, tree, tsLibraryGeneratorOptions);
40
+ const options = await _chunkXHH2IY66js.normalizeOptions.call(void 0, tree, tsLibraryGeneratorOptions);
41
41
  const { className, name, propertyName } = _devkit.names.call(void 0, options.projectNames.projectFileName);
42
42
  _devkit.generateFiles.call(void 0, tree, filesDir, options.projectRoot, {
43
43
  ...schema,
@@ -65,12 +65,12 @@ async function browserLibraryGeneratorFn(tree, schema, config) {
65
65
  }
66
66
  }
67
67
  });
68
- await _chunkFBLF4KJFjs.typeScriptLibraryGeneratorFn.call(void 0, tree, tsLibraryGeneratorOptions, config);
68
+ await _chunkXHH2IY66js.typeScriptLibraryGeneratorFn.call(void 0, tree, tsLibraryGeneratorOptions, config);
69
69
  await _devkit.formatFiles.call(void 0, tree);
70
70
  return null;
71
71
  }
72
72
  _chunk3GQAWCBQjs.__name.call(void 0, browserLibraryGeneratorFn, "browserLibraryGeneratorFn");
73
- var generator_default = _chunkEGBJI6CNjs.withRunGenerator.call(void 0, "TypeScript Library Creator (Browser Platform)", browserLibraryGeneratorFn, {
73
+ var generator_default = _chunkKLHTXAIUjs.withRunGenerator.call(void 0, "TypeScript Library Creator (Browser Platform)", browserLibraryGeneratorFn, {
74
74
  hooks: {
75
75
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
76
76
  options.description ??= "A library used by Storm Software to support browser applications";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  findWorkspaceRoot
3
- } from "./chunk-DMUTOQCB.mjs";
3
+ } from "./chunk-ZOFW74B2.mjs";
4
4
  import {
5
5
  __name
6
6
  } from "./chunk-XUV4U54K.mjs";
@@ -4,7 +4,7 @@
4
4
  var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkCRMDACYFjs = require('./chunk-CRMDACYF.js');
7
+ var _chunkIBHLVELVjs = require('./chunk-IBHLVELV.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -19,7 +19,7 @@ async function cargoDocExecutor(options, context) {
19
19
  return await _chunkULBTYC2Bjs.cargoCommand.call(void 0, ...command);
20
20
  }
21
21
  _chunk3GQAWCBQjs.__name.call(void 0, cargoDocExecutor, "cargoDocExecutor");
22
- var executor_default = _chunkCRMDACYFjs.withRunExecutor.call(void 0, "Cargo Doc", cargoDocExecutor, {
22
+ var executor_default = _chunkIBHLVELVjs.withRunExecutor.call(void 0, "Cargo Doc", cargoDocExecutor, {
23
23
  skipReadingConfig: false,
24
24
  hooks: {
25
25
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {