@storm-software/workspace-tools 1.263.0 → 1.263.2

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 (125) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-G6GGPUG7.mjs → chunk-267XQYEI.mjs} +4 -4
  4. package/dist/{chunk-2WTKQCPA.mjs → chunk-2BPV2XV2.mjs} +1 -1
  5. package/dist/{chunk-GCN3NUF6.mjs → chunk-3FTFBAIV.mjs} +1 -1
  6. package/dist/{chunk-OQ32KFGA.mjs → chunk-3PWCELL5.mjs} +2 -2
  7. package/dist/{chunk-IT3ENPW3.mjs → chunk-3RLLSZI3.mjs} +3 -3
  8. package/dist/{chunk-K7OAIP34.js → chunk-55IQXVOQ.js} +9 -9
  9. package/dist/{chunk-XEHJM6RO.mjs → chunk-5CZXBNEE.mjs} +1 -1
  10. package/dist/{chunk-VOIYJ67D.mjs → chunk-5DWBECCN.mjs} +4 -4
  11. package/dist/{chunk-GPOYI6OO.mjs → chunk-77KNPIOO.mjs} +3 -3
  12. package/dist/{chunk-4PDLEPIC.mjs → chunk-7ENGREV2.mjs} +1 -1
  13. package/dist/{chunk-MNV4E744.mjs → chunk-7W5P2GIE.mjs} +5 -5
  14. package/dist/{chunk-IGJN2SBZ.mjs → chunk-AD4BVP7F.mjs} +2 -2
  15. package/dist/{chunk-HASYGI6W.mjs → chunk-ATIBREWM.mjs} +1 -1
  16. package/dist/{chunk-5JPH5VCU.mjs → chunk-AWKIWCLR.mjs} +2 -2
  17. package/dist/{chunk-GRU4UEE7.mjs → chunk-BMNXBEWE.mjs} +3 -3
  18. package/dist/{chunk-BV32SZPV.mjs → chunk-EVQJFIA7.mjs} +3 -3
  19. package/dist/{chunk-3I74ESKM.mjs → chunk-FIJJTQKT.mjs} +3 -3
  20. package/dist/{chunk-2PKZRCQJ.mjs → chunk-FR3YQN55.mjs} +2 -2
  21. package/dist/{chunk-U6DRC3BT.mjs → chunk-G6VTRIV6.mjs} +4 -4
  22. package/dist/{chunk-STVTZJIX.mjs → chunk-GKFEPODO.mjs} +3 -3
  23. package/dist/{chunk-6YMGUA6X.mjs → chunk-H5VTYV4U.mjs} +2 -2
  24. package/dist/{chunk-J53HKGFM.mjs → chunk-HUVBVDJ7.mjs} +1 -1
  25. package/dist/{chunk-ESRAKU7Y.js → chunk-IFSORSAN.js} +4 -4
  26. package/dist/{chunk-L6CV744X.mjs → chunk-IXZ3PGBP.mjs} +3 -3
  27. package/dist/{chunk-GHJGKUBW.mjs → chunk-JIAGNEII.mjs} +1 -1
  28. package/dist/{chunk-H4RWKANW.mjs → chunk-KTJM6G4K.mjs} +1 -1
  29. package/dist/{chunk-TAJU54DW.mjs → chunk-LZ4WXOF5.mjs} +3 -3
  30. package/dist/{chunk-RGZAGFUD.mjs → chunk-MDK5L6VS.mjs} +4 -4
  31. package/dist/{chunk-3ABED6KX.mjs → chunk-NZAGHP4Q.mjs} +4 -4
  32. package/dist/{chunk-KMFZVYDQ.mjs → chunk-NZBJ5BJT.mjs} +28 -16
  33. package/dist/{chunk-W2WAWCCV.js → chunk-OAQP7HGX.js} +33 -21
  34. package/dist/{chunk-R2BMSX6J.mjs → chunk-RLG36VMZ.mjs} +3 -3
  35. package/dist/{chunk-XIS3TY42.mjs → chunk-RMNEVFW4.mjs} +4 -4
  36. package/dist/{chunk-A7OTLU7I.mjs → chunk-TLRZHFVN.mjs} +8 -8
  37. package/dist/{chunk-3XR4FSEA.mjs → chunk-V4QUJRZH.mjs} +4 -4
  38. package/dist/{chunk-AOOHLS72.mjs → chunk-VJJBBVYU.mjs} +3 -3
  39. package/dist/{chunk-OBUTMEEY.mjs → chunk-XB6ATVWM.mjs} +3 -3
  40. package/dist/{chunk-OVLYU6HE.mjs → chunk-XBRJIYCS.mjs} +2 -2
  41. package/dist/{chunk-HY43JWZ7.mjs → chunk-XDVGK64G.mjs} +2 -2
  42. package/dist/{chunk-RULS5ZOT.mjs → chunk-YBDZ7EWU.mjs} +2 -2
  43. package/dist/{chunk-BGSGM2KX.mjs → chunk-YPUNRGTW.mjs} +3 -3
  44. package/dist/{chunk-SF477J3B.mjs → chunk-YZLAY7R4.mjs} +3 -3
  45. package/dist/{chunk-WJTTZD3M.mjs → chunk-ZETTXDZO.mjs} +1 -1
  46. package/dist/{chunk-DGI7OQYG.mjs → chunk-ZPN57TH7.mjs} +4 -4
  47. package/dist/{chunk-B5OPGMAP.mjs → chunk-ZUYLHO4U.mjs} +1 -1
  48. package/dist/executors.js +4 -4
  49. package/dist/executors.mjs +22 -22
  50. package/dist/generators.js +2 -2
  51. package/dist/generators.mjs +18 -18
  52. package/dist/index.js +6 -6
  53. package/dist/index.mjs +42 -42
  54. package/dist/src/base/base-executor.mjs +6 -6
  55. package/dist/src/base/base-executor.untyped.mjs +1 -1
  56. package/dist/src/base/base-generator.mjs +6 -6
  57. package/dist/src/base/base-generator.untyped.mjs +1 -1
  58. package/dist/src/base/cargo-base-executor.untyped.mjs +1 -1
  59. package/dist/src/base/index.mjs +10 -10
  60. package/dist/src/base/typescript-build-executor.untyped.mjs +2 -2
  61. package/dist/src/base/typescript-library-generator.untyped.mjs +1 -1
  62. package/dist/src/executors/cargo-build/executor.mjs +8 -8
  63. package/dist/src/executors/cargo-build/untyped.mjs +1 -1
  64. package/dist/src/executors/cargo-check/executor.mjs +8 -8
  65. package/dist/src/executors/cargo-check/untyped.mjs +1 -1
  66. package/dist/src/executors/cargo-clippy/executor.mjs +8 -8
  67. package/dist/src/executors/cargo-clippy/untyped.mjs +1 -1
  68. package/dist/src/executors/cargo-doc/executor.mjs +8 -8
  69. package/dist/src/executors/cargo-doc/untyped.mjs +1 -1
  70. package/dist/src/executors/cargo-format/executor.mjs +8 -8
  71. package/dist/src/executors/cargo-format/untyped.mjs +1 -1
  72. package/dist/src/executors/cargo-publish/executor.mjs +3 -3
  73. package/dist/src/executors/cargo-publish/untyped.mjs +1 -1
  74. package/dist/src/executors/clean-package/executor.mjs +6 -6
  75. package/dist/src/executors/clean-package/untyped.mjs +1 -1
  76. package/dist/src/executors/esbuild/executor.js +3 -3
  77. package/dist/src/executors/esbuild/executor.mjs +8 -8
  78. package/dist/src/executors/esbuild/untyped.mjs +2 -2
  79. package/dist/src/executors/npm-publish/executor.mjs +4 -4
  80. package/dist/src/executors/npm-publish/untyped.mjs +1 -1
  81. package/dist/src/executors/size-limit/executor.mjs +7 -7
  82. package/dist/src/executors/size-limit/untyped.mjs +1 -1
  83. package/dist/src/executors/tsdown/executor.js +3 -3
  84. package/dist/src/executors/tsdown/executor.mjs +8 -8
  85. package/dist/src/executors/tsdown/untyped.mjs +2 -2
  86. package/dist/src/executors/typia/executor.mjs +7 -7
  87. package/dist/src/executors/typia/untyped.mjs +1 -1
  88. package/dist/src/executors/unbuild/executor.mjs +7 -7
  89. package/dist/src/executors/unbuild/untyped.mjs +2 -2
  90. package/dist/src/generators/browser-library/generator.mjs +9 -9
  91. package/dist/src/generators/browser-library/untyped.mjs +1 -1
  92. package/dist/src/generators/config-schema/generator.mjs +7 -7
  93. package/dist/src/generators/config-schema/untyped.mjs +1 -1
  94. package/dist/src/generators/init/init.mjs +2 -2
  95. package/dist/src/generators/init/untyped.mjs +1 -1
  96. package/dist/src/generators/neutral-library/generator.mjs +9 -9
  97. package/dist/src/generators/neutral-library/untyped.mjs +1 -1
  98. package/dist/src/generators/node-library/generator.mjs +9 -9
  99. package/dist/src/generators/node-library/untyped.mjs +1 -1
  100. package/dist/src/generators/preset/generator.mjs +7 -7
  101. package/dist/src/generators/preset/untyped.mjs +1 -1
  102. package/dist/src/generators/release-version/generator.mjs +6 -6
  103. package/dist/src/generators/release-version/untyped.mjs +1 -1
  104. package/dist/src/plugins/rust/cargo-toml.mjs +4 -4
  105. package/dist/src/plugins/rust/index.mjs +4 -4
  106. package/dist/src/plugins/typescript/index.mjs +4 -4
  107. package/dist/src/plugins/typescript/project-config.mjs +4 -4
  108. package/dist/src/plugins/typescript/tsdown.mjs +2 -2
  109. package/dist/src/plugins/typescript/tsup.mjs +2 -2
  110. package/dist/src/plugins/typescript/untyped-schema.mjs +2 -2
  111. package/dist/src/types.mjs +1 -1
  112. package/dist/src/utils/apply-workspace-tokens.mjs +4 -4
  113. package/dist/src/utils/cargo.mjs +2 -2
  114. package/dist/src/utils/create-cli-options.mjs +2 -2
  115. package/dist/src/utils/get-project-configurations.mjs +4 -4
  116. package/dist/src/utils/index.mjs +14 -14
  117. package/dist/src/utils/lock-file.mjs +2 -2
  118. package/dist/src/utils/package-helpers.mjs +4 -4
  119. package/dist/src/utils/plugin-helpers.mjs +3 -3
  120. package/dist/src/utils/pnpm-deps-update.mjs +3 -3
  121. package/dist/src/utils/project-tags.mjs +2 -2
  122. package/dist/src/utils/toml.mjs +2 -2
  123. package/dist/src/utils/typia-transform.mjs +2 -2
  124. package/dist/src/utils/versions.mjs +1 -1
  125. package/package.json +1 -1
@@ -2,15 +2,14 @@ import {
2
2
  DEFAULT_COMPILED_BANNER,
3
3
  DEFAULT_TARGET,
4
4
  addPackageDependencies,
5
- addPackageJsonExport,
6
5
  addWorkspacePackageJsonFields,
7
6
  copyAssets,
8
7
  getEntryPoints,
9
8
  getEnv
10
- } from "./chunk-A7OTLU7I.mjs";
9
+ } from "./chunk-TLRZHFVN.mjs";
11
10
  import {
12
11
  withRunExecutor
13
- } from "./chunk-VOIYJ67D.mjs";
12
+ } from "./chunk-5DWBECCN.mjs";
14
13
  import {
15
14
  formatLogMessage,
16
15
  getConfig,
@@ -23,15 +22,15 @@ import {
23
22
  writeSuccess,
24
23
  writeTrace,
25
24
  writeWarning
26
- } from "./chunk-L6CV744X.mjs";
25
+ } from "./chunk-IXZ3PGBP.mjs";
27
26
  import {
28
27
  joinPaths
29
- } from "./chunk-HASYGI6W.mjs";
28
+ } from "./chunk-ATIBREWM.mjs";
30
29
  import {
31
30
  __dirname,
32
31
  __name,
33
32
  __require
34
- } from "./chunk-2WTKQCPA.mjs";
33
+ } from "./chunk-2BPV2XV2.mjs";
35
34
 
36
35
  // ../esbuild/src/build.ts
37
36
  import { createProjectGraphAsync, readProjectsConfigurationFromProjectGraph, writeJsonFile } from "@nx/devkit";
@@ -514,6 +513,18 @@ var DEFAULT_BUILD_OPTIONS = {
514
513
  bundle: true,
515
514
  clean: true,
516
515
  debug: false,
516
+ resolveExtensions: [
517
+ ".tsx",
518
+ ".ts",
519
+ ".cts",
520
+ ".mts",
521
+ ".jsx",
522
+ ".js",
523
+ ".cjs",
524
+ ".mjs",
525
+ ".css",
526
+ ".json"
527
+ ],
517
528
  loader: {
518
529
  ".aac": "file",
519
530
  ".css": "file",
@@ -748,16 +759,12 @@ var resolveOptions = /* @__PURE__ */ __name(async (userOptions) => {
748
759
  "module",
749
760
  "main"
750
761
  ],
751
- resolveExtensions: [
752
- ".ts",
753
- ".js",
754
- ".node"
755
- ],
756
762
  ...userOptions,
757
763
  tsconfig: joinPaths(projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
758
764
  format: options.format || "cjs",
759
765
  entryPoints: await getEntryPoints(config, projectRoot, projectJson.sourceRoot, userOptions.entry ?? "./src/index.ts", userOptions.emitOnAll === true),
760
766
  outdir: userOptions.outputPath || joinPaths("dist", projectRoot),
767
+ distDir: userOptions.distDir || "dist",
761
768
  plugins: [],
762
769
  name: userOptions.name || projectName,
763
770
  projectConfigurations,
@@ -829,7 +836,7 @@ async function generatePackageJson(context2) {
829
836
  packageJson = await addWorkspacePackageJsonFields(context2.options.config, context2.options.projectRoot, context2.options.sourceRoot, context2.options.projectName, false, packageJson);
830
837
  packageJson.exports ??= {};
831
838
  packageJson.exports["./package.json"] ??= "./package.json";
832
- packageJson.exports["."] ??= addPackageJsonExport("index", packageJson.type, context2.options.sourceRoot);
839
+ packageJson.exports["."] ??= `.${context2.options.distDir ? `/${context2.options.distDir}` : ""}/index.js`;
833
840
  let entryPoints = [
834
841
  {
835
842
  in: "./src/index.ts",
@@ -847,12 +854,15 @@ async function generatePackageJson(context2) {
847
854
  const split = entryPoint.out.split(".");
848
855
  split.pop();
849
856
  const entry = split.join(".").replaceAll("\\", "/");
850
- packageJson.exports[`./${entry}`] ??= addPackageJsonExport(entry, packageJson.type, context2.options.sourceRoot);
857
+ packageJson.exports[`./${entry}`] ??= `.${context2.options.distDir ? `/${context2.options.distDir}` : ""}/${entry}.js`;
851
858
  }
852
859
  }
853
- packageJson.main = packageJson.type === "commonjs" ? "./dist/index.js" : "./dist/index.cjs";
854
- packageJson.module = packageJson.type === "module" ? "./dist/index.js" : "./dist/index.mjs";
855
- packageJson.types = "./dist/index.d.ts";
860
+ if (context2.options.format === "esm") {
861
+ packageJson.module = packageJson.type === "module" ? `.${context2.options.distDir ? `/${context2.options.distDir}` : ""}/index.js` : `.${context2.options.distDir ? `/${context2.options.distDir}` : ""}/index.mjs`;
862
+ } else {
863
+ packageJson.main = packageJson.type === "commonjs" ? `.${context2.options.distDir ? `/${context2.options.distDir}` : ""}/index.js` : `.${context2.options.distDir ? `/${context2.options.distDir}` : ""}/index.cjs`;
864
+ }
865
+ packageJson.types = `.${context2.options.distDir ? `/${context2.options.distDir}` : ""}/index.d.ts`;
856
866
  packageJson.exports = Object.keys(packageJson.exports).reduce((ret, key) => {
857
867
  if (key.endsWith("/index") && !ret[key.replace("/index", "")]) {
858
868
  ret[key.replace("/index", "")] = packageJson.exports[key];
@@ -894,6 +904,7 @@ async function executeEsBuild(context2) {
894
904
  const options = {
895
905
  ...context2.options
896
906
  };
907
+ options.outdir = joinPaths(context2.options.outdir, context2.options.distDir);
897
908
  delete options.env;
898
909
  delete options.name;
899
910
  delete options.assets;
@@ -904,6 +915,7 @@ async function executeEsBuild(context2) {
904
915
  delete options.debug;
905
916
  delete options.generatePackageJson;
906
917
  delete options.emitOnAll;
918
+ delete options.distDir;
907
919
  delete options.includeSrc;
908
920
  delete options.verbose;
909
921
  delete options.projectRoot;
@@ -6,8 +6,7 @@
6
6
 
7
7
 
8
8
 
9
-
10
- var _chunkESRAKU7Yjs = require('./chunk-ESRAKU7Y.js');
9
+ var _chunkIFSORSANjs = require('./chunk-IFSORSAN.js');
11
10
 
12
11
 
13
12
  var _chunkFGMOZZ77js = require('./chunk-FGMOZZ77.js');
@@ -513,6 +512,18 @@ var DEFAULT_BUILD_OPTIONS = {
513
512
  bundle: true,
514
513
  clean: true,
515
514
  debug: false,
515
+ resolveExtensions: [
516
+ ".tsx",
517
+ ".ts",
518
+ ".cts",
519
+ ".mts",
520
+ ".jsx",
521
+ ".js",
522
+ ".cjs",
523
+ ".mjs",
524
+ ".css",
525
+ ".json"
526
+ ],
516
527
  loader: {
517
528
  ".aac": "file",
518
529
  ".css": "file",
@@ -534,7 +545,7 @@ var DEFAULT_BUILD_OPTIONS = {
534
545
  ".woff": "file",
535
546
  ".woff2": "file"
536
547
  },
537
- banner: _chunkESRAKU7Yjs.DEFAULT_COMPILED_BANNER
548
+ banner: _chunkIFSORSANjs.DEFAULT_COMPILED_BANNER
538
549
  };
539
550
 
540
551
  // ../esbuild/src/plugins/deps-check.ts
@@ -730,12 +741,12 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
730
741
  }
731
742
  const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
732
743
  options.name ??= `${projectName}-${options.format}`;
733
- options.target ??= _chunkESRAKU7Yjs.DEFAULT_TARGET;
744
+ options.target ??= _chunkIFSORSANjs.DEFAULT_TARGET;
734
745
  const packageJsonPath = _chunkJTAXCQX6js.joinPaths.call(void 0, workspaceRoot.dir, options.projectRoot, "package.json");
735
746
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
736
747
  throw new Error("Cannot find package.json configuration");
737
748
  }
738
- const env = _chunkESRAKU7Yjs.getEnv.call(void 0, "esbuild", options);
749
+ const env = _chunkIFSORSANjs.getEnv.call(void 0, "esbuild", options);
739
750
  const result = {
740
751
  ...options,
741
752
  config,
@@ -747,16 +758,12 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
747
758
  "module",
748
759
  "main"
749
760
  ],
750
- resolveExtensions: [
751
- ".ts",
752
- ".js",
753
- ".node"
754
- ],
755
761
  ...userOptions,
756
762
  tsconfig: _chunkJTAXCQX6js.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
757
763
  format: options.format || "cjs",
758
- entryPoints: await _chunkESRAKU7Yjs.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, _nullishCoalesce(userOptions.entry, () => ( "./src/index.ts")), userOptions.emitOnAll === true),
764
+ entryPoints: await _chunkIFSORSANjs.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, _nullishCoalesce(userOptions.entry, () => ( "./src/index.ts")), userOptions.emitOnAll === true),
759
765
  outdir: userOptions.outputPath || _chunkJTAXCQX6js.joinPaths.call(void 0, "dist", projectRoot),
766
+ distDir: userOptions.distDir || "dist",
760
767
  plugins: [],
761
768
  name: userOptions.name || projectName,
762
769
  projectConfigurations,
@@ -777,8 +784,8 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
777
784
  watch: userOptions.watch === true,
778
785
  footer: userOptions.footer,
779
786
  banner: {
780
- js: options.banner || _chunkESRAKU7Yjs.DEFAULT_COMPILED_BANNER,
781
- css: options.banner || _chunkESRAKU7Yjs.DEFAULT_COMPILED_BANNER
787
+ js: options.banner || _chunkIFSORSANjs.DEFAULT_COMPILED_BANNER,
788
+ css: options.banner || _chunkIFSORSANjs.DEFAULT_COMPILED_BANNER
782
789
  },
783
790
  splitting: options.format === "iife" ? false : typeof options.splitting === "boolean" ? options.splitting : options.format === "esm",
784
791
  treeShaking: options.format === "esm",
@@ -824,11 +831,11 @@ async function generatePackageJson(context2) {
824
831
  if (!packageJson) {
825
832
  throw new Error("Cannot find package.json configuration file");
826
833
  }
827
- packageJson = await _chunkESRAKU7Yjs.addPackageDependencies.call(void 0, context2.options.config.workspaceRoot, context2.options.projectRoot, context2.options.projectName, packageJson);
828
- packageJson = await _chunkESRAKU7Yjs.addWorkspacePackageJsonFields.call(void 0, context2.options.config, context2.options.projectRoot, context2.options.sourceRoot, context2.options.projectName, false, packageJson);
834
+ packageJson = await _chunkIFSORSANjs.addPackageDependencies.call(void 0, context2.options.config.workspaceRoot, context2.options.projectRoot, context2.options.projectName, packageJson);
835
+ packageJson = await _chunkIFSORSANjs.addWorkspacePackageJsonFields.call(void 0, context2.options.config, context2.options.projectRoot, context2.options.sourceRoot, context2.options.projectName, false, packageJson);
829
836
  packageJson.exports ??= {};
830
837
  packageJson.exports["./package.json"] ??= "./package.json";
831
- packageJson.exports["."] ??= _chunkESRAKU7Yjs.addPackageJsonExport.call(void 0, "index", packageJson.type, context2.options.sourceRoot);
838
+ packageJson.exports["."] ??= `.${context2.options.distDir ? `/${context2.options.distDir}` : ""}/index.js`;
832
839
  let entryPoints = [
833
840
  {
834
841
  in: "./src/index.ts",
@@ -846,12 +853,15 @@ async function generatePackageJson(context2) {
846
853
  const split = entryPoint.out.split(".");
847
854
  split.pop();
848
855
  const entry = split.join(".").replaceAll("\\", "/");
849
- packageJson.exports[`./${entry}`] ??= _chunkESRAKU7Yjs.addPackageJsonExport.call(void 0, entry, packageJson.type, context2.options.sourceRoot);
856
+ packageJson.exports[`./${entry}`] ??= `.${context2.options.distDir ? `/${context2.options.distDir}` : ""}/${entry}.js`;
850
857
  }
851
858
  }
852
- packageJson.main = packageJson.type === "commonjs" ? "./dist/index.js" : "./dist/index.cjs";
853
- packageJson.module = packageJson.type === "module" ? "./dist/index.js" : "./dist/index.mjs";
854
- packageJson.types = "./dist/index.d.ts";
859
+ if (context2.options.format === "esm") {
860
+ packageJson.module = packageJson.type === "module" ? `.${context2.options.distDir ? `/${context2.options.distDir}` : ""}/index.js` : `.${context2.options.distDir ? `/${context2.options.distDir}` : ""}/index.mjs`;
861
+ } else {
862
+ packageJson.main = packageJson.type === "commonjs" ? `.${context2.options.distDir ? `/${context2.options.distDir}` : ""}/index.js` : `.${context2.options.distDir ? `/${context2.options.distDir}` : ""}/index.cjs`;
863
+ }
864
+ packageJson.types = `.${context2.options.distDir ? `/${context2.options.distDir}` : ""}/index.d.ts`;
855
865
  packageJson.exports = Object.keys(packageJson.exports).reduce((ret, key) => {
856
866
  if (key.endsWith("/index") && !ret[key.replace("/index", "")]) {
857
867
  ret[key.replace("/index", "")] = packageJson.exports[key];
@@ -893,6 +903,7 @@ async function executeEsBuild(context2) {
893
903
  const options = {
894
904
  ...context2.options
895
905
  };
906
+ options.outdir = _chunkJTAXCQX6js.joinPaths.call(void 0, context2.options.outdir, context2.options.distDir);
896
907
  delete options.env;
897
908
  delete options.name;
898
909
  delete options.assets;
@@ -903,6 +914,7 @@ async function executeEsBuild(context2) {
903
914
  delete options.debug;
904
915
  delete options.generatePackageJson;
905
916
  delete options.emitOnAll;
917
+ delete options.distDir;
906
918
  delete options.includeSrc;
907
919
  delete options.verbose;
908
920
  delete options.projectRoot;
@@ -927,7 +939,7 @@ async function copyBuildAssets(context2) {
927
939
  if (_optionalChain([context2, 'access', _26 => _26.result, 'optionalAccess', _27 => _27.errors, 'access', _28 => _28.length]) === 0) {
928
940
  _chunkNG6GE2YZjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
929
941
  const stopwatch = _chunkNG6GE2YZjs.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
930
- await _chunkESRAKU7Yjs.copyAssets.call(void 0, context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.sourceRoot, true, false);
942
+ await _chunkIFSORSANjs.copyAssets.call(void 0, context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.sourceRoot, true, false);
931
943
  stopwatch();
932
944
  }
933
945
  return context2;
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  getProjectPlatform
3
- } from "./chunk-OVLYU6HE.mjs";
3
+ } from "./chunk-XBRJIYCS.mjs";
4
4
  import {
5
5
  ProjectTagConstants,
6
6
  addProjectTag,
7
7
  isEqualProjectTag,
8
8
  setDefaultProjectTags
9
- } from "./chunk-J53HKGFM.mjs";
9
+ } from "./chunk-HUVBVDJ7.mjs";
10
10
  import {
11
11
  __name
12
- } from "./chunk-2WTKQCPA.mjs";
12
+ } from "./chunk-2BPV2XV2.mjs";
13
13
 
14
14
  // src/plugins/typescript/project-config.ts
15
15
  import { existsSync } from "node:fs";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  normalizeOptions,
3
3
  typeScriptLibraryGeneratorFn
4
- } from "./chunk-SF477J3B.mjs";
4
+ } from "./chunk-YZLAY7R4.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-DGI7OQYG.mjs";
7
+ } from "./chunk-ZPN57TH7.mjs";
8
8
  import {
9
9
  joinPaths
10
- } from "./chunk-HASYGI6W.mjs";
10
+ } from "./chunk-ATIBREWM.mjs";
11
11
  import {
12
12
  __dirname,
13
13
  __name
14
- } from "./chunk-2WTKQCPA.mjs";
14
+ } from "./chunk-2BPV2XV2.mjs";
15
15
 
16
16
  // src/generators/browser-library/generator.ts
17
17
  import { formatFiles, generateFiles, names, offsetFromRoot } from "@nx/devkit";
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  writeDebug,
3
3
  writeTrace
4
- } from "./chunk-L6CV744X.mjs";
4
+ } from "./chunk-IXZ3PGBP.mjs";
5
5
  import {
6
6
  findWorkspaceRoot
7
- } from "./chunk-2PKZRCQJ.mjs";
7
+ } from "./chunk-FR3YQN55.mjs";
8
8
  import {
9
9
  correctPaths,
10
10
  joinPaths
11
- } from "./chunk-HASYGI6W.mjs";
11
+ } from "./chunk-ATIBREWM.mjs";
12
12
  import {
13
13
  __name
14
- } from "./chunk-2WTKQCPA.mjs";
14
+ } from "./chunk-2BPV2XV2.mjs";
15
15
 
16
16
  // ../build-tools/src/config.ts
17
- var DEFAULT_COMPILED_BANNER = `
18
- /**
17
+ var DEFAULT_COMPILED_BANNER = `/*****************************************
18
+ *
19
19
  * \u26A1 Built by Storm Software
20
- */
21
-
20
+ *
21
+ *****************************************/
22
22
  `;
23
23
  var DEFAULT_ENVIRONMENT = "production";
24
24
  var DEFAULT_TARGET = "esnext";
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  normalizeOptions,
3
3
  typeScriptLibraryGeneratorFn
4
- } from "./chunk-SF477J3B.mjs";
4
+ } from "./chunk-YZLAY7R4.mjs";
5
5
  import {
6
6
  typesNodeVersion
7
7
  } from "./chunk-EK75QNMS.mjs";
8
8
  import {
9
9
  withRunGenerator
10
- } from "./chunk-DGI7OQYG.mjs";
10
+ } from "./chunk-ZPN57TH7.mjs";
11
11
  import {
12
12
  joinPaths
13
- } from "./chunk-HASYGI6W.mjs";
13
+ } from "./chunk-ATIBREWM.mjs";
14
14
  import {
15
15
  __dirname,
16
16
  __name
17
- } from "./chunk-2WTKQCPA.mjs";
17
+ } from "./chunk-2BPV2XV2.mjs";
18
18
 
19
19
  // src/generators/node-library/generator.ts
20
20
  import { formatFiles, generateFiles, names, offsetFromRoot } from "@nx/devkit";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  cargoMetadata,
3
3
  isExternal
4
- } from "./chunk-GHJGKUBW.mjs";
4
+ } from "./chunk-JIAGNEII.mjs";
5
5
  import {
6
6
  ProjectTagConstants,
7
7
  addProjectTag,
8
8
  setDefaultProjectTags
9
- } from "./chunk-J53HKGFM.mjs";
9
+ } from "./chunk-HUVBVDJ7.mjs";
10
10
  import {
11
11
  __name
12
- } from "./chunk-2WTKQCPA.mjs";
12
+ } from "./chunk-2BPV2XV2.mjs";
13
13
 
14
14
  // src/plugins/rust/cargo-toml.ts
15
15
  import { createNodesFromFiles, joinPathFragments, readJsonFile, workspaceRoot } from "@nx/devkit";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  buildCargoCommand,
3
3
  cargoCommand
4
- } from "./chunk-GHJGKUBW.mjs";
4
+ } from "./chunk-JIAGNEII.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-VOIYJ67D.mjs";
7
+ } from "./chunk-5DWBECCN.mjs";
8
8
  import {
9
9
  __name
10
- } from "./chunk-2WTKQCPA.mjs";
10
+ } from "./chunk-2BPV2XV2.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-J53HKGFM.mjs";
4
+ } from "./chunk-HUVBVDJ7.mjs";
5
5
  import {
6
6
  __name
7
- } from "./chunk-2WTKQCPA.mjs";
7
+ } from "./chunk-2BPV2XV2.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
  findWorkspaceRoot
3
- } from "./chunk-2PKZRCQJ.mjs";
3
+ } from "./chunk-FR3YQN55.mjs";
4
4
  import {
5
5
  __name
6
- } from "./chunk-2WTKQCPA.mjs";
6
+ } from "./chunk-2BPV2XV2.mjs";
7
7
 
8
8
  // src/utils/apply-workspace-tokens.ts
9
9
  var applyWorkspaceExecutorTokens = /* @__PURE__ */ __name(async (option, tokenizerOptions) => {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  findWorkspaceRoot
3
- } from "./chunk-2PKZRCQJ.mjs";
3
+ } from "./chunk-FR3YQN55.mjs";
4
4
  import {
5
5
  __name
6
- } from "./chunk-2WTKQCPA.mjs";
6
+ } from "./chunk-2BPV2XV2.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,13 +1,13 @@
1
1
  import {
2
2
  buildCargoCommand,
3
3
  cargoCommand
4
- } from "./chunk-GHJGKUBW.mjs";
4
+ } from "./chunk-JIAGNEII.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-VOIYJ67D.mjs";
7
+ } from "./chunk-5DWBECCN.mjs";
8
8
  import {
9
9
  __name
10
- } from "./chunk-2WTKQCPA.mjs";
10
+ } from "./chunk-2BPV2XV2.mjs";
11
11
 
12
12
  // src/executors/cargo-clippy/executor.ts
13
13
  async function cargoClippyExecutor(options, context) {
@@ -4,13 +4,13 @@ import {
4
4
  import {
5
5
  ProjectTagConstants,
6
6
  addProjectTag
7
- } from "./chunk-J53HKGFM.mjs";
7
+ } from "./chunk-HUVBVDJ7.mjs";
8
8
  import {
9
9
  joinPaths
10
- } from "./chunk-HASYGI6W.mjs";
10
+ } from "./chunk-ATIBREWM.mjs";
11
11
  import {
12
12
  __name
13
- } from "./chunk-2WTKQCPA.mjs";
13
+ } from "./chunk-2BPV2XV2.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";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __name
3
- } from "./chunk-2WTKQCPA.mjs";
3
+ } from "./chunk-2BPV2XV2.mjs";
4
4
 
5
5
  // src/utils/typia-transform.ts
6
6
  import transform from "typia/lib/transform";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  applyWorkspaceBaseTokens,
3
3
  applyWorkspaceTokens
4
- } from "./chunk-5JPH5VCU.mjs";
4
+ } from "./chunk-AWKIWCLR.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-L6CV744X.mjs";
14
+ } from "./chunk-IXZ3PGBP.mjs";
15
15
  import {
16
16
  findWorkspaceRoot
17
- } from "./chunk-2PKZRCQJ.mjs";
17
+ } from "./chunk-FR3YQN55.mjs";
18
18
  import {
19
19
  __name
20
- } from "./chunk-2WTKQCPA.mjs";
20
+ } from "./chunk-2BPV2XV2.mjs";
21
21
 
22
22
  // src/base/base-generator.ts
23
23
  var withRunGenerator = /* @__PURE__ */ __name((name, generatorFn, generatorOptions = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __name
3
- } from "./chunk-2WTKQCPA.mjs";
3
+ } from "./chunk-2BPV2XV2.mjs";
4
4
 
5
5
  // src/utils/create-cli-options.ts
6
6
  import { names } from "@nx/devkit";
package/dist/executors.js CHANGED
@@ -10,7 +10,7 @@ var _chunkGJQKCDGCjs = require('./chunk-GJQKCDGC.js');
10
10
  var _chunkXM4IXZ6Yjs = require('./chunk-XM4IXZ6Y.js');
11
11
 
12
12
 
13
- var _chunkK7OAIP34js = require('./chunk-K7OAIP34.js');
13
+ var _chunk55IQXVOQjs = require('./chunk-55IQXVOQ.js');
14
14
 
15
15
 
16
16
  var _chunkAXGI5QP4js = require('./chunk-AXGI5QP4.js');
@@ -22,8 +22,8 @@ var _chunkOVWVVBMFjs = require('./chunk-OVWVVBMF.js');
22
22
  var _chunkGGGO542Mjs = require('./chunk-GGGO542M.js');
23
23
 
24
24
 
25
- var _chunkW2WAWCCVjs = require('./chunk-W2WAWCCV.js');
26
- require('./chunk-ESRAKU7Y.js');
25
+ var _chunkOAQP7HGXjs = require('./chunk-OAQP7HGX.js');
26
+ require('./chunk-IFSORSAN.js');
27
27
 
28
28
 
29
29
  var _chunkJJ4G5NGFjs = require('./chunk-JJ4G5NGF.js');
@@ -58,4 +58,4 @@ require('./chunk-3GQAWCBQ.js');
58
58
 
59
59
 
60
60
 
61
- exports.LARGE_BUFFER = _chunkGJQKCDGCjs.LARGE_BUFFER; exports.cargoBuildExecutor = _chunkJJ4G5NGFjs.cargoBuildExecutor; exports.cargoCheckExecutor = _chunkU6DCH53Ijs.cargoCheckExecutor; exports.cargoClippyExecutor = _chunkGBXELUHEjs.cargoClippyExecutor; exports.cargoDocExecutor = _chunkFIRVS3UNjs.cargoDocExecutor; exports.cargoFormatExecutor = _chunkOVWVVBMFjs.cargoFormatExecutor; exports.esbuildExecutorFn = _chunkW2WAWCCVjs.esbuildExecutorFn; exports.getRegistryVersion = _chunkGGGO542Mjs.getRegistryVersion; exports.sizeLimitExecutorFn = _chunkXM4IXZ6Yjs.sizeLimitExecutorFn; exports.tsdownExecutorFn = _chunkK7OAIP34js.tsdownExecutorFn; exports.typiaExecutorFn = _chunkAXGI5QP4js.typiaExecutorFn; exports.unbuildExecutorFn = _chunkKFJJGDFTjs.unbuildExecutorFn;
61
+ exports.LARGE_BUFFER = _chunkGJQKCDGCjs.LARGE_BUFFER; exports.cargoBuildExecutor = _chunkJJ4G5NGFjs.cargoBuildExecutor; exports.cargoCheckExecutor = _chunkU6DCH53Ijs.cargoCheckExecutor; exports.cargoClippyExecutor = _chunkGBXELUHEjs.cargoClippyExecutor; exports.cargoDocExecutor = _chunkFIRVS3UNjs.cargoDocExecutor; exports.cargoFormatExecutor = _chunkOVWVVBMFjs.cargoFormatExecutor; exports.esbuildExecutorFn = _chunkOAQP7HGXjs.esbuildExecutorFn; exports.getRegistryVersion = _chunkGGGO542Mjs.getRegistryVersion; exports.sizeLimitExecutorFn = _chunkXM4IXZ6Yjs.sizeLimitExecutorFn; exports.tsdownExecutorFn = _chunk55IQXVOQjs.tsdownExecutorFn; exports.typiaExecutorFn = _chunkAXGI5QP4js.typiaExecutorFn; exports.unbuildExecutorFn = _chunkKFJJGDFTjs.unbuildExecutorFn;
@@ -1,50 +1,50 @@
1
1
  import "./chunk-V7YZ3666.mjs";
2
2
  import {
3
3
  unbuildExecutorFn
4
- } from "./chunk-U6DRC3BT.mjs";
4
+ } from "./chunk-G6VTRIV6.mjs";
5
5
  import {
6
6
  LARGE_BUFFER
7
- } from "./chunk-GRU4UEE7.mjs";
7
+ } from "./chunk-BMNXBEWE.mjs";
8
8
  import {
9
9
  sizeLimitExecutorFn
10
- } from "./chunk-IT3ENPW3.mjs";
10
+ } from "./chunk-3RLLSZI3.mjs";
11
11
  import {
12
12
  tsdownExecutorFn
13
- } from "./chunk-MNV4E744.mjs";
13
+ } from "./chunk-7W5P2GIE.mjs";
14
14
  import {
15
15
  typiaExecutorFn
16
- } from "./chunk-3I74ESKM.mjs";
16
+ } from "./chunk-FIJJTQKT.mjs";
17
17
  import {
18
18
  cargoFormatExecutor
19
- } from "./chunk-STVTZJIX.mjs";
19
+ } from "./chunk-GKFEPODO.mjs";
20
20
  import {
21
21
  getRegistryVersion
22
- } from "./chunk-OQ32KFGA.mjs";
22
+ } from "./chunk-3PWCELL5.mjs";
23
23
  import {
24
24
  esbuildExecutorFn
25
- } from "./chunk-KMFZVYDQ.mjs";
26
- import "./chunk-A7OTLU7I.mjs";
25
+ } from "./chunk-NZBJ5BJT.mjs";
26
+ import "./chunk-TLRZHFVN.mjs";
27
27
  import {
28
28
  cargoBuildExecutor
29
- } from "./chunk-OBUTMEEY.mjs";
29
+ } from "./chunk-XB6ATVWM.mjs";
30
30
  import {
31
31
  cargoCheckExecutor
32
- } from "./chunk-BV32SZPV.mjs";
32
+ } from "./chunk-EVQJFIA7.mjs";
33
33
  import {
34
34
  cargoClippyExecutor
35
- } from "./chunk-BGSGM2KX.mjs";
35
+ } from "./chunk-YPUNRGTW.mjs";
36
36
  import {
37
37
  cargoDocExecutor
38
- } from "./chunk-GPOYI6OO.mjs";
39
- import "./chunk-IGJN2SBZ.mjs";
40
- import "./chunk-GHJGKUBW.mjs";
41
- import "./chunk-4PDLEPIC.mjs";
42
- import "./chunk-VOIYJ67D.mjs";
43
- import "./chunk-5JPH5VCU.mjs";
44
- import "./chunk-L6CV744X.mjs";
45
- import "./chunk-2PKZRCQJ.mjs";
46
- import "./chunk-HASYGI6W.mjs";
47
- import "./chunk-2WTKQCPA.mjs";
38
+ } from "./chunk-77KNPIOO.mjs";
39
+ import "./chunk-AD4BVP7F.mjs";
40
+ import "./chunk-JIAGNEII.mjs";
41
+ import "./chunk-7ENGREV2.mjs";
42
+ import "./chunk-5DWBECCN.mjs";
43
+ import "./chunk-AWKIWCLR.mjs";
44
+ import "./chunk-IXZ3PGBP.mjs";
45
+ import "./chunk-FR3YQN55.mjs";
46
+ import "./chunk-ATIBREWM.mjs";
47
+ import "./chunk-2BPV2XV2.mjs";
48
48
  export {
49
49
  LARGE_BUFFER,
50
50
  cargoBuildExecutor,
@@ -13,10 +13,10 @@ var _chunkQ27N3MQOjs = require('./chunk-Q27N3MQO.js');
13
13
  var _chunkD5NZC2JNjs = require('./chunk-D5NZC2JN.js');
14
14
 
15
15
 
16
- var _chunkIC2TARGZjs = require('./chunk-IC2TARGZ.js');
16
+ var _chunkXGU4526Mjs = require('./chunk-XGU4526M.js');
17
17
 
18
18
 
19
- var _chunkXGU4526Mjs = require('./chunk-XGU4526M.js');
19
+ var _chunkIC2TARGZjs = require('./chunk-IC2TARGZ.js');
20
20
 
21
21
 
22
22
  var _chunk3IZ3O4OKjs = require('./chunk-3IZ3O4OK.js');