@storm-software/workspace-tools 1.294.36 → 1.294.38

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 (117) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-XZPUEPKK.mjs → chunk-27MUZNN2.mjs} +1 -1
  4. package/dist/{chunk-CK3BPORZ.js → chunk-2DEV7MTD.js} +21 -21
  5. package/dist/{chunk-3UVFXL7I.js → chunk-2VO5LA3U.js} +10 -10
  6. package/dist/{chunk-YHO3SOGJ.mjs → chunk-37K47MPA.mjs} +4 -4
  7. package/dist/{chunk-NTM7F6SO.js → chunk-3ZTDN4LM.js} +2 -2
  8. package/dist/{chunk-35BFW2YQ.mjs → chunk-42TEYLHF.mjs} +1 -1
  9. package/dist/{chunk-ZTCV7FTK.js → chunk-4HKJAOZE.js} +2 -2
  10. package/dist/{chunk-BA7S3VQ3.mjs → chunk-4KPUUE5X.mjs} +2 -2
  11. package/dist/{chunk-LQZIZT3Y.js → chunk-4U2NLOJ4.js} +2 -2
  12. package/dist/{chunk-57NKESY4.js → chunk-4XFAGKVY.js} +2 -2
  13. package/dist/{chunk-CHKLDARN.mjs → chunk-5KJYQ2A4.mjs} +1 -1
  14. package/dist/{chunk-UK6TAD3O.mjs → chunk-6KULJXXR.mjs} +6 -6
  15. package/dist/{chunk-6ES3P2CK.js → chunk-6TQ2ZIQQ.js} +12 -12
  16. package/dist/{chunk-IQ7NS4OX.mjs → chunk-6ZC47WFT.mjs} +3 -3
  17. package/dist/{chunk-J6VRN6FY.mjs → chunk-7KSP37MJ.mjs} +1 -1
  18. package/dist/{chunk-HLZG5AEE.mjs → chunk-CDEOZ2LA.mjs} +2 -2
  19. package/dist/{chunk-SPYERBWG.mjs → chunk-CEC4FZYL.mjs} +1 -1
  20. package/dist/{chunk-R2GSNVL2.mjs → chunk-CEM3HM3B.mjs} +1 -1
  21. package/dist/{chunk-NZX54HXX.mjs → chunk-CN3UL6AL.mjs} +2 -2
  22. package/dist/{chunk-2KJIK2JG.mjs → chunk-E4M7JXF6.mjs} +1 -1
  23. package/dist/{chunk-DJMMAL4W.mjs → chunk-E7FF7KFZ.mjs} +1 -1
  24. package/dist/{chunk-VFLEWVYZ.js → chunk-EE24BJX6.js} +34 -34
  25. package/dist/{chunk-6CO2XOFR.js → chunk-EE66SW3C.js} +4 -4
  26. package/dist/{chunk-GAOMOIRS.js → chunk-GKKPBHC2.js} +6 -6
  27. package/dist/{chunk-QY6ZMQ6I.js → chunk-GYSWO4MZ.js} +4 -4
  28. package/dist/{chunk-PKU6ZJTS.js → chunk-H3IKVCIQ.js} +5 -5
  29. package/dist/{chunk-VHXO4KB2.js → chunk-HBEU4BAA.js} +2 -2
  30. package/dist/{chunk-Y6FERKSJ.js → chunk-HRBUI3FP.js} +2 -2
  31. package/dist/{chunk-DCNARLNN.mjs → chunk-I6M6W65L.mjs} +1 -1
  32. package/dist/{chunk-MRG3BU6W.mjs → chunk-IE6KPWWN.mjs} +2 -2
  33. package/dist/{chunk-BU2S2BSO.mjs → chunk-ISKPL45K.mjs} +1 -1
  34. package/dist/{chunk-5LORK24T.mjs → chunk-JTAXUWUB.mjs} +1 -1
  35. package/dist/{chunk-MZDT5BZH.js → chunk-JWDJFIY2.js} +5 -5
  36. package/dist/{chunk-HUZNI7UG.mjs → chunk-JYOKROZO.mjs} +1 -1
  37. package/dist/{chunk-YRI7JSHF.js → chunk-K2HA4BJN.js} +2 -2
  38. package/dist/{chunk-QVC3FWV5.js → chunk-LIV5KBYE.js} +2 -2
  39. package/dist/{chunk-UWQQYG23.mjs → chunk-M7NAHAMC.mjs} +1 -1
  40. package/dist/{chunk-PBN7PKGE.js → chunk-MS4BPPPO.js} +17 -17
  41. package/dist/{chunk-QPBVOQFM.js → chunk-MTLWFXXL.js} +2 -2
  42. package/dist/{chunk-EYFYABBG.mjs → chunk-MYOUONF2.mjs} +4 -4
  43. package/dist/{chunk-AA5UBL6W.js → chunk-MZGQ4TDY.js} +11 -11
  44. package/dist/{chunk-TIJ5S5SL.mjs → chunk-NDH64REY.mjs} +1 -1
  45. package/dist/{chunk-2KU2SYND.js → chunk-OBA5LSVN.js} +2 -2
  46. package/dist/{chunk-J3V2XDUI.mjs → chunk-OPKOW7IE.mjs} +6 -5
  47. package/dist/{chunk-R3374L7Q.mjs → chunk-PGNIX7OK.mjs} +3 -3
  48. package/dist/{chunk-OS24C67P.js → chunk-QEZ37HVM.js} +6 -5
  49. package/dist/{chunk-CJHDSYRB.js → chunk-RDCGNHHG.js} +2 -2
  50. package/dist/{chunk-6DW3XFYQ.js → chunk-RXZNL5UA.js} +30 -30
  51. package/dist/{chunk-2LSF54ZF.mjs → chunk-S3RWO7R6.mjs} +2 -2
  52. package/dist/{chunk-PK3VAEVW.js → chunk-TJQO23VQ.js} +2 -2
  53. package/dist/{chunk-R4VLMWSB.mjs → chunk-ULDXNDLD.mjs} +1 -1
  54. package/dist/{chunk-5ERD4NKM.js → chunk-V3AKBG6K.js} +8 -8
  55. package/dist/{chunk-ZNRCZ3UF.js → chunk-YG23JJML.js} +2 -2
  56. package/dist/{chunk-Q5LQOLXC.mjs → chunk-ZMKOMKU4.mjs} +2 -2
  57. package/dist/executors.js +20 -20
  58. package/dist/executors.mjs +19 -19
  59. package/dist/generators.js +9 -9
  60. package/dist/generators.mjs +10 -10
  61. package/dist/index.js +28 -28
  62. package/dist/index.mjs +29 -29
  63. package/dist/src/base/base-executor.js +4 -4
  64. package/dist/src/base/base-executor.mjs +3 -3
  65. package/dist/src/base/base-generator.js +4 -4
  66. package/dist/src/base/base-generator.mjs +3 -3
  67. package/dist/src/base/index.js +5 -5
  68. package/dist/src/base/index.mjs +4 -4
  69. package/dist/src/executors/cargo-build/executor.js +5 -5
  70. package/dist/src/executors/cargo-build/executor.mjs +4 -4
  71. package/dist/src/executors/cargo-check/executor.js +5 -5
  72. package/dist/src/executors/cargo-check/executor.mjs +4 -4
  73. package/dist/src/executors/cargo-clippy/executor.js +5 -5
  74. package/dist/src/executors/cargo-clippy/executor.mjs +4 -4
  75. package/dist/src/executors/cargo-doc/executor.js +5 -5
  76. package/dist/src/executors/cargo-doc/executor.mjs +4 -4
  77. package/dist/src/executors/cargo-format/executor.js +5 -5
  78. package/dist/src/executors/cargo-format/executor.mjs +4 -4
  79. package/dist/src/executors/cargo-publish/executor.js +4 -4
  80. package/dist/src/executors/cargo-publish/executor.mjs +3 -3
  81. package/dist/src/executors/clean-package/executor.js +6 -6
  82. package/dist/src/executors/clean-package/executor.mjs +3 -3
  83. package/dist/src/executors/esbuild/executor.js +6 -6
  84. package/dist/src/executors/esbuild/executor.mjs +5 -5
  85. package/dist/src/executors/napi/executor.js +5 -5
  86. package/dist/src/executors/napi/executor.mjs +4 -4
  87. package/dist/src/executors/npm-publish/executor.js +6 -6
  88. package/dist/src/executors/npm-publish/executor.mjs +5 -5
  89. package/dist/src/executors/size-limit/executor.js +5 -5
  90. package/dist/src/executors/size-limit/executor.mjs +4 -4
  91. package/dist/src/executors/tsdown/executor.js +6 -6
  92. package/dist/src/executors/tsdown/executor.mjs +5 -5
  93. package/dist/src/executors/typia/executor.js +5 -5
  94. package/dist/src/executors/typia/executor.mjs +4 -4
  95. package/dist/src/executors/unbuild/executor.js +5 -5
  96. package/dist/src/executors/unbuild/executor.mjs +4 -4
  97. package/dist/src/generators/browser-library/generator.js +5 -5
  98. package/dist/src/generators/browser-library/generator.mjs +4 -4
  99. package/dist/src/generators/config-schema/generator.js +5 -5
  100. package/dist/src/generators/config-schema/generator.mjs +4 -4
  101. package/dist/src/generators/neutral-library/generator.js +5 -5
  102. package/dist/src/generators/neutral-library/generator.mjs +4 -4
  103. package/dist/src/generators/node-library/generator.js +5 -5
  104. package/dist/src/generators/node-library/generator.mjs +4 -4
  105. package/dist/src/generators/preset/generator.js +5 -5
  106. package/dist/src/generators/preset/generator.mjs +4 -4
  107. package/dist/src/release/index.js +6 -6
  108. package/dist/src/release/index.mjs +5 -5
  109. package/dist/src/release/js-version-actions.js +4 -4
  110. package/dist/src/release/js-version-actions.mjs +3 -3
  111. package/dist/src/release/rust-version-actions.js +5 -5
  112. package/dist/src/release/rust-version-actions.mjs +4 -4
  113. package/dist/src/utils/index.js +4 -4
  114. package/dist/src/utils/index.mjs +3 -3
  115. package/dist/src/utils/package-helpers.js +4 -4
  116. package/dist/src/utils/package-helpers.mjs +3 -3
  117. package/package.json +9 -9
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-QC5ON3X4.mjs";
8
8
  import {
9
9
  withRunGenerator
10
- } from "./chunk-HLZG5AEE.mjs";
10
+ } from "./chunk-CDEOZ2LA.mjs";
11
11
  import {
12
12
  joinPaths
13
13
  } from "./chunk-TBW5MCN6.mjs";
@@ -5,13 +5,13 @@
5
5
 
6
6
 
7
7
 
8
- var _chunkGAOMOIRSjs = require('./chunk-GAOMOIRS.js');
8
+ var _chunkGKKPBHC2js = require('./chunk-GKKPBHC2.js');
9
9
 
10
10
 
11
- var _chunkCK3BPORZjs = require('./chunk-CK3BPORZ.js');
11
+ var _chunk2DEV7MTDjs = require('./chunk-2DEV7MTD.js');
12
12
 
13
13
 
14
- var _chunk3UVFXL7Ijs = require('./chunk-3UVFXL7I.js');
14
+ var _chunk2VO5LA3Ujs = require('./chunk-2VO5LA3U.js');
15
15
 
16
16
 
17
17
 
@@ -22,7 +22,7 @@ var _chunk3UVFXL7Ijs = require('./chunk-3UVFXL7I.js');
22
22
 
23
23
 
24
24
 
25
- var _chunkOS24C67Pjs = require('./chunk-OS24C67P.js');
25
+ var _chunkQEZ37HVMjs = require('./chunk-QEZ37HVM.js');
26
26
 
27
27
 
28
28
  var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
@@ -30,12 +30,12 @@ var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
30
30
  // ../esbuild/src/assets.ts
31
31
  async function copyBuildAssets(context) {
32
32
  if (!_optionalChain([context, 'access', _ => _.result, 'optionalAccess', _2 => _2.errors, 'access', _3 => _3.length]) && _optionalChain([context, 'access', _4 => _4.options, 'access', _5 => _5.assets, 'optionalAccess', _6 => _6.length])) {
33
- _chunkOS24C67Pjs.writeDebug.call(void 0,
33
+ _chunkQEZ37HVMjs.writeDebug.call(void 0,
34
34
  ` \u{1F4CB} Copying ${context.options.assets.length} asset files to output directory: ${context.outputPath}`,
35
35
  context.workspaceConfig
36
36
  );
37
- const stopwatch = _chunkOS24C67Pjs.getStopwatch.call(void 0, `${context.options.name} asset copy`);
38
- await _chunkGAOMOIRSjs.copyAssets.call(void 0,
37
+ const stopwatch = _chunkQEZ37HVMjs.getStopwatch.call(void 0, `${context.options.name} asset copy`);
38
+ await _chunkGKKPBHC2js.copyAssets.call(void 0,
39
39
  context.workspaceConfig,
40
40
  _nullishCoalesce(context.options.assets, () => ( [])),
41
41
  context.outputPath,
@@ -103,8 +103,8 @@ var DEFAULT_BUILD_OPTIONS = {
103
103
  ".woff2": "file"
104
104
  },
105
105
  banner: {
106
- js: _chunkGAOMOIRSjs.DEFAULT_JS_BANNER,
107
- css: _chunkGAOMOIRSjs.DEFAULT_CSS_BANNER
106
+ js: _chunkGKKPBHC2js.DEFAULT_JS_BANNER,
107
+ css: _chunkGKKPBHC2js.DEFAULT_CSS_BANNER
108
108
  }
109
109
  };
110
110
 
@@ -115,11 +115,11 @@ async function resolveContext(userOptions) {
115
115
  if (!workspaceRoot) {
116
116
  throw new Error("Cannot find Nx workspace root");
117
117
  }
118
- const workspaceConfig = await _chunk3UVFXL7Ijs.getWorkspaceConfig.call(void 0, true, {
118
+ const workspaceConfig = await _chunk2VO5LA3Ujs.getWorkspaceConfig.call(void 0, true, {
119
119
  workspaceRoot: workspaceRoot.dir
120
120
  });
121
- _chunkOS24C67Pjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
122
- const stopwatch = _chunkOS24C67Pjs.getStopwatch.call(void 0, "Build options resolution");
121
+ _chunkQEZ37HVMjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
122
+ const stopwatch = _chunkQEZ37HVMjs.getStopwatch.call(void 0, "Build options resolution");
123
123
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
124
124
  exitOnError: true
125
125
  });
@@ -150,7 +150,7 @@ async function resolveContext(userOptions) {
150
150
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
151
151
  throw new Error("Cannot find package.json configuration");
152
152
  }
153
- const env = _chunkGAOMOIRSjs.getEnv.call(void 0, "esbuild", options);
153
+ const env = _chunkGKKPBHC2js.getEnv.call(void 0, "esbuild", options);
154
154
  const define = _defu2.default.call(void 0, _nullishCoalesce(options.define, () => ( {})), _nullishCoalesce(env, () => ( {})));
155
155
  const resolvedOptions = {
156
156
  ...options,
@@ -189,10 +189,10 @@ async function resolveContext(userOptions) {
189
189
  };
190
190
  context.options.esbuildPlugins = [..._nullishCoalesce(context.options.esbuildPlugins, () => ( []))];
191
191
  if (context.options.verbose) {
192
- _chunkOS24C67Pjs.writeDebug.call(void 0,
192
+ _chunkQEZ37HVMjs.writeDebug.call(void 0,
193
193
  ` \u2699\uFE0F Build options resolved:
194
194
 
195
- ${_chunkOS24C67Pjs.formatLogMessage.call(void 0, context.options)}`,
195
+ ${_chunkQEZ37HVMjs.formatLogMessage.call(void 0, context.options)}`,
196
196
  workspaceConfig
197
197
  );
198
198
  }
@@ -205,8 +205,8 @@ ${_chunkOS24C67Pjs.formatLogMessage.call(void 0, context.options)}`,
205
205
 
206
206
  async function generatePackageJson(context) {
207
207
  if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkCQDBLKPFjs.joinPaths.call(void 0, context.options.projectRoot, "package.json"))) {
208
- _chunkOS24C67Pjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context.workspaceConfig);
209
- const stopwatch = _chunkOS24C67Pjs.getStopwatch.call(void 0, "Write package.json file");
208
+ _chunkQEZ37HVMjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context.workspaceConfig);
209
+ const stopwatch = _chunkQEZ37HVMjs.getStopwatch.call(void 0, "Write package.json file");
210
210
  const packageJsonPath = _chunkCQDBLKPFjs.joinPaths.call(void 0,
211
211
  context.options.projectRoot,
212
212
  "project.json"
@@ -226,13 +226,13 @@ async function generatePackageJson(context) {
226
226
  if (!packageJson) {
227
227
  throw new Error("Cannot find package.json configuration file");
228
228
  }
229
- packageJson = await _chunkGAOMOIRSjs.addPackageDependencies.call(void 0,
229
+ packageJson = await _chunkGKKPBHC2js.addPackageDependencies.call(void 0,
230
230
  context.workspaceConfig.workspaceRoot,
231
231
  context.options.projectRoot,
232
232
  context.projectName,
233
233
  packageJson
234
234
  );
235
- packageJson = await _chunkGAOMOIRSjs.addWorkspacePackageJsonFields.call(void 0,
235
+ packageJson = await _chunkGKKPBHC2js.addWorkspacePackageJsonFields.call(void 0,
236
236
  context.workspaceConfig,
237
237
  context.options.projectRoot,
238
238
  context.sourceRoot,
@@ -333,12 +333,12 @@ async function generatePackageJson(context) {
333
333
  var _tsup = require('tsup');
334
334
  async function build(options) {
335
335
  if (!options.silent) {
336
- _chunkOS24C67Pjs.writeDebug.call(void 0,
336
+ _chunkQEZ37HVMjs.writeDebug.call(void 0,
337
337
  ` \u{1F680} Running ${options.name || "tsup"} build`,
338
338
  options.workspaceConfig
339
339
  );
340
340
  }
341
- const stopwatch = _chunkOS24C67Pjs.getStopwatch.call(void 0, `${options.name || "tsup"} build`);
341
+ const stopwatch = _chunkQEZ37HVMjs.getStopwatch.call(void 0, `${options.name || "tsup"} build`);
342
342
  await _tsup.build.call(void 0, options);
343
343
  if (!options.silent) {
344
344
  stopwatch();
@@ -347,11 +347,11 @@ async function build(options) {
347
347
 
348
348
  // ../esbuild/src/tsup.ts
349
349
  async function executeTsup(context) {
350
- _chunkOS24C67Pjs.writeDebug.call(void 0,
350
+ _chunkQEZ37HVMjs.writeDebug.call(void 0,
351
351
  ` \u{1F680} Running ${context.options.name} build`,
352
352
  context.workspaceConfig
353
353
  );
354
- const stopwatch = _chunkOS24C67Pjs.getStopwatch.call(void 0, `${context.options.name} build`);
354
+ const stopwatch = _chunkQEZ37HVMjs.getStopwatch.call(void 0, `${context.options.name} build`);
355
355
  await build({
356
356
  ...context.options,
357
357
  outDir: context.options.distDir ? _chunkCQDBLKPFjs.joinPaths.call(void 0, context.outputPath, context.options.distDir) : context.outputPath,
@@ -365,17 +365,17 @@ async function executeTsup(context) {
365
365
  async function reportResults(context) {
366
366
  if (_optionalChain([context, 'access', _9 => _9.result, 'optionalAccess', _10 => _10.errors, 'access', _11 => _11.length]) === 0) {
367
367
  if (context.result.warnings.length > 0) {
368
- _chunkOS24C67Pjs.writeWarning.call(void 0,
368
+ _chunkQEZ37HVMjs.writeWarning.call(void 0,
369
369
  ` \u{1F6A7} The following warnings occurred during the build: ${context.result.warnings.map((warning) => warning.text).join("\n")}`,
370
370
  context.workspaceConfig
371
371
  );
372
372
  }
373
- _chunkOS24C67Pjs.writeSuccess.call(void 0,
373
+ _chunkQEZ37HVMjs.writeSuccess.call(void 0,
374
374
  ` \u{1F4E6} The ${context.options.name} build completed successfully`,
375
375
  context.workspaceConfig
376
376
  );
377
377
  } else if (_optionalChain([context, 'access', _12 => _12.result, 'optionalAccess', _13 => _13.errors]) && _optionalChain([context, 'access', _14 => _14.result, 'optionalAccess', _15 => _15.errors, 'access', _16 => _16.length]) > 0) {
378
- _chunkOS24C67Pjs.writeError.call(void 0,
378
+ _chunkQEZ37HVMjs.writeError.call(void 0,
379
379
  ` \u274C The ${context.options.name} build failed with the following errors: ${context.result.errors.map((error) => error.text).join("\n")}`,
380
380
  context.workspaceConfig
381
381
  );
@@ -386,19 +386,19 @@ async function reportResults(context) {
386
386
  }
387
387
  async function cleanOutputPath(context) {
388
388
  if (context.clean !== false && context.outputPath) {
389
- _chunkOS24C67Pjs.writeDebug.call(void 0,
389
+ _chunkQEZ37HVMjs.writeDebug.call(void 0,
390
390
  ` \u{1F9F9} Cleaning ${context.options.name} output path: ${context.outputPath}`,
391
391
  context.workspaceConfig
392
392
  );
393
- const stopwatch = _chunkOS24C67Pjs.getStopwatch.call(void 0, `${context.options.name} output clean`);
393
+ const stopwatch = _chunkQEZ37HVMjs.getStopwatch.call(void 0, `${context.options.name} output clean`);
394
394
  await cleanDirectories(context.outputPath);
395
395
  stopwatch();
396
396
  }
397
397
  return context;
398
398
  }
399
399
  async function build2(options) {
400
- _chunkOS24C67Pjs.writeDebug.call(void 0, ` ${_chunkOS24C67Pjs.brandIcon.call(void 0, )} Executing Storm ESBuild pipeline`);
401
- const stopwatch = _chunkOS24C67Pjs.getStopwatch.call(void 0, "ESBuild pipeline");
400
+ _chunkQEZ37HVMjs.writeDebug.call(void 0, ` ${_chunkQEZ37HVMjs.brandIcon.call(void 0, )} Executing Storm ESBuild pipeline`);
401
+ const stopwatch = _chunkQEZ37HVMjs.getStopwatch.call(void 0, "ESBuild pipeline");
402
402
  try {
403
403
  const opts = Array.isArray(options) ? options : [options];
404
404
  if (opts.length === 0) {
@@ -413,9 +413,9 @@ async function build2(options) {
413
413
  executeTsup(context)
414
414
  ]);
415
415
  await reportResults(context);
416
- _chunkOS24C67Pjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
416
+ _chunkQEZ37HVMjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
417
417
  } catch (error) {
418
- _chunkOS24C67Pjs.writeFatal.call(void 0,
418
+ _chunkQEZ37HVMjs.writeFatal.call(void 0,
419
419
  "Fatal errors that the build process could not recover from have occured. The build process has been terminated."
420
420
  );
421
421
  throw error;
@@ -426,7 +426,7 @@ async function build2(options) {
426
426
 
427
427
  // src/executors/esbuild/executor.ts
428
428
  async function esbuildExecutorFn(options, context, config) {
429
- _chunkOS24C67Pjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
429
+ _chunkQEZ37HVMjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
430
430
  if (!_optionalChain([context, 'access', _17 => _17.projectsConfigurations, 'optionalAccess', _18 => _18.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !_optionalChain([context, 'access', _19 => _19.projectsConfigurations, 'access', _20 => _20.projects, 'access', _21 => _21[context.projectName], 'optionalAccess', _22 => _22.root])) {
431
431
  throw new Error(
432
432
  "The Build process failed because the context is not valid. Please run this command from a workspace."
@@ -447,7 +447,7 @@ async function esbuildExecutorFn(options, context, config) {
447
447
  success: true
448
448
  };
449
449
  }
450
- var executor_default = _chunkCK3BPORZjs.withRunExecutor.call(void 0,
450
+ var executor_default = _chunk2DEV7MTDjs.withRunExecutor.call(void 0,
451
451
  "Storm ESBuild build",
452
452
  esbuildExecutorFn,
453
453
  {
@@ -1,9 +1,9 @@
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 _chunkCK3BPORZjs = require('./chunk-CK3BPORZ.js');
3
+ var _chunk2DEV7MTDjs = require('./chunk-2DEV7MTD.js');
4
4
 
5
5
 
6
- var _chunkOS24C67Pjs = require('./chunk-OS24C67P.js');
6
+ var _chunkQEZ37HVMjs = require('./chunk-QEZ37HVM.js');
7
7
 
8
8
 
9
9
  var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
@@ -12,7 +12,7 @@ var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
12
12
  var _defu = require('defu');
13
13
  var _jiti = require('jiti');
14
14
  async function unbuildExecutorFn(options, context, config) {
15
- _chunkOS24C67Pjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
15
+ _chunkQEZ37HVMjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
16
16
  if (!_optionalChain([context, 'access', _ => _.projectsConfigurations, 'optionalAccess', _2 => _2.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
17
17
  throw new Error(
18
18
  "The Build process failed because the context is not valid. Please run this command from a workspace root directory."
@@ -80,7 +80,7 @@ async function unbuildExecutorFn(options, context, config) {
80
80
  success: true
81
81
  };
82
82
  }
83
- var executor_default = _chunkCK3BPORZjs.withRunExecutor.call(void 0,
83
+ var executor_default = _chunk2DEV7MTDjs.withRunExecutor.call(void 0,
84
84
  "TypeScript Unbuild build",
85
85
  unbuildExecutorFn,
86
86
  {
@@ -1,7 +1,7 @@
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
3
 
4
- var _chunkOS24C67Pjs = require('./chunk-OS24C67P.js');
4
+ var _chunkQEZ37HVMjs = require('./chunk-QEZ37HVM.js');
5
5
 
6
6
 
7
7
  var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
@@ -54,7 +54,7 @@ var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, gen
54
54
  output: "src/"
55
55
  });
56
56
  }
57
- _chunkOS24C67Pjs.writeTrace.call(void 0,
57
+ _chunkQEZ37HVMjs.writeTrace.call(void 0,
58
58
  `\u{1F4DD} Copying the following assets to the output directory:
59
59
  ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkCQDBLKPFjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
60
60
  config
@@ -66,9 +66,9 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
66
66
  assets: pendingAssets
67
67
  });
68
68
  await assetHandler.processAllAssetsOnce();
69
- _chunkOS24C67Pjs.writeTrace.call(void 0, "Completed copying assets to the output directory", config);
69
+ _chunkQEZ37HVMjs.writeTrace.call(void 0, "Completed copying assets to the output directory", config);
70
70
  if (includeSrc === true) {
71
- _chunkOS24C67Pjs.writeDebug.call(void 0,
71
+ _chunkQEZ37HVMjs.writeDebug.call(void 0,
72
72
  `\u{1F4DD} Adding banner and writing source files: ${_chunkCQDBLKPFjs.joinPaths.call(void 0,
73
73
  outputPath,
74
74
  "src"
@@ -152,7 +152,7 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
152
152
  }
153
153
  }
154
154
  if (localPackages.length > 0) {
155
- _chunkOS24C67Pjs.writeTrace.call(void 0,
155
+ _chunkQEZ37HVMjs.writeTrace.call(void 0,
156
156
  `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`
157
157
  );
158
158
  const projectJsonFile = await _promises.readFile.call(void 0,
@@ -200,7 +200,7 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
200
200
  return ret;
201
201
  }, _nullishCoalesce(packageJson.devDependencies, () => ( {})));
202
202
  } else {
203
- _chunkOS24C67Pjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
203
+ _chunkQEZ37HVMjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
204
204
  }
205
205
  return packageJson;
206
206
  };
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkYRI7JSHFjs = require('./chunk-YRI7JSHF.js');
3
+ var _chunkK2HA4BJNjs = require('./chunk-K2HA4BJN.js');
4
4
 
5
5
 
6
6
 
@@ -31,7 +31,7 @@ var getPackageInfo = (project) => {
31
31
  ) && _fs.existsSync.call(void 0, _devkit.joinPathFragments.call(void 0, project.root, "Cargo.toml"))) {
32
32
  return {
33
33
  type: "Cargo.toml",
34
- content: _chunkYRI7JSHFjs.parseCargoToml.call(void 0, _devkit.joinPathFragments.call(void 0, project.root, "Cargo.toml"))
34
+ content: _chunkK2HA4BJNjs.parseCargoToml.call(void 0, _devkit.joinPathFragments.call(void 0, project.root, "Cargo.toml"))
35
35
  };
36
36
  } else if (_chunkUHTWNVEZjs.isEqualProjectTag.call(void 0,
37
37
  project,
@@ -69,7 +69,7 @@ async function addPackageJsonGitHead(packageRoot) {
69
69
  packageJsonPath,
70
70
  await _prettier.format.call(void 0, JSON.stringify(packageJsonValue), {
71
71
  parser: "json",
72
- proseWrap: "always",
72
+ proseWrap: "preserve",
73
73
  trailingComma: "none",
74
74
  tabWidth: 2,
75
75
  semi: true,
@@ -81,7 +81,7 @@ async function addPackageJsonGitHead(packageRoot) {
81
81
  bracketSpacing: true,
82
82
  arrowParens: "avoid",
83
83
  endOfLine: "lf",
84
- plugins: ["prettier-plugin-pkg"]
84
+ plugins: ["prettier-plugin-packagejson"]
85
85
  })
86
86
  );
87
87
  }
@@ -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 _chunkCK3BPORZjs = require('./chunk-CK3BPORZ.js');
3
+ var _chunk2DEV7MTDjs = require('./chunk-2DEV7MTD.js');
4
4
 
5
5
 
6
- var _chunkOS24C67Pjs = require('./chunk-OS24C67P.js');
6
+ var _chunkQEZ37HVMjs = require('./chunk-QEZ37HVM.js');
7
7
 
8
8
  // src/executors/size-limit/executor.ts
9
9
  var _devkit = require('@nx/devkit');
@@ -17,14 +17,14 @@ async function sizeLimitExecutorFn(options, context, config) {
17
17
  "The Size-Limit process failed because the context is not valid. Please run this command from a workspace."
18
18
  );
19
19
  }
20
- _chunkOS24C67Pjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
20
+ _chunkQEZ37HVMjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
21
21
  _sizelimit2.default.call(void 0, [_file2.default, _esbuild2.default, _esbuildwhy2.default], {
22
22
  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,
23
23
  _nullishCoalesce(_optionalChain([context, 'access', _8 => _8.projectsConfigurations, 'access', _9 => _9.projects, 'access', _10 => _10[context.projectName], 'optionalAccess', _11 => _11.root]), () => ( "./")),
24
24
  "src"
25
25
  )))
26
26
  }).then((result) => {
27
- _chunkOS24C67Pjs.writeInfo.call(void 0,
27
+ _chunkQEZ37HVMjs.writeInfo.call(void 0,
28
28
  `\u{1F4CF} ${context.projectName} Size-Limit result: ${JSON.stringify(result)}`,
29
29
  config
30
30
  );
@@ -33,7 +33,7 @@ async function sizeLimitExecutorFn(options, context, config) {
33
33
  success: true
34
34
  };
35
35
  }
36
- var executor_default = _chunkCK3BPORZjs.withRunExecutor.call(void 0,
36
+ var executor_default = _chunk2DEV7MTDjs.withRunExecutor.call(void 0,
37
37
  "Size-Limit Performance Test Executor",
38
38
  sizeLimitExecutorFn,
39
39
  {
@@ -4,7 +4,7 @@
4
4
  var _chunkBZMYB75Mjs = require('./chunk-BZMYB75M.js');
5
5
 
6
6
 
7
- var _chunkPBN7PKGEjs = require('./chunk-PBN7PKGE.js');
7
+ var _chunkMS4BPPPOjs = require('./chunk-MS4BPPPO.js');
8
8
 
9
9
 
10
10
  var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.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 = _chunkPBN7PKGEjs.withRunGenerator.call(void 0,
57
+ var generator_default = _chunkMS4BPPPOjs.withRunGenerator.call(void 0,
58
58
  "TypeScript Library Creator (Neutral Platform)",
59
59
  neutralLibraryGeneratorFn,
60
60
  {
@@ -4,14 +4,14 @@
4
4
  var _chunkD2PV33E5js = require('./chunk-D2PV33E5.js');
5
5
 
6
6
 
7
- var _chunkCK3BPORZjs = require('./chunk-CK3BPORZ.js');
7
+ var _chunk2DEV7MTDjs = require('./chunk-2DEV7MTD.js');
8
8
 
9
9
  // src/executors/cargo-check/executor.ts
10
10
  async function cargoCheckExecutor(options, context) {
11
11
  const command = _chunkD2PV33E5js.buildCargoCommand.call(void 0, "check", options, context);
12
12
  return await _chunkD2PV33E5js.cargoCommand.call(void 0, context.root, ...command);
13
13
  }
14
- var executor_default = _chunkCK3BPORZjs.withRunExecutor.call(void 0,
14
+ var executor_default = _chunk2DEV7MTDjs.withRunExecutor.call(void 0,
15
15
  "Cargo - Check",
16
16
  cargoCheckExecutor,
17
17
  {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  parseCargoToml
3
- } from "./chunk-CHKLDARN.mjs";
3
+ } from "./chunk-5KJYQ2A4.mjs";
4
4
 
5
5
  // src/executors/cargo-publish/executor.ts
6
6
  import { joinPathFragments } from "@nx/devkit";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-2LSF54ZF.mjs";
3
+ } from "./chunk-S3RWO7R6.mjs";
4
4
  import {
5
5
  writeInfo
6
- } from "./chunk-J3V2XDUI.mjs";
6
+ } from "./chunk-OPKOW7IE.mjs";
7
7
  import {
8
8
  joinPaths
9
9
  } from "./chunk-TBW5MCN6.mjs";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-ZTN2676G.mjs";
4
4
  import {
5
5
  withRunExecutor
6
- } from "./chunk-2LSF54ZF.mjs";
6
+ } from "./chunk-S3RWO7R6.mjs";
7
7
  import {
8
8
  correctPaths,
9
9
  isAbsolute,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  writeDebug,
3
3
  writeTrace
4
- } from "./chunk-J3V2XDUI.mjs";
4
+ } from "./chunk-OPKOW7IE.mjs";
5
5
  import {
6
6
  findWorkspaceRoot
7
7
  } from "./chunk-3J2CP54B.mjs";
@@ -1,21 +1,21 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkCK3BPORZjs = require('./chunk-CK3BPORZ.js');
3
+ var _chunk2DEV7MTDjs = require('./chunk-2DEV7MTD.js');
4
4
 
5
5
 
6
- var _chunkOS24C67Pjs = require('./chunk-OS24C67P.js');
6
+ var _chunkQEZ37HVMjs = require('./chunk-QEZ37HVM.js');
7
7
 
8
8
  // src/executors/typia/executor.ts
9
9
  var _fsextra = require('fs-extra');
10
10
  var _TypiaProgrammerjs = require('typia/lib/programmers/TypiaProgrammer.js');
11
11
  async function typiaExecutorFn(options, _, config) {
12
12
  if (options.clean !== false) {
13
- _chunkOS24C67Pjs.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
13
+ _chunkQEZ37HVMjs.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
14
14
  _fsextra.removeSync.call(void 0, options.outputPath);
15
15
  }
16
16
  await Promise.all(
17
17
  options.entry.map((entry) => {
18
- _chunkOS24C67Pjs.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
18
+ _chunkQEZ37HVMjs.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
19
19
  return _TypiaProgrammerjs.TypiaProgrammer.build({
20
20
  input: entry,
21
21
  output: options.outputPath,
@@ -27,7 +27,7 @@ async function typiaExecutorFn(options, _, config) {
27
27
  success: true
28
28
  };
29
29
  }
30
- var executor_default = _chunkCK3BPORZjs.withRunExecutor.call(void 0,
30
+ var executor_default = _chunk2DEV7MTDjs.withRunExecutor.call(void 0,
31
31
  "Typia runtime validation generator",
32
32
  typiaExecutorFn,
33
33
  {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-ZTN2676G.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-2LSF54ZF.mjs";
7
+ } from "./chunk-S3RWO7R6.mjs";
8
8
 
9
9
  // src/executors/cargo-clippy/executor.ts
10
10
  async function cargoClippyExecutor(options, context) {
@@ -1,13 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 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 _chunkOS24C67Pjs = require('./chunk-OS24C67P.js');
3
+ var _chunkQEZ37HVMjs = require('./chunk-QEZ37HVM.js');
4
4
 
5
5
  // ../config-tools/src/utilities/toml.ts
6
6
  var _jtoml = require('@ltd/j-toml'); var _jtoml2 = _interopRequireDefault(_jtoml);
7
7
  function parseCargoTomlWithTree(tree, projectRoot, projectName) {
8
8
  const cargoTomlString = _optionalChain([tree, 'access', _ => _.read, 'call', _2 => _2(`${projectRoot}/Cargo.toml`), 'optionalAccess', _3 => _3.toString, 'call', _4 => _4()]);
9
9
  if (!cargoTomlString) {
10
- _chunkOS24C67Pjs.writeError.call(void 0, `Cannot find a Cargo.toml file in the ${projectName}`);
10
+ _chunkQEZ37HVMjs.writeError.call(void 0, `Cannot find a Cargo.toml file in the ${projectName}`);
11
11
  throw new Error();
12
12
  }
13
13
  return parseCargoToml(cargoTomlString);
@@ -4,14 +4,14 @@
4
4
  var _chunkD2PV33E5js = require('./chunk-D2PV33E5.js');
5
5
 
6
6
 
7
- var _chunkCK3BPORZjs = require('./chunk-CK3BPORZ.js');
7
+ var _chunk2DEV7MTDjs = require('./chunk-2DEV7MTD.js');
8
8
 
9
9
  // src/executors/cargo-format/executor.ts
10
10
  async function cargoFormatExecutor(options, context) {
11
11
  const command = _chunkD2PV33E5js.buildCargoCommand.call(void 0, "fmt", options, context);
12
12
  return await _chunkD2PV33E5js.cargoCommand.call(void 0, context.root, ...command);
13
13
  }
14
- var executor_default = _chunkCK3BPORZjs.withRunExecutor.call(void 0,
14
+ var executor_default = _chunk2DEV7MTDjs.withRunExecutor.call(void 0,
15
15
  "Cargo - Format",
16
16
  cargoFormatExecutor,
17
17
  {
@@ -5,7 +5,7 @@ import {
5
5
  getLogLevelLabel,
6
6
  writeTrace,
7
7
  writeWarning
8
- } from "./chunk-J3V2XDUI.mjs";
8
+ } from "./chunk-OPKOW7IE.mjs";
9
9
  import {
10
10
  findWorkspaceRoot
11
11
  } from "./chunk-3J2CP54B.mjs";