@storm-software/workspace-tools 1.277.26 → 1.277.28

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 +54 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-HSJMJFKE.mjs → chunk-3CPOV3N6.mjs} +2 -2
  4. package/dist/{chunk-RA2N6JZH.js → chunk-3OVLNULV.js} +2 -2
  5. package/dist/{chunk-P5EIB5HG.mjs → chunk-3VAHUUNQ.mjs} +1 -1
  6. package/dist/{chunk-2TGFVUIR.mjs → chunk-55FODDLQ.mjs} +2 -2
  7. package/dist/{chunk-LPNTTZ7I.mjs → chunk-5EK4H7VB.mjs} +1 -1
  8. package/dist/{chunk-XPKUS7AG.js → chunk-65P2PGPR.js} +5 -5
  9. package/dist/{chunk-G4MTTQFI.mjs → chunk-6RHHYXZE.mjs} +1 -1
  10. package/dist/{chunk-CSCLNKMV.js → chunk-6WBXO6UH.js} +2 -2
  11. package/dist/{chunk-QZA6F5EA.js → chunk-6XYAQUU3.js} +21 -21
  12. package/dist/{chunk-OZRUZ6AM.mjs → chunk-7IPJE3E3.mjs} +4 -4
  13. package/dist/{chunk-4OBCRV37.js → chunk-7YUXBCFS.js} +9 -9
  14. package/dist/{chunk-KXUWH7QY.js → chunk-ABUZEUF7.js} +2 -2
  15. package/dist/{chunk-CSXGWGUK.js → chunk-AQOT2IAM.js} +32 -32
  16. package/dist/{chunk-O4RSZYAD.js → chunk-BDA4N25E.js} +20 -20
  17. package/dist/{chunk-JTCJS4RS.js → chunk-BP22TRDI.js} +10 -6
  18. package/dist/{chunk-KYU34QH5.js → chunk-E566KBB3.js} +5 -5
  19. package/dist/{chunk-HBNNRGCJ.js → chunk-EC7YQEHT.js} +2 -2
  20. package/dist/{chunk-EDHSPOFD.mjs → chunk-EUWPFP5C.mjs} +1 -1
  21. package/dist/{chunk-JUSIKDWJ.mjs → chunk-GH5ABWPU.mjs} +1 -1
  22. package/dist/{chunk-RUGDFSKK.mjs → chunk-HWCERW6A.mjs} +2 -2
  23. package/dist/{chunk-QPPWAQNV.js → chunk-JRQIA2WV.js} +2 -2
  24. package/dist/{chunk-ZQHOT6H6.mjs → chunk-K262HGVZ.mjs} +2 -2
  25. package/dist/{chunk-D73OGSDF.js → chunk-KZIA4CGL.js} +24 -20
  26. package/dist/{chunk-YAEW3DQA.mjs → chunk-NFK6PGAC.mjs} +1 -1
  27. package/dist/{chunk-IDQ4JCDX.mjs → chunk-NQ525HTH.mjs} +7 -3
  28. package/dist/{chunk-25VWKDTU.js → chunk-OQUI7H7Z.js} +2 -2
  29. package/dist/{chunk-POILBEZH.mjs → chunk-PG7GBHUM.mjs} +1 -1
  30. package/dist/{chunk-G4U3DGCJ.mjs → chunk-PGIUP33N.mjs} +2 -2
  31. package/dist/{chunk-KYIRUMWH.mjs → chunk-PPMPCT7K.mjs} +2 -2
  32. package/dist/{chunk-V7ERI6BM.mjs → chunk-Q7MIY2SX.mjs} +1 -1
  33. package/dist/{chunk-M4TB3TOS.js → chunk-QEU3B4T6.js} +16 -16
  34. package/dist/{chunk-DASH2FOM.mjs → chunk-QPCOSMXY.mjs} +2 -2
  35. package/dist/{chunk-KUYVHZWZ.js → chunk-R7DNGWVO.js} +2 -2
  36. package/dist/{chunk-LQV3CCWT.js → chunk-RVJSZ7SI.js} +4 -4
  37. package/dist/{chunk-5LD3ABVM.js → chunk-S2N53PIP.js} +2 -2
  38. package/dist/{chunk-PKDVMEUW.mjs → chunk-SW2AFRXA.mjs} +8 -4
  39. package/dist/{chunk-IWD5UVSO.js → chunk-TJ3JPU6C.js} +2 -2
  40. package/dist/{chunk-3MSNXXXO.js → chunk-UXALGSQC.js} +2 -2
  41. package/dist/{chunk-2BORL7LX.js → chunk-V53473BD.js} +2 -2
  42. package/dist/{chunk-H5JCXWPB.mjs → chunk-V5564COA.mjs} +2 -2
  43. package/dist/{chunk-UWK5LEHA.mjs → chunk-VRPEYRWI.mjs} +1 -1
  44. package/dist/{chunk-MSHTPMHQ.js → chunk-XBRR6YS3.js} +2 -2
  45. package/dist/{chunk-4JA63BTZ.mjs → chunk-XPFT4BMH.mjs} +1 -1
  46. package/dist/{chunk-3YKD4Y7G.mjs → chunk-YDXXSCNG.mjs} +1 -1
  47. package/dist/{chunk-EOAKAELE.mjs → chunk-ZFA26D42.mjs} +2 -2
  48. package/dist/{chunk-JOG7WCHD.js → chunk-ZLVVUMYO.js} +2 -2
  49. package/dist/{chunk-JK77T25H.mjs → chunk-ZRTYYXDL.mjs} +2 -2
  50. package/dist/executors.js +17 -17
  51. package/dist/executors.mjs +17 -17
  52. package/dist/generators.js +12 -12
  53. package/dist/generators.mjs +13 -13
  54. package/dist/index.js +25 -25
  55. package/dist/index.mjs +26 -26
  56. package/dist/src/base/base-executor.js +4 -4
  57. package/dist/src/base/base-executor.mjs +4 -4
  58. package/dist/src/base/base-executor.untyped.mjs +1 -1
  59. package/dist/src/base/base-generator.js +4 -4
  60. package/dist/src/base/base-generator.mjs +4 -4
  61. package/dist/src/base/base-generator.untyped.mjs +1 -1
  62. package/dist/src/base/cargo-base-executor.untyped.mjs +1 -1
  63. package/dist/src/base/index.js +5 -5
  64. package/dist/src/base/index.mjs +5 -5
  65. package/dist/src/base/typescript-build-executor.untyped.mjs +1 -1
  66. package/dist/src/base/typescript-library-generator.untyped.mjs +1 -1
  67. package/dist/src/executors/cargo-build/executor.js +5 -5
  68. package/dist/src/executors/cargo-build/executor.mjs +5 -5
  69. package/dist/src/executors/cargo-build/untyped.mjs +1 -1
  70. package/dist/src/executors/cargo-check/executor.js +5 -5
  71. package/dist/src/executors/cargo-check/executor.mjs +5 -5
  72. package/dist/src/executors/cargo-check/untyped.mjs +1 -1
  73. package/dist/src/executors/cargo-clippy/executor.js +5 -5
  74. package/dist/src/executors/cargo-clippy/executor.mjs +5 -5
  75. package/dist/src/executors/cargo-clippy/untyped.mjs +1 -1
  76. package/dist/src/executors/cargo-doc/executor.js +5 -5
  77. package/dist/src/executors/cargo-doc/executor.mjs +5 -5
  78. package/dist/src/executors/cargo-doc/untyped.mjs +1 -1
  79. package/dist/src/executors/cargo-format/executor.js +5 -5
  80. package/dist/src/executors/cargo-format/executor.mjs +5 -5
  81. package/dist/src/executors/cargo-format/untyped.mjs +1 -1
  82. package/dist/src/executors/cargo-publish/executor.js +4 -4
  83. package/dist/src/executors/cargo-publish/executor.mjs +4 -4
  84. package/dist/src/executors/cargo-publish/untyped.mjs +1 -1
  85. package/dist/src/executors/clean-package/executor.js +6 -6
  86. package/dist/src/executors/clean-package/executor.mjs +4 -4
  87. package/dist/src/executors/clean-package/untyped.mjs +1 -1
  88. package/dist/src/executors/esbuild/executor.js +5 -5
  89. package/dist/src/executors/esbuild/executor.mjs +5 -5
  90. package/dist/src/executors/esbuild/untyped.mjs +1 -1
  91. package/dist/src/executors/npm-publish/executor.js +5 -5
  92. package/dist/src/executors/npm-publish/executor.mjs +5 -5
  93. package/dist/src/executors/npm-publish/untyped.mjs +1 -1
  94. package/dist/src/executors/size-limit/executor.js +5 -5
  95. package/dist/src/executors/size-limit/executor.mjs +5 -5
  96. package/dist/src/executors/size-limit/untyped.mjs +1 -1
  97. package/dist/src/executors/typia/executor.js +5 -5
  98. package/dist/src/executors/typia/executor.mjs +5 -5
  99. package/dist/src/executors/typia/untyped.mjs +1 -1
  100. package/dist/src/executors/unbuild/executor.js +5 -5
  101. package/dist/src/executors/unbuild/executor.mjs +5 -5
  102. package/dist/src/executors/unbuild/untyped.mjs +1 -1
  103. package/dist/src/generators/browser-library/generator.js +5 -5
  104. package/dist/src/generators/browser-library/generator.mjs +5 -5
  105. package/dist/src/generators/browser-library/untyped.mjs +1 -1
  106. package/dist/src/generators/config-schema/generator.js +5 -5
  107. package/dist/src/generators/config-schema/generator.mjs +5 -5
  108. package/dist/src/generators/config-schema/untyped.mjs +1 -1
  109. package/dist/src/generators/init/init.mjs +1 -1
  110. package/dist/src/generators/init/untyped.mjs +1 -1
  111. package/dist/src/generators/neutral-library/generator.js +5 -5
  112. package/dist/src/generators/neutral-library/generator.mjs +5 -5
  113. package/dist/src/generators/neutral-library/untyped.mjs +1 -1
  114. package/dist/src/generators/node-library/generator.js +5 -5
  115. package/dist/src/generators/node-library/generator.mjs +5 -5
  116. package/dist/src/generators/node-library/untyped.mjs +1 -1
  117. package/dist/src/generators/preset/generator.js +5 -5
  118. package/dist/src/generators/preset/generator.mjs +5 -5
  119. package/dist/src/generators/preset/untyped.mjs +1 -1
  120. package/dist/src/generators/release-version/generator.js +5 -5
  121. package/dist/src/generators/release-version/generator.mjs +5 -5
  122. package/dist/src/generators/release-version/untyped.mjs +1 -1
  123. package/dist/src/plugins/rust/cargo-toml.mjs +1 -1
  124. package/dist/src/plugins/rust/index.mjs +1 -1
  125. package/dist/src/plugins/typescript/index.mjs +1 -1
  126. package/dist/src/plugins/typescript/project-config.mjs +1 -1
  127. package/dist/src/plugins/typescript/tsup.mjs +1 -1
  128. package/dist/src/plugins/typescript/untyped-schema.mjs +1 -1
  129. package/dist/src/types.mjs +1 -1
  130. package/dist/src/utils/apply-workspace-tokens.mjs +1 -1
  131. package/dist/src/utils/cargo.mjs +1 -1
  132. package/dist/src/utils/create-cli-options.mjs +1 -1
  133. package/dist/src/utils/get-project-configurations.mjs +1 -1
  134. package/dist/src/utils/index.js +4 -4
  135. package/dist/src/utils/index.mjs +4 -4
  136. package/dist/src/utils/lock-file.mjs +1 -1
  137. package/dist/src/utils/package-helpers.js +4 -4
  138. package/dist/src/utils/package-helpers.mjs +4 -4
  139. package/dist/src/utils/plugin-helpers.mjs +1 -1
  140. package/dist/src/utils/pnpm-deps-update.mjs +1 -1
  141. package/dist/src/utils/project-tags.mjs +1 -1
  142. package/dist/src/utils/typia-transform.mjs +1 -1
  143. package/dist/src/utils/versions.mjs +1 -1
  144. package/package.json +9 -9
@@ -1,9 +1,9 @@
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 _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 _chunkQZA6F5EAjs = require('./chunk-QZA6F5EA.js');
3
+ var _chunk6XYAQUU3js = require('./chunk-6XYAQUU3.js');
4
4
 
5
5
 
6
- var _chunkO4RSZYADjs = require('./chunk-O4RSZYAD.js');
6
+ var _chunkBDA4N25Ejs = require('./chunk-BDA4N25E.js');
7
7
 
8
8
 
9
9
 
@@ -14,7 +14,7 @@ var _chunkO4RSZYADjs = require('./chunk-O4RSZYAD.js');
14
14
 
15
15
 
16
16
 
17
- var _chunkJTCJS4RSjs = require('./chunk-JTCJS4RS.js');
17
+ var _chunkBP22TRDIjs = require('./chunk-BP22TRDI.js');
18
18
 
19
19
 
20
20
  var _chunk4WHSR4FKjs = require('./chunk-4WHSR4FK.js');
@@ -82,7 +82,7 @@ var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, gen
82
82
  output: "src/"
83
83
  });
84
84
  }
85
- _chunkJTCJS4RSjs.writeTrace.call(void 0,
85
+ _chunkBP22TRDIjs.writeTrace.call(void 0,
86
86
  `\u{1F4DD} Copying the following assets to the output directory:
87
87
  ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunk53DNHF7Bjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
88
88
  config
@@ -94,9 +94,9 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
94
94
  assets: pendingAssets
95
95
  });
96
96
  await assetHandler.processAllAssetsOnce();
97
- _chunkJTCJS4RSjs.writeTrace.call(void 0, "Completed copying assets to the output directory", config);
97
+ _chunkBP22TRDIjs.writeTrace.call(void 0, "Completed copying assets to the output directory", config);
98
98
  if (includeSrc === true) {
99
- _chunkJTCJS4RSjs.writeDebug.call(void 0,
99
+ _chunkBP22TRDIjs.writeDebug.call(void 0,
100
100
  `\u{1F4DD} Adding banner and writing source files: ${_chunk53DNHF7Bjs.joinPaths.call(void 0,
101
101
  outputPath,
102
102
  "src"
@@ -180,7 +180,7 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
180
180
  }
181
181
  }
182
182
  if (localPackages.length > 0) {
183
- _chunkJTCJS4RSjs.writeTrace.call(void 0,
183
+ _chunkBP22TRDIjs.writeTrace.call(void 0,
184
184
  `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`
185
185
  );
186
186
  const projectJsonFile = await _promises.readFile.call(void 0,
@@ -228,7 +228,7 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
228
228
  return ret;
229
229
  }, _nullishCoalesce(packageJson.devDependencies, () => ( {})));
230
230
  } else {
231
- _chunkJTCJS4RSjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
231
+ _chunkBP22TRDIjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
232
232
  }
233
233
  return packageJson;
234
234
  };
@@ -305,11 +305,11 @@ var _createtaskgraph = require('nx/src/tasks-runner/create-task-graph');
305
305
  // ../esbuild/src/assets.ts
306
306
  async function copyBuildAssets(context) {
307
307
  if (!_optionalChain([context, 'access', _24 => _24.result, 'optionalAccess', _25 => _25.errors, 'access', _26 => _26.length]) && _optionalChain([context, 'access', _27 => _27.options, 'access', _28 => _28.assets, 'optionalAccess', _29 => _29.length])) {
308
- _chunkJTCJS4RSjs.writeDebug.call(void 0,
308
+ _chunkBP22TRDIjs.writeDebug.call(void 0,
309
309
  ` \u{1F4CB} Copying ${context.options.assets.length} asset files to output directory: ${context.outputPath}`,
310
310
  context.workspaceConfig
311
311
  );
312
- const stopwatch = _chunkJTCJS4RSjs.getStopwatch.call(void 0, `${context.options.name} asset copy`);
312
+ const stopwatch = _chunkBP22TRDIjs.getStopwatch.call(void 0, `${context.options.name} asset copy`);
313
313
  await copyAssets(
314
314
  context.workspaceConfig,
315
315
  _nullishCoalesce(context.options.assets, () => ( [])),
@@ -390,11 +390,11 @@ async function resolveContext(userOptions) {
390
390
  if (!workspaceRoot) {
391
391
  throw new Error("Cannot find Nx workspace root");
392
392
  }
393
- const workspaceConfig = await _chunkO4RSZYADjs.getWorkspaceConfig.call(void 0, true, {
393
+ const workspaceConfig = await _chunkBDA4N25Ejs.getWorkspaceConfig.call(void 0, true, {
394
394
  workspaceRoot: workspaceRoot.dir
395
395
  });
396
- _chunkJTCJS4RSjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
397
- const stopwatch = _chunkJTCJS4RSjs.getStopwatch.call(void 0, "Build options resolution");
396
+ _chunkBP22TRDIjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
397
+ const stopwatch = _chunkBP22TRDIjs.getStopwatch.call(void 0, "Build options resolution");
398
398
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
399
399
  exitOnError: true
400
400
  });
@@ -464,10 +464,10 @@ async function resolveContext(userOptions) {
464
464
  };
465
465
  context.options.esbuildPlugins = [..._nullishCoalesce(context.options.esbuildPlugins, () => ( []))];
466
466
  if (context.options.verbose) {
467
- _chunkJTCJS4RSjs.writeDebug.call(void 0,
467
+ _chunkBP22TRDIjs.writeDebug.call(void 0,
468
468
  ` \u2699\uFE0F Build options resolved:
469
469
 
470
- ${_chunkJTCJS4RSjs.formatLogMessage.call(void 0, context.options)}`,
470
+ ${_chunkBP22TRDIjs.formatLogMessage.call(void 0, context.options)}`,
471
471
  workspaceConfig
472
472
  );
473
473
  }
@@ -480,8 +480,8 @@ ${_chunkJTCJS4RSjs.formatLogMessage.call(void 0, context.options)}`,
480
480
 
481
481
  async function generatePackageJson(context) {
482
482
  if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunk53DNHF7Bjs.joinPaths.call(void 0, context.options.projectRoot, "package.json"))) {
483
- _chunkJTCJS4RSjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context.workspaceConfig);
484
- const stopwatch = _chunkJTCJS4RSjs.getStopwatch.call(void 0, "Write package.json file");
483
+ _chunkBP22TRDIjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context.workspaceConfig);
484
+ const stopwatch = _chunkBP22TRDIjs.getStopwatch.call(void 0, "Write package.json file");
485
485
  const packageJsonPath = _chunk53DNHF7Bjs.joinPaths.call(void 0,
486
486
  context.options.projectRoot,
487
487
  "project.json"
@@ -671,10 +671,10 @@ var depsCheckPlugin = (bundle) => ({
671
671
  const filteredMissingDeps = missingDependencies.filter((dep) => {
672
672
  return !missingIgnore.some((pattern) => dep.match(pattern)) && !peerDependencies.includes(dep);
673
673
  });
674
- _chunkJTCJS4RSjs.writeWarning.call(void 0,
674
+ _chunkBP22TRDIjs.writeWarning.call(void 0,
675
675
  `Unused Dependencies: ${JSON.stringify(filteredUnusedDeps)}`
676
676
  );
677
- _chunkJTCJS4RSjs.writeError.call(void 0,
677
+ _chunkBP22TRDIjs.writeError.call(void 0,
678
678
  `Missing Dependencies: ${JSON.stringify(filteredMissingDeps)}`
679
679
  );
680
680
  if (filteredMissingDeps.length > 0) {
@@ -689,11 +689,11 @@ ${JSON.stringify(filteredMissingDeps)}
689
689
  // ../esbuild/src/tsup.ts
690
690
  var _tsup = require('tsup');
691
691
  async function executeTsup(context) {
692
- _chunkJTCJS4RSjs.writeDebug.call(void 0,
692
+ _chunkBP22TRDIjs.writeDebug.call(void 0,
693
693
  ` \u{1F680} Running ${context.options.name} build`,
694
694
  context.workspaceConfig
695
695
  );
696
- const stopwatch = _chunkJTCJS4RSjs.getStopwatch.call(void 0, `${context.options.name} build`);
696
+ const stopwatch = _chunkBP22TRDIjs.getStopwatch.call(void 0, `${context.options.name} build`);
697
697
  await _tsup.build.call(void 0, {
698
698
  ...context.options,
699
699
  outDir: context.options.distDir ? _chunk53DNHF7Bjs.joinPaths.call(void 0, context.outputPath, context.options.distDir) : context.outputPath,
@@ -707,17 +707,17 @@ async function executeTsup(context) {
707
707
  async function reportResults(context) {
708
708
  if (_optionalChain([context, 'access', _32 => _32.result, 'optionalAccess', _33 => _33.errors, 'access', _34 => _34.length]) === 0) {
709
709
  if (context.result.warnings.length > 0) {
710
- _chunkJTCJS4RSjs.writeWarning.call(void 0,
710
+ _chunkBP22TRDIjs.writeWarning.call(void 0,
711
711
  ` \u{1F6A7} The following warnings occurred during the build: ${context.result.warnings.map((warning) => warning.text).join("\n")}`,
712
712
  context.workspaceConfig
713
713
  );
714
714
  }
715
- _chunkJTCJS4RSjs.writeSuccess.call(void 0,
715
+ _chunkBP22TRDIjs.writeSuccess.call(void 0,
716
716
  ` \u{1F4E6} The ${context.options.name} build completed successfully`,
717
717
  context.workspaceConfig
718
718
  );
719
719
  } else if (_optionalChain([context, 'access', _35 => _35.result, 'optionalAccess', _36 => _36.errors]) && _optionalChain([context, 'access', _37 => _37.result, 'optionalAccess', _38 => _38.errors, 'access', _39 => _39.length]) > 0) {
720
- _chunkJTCJS4RSjs.writeError.call(void 0,
720
+ _chunkBP22TRDIjs.writeError.call(void 0,
721
721
  ` \u274C The ${context.options.name} build failed with the following errors: ${context.result.errors.map((error) => error.text).join("\n")}`,
722
722
  context.workspaceConfig
723
723
  );
@@ -754,19 +754,19 @@ async function dependencyCheck(options) {
754
754
  }
755
755
  async function cleanOutputPath(context) {
756
756
  if (context.clean !== false && context.outputPath) {
757
- _chunkJTCJS4RSjs.writeDebug.call(void 0,
757
+ _chunkBP22TRDIjs.writeDebug.call(void 0,
758
758
  ` \u{1F9F9} Cleaning ${context.options.name} output path: ${context.outputPath}`,
759
759
  context.workspaceConfig
760
760
  );
761
- const stopwatch = _chunkJTCJS4RSjs.getStopwatch.call(void 0, `${context.options.name} output clean`);
761
+ const stopwatch = _chunkBP22TRDIjs.getStopwatch.call(void 0, `${context.options.name} output clean`);
762
762
  await cleanDirectories(context.outputPath);
763
763
  stopwatch();
764
764
  }
765
765
  return context;
766
766
  }
767
767
  async function build2(options) {
768
- _chunkJTCJS4RSjs.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
769
- const stopwatch = _chunkJTCJS4RSjs.getStopwatch.call(void 0, "ESBuild pipeline");
768
+ _chunkBP22TRDIjs.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
769
+ const stopwatch = _chunkBP22TRDIjs.getStopwatch.call(void 0, "ESBuild pipeline");
770
770
  try {
771
771
  const opts = Array.isArray(options) ? options : [options];
772
772
  if (opts.length === 0) {
@@ -781,9 +781,9 @@ async function build2(options) {
781
781
  executeTsup(context)
782
782
  ]);
783
783
  await reportResults(context);
784
- _chunkJTCJS4RSjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
784
+ _chunkBP22TRDIjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
785
785
  } catch (error) {
786
- _chunkJTCJS4RSjs.writeFatal.call(void 0,
786
+ _chunkBP22TRDIjs.writeFatal.call(void 0,
787
787
  "Fatal errors that the build process could not recover from have occured. The build process has been terminated."
788
788
  );
789
789
  throw error;
@@ -794,7 +794,7 @@ async function build2(options) {
794
794
 
795
795
  // src/executors/esbuild/executor.ts
796
796
  async function esbuildExecutorFn(options, context, config) {
797
- _chunkJTCJS4RSjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
797
+ _chunkBP22TRDIjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
798
798
  if (!_optionalChain([context, 'access', _40 => _40.projectsConfigurations, 'optionalAccess', _41 => _41.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !_optionalChain([context, 'access', _42 => _42.projectsConfigurations, 'access', _43 => _43.projects, 'access', _44 => _44[context.projectName], 'optionalAccess', _45 => _45.root])) {
799
799
  throw new Error(
800
800
  "The Build process failed because the context is not valid. Please run this command from a workspace."
@@ -812,7 +812,7 @@ async function esbuildExecutorFn(options, context, config) {
812
812
  success: true
813
813
  };
814
814
  }
815
- var executor_default = _chunkQZA6F5EAjs.withRunExecutor.call(void 0,
815
+ var executor_default = _chunk6XYAQUU3js.withRunExecutor.call(void 0,
816
816
  "Storm ESBuild build",
817
817
  esbuildExecutorFn,
818
818
  {
@@ -12,7 +12,7 @@
12
12
 
13
13
 
14
14
 
15
- var _chunkJTCJS4RSjs = require('./chunk-JTCJS4RS.js');
15
+ var _chunkBP22TRDIjs = require('./chunk-BP22TRDI.js');
16
16
 
17
17
 
18
18
  var _chunk4WHSR4FKjs = require('./chunk-4WHSR4FK.js');
@@ -68,7 +68,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
68
68
  let config = result.config;
69
69
  const configFile = result.configFile;
70
70
  if (config && configFile && Object.keys(config).length > 0 && !config.skipConfigLogging) {
71
- _chunkJTCJS4RSjs.writeTrace.call(void 0,
71
+ _chunkBP22TRDIjs.writeTrace.call(void 0,
72
72
  `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
73
73
  {
74
74
  logLevel: "all"
@@ -84,7 +84,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
84
84
  for (const result2 of results) {
85
85
  if (_optionalChain([result2, 'optionalAccess', _5 => _5.config]) && _optionalChain([result2, 'optionalAccess', _6 => _6.configFile]) && Object.keys(result2.config).length > 0) {
86
86
  if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
87
- _chunkJTCJS4RSjs.writeTrace.call(void 0,
87
+ _chunkBP22TRDIjs.writeTrace.call(void 0,
88
88
  `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
89
89
  {
90
90
  logLevel: "all"
@@ -192,13 +192,13 @@ var getConfigEnv = () => {
192
192
  },
193
193
  logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
194
194
  Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
195
- ) ? _chunkJTCJS4RSjs.getLogLevelLabel.call(void 0,
195
+ ) ? _chunkBP22TRDIjs.getLogLevelLabel.call(void 0,
196
196
  Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
197
197
  ) : process.env[`${prefix}LOG_LEVEL`] : void 0,
198
198
  skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
199
199
  };
200
200
  const themeNames = Object.keys(process.env).filter(
201
- (envKey) => envKey.startsWith(`${prefix}COLOR_`) && _chunkJTCJS4RSjs.COLOR_KEYS.every(
201
+ (envKey) => envKey.startsWith(`${prefix}COLOR_`) && _chunkBP22TRDIjs.COLOR_KEYS.every(
202
202
  (colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)
203
203
  )
204
204
  );
@@ -209,16 +209,16 @@ var getConfigEnv = () => {
209
209
  },
210
210
  {}
211
211
  ) : getThemeColorConfigEnv(prefix);
212
- if (config.docs === _chunkJTCJS4RSjs.STORM_DEFAULT_DOCS) {
213
- if (config.homepage === _chunkJTCJS4RSjs.STORM_DEFAULT_HOMEPAGE) {
214
- config.docs = `${_chunkJTCJS4RSjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
212
+ if (config.docs === _chunkBP22TRDIjs.STORM_DEFAULT_DOCS) {
213
+ if (config.homepage === _chunkBP22TRDIjs.STORM_DEFAULT_HOMEPAGE) {
214
+ config.docs = `${_chunkBP22TRDIjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
215
215
  } else {
216
216
  config.docs = `${config.homepage}/docs`;
217
217
  }
218
218
  }
219
- if (config.licensing === _chunkJTCJS4RSjs.STORM_DEFAULT_LICENSING) {
220
- if (config.homepage === _chunkJTCJS4RSjs.STORM_DEFAULT_HOMEPAGE) {
221
- config.licensing = `${_chunkJTCJS4RSjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
219
+ if (config.licensing === _chunkBP22TRDIjs.STORM_DEFAULT_LICENSING) {
220
+ if (config.homepage === _chunkBP22TRDIjs.STORM_DEFAULT_HOMEPAGE) {
221
+ config.licensing = `${_chunkBP22TRDIjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
222
222
  } else {
223
223
  config.licensing = `${config.homepage}/docs`;
224
224
  }
@@ -514,9 +514,9 @@ var setConfigEnv = (config) => {
514
514
  process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
515
515
  process.env.LOG_LEVEL = String(config.logLevel);
516
516
  process.env.NX_VERBOSE_LOGGING = String(
517
- _chunkJTCJS4RSjs.getLogLevel.call(void 0, config.logLevel) >= _chunkJTCJS4RSjs.LogLevel.DEBUG ? true : false
517
+ _chunkBP22TRDIjs.getLogLevel.call(void 0, config.logLevel) >= _chunkBP22TRDIjs.LogLevel.DEBUG ? true : false
518
518
  );
519
- process.env.RUST_BACKTRACE = _chunkJTCJS4RSjs.getLogLevel.call(void 0, config.logLevel) >= _chunkJTCJS4RSjs.LogLevel.DEBUG ? "full" : "none";
519
+ process.env.RUST_BACKTRACE = _chunkBP22TRDIjs.getLogLevel.call(void 0, config.logLevel) >= _chunkBP22TRDIjs.LogLevel.DEBUG ? "full" : "none";
520
520
  }
521
521
  if (config.skipConfigLogging !== void 0) {
522
522
  process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(
@@ -642,7 +642,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
642
642
  const configFile = await getConfigFile(_workspaceRoot);
643
643
  if (!configFile) {
644
644
  if (!skipLogs) {
645
- _chunkJTCJS4RSjs.writeWarning.call(void 0,
645
+ _chunkBP22TRDIjs.writeWarning.call(void 0,
646
646
  "No Storm Workspace configuration file found in the current repository. Please ensure this is the expected behavior - you can add a `storm-workspace.json` file to the root of your workspace if it is not.\n",
647
647
  { logLevel: "all" }
648
648
  );
@@ -651,22 +651,22 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
651
651
  return void 0;
652
652
  }
653
653
  }
654
- const defaultConfig = await _chunkJTCJS4RSjs.getPackageJsonConfig.call(void 0, _workspaceRoot);
654
+ const defaultConfig = await _chunkBP22TRDIjs.getPackageJsonConfig.call(void 0, _workspaceRoot);
655
655
  const configInput = _defu2.default.call(void 0,
656
656
  configEnv,
657
657
  configFile,
658
658
  defaultConfig
659
659
  );
660
660
  try {
661
- result = _chunkJTCJS4RSjs.applyDefaultConfig.call(void 0,
662
- await _chunkJTCJS4RSjs.stormWorkspaceConfigSchema.parseAsync(configInput)
661
+ result = _chunkBP22TRDIjs.applyDefaultConfig.call(void 0,
662
+ await _chunkBP22TRDIjs.stormWorkspaceConfigSchema.parseAsync(configInput)
663
663
  );
664
664
  result.workspaceRoot ??= _workspaceRoot;
665
665
  } catch (error) {
666
666
  throw new Error(
667
667
  `Failed to parse Storm Workspace configuration${_optionalChain([error, 'optionalAccess', _31 => _31.message]) ? `: ${error.message}` : ""}
668
668
 
669
- Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${_chunkJTCJS4RSjs.formatLogMessage.call(void 0,
669
+ Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${_chunkBP22TRDIjs.formatLogMessage.call(void 0,
670
670
  configInput
671
671
  )}`,
672
672
  {
@@ -711,9 +711,9 @@ var loadStormWorkspaceConfig = async (workspaceRoot, skipLogs = false) => {
711
711
  );
712
712
  setConfigEnv(config);
713
713
  if (!skipLogs && !config.skipConfigLogging) {
714
- _chunkJTCJS4RSjs.writeTrace.call(void 0,
714
+ _chunkBP22TRDIjs.writeTrace.call(void 0,
715
715
  `\u2699\uFE0F Using Storm Workspace configuration:
716
- ${_chunkJTCJS4RSjs.formatLogMessage.call(void 0, config)}`,
716
+ ${_chunkBP22TRDIjs.formatLogMessage.call(void 0, config)}`,
717
717
  config
718
718
  );
719
719
  }
@@ -410,16 +410,20 @@ var _chalk2 = require('chalk'); var _chalk3 = _interopRequireDefault(_chalk2);
410
410
  var chalkDefault = {
411
411
  hex: (_) => (message) => message,
412
412
  bgHex: (_) => ({
413
- whiteBright: (message) => message
413
+ whiteBright: (message) => message,
414
+ white: (message) => message
414
415
  }),
416
+ white: (message) => message,
415
417
  whiteBright: (message) => message,
416
418
  gray: (message) => message,
417
419
  bold: {
418
420
  hex: (_) => (message) => message,
419
421
  bgHex: (_) => ({
420
- whiteBright: (message) => message
422
+ whiteBright: (message) => message,
423
+ white: (message) => message
421
424
  }),
422
- whiteBright: (message) => message
425
+ whiteBright: (message) => message,
426
+ white: (message) => message
423
427
  },
424
428
  dim: {
425
429
  hex: (_) => (message) => message,
@@ -428,7 +432,7 @@ var chalkDefault = {
428
432
  };
429
433
  var getChalk = () => {
430
434
  let _chalk = _chalk3.default;
431
- if (!_optionalChain([_chalk, 'optionalAccess', _6 => _6.hex]) || !_optionalChain([_chalk, 'optionalAccess', _7 => _7.bold, 'optionalAccess', _8 => _8.hex]) || !_optionalChain([_chalk, 'optionalAccess', _9 => _9.bgHex]) || !_optionalChain([_chalk, 'optionalAccess', _10 => _10.whiteBright])) {
435
+ if (!_optionalChain([_chalk, 'optionalAccess', _6 => _6.hex]) || !_optionalChain([_chalk, 'optionalAccess', _7 => _7.bold, 'optionalAccess', _8 => _8.hex]) || !_optionalChain([_chalk, 'optionalAccess', _9 => _9.bgHex]) || !_optionalChain([_chalk, 'optionalAccess', _10 => _10.whiteBright]) || !_optionalChain([_chalk, 'optionalAccess', _11 => _11.white])) {
432
436
  _chalk = chalkDefault;
433
437
  }
434
438
  return _chalk;
@@ -516,7 +520,7 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
516
520
 
517
521
  // ../config-tools/src/logger/console.ts
518
522
  var getLogFn = (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
519
- const colors = !_optionalChain([config, 'access', _11 => _11.colors, 'optionalAccess', _12 => _12.dark]) && !_optionalChain([config, 'access', _13 => _13.colors, 'optionalAccess', _14 => _14["base"]]) && !_optionalChain([config, 'access', _15 => _15.colors, 'optionalAccess', _16 => _16["base"], 'optionalAccess', _17 => _17.dark]) ? DEFAULT_COLOR_CONFIG : _optionalChain([config, 'access', _18 => _18.colors, 'optionalAccess', _19 => _19.dark]) && typeof config.colors.dark === "string" ? config.colors : _optionalChain([config, 'access', _20 => _20.colors, 'optionalAccess', _21 => _21["base"], 'optionalAccess', _22 => _22.dark]) && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : _optionalChain([config, 'access', _23 => _23.colors, 'optionalAccess', _24 => _24["base"]]) ? _optionalChain([config, 'access', _25 => _25.colors, 'optionalAccess', _26 => _26["base"]]) : DEFAULT_COLOR_CONFIG;
523
+ const colors = !_optionalChain([config, 'access', _12 => _12.colors, 'optionalAccess', _13 => _13.dark]) && !_optionalChain([config, 'access', _14 => _14.colors, 'optionalAccess', _15 => _15["base"]]) && !_optionalChain([config, 'access', _16 => _16.colors, 'optionalAccess', _17 => _17["base"], 'optionalAccess', _18 => _18.dark]) ? DEFAULT_COLOR_CONFIG : _optionalChain([config, 'access', _19 => _19.colors, 'optionalAccess', _20 => _20.dark]) && typeof config.colors.dark === "string" ? config.colors : _optionalChain([config, 'access', _21 => _21.colors, 'optionalAccess', _22 => _22["base"], 'optionalAccess', _23 => _23.dark]) && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : _optionalChain([config, 'access', _24 => _24.colors, 'optionalAccess', _25 => _25["base"]]) ? _optionalChain([config, 'access', _26 => _26.colors, 'optionalAccess', _27 => _27["base"]]) : DEFAULT_COLOR_CONFIG;
520
524
  const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
521
525
  if (logLevel > getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT || getLogLevel(configLogLevel) <= LogLevel.SILENT) {
522
526
  return (_) => {
@@ -632,7 +636,7 @@ ${Object.keys(message).filter((key) => !skip.includes(key)).map(
632
636
  };
633
637
  var _isFunction = (value) => {
634
638
  try {
635
- return value instanceof Function || typeof value === "function" || !!(_optionalChain([value, 'optionalAccess', _27 => _27.constructor]) && _optionalChain([value, 'optionalAccess', _28 => _28.call]) && _optionalChain([value, 'optionalAccess', _29 => _29.apply]));
639
+ return value instanceof Function || typeof value === "function" || !!(_optionalChain([value, 'optionalAccess', _28 => _28.constructor]) && _optionalChain([value, 'optionalAccess', _29 => _29.call]) && _optionalChain([value, 'optionalAccess', _30 => _30.apply]));
636
640
  } catch (e) {
637
641
  return false;
638
642
  }
@@ -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 _chunkQZA6F5EAjs = require('./chunk-QZA6F5EA.js');
3
+ var _chunk6XYAQUU3js = require('./chunk-6XYAQUU3.js');
4
4
 
5
5
 
6
- var _chunkJTCJS4RSjs = require('./chunk-JTCJS4RS.js');
6
+ var _chunkBP22TRDIjs = require('./chunk-BP22TRDI.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
- _chunkJTCJS4RSjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
20
+ _chunkBP22TRDIjs.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
- _chunkJTCJS4RSjs.writeInfo.call(void 0,
27
+ _chunkBP22TRDIjs.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 = _chunkQZA6F5EAjs.withRunExecutor.call(void 0,
36
+ var executor_default = _chunk6XYAQUU3js.withRunExecutor.call(void 0,
37
37
  "Size-Limit Performance Test Executor",
38
38
  sizeLimitExecutorFn,
39
39
  {
@@ -4,7 +4,7 @@
4
4
  var _chunkHI4G4OOGjs = require('./chunk-HI4G4OOG.js');
5
5
 
6
6
 
7
- var _chunkM4TB3TOSjs = require('./chunk-M4TB3TOS.js');
7
+ var _chunkQEU3B4T6js = require('./chunk-QEU3B4T6.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 = _chunkM4TB3TOSjs.withRunGenerator.call(void 0,
242
+ var generator_default = _chunkQEU3B4T6js.withRunGenerator.call(void 0,
243
243
  "Storm Workspace Preset Generator",
244
244
  presetGeneratorFn
245
245
  );
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeError
3
- } from "./chunk-PKDVMEUW.mjs";
3
+ } from "./chunk-SW2AFRXA.mjs";
4
4
 
5
5
  // ../config-tools/src/utilities/toml.ts
6
6
  import TOML from "@ltd/j-toml";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  parseCargoToml
3
- } from "./chunk-EDHSPOFD.mjs";
3
+ } from "./chunk-EUWPFP5C.mjs";
4
4
 
5
5
  // src/executors/cargo-publish/executor.ts
6
6
  import { joinPathFragments } from "@nx/devkit";
@@ -4,13 +4,13 @@ import {
4
4
  } from "./chunk-CNBBZVVG.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-G4U3DGCJ.mjs";
7
+ } from "./chunk-PGIUP33N.mjs";
8
8
  import {
9
9
  joinPaths
10
10
  } from "./chunk-U7JFVMCK.mjs";
11
11
  import {
12
12
  __dirname
13
- } from "./chunk-LPNTTZ7I.mjs";
13
+ } from "./chunk-5EK4H7VB.mjs";
14
14
 
15
15
  // src/generators/browser-library/generator.ts
16
16
  import {
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkMSHTPMHQjs = require('./chunk-MSHTPMHQ.js');
3
+ var _chunkXBRR6YS3js = require('./chunk-XBRR6YS3.js');
4
4
 
5
5
 
6
6
  var _chunkF6X43VUXjs = require('./chunk-F6X43VUX.js');
@@ -86,7 +86,7 @@ async function npmPublishExecutorFn(options, context) {
86
86
  return { success: true };
87
87
  }
88
88
  await _chunkF6X43VUXjs.pnpmUpdate.call(void 0, packageRoot, context.root);
89
- await _chunkMSHTPMHQjs.addPackageJsonGitHead.call(void 0, packageRoot);
89
+ await _chunkXBRR6YS3js.addPackageJsonGitHead.call(void 0, packageRoot);
90
90
  const npmPublishCommandSegments = [`npm publish --json`];
91
91
  const npmViewCommandSegments = [
92
92
  `npm view ${packageName} versions dist-tags --json`
@@ -7,13 +7,13 @@ import {
7
7
  } from "./chunk-EK75QNMS.mjs";
8
8
  import {
9
9
  withRunGenerator
10
- } from "./chunk-G4U3DGCJ.mjs";
10
+ } from "./chunk-PGIUP33N.mjs";
11
11
  import {
12
12
  joinPaths
13
13
  } from "./chunk-U7JFVMCK.mjs";
14
14
  import {
15
15
  __dirname
16
- } from "./chunk-LPNTTZ7I.mjs";
16
+ } from "./chunk-5EK4H7VB.mjs";
17
17
 
18
18
  // src/generators/node-library/generator.ts
19
19
  import {