@storm-software/workspace-tools 1.246.4 → 1.247.1

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 (134) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +1 -1
  3. package/config/base.json +28 -35
  4. package/dist/{chunk-BKTZEV6F.mjs → chunk-2LIE7SJ3.mjs} +32 -19
  5. package/dist/{chunk-K4OE73MG.mjs → chunk-3IY2B44Z.mjs} +4 -4
  6. package/dist/{chunk-P2US2643.mjs → chunk-5EWLM3N6.mjs} +4 -4
  7. package/dist/{chunk-RIZNQRKB.mjs → chunk-5GLAGFHA.mjs} +3 -3
  8. package/dist/{chunk-N7VQR5KC.mjs → chunk-5JXVOE56.mjs} +3 -3
  9. package/dist/{chunk-GZPCM2GI.mjs → chunk-7MZLWLLT.mjs} +3 -3
  10. package/dist/{chunk-B3V2M6LS.mjs → chunk-AHTDYOCZ.mjs} +3 -3
  11. package/dist/{chunk-NXGZ7AHM.mjs → chunk-ATMJKNFF.mjs} +5 -5
  12. package/dist/{chunk-SIKIOIIG.js → chunk-B5YTVDRU.js} +3 -3
  13. package/dist/{chunk-T433AJNU.mjs → chunk-BLSGWUGX.mjs} +3 -3
  14. package/dist/{chunk-M666DZYJ.mjs → chunk-C5YDISDP.mjs} +2 -2
  15. package/dist/{chunk-FZI3TKFY.mjs → chunk-D7VXZZFG.mjs} +1 -1
  16. package/dist/{chunk-7UV5IDAC.js → chunk-DVR7HEPK.js} +27 -14
  17. package/dist/{chunk-LREFZEYI.mjs → chunk-E52NPVHL.mjs} +4 -4
  18. package/dist/{chunk-VYH45FO6.mjs → chunk-EIM3O6HY.mjs} +1 -1
  19. package/dist/{chunk-ZKFSI55N.mjs → chunk-EPZT247P.mjs} +4 -4
  20. package/dist/{chunk-SLCOHXD3.mjs → chunk-F2GYXQ5H.mjs} +5 -4
  21. package/dist/{chunk-6TUIQWYY.js → chunk-GDHENHPI.js} +13 -13
  22. package/dist/{chunk-N3CJLBVV.mjs → chunk-H7GRZIKQ.mjs} +4 -4
  23. package/dist/{chunk-XN7ENDA5.mjs → chunk-HDWS7GST.mjs} +3 -3
  24. package/dist/{chunk-LUQIF4A3.mjs → chunk-HUCDWLQ3.mjs} +2 -2
  25. package/dist/{chunk-FBIVTCSJ.mjs → chunk-JB4KCMSB.mjs} +2 -2
  26. package/dist/{chunk-46LLLM6U.mjs → chunk-JQCRK5FU.mjs} +3 -3
  27. package/dist/{chunk-NCFX2MWO.mjs → chunk-KZJCDAOU.mjs} +1 -1
  28. package/dist/{chunk-NDZMHOBS.mjs → chunk-LWUP4RIM.mjs} +2 -2
  29. package/dist/{chunk-IDXFMQIQ.js → chunk-MOPEW5LB.js} +3 -3
  30. package/dist/{chunk-24DH46CG.mjs → chunk-MQE5KGI7.mjs} +3 -3
  31. package/dist/{chunk-XXRNBEAC.mjs → chunk-NH75ORHH.mjs} +3 -3
  32. package/dist/{chunk-USUT2GLD.mjs → chunk-OHEABZJW.mjs} +1 -1
  33. package/dist/{chunk-CXICJ646.mjs → chunk-OM7XDCE7.mjs} +3 -3
  34. package/dist/{chunk-XIVUJTNL.mjs → chunk-OS3ZHOJP.mjs} +5 -5
  35. package/dist/{chunk-OUEARINQ.mjs → chunk-OVR2BAKA.mjs} +2 -2
  36. package/dist/{chunk-3ORCJSUT.mjs → chunk-P2SLAYFV.mjs} +3 -3
  37. package/dist/{chunk-7JBZ67ON.js → chunk-PKBJIHOW.js} +9 -9
  38. package/dist/{chunk-3SODJVIS.js → chunk-PQQYCAXU.js} +3 -3
  39. package/dist/{chunk-EOUMS7CZ.mjs → chunk-R6RTCWUK.mjs} +2 -2
  40. package/dist/{chunk-XUV4U54K.mjs → chunk-R7DU2APC.mjs} +1 -1
  41. package/dist/{chunk-ECSCURQQ.js → chunk-RBU35LQW.js} +2 -1
  42. package/dist/{chunk-NJ2QOT34.mjs → chunk-U7LV2H52.mjs} +1 -1
  43. package/dist/{chunk-LIYZBMAM.mjs → chunk-UH565HF3.mjs} +1 -1
  44. package/dist/{chunk-TBQH5BQE.mjs → chunk-V7IOKRJA.mjs} +2 -2
  45. package/dist/{chunk-X7XA6QPV.mjs → chunk-VBPOZVKY.mjs} +3 -3
  46. package/dist/{chunk-TTVIYPRD.mjs → chunk-VCU6XMJC.mjs} +4 -4
  47. package/dist/{chunk-66TYTM73.mjs → chunk-W3SWWT4A.mjs} +1 -1
  48. package/dist/{chunk-J5SXKBBU.mjs → chunk-X3GPVZMH.mjs} +1 -1
  49. package/dist/{chunk-QZHIWK5Z.mjs → chunk-XK3FSWMA.mjs} +1 -1
  50. package/dist/{chunk-6ZQ3QYXH.mjs → chunk-XUYTELRS.mjs} +2 -2
  51. package/dist/{chunk-UTHOW4PP.mjs → chunk-YHV3GYYF.mjs} +4 -4
  52. package/dist/{chunk-ZKBLM3HV.mjs → chunk-YK676R5F.mjs} +4 -4
  53. package/dist/executors.js +4 -4
  54. package/dist/executors.mjs +22 -22
  55. package/dist/generators.js +5 -5
  56. package/dist/generators.mjs +16 -16
  57. package/dist/index.js +8 -8
  58. package/dist/index.mjs +40 -40
  59. package/dist/src/base/base-executor.mjs +6 -6
  60. package/dist/src/base/base-executor.untyped.mjs +1 -1
  61. package/dist/src/base/base-generator.mjs +6 -6
  62. package/dist/src/base/base-generator.untyped.mjs +1 -1
  63. package/dist/src/base/cargo-base-executor.untyped.mjs +1 -1
  64. package/dist/src/base/index.js +2 -2
  65. package/dist/src/base/index.mjs +10 -10
  66. package/dist/src/base/typescript-build-executor.untyped.mjs +2 -2
  67. package/dist/src/base/typescript-library-generator.untyped.mjs +1 -1
  68. package/dist/src/executors/cargo-build/executor.mjs +8 -8
  69. package/dist/src/executors/cargo-build/untyped.mjs +1 -1
  70. package/dist/src/executors/cargo-check/executor.mjs +8 -8
  71. package/dist/src/executors/cargo-check/untyped.mjs +1 -1
  72. package/dist/src/executors/cargo-clippy/executor.mjs +8 -8
  73. package/dist/src/executors/cargo-clippy/untyped.mjs +1 -1
  74. package/dist/src/executors/cargo-doc/executor.mjs +8 -8
  75. package/dist/src/executors/cargo-doc/untyped.mjs +1 -1
  76. package/dist/src/executors/cargo-format/executor.mjs +8 -8
  77. package/dist/src/executors/cargo-format/untyped.mjs +1 -1
  78. package/dist/src/executors/cargo-publish/executor.mjs +3 -3
  79. package/dist/src/executors/cargo-publish/untyped.mjs +1 -1
  80. package/dist/src/executors/clean-package/executor.mjs +6 -6
  81. package/dist/src/executors/clean-package/untyped.mjs +1 -1
  82. package/dist/src/executors/esbuild/executor.js +3 -3
  83. package/dist/src/executors/esbuild/executor.mjs +8 -8
  84. package/dist/src/executors/esbuild/untyped.mjs +2 -2
  85. package/dist/src/executors/npm-publish/executor.mjs +4 -4
  86. package/dist/src/executors/npm-publish/untyped.mjs +1 -1
  87. package/dist/src/executors/size-limit/executor.mjs +7 -7
  88. package/dist/src/executors/size-limit/untyped.mjs +1 -1
  89. package/dist/src/executors/tsdown/executor.js +3 -3
  90. package/dist/src/executors/tsdown/executor.mjs +8 -8
  91. package/dist/src/executors/tsdown/untyped.mjs +2 -2
  92. package/dist/src/executors/typia/executor.mjs +7 -7
  93. package/dist/src/executors/typia/untyped.mjs +1 -1
  94. package/dist/src/executors/unbuild/executor.mjs +7 -7
  95. package/dist/src/executors/unbuild/untyped.mjs +2 -2
  96. package/dist/src/generators/browser-library/generator.js +3 -3
  97. package/dist/src/generators/browser-library/generator.mjs +9 -9
  98. package/dist/src/generators/browser-library/untyped.mjs +1 -1
  99. package/dist/src/generators/config-schema/generator.mjs +7 -7
  100. package/dist/src/generators/config-schema/untyped.mjs +1 -1
  101. package/dist/src/generators/init/init.mjs +2 -2
  102. package/dist/src/generators/init/untyped.mjs +1 -1
  103. package/dist/src/generators/neutral-library/generator.js +3 -3
  104. package/dist/src/generators/neutral-library/generator.mjs +9 -9
  105. package/dist/src/generators/neutral-library/untyped.mjs +1 -1
  106. package/dist/src/generators/node-library/generator.js +3 -3
  107. package/dist/src/generators/node-library/generator.mjs +9 -9
  108. package/dist/src/generators/node-library/untyped.mjs +1 -1
  109. package/dist/src/generators/preset/generator.mjs +7 -7
  110. package/dist/src/generators/preset/untyped.mjs +1 -1
  111. package/dist/src/generators/release-version/generator.mjs +6 -6
  112. package/dist/src/generators/release-version/untyped.mjs +1 -1
  113. package/dist/src/plugins/rust/cargo-toml.mjs +4 -4
  114. package/dist/src/plugins/rust/index.mjs +4 -4
  115. package/dist/src/plugins/typescript/index.mjs +4 -4
  116. package/dist/src/plugins/typescript/project-config.mjs +4 -4
  117. package/dist/src/plugins/typescript/tsdown.mjs +2 -2
  118. package/dist/src/plugins/typescript/tsup.mjs +2 -2
  119. package/dist/src/plugins/typescript/untyped-schema.mjs +2 -2
  120. package/dist/src/types.mjs +1 -1
  121. package/dist/src/utils/apply-workspace-tokens.mjs +4 -4
  122. package/dist/src/utils/cargo.mjs +2 -2
  123. package/dist/src/utils/create-cli-options.mjs +2 -2
  124. package/dist/src/utils/get-project-configurations.mjs +4 -4
  125. package/dist/src/utils/index.mjs +14 -14
  126. package/dist/src/utils/lock-file.mjs +2 -2
  127. package/dist/src/utils/package-helpers.mjs +4 -4
  128. package/dist/src/utils/plugin-helpers.mjs +3 -3
  129. package/dist/src/utils/pnpm-deps-update.mjs +3 -3
  130. package/dist/src/utils/project-tags.mjs +2 -2
  131. package/dist/src/utils/toml.mjs +2 -2
  132. package/dist/src/utils/typia-transform.mjs +2 -2
  133. package/dist/src/utils/versions.mjs +1 -1
  134. package/package.json +1 -1
@@ -4,13 +4,13 @@ import {
4
4
  import {
5
5
  ProjectTagConstants,
6
6
  addProjectTag
7
- } from "./chunk-66TYTM73.mjs";
7
+ } from "./chunk-W3SWWT4A.mjs";
8
8
  import {
9
9
  joinPaths
10
- } from "./chunk-NCFX2MWO.mjs";
10
+ } from "./chunk-KZJCDAOU.mjs";
11
11
  import {
12
12
  __name
13
- } from "./chunk-XUV4U54K.mjs";
13
+ } from "./chunk-R7DU2APC.mjs";
14
14
 
15
15
  // src/base/typescript-library-generator.ts
16
16
  import { addDependenciesToPackageJson, addProjectConfiguration, ensurePackage, formatFiles, names, offsetFromRoot, readJson, updateJson, writeJson } from "@nx/devkit";
@@ -298,7 +298,8 @@ async function normalizeOptions(tree, options, config) {
298
298
  projectRoot,
299
299
  parsedTags: options.tags ? options.tags.split(",").map((s) => s.trim()) : [],
300
300
  importPath: normalizedImportPath,
301
- rootProject
301
+ rootProject,
302
+ shouldUseSwcJest: false
302
303
  };
303
304
  }
304
305
  __name(normalizeOptions, "normalizeOptions");
@@ -8,7 +8,7 @@
8
8
 
9
9
 
10
10
 
11
- var _chunk7UV5IDACjs = require('./chunk-7UV5IDAC.js');
11
+ var _chunkDVR7HEPKjs = require('./chunk-DVR7HEPK.js');
12
12
 
13
13
 
14
14
  var _chunk5LEU7C3Ejs = require('./chunk-5LEU7C3E.js');
@@ -489,7 +489,7 @@ _chunk3GQAWCBQjs.__name.call(void 0, getTypeDependencyPackageName, "getTypeDepen
489
489
 
490
490
  // ../esbuild/src/config.ts
491
491
  var getOutputExtensionMap = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options, pkgType) => {
492
- return options.outExtension ? options.outExtension(options.format, pkgType) : _chunk7UV5IDACjs.getOutExtension.call(void 0, options.format, pkgType);
492
+ return options.outExtension ? options.outExtension(options.format, pkgType) : _chunkDVR7HEPKjs.getOutExtension.call(void 0, options.format, pkgType);
493
493
  }, "getOutputExtensionMap");
494
494
  var getDefaultBuildPlugins = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options, resolvedOptions) => [
495
495
  nodeProtocolPlugin(options, resolvedOptions),
@@ -537,7 +537,7 @@ var DEFAULT_BUILD_OPTIONS = {
537
537
  ".woff": "file",
538
538
  ".woff2": "file"
539
539
  },
540
- banner: _chunk7UV5IDACjs.DEFAULT_COMPILED_BANNER
540
+ banner: _chunkDVR7HEPKjs.DEFAULT_COMPILED_BANNER
541
541
  };
542
542
 
543
543
  // ../esbuild/src/plugins/deps-check.ts
@@ -733,7 +733,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
733
733
  }
734
734
  const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
735
735
  options.name ??= `${projectName}-${options.format}`;
736
- options.target ??= _chunk7UV5IDACjs.DEFAULT_TARGET;
736
+ options.target ??= _chunkDVR7HEPKjs.DEFAULT_TARGET;
737
737
  const packageJsonPath = _chunkJTAXCQX6js.joinPaths.call(void 0, workspaceRoot.dir, options.projectRoot, "package.json");
738
738
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
739
739
  throw new Error("Cannot find package.json configuration");
@@ -741,7 +741,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
741
741
  const packageJsonFile = await _promises2.default.readFile(packageJsonPath, "utf8");
742
742
  const packageJson = JSON.parse(packageJsonFile);
743
743
  const outExtension = getOutputExtensionMap(options, packageJson.type);
744
- const env = _chunk7UV5IDACjs.getEnv.call(void 0, "esbuild", options);
744
+ const env = _chunkDVR7HEPKjs.getEnv.call(void 0, "esbuild", options);
745
745
  const result = {
746
746
  ...options,
747
747
  config,
@@ -761,7 +761,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
761
761
  ...userOptions,
762
762
  tsconfig: _chunkJTAXCQX6js.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
763
763
  format: options.format || "cjs",
764
- entryPoints: await _chunk7UV5IDACjs.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
764
+ entryPoints: await _chunkDVR7HEPKjs.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
765
765
  "./src/index.ts"
766
766
  ], userOptions.emitOnAll),
767
767
  outdir: userOptions.outputPath || _chunkJTAXCQX6js.joinPaths.call(void 0, "dist", projectRoot),
@@ -786,8 +786,8 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
786
786
  outExtension,
787
787
  footer: userOptions.footer,
788
788
  banner: {
789
- js: options.banner || _chunk7UV5IDACjs.DEFAULT_COMPILED_BANNER,
790
- css: options.banner || _chunk7UV5IDACjs.DEFAULT_COMPILED_BANNER
789
+ js: options.banner || _chunkDVR7HEPKjs.DEFAULT_COMPILED_BANNER,
790
+ css: options.banner || _chunkDVR7HEPKjs.DEFAULT_COMPILED_BANNER
791
791
  },
792
792
  splitting: options.format === "iife" ? false : typeof options.splitting === "boolean" ? options.splitting : options.format === "esm",
793
793
  treeShaking: options.format === "esm",
@@ -830,11 +830,11 @@ async function generatePackageJson(context2) {
830
830
  if (!packageJson) {
831
831
  throw new Error("Cannot find package.json configuration file");
832
832
  }
833
- packageJson = await _chunk7UV5IDACjs.addPackageDependencies.call(void 0, context2.options.config.workspaceRoot, context2.options.projectRoot, context2.options.projectName, packageJson);
834
- packageJson = await _chunk7UV5IDACjs.addWorkspacePackageJsonFields.call(void 0, context2.options.config, context2.options.projectRoot, context2.options.sourceRoot, context2.options.projectName, false, packageJson);
833
+ packageJson = await _chunkDVR7HEPKjs.addPackageDependencies.call(void 0, context2.options.config.workspaceRoot, context2.options.projectRoot, context2.options.projectName, packageJson);
834
+ packageJson = await _chunkDVR7HEPKjs.addWorkspacePackageJsonFields.call(void 0, context2.options.config, context2.options.projectRoot, context2.options.sourceRoot, context2.options.projectName, false, packageJson);
835
835
  packageJson.exports ??= {};
836
836
  packageJson.exports["./package.json"] ??= "./package.json";
837
- packageJson.exports["."] ??= _chunk7UV5IDACjs.addPackageJsonExport.call(void 0, "index", packageJson.type, context2.options.sourceRoot);
837
+ packageJson.exports["."] ??= _chunkDVR7HEPKjs.addPackageJsonExport.call(void 0, "index", packageJson.type, context2.options.sourceRoot);
838
838
  let entryPoints = [
839
839
  {
840
840
  in: "./src/index.ts",
@@ -852,7 +852,7 @@ async function generatePackageJson(context2) {
852
852
  const split = entryPoint.out.split(".");
853
853
  split.pop();
854
854
  const entry = split.join(".").replaceAll("\\", "/");
855
- packageJson.exports[`./${entry}`] ??= _chunk7UV5IDACjs.addPackageJsonExport.call(void 0, entry, packageJson.type, context2.options.sourceRoot);
855
+ packageJson.exports[`./${entry}`] ??= _chunkDVR7HEPKjs.addPackageJsonExport.call(void 0, entry, packageJson.type, context2.options.sourceRoot);
856
856
  }
857
857
  }
858
858
  packageJson.main = packageJson.type === "commonjs" ? "./dist/index.js" : "./dist/index.cjs";
@@ -909,7 +909,7 @@ async function copyBuildAssets(context2) {
909
909
  if (_optionalChain([context2, 'access', _26 => _26.result, 'optionalAccess', _27 => _27.errors, 'access', _28 => _28.length]) === 0) {
910
910
  _chunkBRWRLQDCjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
911
911
  const stopwatch = _chunkBRWRLQDCjs.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
912
- await _chunk7UV5IDACjs.copyAssets.call(void 0, context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.sourceRoot, true, false);
912
+ await _chunkDVR7HEPKjs.copyAssets.call(void 0, context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.sourceRoot, true, false);
913
913
  stopwatch();
914
914
  }
915
915
  return context2;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  applyWorkspaceBaseTokens,
3
3
  applyWorkspaceTokens
4
- } from "./chunk-NDZMHOBS.mjs";
4
+ } from "./chunk-LWUP4RIM.mjs";
5
5
  import {
6
6
  getConfig,
7
7
  getStopwatch,
@@ -11,13 +11,13 @@ import {
11
11
  writeInfo,
12
12
  writeSuccess,
13
13
  writeTrace
14
- } from "./chunk-B3V2M6LS.mjs";
14
+ } from "./chunk-AHTDYOCZ.mjs";
15
15
  import {
16
16
  findWorkspaceRoot
17
- } from "./chunk-M666DZYJ.mjs";
17
+ } from "./chunk-C5YDISDP.mjs";
18
18
  import {
19
19
  __name
20
- } from "./chunk-XUV4U54K.mjs";
20
+ } from "./chunk-R7DU2APC.mjs";
21
21
 
22
22
  // src/base/base-generator.ts
23
23
  var withRunGenerator = /* @__PURE__ */ __name((name, generatorFn, generatorOptions = {
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  buildCargoCommand,
3
3
  cargoCommand
4
- } from "./chunk-QZHIWK5Z.mjs";
4
+ } from "./chunk-XK3FSWMA.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-TTVIYPRD.mjs";
7
+ } from "./chunk-VCU6XMJC.mjs";
8
8
  import {
9
9
  __name
10
- } from "./chunk-XUV4U54K.mjs";
10
+ } from "./chunk-R7DU2APC.mjs";
11
11
 
12
12
  // src/executors/cargo-build/executor.ts
13
13
  async function cargoBuildExecutor(options, context) {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  ProjectTagConstants,
3
3
  getProjectTag
4
- } from "./chunk-66TYTM73.mjs";
4
+ } from "./chunk-W3SWWT4A.mjs";
5
5
  import {
6
6
  __name
7
- } from "./chunk-XUV4U54K.mjs";
7
+ } from "./chunk-R7DU2APC.mjs";
8
8
 
9
9
  // src/utils/plugin-helpers.ts
10
10
  import { readJsonFile } from "@nx/devkit";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  joinPaths
3
- } from "./chunk-NCFX2MWO.mjs";
3
+ } from "./chunk-KZJCDAOU.mjs";
4
4
  import {
5
5
  __name
6
- } from "./chunk-XUV4U54K.mjs";
6
+ } from "./chunk-R7DU2APC.mjs";
7
7
 
8
8
  // src/utils/pnpm-deps-update.ts
9
9
  import { existsSync } from "node:fs";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-TTVIYPRD.mjs";
3
+ } from "./chunk-VCU6XMJC.mjs";
4
4
  import {
5
5
  writeInfo
6
- } from "./chunk-B3V2M6LS.mjs";
6
+ } from "./chunk-AHTDYOCZ.mjs";
7
7
  import {
8
8
  __name
9
- } from "./chunk-XUV4U54K.mjs";
9
+ } from "./chunk-R7DU2APC.mjs";
10
10
 
11
11
  // src/executors/size-limit/executor.ts
12
12
  import { joinPathFragments } from "@nx/devkit";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __name
3
- } from "./chunk-XUV4U54K.mjs";
3
+ } from "./chunk-R7DU2APC.mjs";
4
4
 
5
5
  // ../config-tools/src/utilities/correct-paths.ts
6
6
  var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  findWorkspaceRoot
3
- } from "./chunk-M666DZYJ.mjs";
3
+ } from "./chunk-C5YDISDP.mjs";
4
4
  import {
5
5
  __name
6
- } from "./chunk-XUV4U54K.mjs";
6
+ } from "./chunk-R7DU2APC.mjs";
7
7
 
8
8
  // ../config-tools/src/utilities/apply-workspace-tokens.ts
9
9
  var applyWorkspaceBaseTokens = /* @__PURE__ */ __name(async (option, tokenParams) => {
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
3
 
4
- var _chunkECSCURQQjs = require('./chunk-ECSCURQQ.js');
4
+ var _chunkRBU35LQWjs = require('./chunk-RBU35LQW.js');
5
5
 
6
6
 
7
7
  var _chunkHI4G4OOGjs = require('./chunk-HI4G4OOG.js');
@@ -29,7 +29,7 @@ async function nodeLibraryGeneratorFn(tree, schema, config) {
29
29
  directory: schema.directory,
30
30
  description: schema.description
31
31
  };
32
- const options = await _chunkECSCURQQjs.normalizeOptions.call(void 0, tree, tsLibraryGeneratorOptions);
32
+ const options = await _chunkRBU35LQWjs.normalizeOptions.call(void 0, tree, tsLibraryGeneratorOptions);
33
33
  const { className, name, propertyName } = _devkit.names.call(void 0, options.name);
34
34
  _devkit.generateFiles.call(void 0, tree, filesDir, options.projectRoot, {
35
35
  ...schema,
@@ -47,7 +47,7 @@ async function nodeLibraryGeneratorFn(tree, schema, config) {
47
47
  buildable: options.bundler && options.bundler !== "none",
48
48
  hasUnitTestRunner: options.unitTestRunner !== "none"
49
49
  });
50
- await _chunkECSCURQQjs.typeScriptLibraryGeneratorFn.call(void 0, tree, tsLibraryGeneratorOptions, config);
50
+ await _chunkRBU35LQWjs.typeScriptLibraryGeneratorFn.call(void 0, tree, tsLibraryGeneratorOptions, config);
51
51
  await _devkit.formatFiles.call(void 0, tree);
52
52
  return null;
53
53
  }
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  buildCargoCommand,
3
3
  cargoCommand
4
- } from "./chunk-QZHIWK5Z.mjs";
4
+ } from "./chunk-XK3FSWMA.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-TTVIYPRD.mjs";
7
+ } from "./chunk-VCU6XMJC.mjs";
8
8
  import {
9
9
  __name
10
- } from "./chunk-XUV4U54K.mjs";
10
+ } from "./chunk-R7DU2APC.mjs";
11
11
 
12
12
  // src/executors/cargo-clippy/executor.ts
13
13
  async function cargoClippyExecutor(options, context) {
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  buildCargoCommand,
3
3
  cargoCommand
4
- } from "./chunk-QZHIWK5Z.mjs";
4
+ } from "./chunk-XK3FSWMA.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-TTVIYPRD.mjs";
7
+ } from "./chunk-VCU6XMJC.mjs";
8
8
  import {
9
9
  __name
10
- } from "./chunk-XUV4U54K.mjs";
10
+ } from "./chunk-R7DU2APC.mjs";
11
11
 
12
12
  // src/executors/cargo-check/executor.ts
13
13
  async function cargoCheckExecutor(options, context) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __name
3
- } from "./chunk-XUV4U54K.mjs";
3
+ } from "./chunk-R7DU2APC.mjs";
4
4
 
5
5
  // src/utils/create-cli-options.ts
6
6
  import { names } from "@nx/devkit";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  buildCargoCommand,
3
3
  cargoCommand
4
- } from "./chunk-QZHIWK5Z.mjs";
4
+ } from "./chunk-XK3FSWMA.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-TTVIYPRD.mjs";
7
+ } from "./chunk-VCU6XMJC.mjs";
8
8
  import {
9
9
  __name
10
- } from "./chunk-XUV4U54K.mjs";
10
+ } from "./chunk-R7DU2APC.mjs";
11
11
 
12
12
  // src/executors/cargo-doc/executor.ts
13
13
  async function cargoDocExecutor(options, context) {
@@ -8,10 +8,10 @@ import {
8
8
  getEntryPoints,
9
9
  getEnv,
10
10
  getOutExtension
11
- } from "./chunk-BKTZEV6F.mjs";
11
+ } from "./chunk-2LIE7SJ3.mjs";
12
12
  import {
13
13
  withRunExecutor
14
- } from "./chunk-TTVIYPRD.mjs";
14
+ } from "./chunk-VCU6XMJC.mjs";
15
15
  import {
16
16
  getConfig,
17
17
  getStopwatch,
@@ -23,15 +23,15 @@ import {
23
23
  writeSuccess,
24
24
  writeTrace,
25
25
  writeWarning
26
- } from "./chunk-B3V2M6LS.mjs";
26
+ } from "./chunk-AHTDYOCZ.mjs";
27
27
  import {
28
28
  joinPaths
29
- } from "./chunk-NCFX2MWO.mjs";
29
+ } from "./chunk-KZJCDAOU.mjs";
30
30
  import {
31
31
  __dirname,
32
32
  __name,
33
33
  __require
34
- } from "./chunk-XUV4U54K.mjs";
34
+ } from "./chunk-R7DU2APC.mjs";
35
35
 
36
36
  // ../esbuild/src/build.ts
37
37
  import { createProjectGraphAsync, readProjectsConfigurationFromProjectGraph, writeJsonFile } from "@nx/devkit";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  findWorkspaceRoot
3
- } from "./chunk-M666DZYJ.mjs";
3
+ } from "./chunk-C5YDISDP.mjs";
4
4
  import {
5
5
  __name
6
- } from "./chunk-XUV4U54K.mjs";
6
+ } from "./chunk-R7DU2APC.mjs";
7
7
 
8
8
  // src/utils/apply-workspace-tokens.ts
9
9
  var applyWorkspaceExecutorTokens = /* @__PURE__ */ __name(async (option, tokenizerOptions) => {
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  ProjectTagConstants,
3
3
  isEqualProjectTag
4
- } from "./chunk-66TYTM73.mjs";
4
+ } from "./chunk-W3SWWT4A.mjs";
5
5
  import {
6
6
  parseCargoToml
7
- } from "./chunk-VYH45FO6.mjs";
7
+ } from "./chunk-EIM3O6HY.mjs";
8
8
  import {
9
9
  __name
10
- } from "./chunk-XUV4U54K.mjs";
10
+ } from "./chunk-R7DU2APC.mjs";
11
11
 
12
12
  // src/utils/package-helpers.ts
13
13
  import { joinPathFragments, readJsonFile } from "@nx/devkit";
@@ -6,7 +6,7 @@
6
6
 
7
7
 
8
8
 
9
- var _chunk7UV5IDACjs = require('./chunk-7UV5IDAC.js');
9
+ var _chunkDVR7HEPKjs = require('./chunk-DVR7HEPK.js');
10
10
 
11
11
 
12
12
  var _chunk5LEU7C3Ejs = require('./chunk-5LEU7C3E.js');
@@ -93,19 +93,19 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
93
93
  }
94
94
  const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
95
95
  options.name ??= `${projectName}-${options.format}`;
96
- options.target ??= _chunk7UV5IDACjs.DEFAULT_TARGET;
96
+ options.target ??= _chunkDVR7HEPKjs.DEFAULT_TARGET;
97
97
  const packageJsonPath = _chunkJTAXCQX6js.joinPaths.call(void 0, workspaceRoot.dir, options.projectRoot, "package.json");
98
98
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
99
99
  throw new Error("Cannot find package.json configuration");
100
100
  }
101
- const env = _chunk7UV5IDACjs.getEnv.call(void 0, "tsdown", options);
101
+ const env = _chunkDVR7HEPKjs.getEnv.call(void 0, "tsdown", options);
102
102
  const result = {
103
103
  ...options,
104
104
  config,
105
105
  ...userOptions,
106
106
  tsconfig: _chunkJTAXCQX6js.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
107
107
  format: options.format || "cjs",
108
- entryPoints: await _chunk7UV5IDACjs.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
108
+ entryPoints: await _chunkDVR7HEPKjs.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
109
109
  "./src/index.ts"
110
110
  ], userOptions.emitOnAll),
111
111
  outdir: userOptions.outputPath || _chunkJTAXCQX6js.joinPaths.call(void 0, "dist", projectRoot),
@@ -162,11 +162,11 @@ async function generatePackageJson(options) {
162
162
  throw new Error("Cannot find package.json configuration file");
163
163
  }
164
164
  let packageJson = JSON.parse(packageJsonFile);
165
- packageJson = await _chunk7UV5IDACjs.addPackageDependencies.call(void 0, options.config.workspaceRoot, options.projectRoot, options.projectName, packageJson);
166
- packageJson = await _chunk7UV5IDACjs.addWorkspacePackageJsonFields.call(void 0, options.config, options.projectRoot, options.sourceRoot, options.projectName, false, packageJson);
165
+ packageJson = await _chunkDVR7HEPKjs.addPackageDependencies.call(void 0, options.config.workspaceRoot, options.projectRoot, options.projectName, packageJson);
166
+ packageJson = await _chunkDVR7HEPKjs.addWorkspacePackageJsonFields.call(void 0, options.config, options.projectRoot, options.sourceRoot, options.projectName, false, packageJson);
167
167
  packageJson.exports ??= {};
168
168
  packageJson.exports["./package.json"] ??= "./package.json";
169
- packageJson.exports["."] ??= _chunk7UV5IDACjs.addPackageJsonExport.call(void 0, "index", packageJson.type, options.sourceRoot);
169
+ packageJson.exports["."] ??= _chunkDVR7HEPKjs.addPackageJsonExport.call(void 0, "index", packageJson.type, options.sourceRoot);
170
170
  let entryPoints = [
171
171
  {
172
172
  in: "./src/index.ts",
@@ -184,7 +184,7 @@ async function generatePackageJson(options) {
184
184
  const split = entryPoint.out.split(".");
185
185
  split.pop();
186
186
  const entry = split.join(".").replaceAll("\\", "/");
187
- packageJson.exports[`./${entry}`] ??= _chunk7UV5IDACjs.addPackageJsonExport.call(void 0, entry, packageJson.type, options.sourceRoot);
187
+ packageJson.exports[`./${entry}`] ??= _chunkDVR7HEPKjs.addPackageJsonExport.call(void 0, entry, packageJson.type, options.sourceRoot);
188
188
  }
189
189
  }
190
190
  packageJson.main = packageJson.type === "commonjs" ? "./dist/index.js" : "./dist/index.cjs";
@@ -218,7 +218,7 @@ _chunk3GQAWCBQjs.__name.call(void 0, executeTSDown, "executeTSDown");
218
218
  async function copyBuildAssets(options) {
219
219
  _chunkBRWRLQDCjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${options.outdir}`, options.config);
220
220
  const stopwatch = _chunkBRWRLQDCjs.getStopwatch.call(void 0, `${options.name} asset copy`);
221
- await _chunk7UV5IDACjs.copyAssets.call(void 0, options.config, _nullishCoalesce(options.assets, () => ( [])), options.outdir, options.projectRoot, options.sourceRoot, true, false);
221
+ await _chunkDVR7HEPKjs.copyAssets.call(void 0, options.config, _nullishCoalesce(options.assets, () => ( [])), options.outdir, options.projectRoot, options.sourceRoot, true, false);
222
222
  stopwatch();
223
223
  return options;
224
224
  }
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
3
 
4
- var _chunkECSCURQQjs = require('./chunk-ECSCURQQ.js');
4
+ var _chunkRBU35LQWjs = require('./chunk-RBU35LQW.js');
5
5
 
6
6
 
7
7
  var _chunk4AJFP7HMjs = require('./chunk-4AJFP7HM.js');
@@ -40,7 +40,7 @@ async function browserLibraryGeneratorFn(tree, schema, config) {
40
40
  description: schema.description,
41
41
  directory: schema.directory
42
42
  };
43
- const options = await _chunkECSCURQQjs.normalizeOptions.call(void 0, tree, tsLibraryGeneratorOptions);
43
+ const options = await _chunkRBU35LQWjs.normalizeOptions.call(void 0, tree, tsLibraryGeneratorOptions);
44
44
  const { className, name, propertyName } = _devkit.names.call(void 0, options.projectNames.projectFileName);
45
45
  _devkit.generateFiles.call(void 0, tree, filesDir, options.projectRoot, {
46
46
  ...schema,
@@ -68,7 +68,7 @@ async function browserLibraryGeneratorFn(tree, schema, config) {
68
68
  }
69
69
  }
70
70
  });
71
- await _chunkECSCURQQjs.typeScriptLibraryGeneratorFn.call(void 0, tree, tsLibraryGeneratorOptions, config);
71
+ await _chunkRBU35LQWjs.typeScriptLibraryGeneratorFn.call(void 0, tree, tsLibraryGeneratorOptions, config);
72
72
  await _devkit.formatFiles.call(void 0, tree);
73
73
  return null;
74
74
  }
@@ -4,11 +4,11 @@ import {
4
4
  } from "./chunk-EK75QNMS.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-N3CJLBVV.mjs";
7
+ } from "./chunk-H7GRZIKQ.mjs";
8
8
  import {
9
9
  __dirname,
10
10
  __name
11
- } from "./chunk-XUV4U54K.mjs";
11
+ } from "./chunk-R7DU2APC.mjs";
12
12
 
13
13
  // src/generators/preset/generator.ts
14
14
  import { addDependenciesToPackageJson, addProjectConfiguration, formatFiles, generateFiles, joinPathFragments, updateJson } from "@nx/devkit";
@@ -7,7 +7,7 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
7
7
  throw Error('Dynamic require of "' + x + '" is not supported');
8
8
  });
9
9
 
10
- // ../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.49.1_@types+node@22.10.7__@swc+core@1.7.26_@swc+helpers_ekim6y52mwpq6ssxiprcp44dam/node_modules/tsup/assets/esm_shims.js
10
+ // ../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.49.2_@types+node@22.13.0__@swc+core@1.7.26_@swc+helpers_kupakjppxzf7wv7pnek6irqjpq/node_modules/tsup/assets/esm_shims.js
11
11
  import { fileURLToPath } from "url";
12
12
  import path from "path";
13
13
  var getFilename = /* @__PURE__ */ __name(() => fileURLToPath(import.meta.url), "getFilename");
@@ -298,7 +298,8 @@ async function normalizeOptions(tree, options, config) {
298
298
  projectRoot,
299
299
  parsedTags: options.tags ? options.tags.split(",").map((s) => s.trim()) : [],
300
300
  importPath: normalizedImportPath,
301
- rootProject
301
+ rootProject,
302
+ shouldUseSwcJest: false
302
303
  };
303
304
  }
304
305
  _chunk3GQAWCBQjs.__name.call(void 0, normalizeOptions, "normalizeOptions");
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __name
3
- } from "./chunk-XUV4U54K.mjs";
3
+ } from "./chunk-R7DU2APC.mjs";
4
4
 
5
5
  // src/utils/lock-file.ts
6
6
  import { output, readJsonFile, workspaceRoot } from "@nx/devkit";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __name
3
- } from "./chunk-XUV4U54K.mjs";
3
+ } from "./chunk-R7DU2APC.mjs";
4
4
 
5
5
  // src/utils/typia-transform.ts
6
6
  import transform from "typia/lib/transform";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  findWorkspaceRoot
3
- } from "./chunk-M666DZYJ.mjs";
3
+ } from "./chunk-C5YDISDP.mjs";
4
4
  import {
5
5
  __name
6
- } from "./chunk-XUV4U54K.mjs";
6
+ } from "./chunk-R7DU2APC.mjs";
7
7
 
8
8
  // src/utils/get-project-configurations.ts
9
9
  import { retrieveProjectConfigurationsWithoutPluginInference } from "nx/src/project-graph/utils/retrieve-workspace-files";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  pnpmCatalogUpdate
3
- } from "./chunk-FBIVTCSJ.mjs";
3
+ } from "./chunk-JB4KCMSB.mjs";
4
4
  import {
5
5
  joinPaths
6
- } from "./chunk-NCFX2MWO.mjs";
6
+ } from "./chunk-KZJCDAOU.mjs";
7
7
  import {
8
8
  __name
9
- } from "./chunk-XUV4U54K.mjs";
9
+ } from "./chunk-R7DU2APC.mjs";
10
10
 
11
11
  // src/executors/npm-publish/executor.ts
12
12
  import { execSync } from "node:child_process";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  applyWorkspaceProjectTokens,
3
3
  applyWorkspaceTokens
4
- } from "./chunk-NDZMHOBS.mjs";
4
+ } from "./chunk-LWUP4RIM.mjs";
5
5
  import {
6
6
  formatLogMessage,
7
7
  getConfig,
@@ -12,13 +12,13 @@ import {
12
12
  writeInfo,
13
13
  writeSuccess,
14
14
  writeTrace
15
- } from "./chunk-B3V2M6LS.mjs";
15
+ } from "./chunk-AHTDYOCZ.mjs";
16
16
  import {
17
17
  findWorkspaceRoot
18
- } from "./chunk-M666DZYJ.mjs";
18
+ } from "./chunk-C5YDISDP.mjs";
19
19
  import {
20
20
  __name
21
- } from "./chunk-XUV4U54K.mjs";
21
+ } from "./chunk-R7DU2APC.mjs";
22
22
 
23
23
  // src/base/base-executor.ts
24
24
  import { defu } from "defu";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __name
3
- } from "./chunk-XUV4U54K.mjs";
3
+ } from "./chunk-R7DU2APC.mjs";
4
4
 
5
5
  // src/utils/project-tags.ts
6
6
  var ProjectTagConstants = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __name
3
- } from "./chunk-XUV4U54K.mjs";
3
+ } from "./chunk-R7DU2APC.mjs";
4
4
 
5
5
  // src/generators/init/init.ts
6
6
  import { addDependenciesToPackageJson, formatFiles } from "@nx/devkit";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __name
3
- } from "./chunk-XUV4U54K.mjs";
3
+ } from "./chunk-R7DU2APC.mjs";
4
4
 
5
5
  // src/utils/cargo.ts
6
6
  import { joinPathFragments, workspaceRoot } from "@nx/devkit";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  parseCargoToml
3
- } from "./chunk-VYH45FO6.mjs";
3
+ } from "./chunk-EIM3O6HY.mjs";
4
4
  import {
5
5
  __name
6
- } from "./chunk-XUV4U54K.mjs";
6
+ } from "./chunk-R7DU2APC.mjs";
7
7
 
8
8
  // src/executors/cargo-publish/executor.ts
9
9
  import { joinPathFragments } from "@nx/devkit";