@storm-software/workspace-tools 1.296.6 → 1.296.7

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 (115) hide show
  1. package/dist/{chunk-FQX7ZBQS.mjs → chunk-2BXWGAZM.mjs} +1 -1
  2. package/dist/{chunk-P56QF3XG.js → chunk-4BCJEWRQ.js} +2 -2
  3. package/dist/{chunk-JIWQM3MH.mjs → chunk-4BFBFTDK.mjs} +1 -1
  4. package/dist/{chunk-EQMVQ3I7.mjs → chunk-4Q7OSUXH.mjs} +2 -2
  5. package/dist/{chunk-7MM5MBEP.mjs → chunk-53RLGVXM.mjs} +1 -1
  6. package/dist/{chunk-A74N7OF2.js → chunk-5TCWSV4V.js} +5 -5
  7. package/dist/{chunk-U5JPGO47.js → chunk-6MLA6B6D.js} +2 -2
  8. package/dist/{chunk-AY3HOPOX.js → chunk-6RAUDACY.js} +2 -2
  9. package/dist/{chunk-IIFXLZEH.js → chunk-737EDGVV.js} +6 -6
  10. package/dist/{chunk-GED6QYLK.mjs → chunk-7BWTWR5O.mjs} +1 -1
  11. package/dist/{chunk-J4MHHL63.mjs → chunk-7N34DLDK.mjs} +1 -1
  12. package/dist/{chunk-CQIILJEF.js → chunk-A5RNIDQZ.js} +10 -10
  13. package/dist/{chunk-ETSIRKO5.js → chunk-ACMERBDJ.js} +2 -2
  14. package/dist/{chunk-X2UWPTFU.mjs → chunk-AOWBKNHM.mjs} +1 -1
  15. package/dist/{chunk-6HJ4EEBB.js → chunk-AQYOQS6Q.js} +2 -2
  16. package/dist/{chunk-EMX7LTEI.mjs → chunk-C46AMBI7.mjs} +2 -2
  17. package/dist/{chunk-YRGMZRC3.mjs → chunk-CW7U7TSJ.mjs} +4 -4
  18. package/dist/{chunk-THA4SGMV.js → chunk-E6GFHHBR.js} +2 -2
  19. package/dist/{chunk-GZA2CV3C.js → chunk-EO6EDFUN.js} +2 -2
  20. package/dist/{chunk-2CXXVFU4.js → chunk-FGYE6XUF.js} +12 -12
  21. package/dist/{chunk-WQUWUZZ4.mjs → chunk-GKI2IWP6.mjs} +1 -1
  22. package/dist/{chunk-6IXJEWJR.js → chunk-GUO7GHMY.js} +2 -2
  23. package/dist/{chunk-2L7ICILU.js → chunk-HGDG36KQ.js} +30 -30
  24. package/dist/{chunk-WJ5AG2IU.js → chunk-IGAKAJGD.js} +11 -11
  25. package/dist/{chunk-FFEJNAFP.js → chunk-JMGLJW76.js} +2 -2
  26. package/dist/{chunk-O7Z2YGFU.js → chunk-JONZUK7I.js} +5 -5
  27. package/dist/{chunk-ALL63TSY.mjs → chunk-K4FLM47P.mjs} +2 -2
  28. package/dist/{chunk-PRW5IUAC.js → chunk-K4W6QXUX.js} +2 -2
  29. package/dist/{chunk-DEP6TIXL.js → chunk-KA2NWPQ7.js} +5 -5
  30. package/dist/{chunk-3WCWA5OH.mjs → chunk-KUK2HDLM.mjs} +1 -1
  31. package/dist/{chunk-IETUQQJT.mjs → chunk-LNXSWBDU.mjs} +2 -2
  32. package/dist/{chunk-4AR5RJMF.mjs → chunk-LOPJYZWJ.mjs} +2 -2
  33. package/dist/{chunk-BT7OBRJT.mjs → chunk-LTAD7HMO.mjs} +3 -3
  34. package/dist/{chunk-VY3EJCTI.mjs → chunk-MN2QATZQ.mjs} +2 -2
  35. package/dist/{chunk-PICVMVJQ.mjs → chunk-MVTZC3MT.mjs} +4 -4
  36. package/dist/{chunk-NUGNYGBF.js → chunk-MWLHM557.js} +4 -4
  37. package/dist/{chunk-WTWQAZUM.js → chunk-NKYIUZLG.js} +4 -4
  38. package/dist/{chunk-QSNWB7A5.mjs → chunk-O7YTVT6O.mjs} +1 -1
  39. package/dist/{chunk-DJZX3XBE.mjs → chunk-QHL546B2.mjs} +2 -2
  40. package/dist/{chunk-35ERFW7I.mjs → chunk-QJ74HYMK.mjs} +2 -2
  41. package/dist/{chunk-XNHWWPSK.js → chunk-R2Y7NACD.js} +2 -2
  42. package/dist/{chunk-35G4LHK2.mjs → chunk-R5RFMU22.mjs} +1 -1
  43. package/dist/{chunk-BAYA5SVP.mjs → chunk-R6AXANVR.mjs} +1 -1
  44. package/dist/{chunk-NIETCJS4.mjs → chunk-RAHDX6VX.mjs} +1 -1
  45. package/dist/{chunk-VC4FGY7P.js → chunk-SKXLZGVZ.js} +2 -2
  46. package/dist/{chunk-ZYI527ZS.js → chunk-T6WD65QQ.js} +2 -2
  47. package/dist/{chunk-S2KOD2HL.mjs → chunk-UAWZWBSE.mjs} +2 -2
  48. package/dist/{chunk-CBVZ57E6.js → chunk-ULCE72HV.js} +21 -21
  49. package/dist/{chunk-PB5565L7.js → chunk-VII3QX3T.js} +2 -2
  50. package/dist/{chunk-JPOHRWVM.mjs → chunk-WQAONMFG.mjs} +1 -1
  51. package/dist/{chunk-JDDKEYTF.js → chunk-XFXMVB67.js} +34 -34
  52. package/dist/{chunk-EYO6EPEG.mjs → chunk-XQ24LKEY.mjs} +1 -1
  53. package/dist/{chunk-MNA3AU4B.mjs → chunk-Y7FSHCCX.mjs} +1 -1
  54. package/dist/{chunk-LULOWPU2.js → chunk-Z4BX7YI2.js} +17 -17
  55. package/dist/executors.js +20 -20
  56. package/dist/executors.mjs +19 -19
  57. package/dist/generators.js +9 -9
  58. package/dist/generators.mjs +8 -8
  59. package/dist/index.js +28 -28
  60. package/dist/index.mjs +27 -27
  61. package/dist/src/base/base-executor.js +4 -4
  62. package/dist/src/base/base-executor.mjs +3 -3
  63. package/dist/src/base/base-generator.js +4 -4
  64. package/dist/src/base/base-generator.mjs +3 -3
  65. package/dist/src/base/index.js +5 -5
  66. package/dist/src/base/index.mjs +4 -4
  67. package/dist/src/executors/cargo-build/executor.js +5 -5
  68. package/dist/src/executors/cargo-build/executor.mjs +4 -4
  69. package/dist/src/executors/cargo-check/executor.js +5 -5
  70. package/dist/src/executors/cargo-check/executor.mjs +4 -4
  71. package/dist/src/executors/cargo-clippy/executor.js +5 -5
  72. package/dist/src/executors/cargo-clippy/executor.mjs +4 -4
  73. package/dist/src/executors/cargo-doc/executor.js +5 -5
  74. package/dist/src/executors/cargo-doc/executor.mjs +4 -4
  75. package/dist/src/executors/cargo-format/executor.js +5 -5
  76. package/dist/src/executors/cargo-format/executor.mjs +4 -4
  77. package/dist/src/executors/cargo-publish/executor.js +4 -4
  78. package/dist/src/executors/cargo-publish/executor.mjs +3 -3
  79. package/dist/src/executors/clean-package/executor.js +6 -6
  80. package/dist/src/executors/clean-package/executor.mjs +3 -3
  81. package/dist/src/executors/esbuild/executor.js +6 -6
  82. package/dist/src/executors/esbuild/executor.mjs +5 -5
  83. package/dist/src/executors/napi/executor.js +5 -5
  84. package/dist/src/executors/napi/executor.mjs +4 -4
  85. package/dist/src/executors/npm-publish/executor.js +6 -6
  86. package/dist/src/executors/npm-publish/executor.mjs +5 -5
  87. package/dist/src/executors/size-limit/executor.js +5 -5
  88. package/dist/src/executors/size-limit/executor.mjs +4 -4
  89. package/dist/src/executors/tsdown/executor.js +6 -6
  90. package/dist/src/executors/tsdown/executor.mjs +5 -5
  91. package/dist/src/executors/typia/executor.js +5 -5
  92. package/dist/src/executors/typia/executor.mjs +4 -4
  93. package/dist/src/executors/unbuild/executor.js +5 -5
  94. package/dist/src/executors/unbuild/executor.mjs +4 -4
  95. package/dist/src/generators/browser-library/generator.js +5 -5
  96. package/dist/src/generators/browser-library/generator.mjs +4 -4
  97. package/dist/src/generators/config-schema/generator.js +5 -5
  98. package/dist/src/generators/config-schema/generator.mjs +4 -4
  99. package/dist/src/generators/neutral-library/generator.js +5 -5
  100. package/dist/src/generators/neutral-library/generator.mjs +4 -4
  101. package/dist/src/generators/node-library/generator.js +5 -5
  102. package/dist/src/generators/node-library/generator.mjs +4 -4
  103. package/dist/src/generators/preset/generator.js +5 -5
  104. package/dist/src/generators/preset/generator.mjs +4 -4
  105. package/dist/src/release/index.js +6 -6
  106. package/dist/src/release/index.mjs +5 -5
  107. package/dist/src/release/js-version-actions.js +4 -4
  108. package/dist/src/release/js-version-actions.mjs +3 -3
  109. package/dist/src/release/rust-version-actions.js +5 -5
  110. package/dist/src/release/rust-version-actions.mjs +4 -4
  111. package/dist/src/utils/index.js +4 -4
  112. package/dist/src/utils/index.mjs +3 -3
  113. package/dist/src/utils/package-helpers.js +4 -4
  114. package/dist/src/utils/package-helpers.mjs +3 -3
  115. package/package.json +11 -11
@@ -5,13 +5,13 @@
5
5
 
6
6
 
7
7
 
8
- var _chunkIIFXLZEHjs = require('./chunk-IIFXLZEH.js');
8
+ var _chunk737EDGVVjs = require('./chunk-737EDGVV.js');
9
9
 
10
10
 
11
- var _chunkCBVZ57E6js = require('./chunk-CBVZ57E6.js');
11
+ var _chunkULCE72HVjs = require('./chunk-ULCE72HV.js');
12
12
 
13
13
 
14
- var _chunkCQIILJEFjs = require('./chunk-CQIILJEF.js');
14
+ var _chunkA5RNIDQZjs = require('./chunk-A5RNIDQZ.js');
15
15
 
16
16
 
17
17
 
@@ -20,7 +20,7 @@ var _chunkCQIILJEFjs = require('./chunk-CQIILJEF.js');
20
20
 
21
21
 
22
22
 
23
- var _chunkGZA2CV3Cjs = require('./chunk-GZA2CV3C.js');
23
+ var _chunkEO6EDFUNjs = require('./chunk-EO6EDFUN.js');
24
24
 
25
25
 
26
26
  var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
@@ -80,11 +80,11 @@ var resolveOptions = async (userOptions) => {
80
80
  if (!workspaceRoot) {
81
81
  throw new Error("Cannot find Nx workspace root");
82
82
  }
83
- const workspaceConfig = await _chunkCQIILJEFjs.getWorkspaceConfig.call(void 0, options.debug === true, {
83
+ const workspaceConfig = await _chunkA5RNIDQZjs.getWorkspaceConfig.call(void 0, options.debug === true, {
84
84
  workspaceRoot
85
85
  });
86
- _chunkGZA2CV3Cjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
87
- const stopwatch = _chunkGZA2CV3Cjs.getStopwatch.call(void 0, "Build options resolution");
86
+ _chunkEO6EDFUNjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
87
+ const stopwatch = _chunkEO6EDFUNjs.getStopwatch.call(void 0, "Build options resolution");
88
88
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
89
89
  exitOnError: true
90
90
  });
@@ -118,7 +118,7 @@ var resolveOptions = async (userOptions) => {
118
118
  const result = {
119
119
  name: projectName,
120
120
  mode: "production",
121
- target: _chunkIIFXLZEHjs.DEFAULT_TARGET,
121
+ target: _chunk737EDGVVjs.DEFAULT_TARGET,
122
122
  generatePackageJson: true,
123
123
  outDir: _chunkCQDBLKPFjs.joinPaths.call(void 0, "dist", options.projectRoot),
124
124
  minify: !debug,
@@ -150,15 +150,15 @@ var resolveOptions = async (userOptions) => {
150
150
  };
151
151
  result.env = _defu2.default.call(void 0,
152
152
  options.env,
153
- _chunkIIFXLZEHjs.getEnv.call(void 0, "tsdown", result)
153
+ _chunk737EDGVVjs.getEnv.call(void 0, "tsdown", result)
154
154
  );
155
155
  stopwatch();
156
156
  return result;
157
157
  };
158
158
  async function generatePackageJson(options) {
159
159
  if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkCQDBLKPFjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
160
- _chunkGZA2CV3Cjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.workspaceConfig);
161
- const stopwatch = _chunkGZA2CV3Cjs.getStopwatch.call(void 0, "Write package.json file");
160
+ _chunkEO6EDFUNjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.workspaceConfig);
161
+ const stopwatch = _chunkEO6EDFUNjs.getStopwatch.call(void 0, "Write package.json file");
162
162
  const packageJsonPath = _chunkCQDBLKPFjs.joinPaths.call(void 0, options.projectRoot, "project.json");
163
163
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
164
164
  throw new Error("Cannot find package.json configuration");
@@ -175,13 +175,13 @@ async function generatePackageJson(options) {
175
175
  throw new Error("Cannot find package.json configuration file");
176
176
  }
177
177
  let packageJson = JSON.parse(packageJsonFile);
178
- packageJson = await _chunkIIFXLZEHjs.addPackageDependencies.call(void 0,
178
+ packageJson = await _chunk737EDGVVjs.addPackageDependencies.call(void 0,
179
179
  options.workspaceConfig.workspaceRoot,
180
180
  options.projectRoot,
181
181
  options.projectName,
182
182
  packageJson
183
183
  );
184
- packageJson = await _chunkIIFXLZEHjs.addWorkspacePackageJsonFields.call(void 0,
184
+ packageJson = await _chunk737EDGVVjs.addWorkspacePackageJsonFields.call(void 0,
185
185
  options.workspaceConfig,
186
186
  options.projectRoot,
187
187
  options.sourceRoot,
@@ -191,7 +191,7 @@ async function generatePackageJson(options) {
191
191
  );
192
192
  packageJson.exports ??= {};
193
193
  packageJson.exports["./package.json"] ??= "./package.json";
194
- packageJson.exports["."] ??= _chunkIIFXLZEHjs.addPackageJsonExport.call(void 0,
194
+ packageJson.exports["."] ??= _chunk737EDGVVjs.addPackageJsonExport.call(void 0,
195
195
  "index",
196
196
  packageJson.type,
197
197
  options.sourceRoot
@@ -207,7 +207,7 @@ async function generatePackageJson(options) {
207
207
  const split = entryPoint.out.split(".");
208
208
  split.pop();
209
209
  const entry2 = split.join(".").replaceAll("\\", "/");
210
- packageJson.exports[`./${entry2}`] ??= _chunkIIFXLZEHjs.addPackageJsonExport.call(void 0,
210
+ packageJson.exports[`./${entry2}`] ??= _chunk737EDGVVjs.addPackageJsonExport.call(void 0,
211
211
  entry2,
212
212
  options.fixedExtension ? "fixed" : packageJson.type,
213
213
  options.sourceRoot
@@ -232,8 +232,8 @@ async function generatePackageJson(options) {
232
232
  return options;
233
233
  }
234
234
  async function executeTSDown(options) {
235
- _chunkGZA2CV3Cjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.workspaceConfig);
236
- const stopwatch = _chunkGZA2CV3Cjs.getStopwatch.call(void 0, `${options.name} build`);
235
+ _chunkEO6EDFUNjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.workspaceConfig);
236
+ const stopwatch = _chunkEO6EDFUNjs.getStopwatch.call(void 0, `${options.name} build`);
237
237
  await _tsdown.build.call(void 0, {
238
238
  ...options,
239
239
  entry: options.entry,
@@ -243,12 +243,12 @@ async function executeTSDown(options) {
243
243
  return options;
244
244
  }
245
245
  async function copyBuildAssets(options) {
246
- _chunkGZA2CV3Cjs.writeDebug.call(void 0,
246
+ _chunkEO6EDFUNjs.writeDebug.call(void 0,
247
247
  ` \u{1F4CB} Copying asset files to output directory: ${options.outDir}`,
248
248
  options.workspaceConfig
249
249
  );
250
- const stopwatch = _chunkGZA2CV3Cjs.getStopwatch.call(void 0, `${options.name} asset copy`);
251
- await _chunkIIFXLZEHjs.copyAssets.call(void 0,
250
+ const stopwatch = _chunkEO6EDFUNjs.getStopwatch.call(void 0, `${options.name} asset copy`);
251
+ await _chunk737EDGVVjs.copyAssets.call(void 0,
252
252
  options.workspaceConfig,
253
253
  _nullishCoalesce(options.assets, () => ( [])),
254
254
  options.outDir,
@@ -261,18 +261,18 @@ async function copyBuildAssets(options) {
261
261
  return options;
262
262
  }
263
263
  async function reportResults(options) {
264
- _chunkGZA2CV3Cjs.writeSuccess.call(void 0,
264
+ _chunkEO6EDFUNjs.writeSuccess.call(void 0,
265
265
  ` \u{1F4E6} The ${options.name} build completed successfully`,
266
266
  options.workspaceConfig
267
267
  );
268
268
  }
269
269
  async function cleanOutputPath(options) {
270
270
  if (options.clean !== false && options.workspaceConfig) {
271
- _chunkGZA2CV3Cjs.writeDebug.call(void 0,
271
+ _chunkEO6EDFUNjs.writeDebug.call(void 0,
272
272
  ` \u{1F9F9} Cleaning ${options.name} output path: ${options.workspaceConfig}`,
273
273
  options.workspaceConfig
274
274
  );
275
- const stopwatch = _chunkGZA2CV3Cjs.getStopwatch.call(void 0, `${options.name} output clean`);
275
+ const stopwatch = _chunkEO6EDFUNjs.getStopwatch.call(void 0, `${options.name} output clean`);
276
276
  await cleanDirectories(
277
277
  options.name,
278
278
  options.outDir,
@@ -283,8 +283,8 @@ async function cleanOutputPath(options) {
283
283
  return options;
284
284
  }
285
285
  async function build(options) {
286
- _chunkGZA2CV3Cjs.writeDebug.call(void 0, ` ${_chunkGZA2CV3Cjs.brandIcon.call(void 0, )} Executing Storm TSDown pipeline`);
287
- const stopwatch = _chunkGZA2CV3Cjs.getStopwatch.call(void 0, "TSDown pipeline");
286
+ _chunkEO6EDFUNjs.writeDebug.call(void 0, ` ${_chunkEO6EDFUNjs.brandIcon.call(void 0, )} Executing Storm TSDown pipeline`);
287
+ const stopwatch = _chunkEO6EDFUNjs.getStopwatch.call(void 0, "TSDown pipeline");
288
288
  try {
289
289
  const opts = Array.isArray(options) ? options : [options];
290
290
  if (opts.length === 0) {
@@ -304,13 +304,13 @@ async function build(options) {
304
304
  })
305
305
  );
306
306
  } else {
307
- _chunkGZA2CV3Cjs.writeWarning.call(void 0,
307
+ _chunkEO6EDFUNjs.writeWarning.call(void 0,
308
308
  " \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function."
309
309
  );
310
310
  }
311
- _chunkGZA2CV3Cjs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
311
+ _chunkEO6EDFUNjs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
312
312
  } catch (error) {
313
- _chunkGZA2CV3Cjs.writeFatal.call(void 0,
313
+ _chunkEO6EDFUNjs.writeFatal.call(void 0,
314
314
  "Fatal errors that the build process could not recover from have occured. The build process has been terminated."
315
315
  );
316
316
  throw error;
@@ -321,7 +321,7 @@ async function build(options) {
321
321
 
322
322
  // src/executors/tsdown/executor.ts
323
323
  async function tsdownExecutorFn(options, context, config) {
324
- _chunkGZA2CV3Cjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown executor on the workspace", config);
324
+ _chunkEO6EDFUNjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown executor on the workspace", config);
325
325
  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])) {
326
326
  throw new Error(
327
327
  "The Build process failed because the context is not valid. Please run this command from a workspace."
@@ -342,7 +342,7 @@ async function tsdownExecutorFn(options, context, config) {
342
342
  success: true
343
343
  };
344
344
  }
345
- var executor_default = _chunkCBVZ57E6js.withRunExecutor.call(void 0,
345
+ var executor_default = _chunkULCE72HVjs.withRunExecutor.call(void 0,
346
346
  "Storm TSDown build",
347
347
  tsdownExecutorFn,
348
348
  {
@@ -1,15 +1,15 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } 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 _chunkLULOWPU2js = require('./chunk-LULOWPU2.js');
3
+ var _chunkZ4BX7YI2js = require('./chunk-Z4BX7YI2.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkCQIILJEFjs = require('./chunk-CQIILJEF.js');
7
+ var _chunkA5RNIDQZjs = require('./chunk-A5RNIDQZ.js');
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunkGZA2CV3Cjs = require('./chunk-GZA2CV3C.js');
12
+ var _chunkEO6EDFUNjs = require('./chunk-EO6EDFUN.js');
13
13
 
14
14
 
15
15
  var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
@@ -18,22 +18,22 @@ var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
18
18
  var _devkit = require('@nx/devkit');
19
19
  var _zod = require('zod'); var z = _interopRequireWildcard(_zod);
20
20
  async function configSchemaGeneratorFn(tree, options, config) {
21
- _chunkGZA2CV3Cjs.writeInfo.call(void 0,
21
+ _chunkEO6EDFUNjs.writeInfo.call(void 0,
22
22
  "\u{1F4E6} Running Storm Workspace Configuration JSON Schema generator",
23
23
  config
24
24
  );
25
- _chunkGZA2CV3Cjs.writeTrace.call(void 0,
25
+ _chunkEO6EDFUNjs.writeTrace.call(void 0,
26
26
  `Determining the Storm Workspace Configuration JSON Schema...`,
27
27
  config
28
28
  );
29
- const jsonSchema = z.toJSONSchema(_chunkCQIILJEFjs.workspaceConfigSchema, {
29
+ const jsonSchema = z.toJSONSchema(_chunkA5RNIDQZjs.workspaceConfigSchema, {
30
30
  target: "draft-7",
31
- metadata: _chunkCQIILJEFjs.schemaRegistry
31
+ metadata: _chunkA5RNIDQZjs.schemaRegistry
32
32
  });
33
33
  jsonSchema.$id ??= "https://public.storm-cdn.com/schemas/storm-workspace.schema.json";
34
34
  jsonSchema.title ??= "Storm Workspace Configuration JSON Schema";
35
35
  jsonSchema.description ??= "This JSON Schema defines the structure of the Storm Workspace configuration file (`storm-workspace.json`). It is used to validate the configuration file and ensure that it adheres to the expected format.";
36
- _chunkGZA2CV3Cjs.writeTrace.call(void 0, jsonSchema, config);
36
+ _chunkEO6EDFUNjs.writeTrace.call(void 0, jsonSchema, config);
37
37
  if (!options.outputFile) {
38
38
  throw new Error(
39
39
  "The `outputFile` option is required. Please specify the output file path."
@@ -43,13 +43,13 @@ async function configSchemaGeneratorFn(tree, options, config) {
43
43
  _nullishCoalesce(_optionalChain([config, 'optionalAccess', _ => _.workspaceRoot]), () => ( _chunkLMYTVXGXjs.findWorkspaceRoot.call(void 0, ))),
44
44
  options.outputFile.startsWith("./") ? "" : "./"
45
45
  );
46
- _chunkGZA2CV3Cjs.writeTrace.call(void 0,
46
+ _chunkEO6EDFUNjs.writeTrace.call(void 0,
47
47
  `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`,
48
48
  config
49
49
  );
50
50
  _devkit.writeJson.call(void 0, tree, outputPath, jsonSchema, { spaces: 2 });
51
51
  await _devkit.formatFiles.call(void 0, tree);
52
- _chunkGZA2CV3Cjs.writeSuccess.call(void 0,
52
+ _chunkEO6EDFUNjs.writeSuccess.call(void 0,
53
53
  "\u{1F680} Storm Configuration JSON Schema creation has completed successfully!",
54
54
  config
55
55
  );
@@ -57,7 +57,7 @@ async function configSchemaGeneratorFn(tree, options, config) {
57
57
  success: true
58
58
  };
59
59
  }
60
- var generator_default = _chunkLULOWPU2js.withRunGenerator.call(void 0,
60
+ var generator_default = _chunkZ4BX7YI2js.withRunGenerator.call(void 0,
61
61
  "Configuration Schema Creator",
62
62
  configSchemaGeneratorFn,
63
63
  {
@@ -4,7 +4,7 @@
4
4
  var _chunkSZWM7COVjs = require('./chunk-SZWM7COV.js');
5
5
 
6
6
 
7
- var _chunkLULOWPU2js = require('./chunk-LULOWPU2.js');
7
+ var _chunkZ4BX7YI2js = require('./chunk-Z4BX7YI2.js');
8
8
 
9
9
  // src/generators/preset/generator.ts
10
10
 
@@ -239,7 +239,7 @@ async function presetGeneratorFn(tree, options) {
239
239
  );
240
240
  return null;
241
241
  }
242
- var generator_default = _chunkLULOWPU2js.withRunGenerator.call(void 0,
242
+ var generator_default = _chunkZ4BX7YI2js.withRunGenerator.call(void 0,
243
243
  "Storm Workspace Preset Generator",
244
244
  presetGeneratorFn
245
245
  );
@@ -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 _chunkCBVZ57E6js = require('./chunk-CBVZ57E6.js');
3
+ var _chunkULCE72HVjs = require('./chunk-ULCE72HV.js');
4
4
 
5
5
 
6
- var _chunkGZA2CV3Cjs = require('./chunk-GZA2CV3C.js');
6
+ var _chunkEO6EDFUNjs = require('./chunk-EO6EDFUN.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
- _chunkGZA2CV3Cjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
20
+ _chunkEO6EDFUNjs.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
- _chunkGZA2CV3Cjs.writeInfo.call(void 0,
27
+ _chunkEO6EDFUNjs.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 = _chunkCBVZ57E6js.withRunExecutor.call(void 0,
36
+ var executor_default = _chunkULCE72HVjs.withRunExecutor.call(void 0,
37
37
  "Size-Limit Performance Test Executor",
38
38
  sizeLimitExecutorFn,
39
39
  {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-2QMGYIOO.mjs";
5
5
  import {
6
6
  getConfig
7
- } from "./chunk-35G4LHK2.mjs";
7
+ } from "./chunk-R5RFMU22.mjs";
8
8
  import {
9
9
  brandIcon,
10
10
  getStopwatch,
@@ -14,7 +14,7 @@ import {
14
14
  writeInfo,
15
15
  writeSuccess,
16
16
  writeTrace
17
- } from "./chunk-4AR5RJMF.mjs";
17
+ } from "./chunk-LOPJYZWJ.mjs";
18
18
  import {
19
19
  findWorkspaceRoot
20
20
  } from "./chunk-3J2CP54B.mjs";
@@ -4,14 +4,14 @@
4
4
  var _chunk32KQVUCFjs = require('./chunk-32KQVUCF.js');
5
5
 
6
6
 
7
- var _chunkCBVZ57E6js = require('./chunk-CBVZ57E6.js');
7
+ var _chunkULCE72HVjs = require('./chunk-ULCE72HV.js');
8
8
 
9
9
  // src/executors/cargo-check/executor.ts
10
10
  async function cargoCheckExecutor(options, context) {
11
11
  const command = _chunk32KQVUCFjs.buildCargoCommand.call(void 0, "check", options, context);
12
12
  return await _chunk32KQVUCFjs.cargoCommand.call(void 0, context.root, ...command);
13
13
  }
14
- var executor_default = _chunkCBVZ57E6js.withRunExecutor.call(void 0,
14
+ var executor_default = _chunkULCE72HVjs.withRunExecutor.call(void 0,
15
15
  "Cargo - Check",
16
16
  cargoCheckExecutor,
17
17
  {
@@ -1,21 +1,21 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkCBVZ57E6js = require('./chunk-CBVZ57E6.js');
3
+ var _chunkULCE72HVjs = require('./chunk-ULCE72HV.js');
4
4
 
5
5
 
6
- var _chunkGZA2CV3Cjs = require('./chunk-GZA2CV3C.js');
6
+ var _chunkEO6EDFUNjs = require('./chunk-EO6EDFUN.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
- _chunkGZA2CV3Cjs.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
13
+ _chunkEO6EDFUNjs.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
- _chunkGZA2CV3Cjs.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
18
+ _chunkEO6EDFUNjs.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 = _chunkCBVZ57E6js.withRunExecutor.call(void 0,
30
+ var executor_default = _chunkULCE72HVjs.withRunExecutor.call(void 0,
31
31
  "Typia runtime validation generator",
32
32
  typiaExecutorFn,
33
33
  {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-4VWDSVQJ.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-ALL63TSY.mjs";
7
+ } from "./chunk-K4FLM47P.mjs";
8
8
  import {
9
9
  joinPaths
10
10
  } from "./chunk-TBW5MCN6.mjs";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-35ERFW7I.mjs";
3
+ } from "./chunk-QJ74HYMK.mjs";
4
4
  import {
5
5
  writeInfo
6
- } from "./chunk-4AR5RJMF.mjs";
6
+ } from "./chunk-LOPJYZWJ.mjs";
7
7
 
8
8
  // src/executors/size-limit/executor.ts
9
9
  import { joinPathFragments } from "@nx/devkit";
@@ -361,13 +361,13 @@ ${message.sort(
361
361
  { prefix: `${prefix}--`, skip, sort },
362
362
  depth + 1
363
363
  )}`
364
- ).join("\n")}` : typeof message === "object" ? `
364
+ ).join("\n")}` : typeof message === "object" && message ? `
365
365
  ${Object.keys(message).filter(
366
366
  (key) => typeof key !== "string" || !skip.map((k) => k.toLowerCase().trim()).includes(key.toLowerCase().trim())
367
367
  ).sort(
368
368
  sort ? (a, b) => !a && !b ? 0 : !a ? 1 : !b ? -1 : String(a).localeCompare(String(b)) : void 0
369
369
  ).map(
370
- (key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? Object.keys(message[key]).filter(
370
+ (key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" && message[key] ? Object.keys(message[key]).filter(
371
371
  (key2) => typeof key2 !== "string" || !skip.map((k) => k.toLowerCase().trim()).includes(key2.toLowerCase().trim())
372
372
  ).length === 0 ? "{}" : formatLogMessage(
373
373
  message[key],
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  withRunGenerator
3
- } from "./chunk-ALL63TSY.mjs";
3
+ } from "./chunk-K4FLM47P.mjs";
4
4
  import {
5
5
  schemaRegistry,
6
6
  workspaceConfigSchema
7
- } from "./chunk-35G4LHK2.mjs";
7
+ } from "./chunk-R5RFMU22.mjs";
8
8
  import {
9
9
  writeInfo,
10
10
  writeSuccess,
11
11
  writeTrace
12
- } from "./chunk-4AR5RJMF.mjs";
12
+ } from "./chunk-LOPJYZWJ.mjs";
13
13
  import {
14
14
  findWorkspaceRoot
15
15
  } from "./chunk-3J2CP54B.mjs";
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk-54BBSJHK.mjs";
4
4
  import {
5
5
  addPackageJsonGitHead
6
- } from "./chunk-EYO6EPEG.mjs";
6
+ } from "./chunk-XQ24LKEY.mjs";
7
7
  import {
8
8
  getConfig
9
- } from "./chunk-35G4LHK2.mjs";
9
+ } from "./chunk-R5RFMU22.mjs";
10
10
  import {
11
11
  findWorkspaceRoot
12
12
  } from "./chunk-3J2CP54B.mjs";
@@ -5,13 +5,13 @@ import {
5
5
  addWorkspacePackageJsonFields,
6
6
  copyAssets,
7
7
  getEnv
8
- } from "./chunk-BAYA5SVP.mjs";
8
+ } from "./chunk-R6AXANVR.mjs";
9
9
  import {
10
10
  withRunExecutor
11
- } from "./chunk-35ERFW7I.mjs";
11
+ } from "./chunk-QJ74HYMK.mjs";
12
12
  import {
13
13
  getWorkspaceConfig
14
- } from "./chunk-35G4LHK2.mjs";
14
+ } from "./chunk-R5RFMU22.mjs";
15
15
  import {
16
16
  brandIcon,
17
17
  getStopwatch,
@@ -20,7 +20,7 @@ import {
20
20
  writeInfo,
21
21
  writeSuccess,
22
22
  writeWarning
23
- } from "./chunk-4AR5RJMF.mjs";
23
+ } from "./chunk-LOPJYZWJ.mjs";
24
24
  import {
25
25
  findWorkspaceRoot
26
26
  } from "./chunk-3J2CP54B.mjs";
@@ -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 _chunkCBVZ57E6js = require('./chunk-CBVZ57E6.js');
3
+ var _chunkULCE72HVjs = require('./chunk-ULCE72HV.js');
4
4
 
5
5
 
6
- var _chunkGZA2CV3Cjs = require('./chunk-GZA2CV3C.js');
6
+ var _chunkEO6EDFUNjs = require('./chunk-EO6EDFUN.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
- _chunkGZA2CV3Cjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
15
+ _chunkEO6EDFUNjs.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 = _chunkCBVZ57E6js.withRunExecutor.call(void 0,
83
+ var executor_default = _chunkULCE72HVjs.withRunExecutor.call(void 0,
84
84
  "TypeScript Unbuild build",
85
85
  unbuildExecutorFn,
86
86
  {
@@ -3,10 +3,10 @@
3
3
  var _chunk32KQVUCFjs = require('./chunk-32KQVUCF.js');
4
4
 
5
5
 
6
- var _chunkCBVZ57E6js = require('./chunk-CBVZ57E6.js');
6
+ var _chunkULCE72HVjs = require('./chunk-ULCE72HV.js');
7
7
 
8
8
 
9
- var _chunkGZA2CV3Cjs = require('./chunk-GZA2CV3C.js');
9
+ var _chunkEO6EDFUNjs = require('./chunk-EO6EDFUN.js');
10
10
 
11
11
 
12
12
 
@@ -88,7 +88,7 @@ async function napiExecutor(options, context, config) {
88
88
  if (process.env.VERCEL) {
89
89
  return { success: true };
90
90
  }
91
- _chunkGZA2CV3Cjs.writeDebug.call(void 0,
91
+ _chunkEO6EDFUNjs.writeDebug.call(void 0,
92
92
  `Normalized Napi Options:
93
93
  packageJsonPath: ${normalizedOptions.packageJsonPath}
94
94
  outputDir: ${normalizedOptions.outputDir}
@@ -101,7 +101,7 @@ cwd: ${normalizedOptions.cwd}`,
101
101
  const { task } = await napi.build(normalizedOptions);
102
102
  return { success: true, terminalOutput: await task };
103
103
  }
104
- var executor_default = _chunkCBVZ57E6js.withRunExecutor.call(void 0,
104
+ var executor_default = _chunkULCE72HVjs.withRunExecutor.call(void 0,
105
105
  "Napi - Build Bindings",
106
106
  napiExecutor,
107
107
  {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-GKLFEOKK.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-35ERFW7I.mjs";
7
+ } from "./chunk-QJ74HYMK.mjs";
8
8
 
9
9
  // src/executors/cargo-doc/executor.ts
10
10
  async function cargoDocExecutor(options, context) {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-35ERFW7I.mjs";
3
+ } from "./chunk-QJ74HYMK.mjs";
4
4
  import {
5
5
  writeInfo
6
- } from "./chunk-4AR5RJMF.mjs";
6
+ } from "./chunk-LOPJYZWJ.mjs";
7
7
  import {
8
8
  joinPaths
9
9
  } from "./chunk-TBW5MCN6.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-2QMGYIOO.mjs";
5
5
  import {
6
6
  getConfig
7
- } from "./chunk-35G4LHK2.mjs";
7
+ } from "./chunk-R5RFMU22.mjs";
8
8
  import {
9
9
  brandIcon,
10
10
  formatLogMessage,
@@ -15,7 +15,7 @@ import {
15
15
  writeInfo,
16
16
  writeSuccess,
17
17
  writeTrace
18
- } from "./chunk-4AR5RJMF.mjs";
18
+ } from "./chunk-LOPJYZWJ.mjs";
19
19
  import {
20
20
  findWorkspaceRoot
21
21
  } from "./chunk-3J2CP54B.mjs";
@@ -4,14 +4,14 @@
4
4
  var _chunk32KQVUCFjs = require('./chunk-32KQVUCF.js');
5
5
 
6
6
 
7
- var _chunkCBVZ57E6js = require('./chunk-CBVZ57E6.js');
7
+ var _chunkULCE72HVjs = require('./chunk-ULCE72HV.js');
8
8
 
9
9
  // src/executors/cargo-build/executor.ts
10
10
  async function cargoBuildExecutor(options, context) {
11
11
  const command = _chunk32KQVUCFjs.buildCargoCommand.call(void 0, "build", options, context);
12
12
  return await _chunk32KQVUCFjs.cargoCommand.call(void 0, context.root, ...command);
13
13
  }
14
- var executor_default = _chunkCBVZ57E6js.withRunExecutor.call(void 0,
14
+ var executor_default = _chunkULCE72HVjs.withRunExecutor.call(void 0,
15
15
  "Cargo - Build",
16
16
  cargoBuildExecutor,
17
17
  {
@@ -5,7 +5,7 @@ import {
5
5
  getLogLevelLabel,
6
6
  writeTrace,
7
7
  writeWarning
8
- } from "./chunk-4AR5RJMF.mjs";
8
+ } from "./chunk-LOPJYZWJ.mjs";
9
9
  import {
10
10
  findWorkspaceRoot
11
11
  } from "./chunk-3J2CP54B.mjs";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  writeDebug,
3
3
  writeTrace
4
- } from "./chunk-4AR5RJMF.mjs";
4
+ } from "./chunk-LOPJYZWJ.mjs";
5
5
  import {
6
6
  findWorkspaceRoot
7
7
  } from "./chunk-3J2CP54B.mjs";
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-QC5ON3X4.mjs";
8
8
  import {
9
9
  withRunGenerator
10
- } from "./chunk-ALL63TSY.mjs";
10
+ } from "./chunk-K4FLM47P.mjs";
11
11
  import {
12
12
  joinPaths
13
13
  } from "./chunk-TBW5MCN6.mjs";