@storm-software/workspace-tools 1.10.3 → 1.10.4

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/workspace-tools",
3
- "version": "1.10.3",
3
+ "version": "1.10.4",
4
4
  "private": false,
5
5
  "description": "⚡ A Nx plugin package that contains various executors and generators used in a Storm workspaces.",
6
6
  "keywords": [
@@ -408390,9 +408390,9 @@ var require_brace_expansion2 = __commonJS({
408390
408390
  }
408391
408391
  });
408392
408392
 
408393
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=3cmxcmt2zxdl3nmftpgazx6gla_@microsoft+api-extractor@7.38.3_@swc+core@1._k6esz6o3b3m7bsfdklcaythw7u/node_modules/tsup/dist/chunk-EPAEWGCP.js
408393
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=m5d7qaigvbst7blv2cqvhcnqka_@microsoft+api-extractor@7.38.3_@swc+core@1._bdwxrrieyl7nvwx4mb2daqadl4/node_modules/tsup/dist/chunk-EPAEWGCP.js
408394
408394
  var require_chunk_EPAEWGCP = __commonJS({
408395
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=3cmxcmt2zxdl3nmftpgazx6gla_@microsoft+api-extractor@7.38.3_@swc+core@1._k6esz6o3b3m7bsfdklcaythw7u/node_modules/tsup/dist/chunk-EPAEWGCP.js"(exports) {
408395
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=m5d7qaigvbst7blv2cqvhcnqka_@microsoft+api-extractor@7.38.3_@swc+core@1._bdwxrrieyl7nvwx4mb2daqadl4/node_modules/tsup/dist/chunk-EPAEWGCP.js"(exports) {
408396
408396
  "use strict";
408397
408397
  Object.defineProperty(exports, "__esModule", { value: true });
408398
408398
  var version = "8.0.0";
@@ -410039,9 +410039,9 @@ var require_resolve_from = __commonJS({
410039
410039
  }
410040
410040
  });
410041
410041
 
410042
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=3cmxcmt2zxdl3nmftpgazx6gla_@microsoft+api-extractor@7.38.3_@swc+core@1._k6esz6o3b3m7bsfdklcaythw7u/node_modules/tsup/dist/chunk-GQ77QZBO.js
410042
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=m5d7qaigvbst7blv2cqvhcnqka_@microsoft+api-extractor@7.38.3_@swc+core@1._bdwxrrieyl7nvwx4mb2daqadl4/node_modules/tsup/dist/chunk-GQ77QZBO.js
410043
410043
  var require_chunk_GQ77QZBO = __commonJS({
410044
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=3cmxcmt2zxdl3nmftpgazx6gla_@microsoft+api-extractor@7.38.3_@swc+core@1._k6esz6o3b3m7bsfdklcaythw7u/node_modules/tsup/dist/chunk-GQ77QZBO.js"(exports) {
410044
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=m5d7qaigvbst7blv2cqvhcnqka_@microsoft+api-extractor@7.38.3_@swc+core@1._bdwxrrieyl7nvwx4mb2daqadl4/node_modules/tsup/dist/chunk-GQ77QZBO.js"(exports) {
410045
410045
  "use strict";
410046
410046
  Object.defineProperty(exports, "__esModule", { value: true });
410047
410047
  function _interopRequireDefault(obj) {
@@ -410320,9 +410320,9 @@ var require_chunk_GQ77QZBO = __commonJS({
410320
410320
  }
410321
410321
  });
410322
410322
 
410323
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=3cmxcmt2zxdl3nmftpgazx6gla_@microsoft+api-extractor@7.38.3_@swc+core@1._k6esz6o3b3m7bsfdklcaythw7u/node_modules/tsup/dist/chunk-UIX4URMV.js
410323
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=m5d7qaigvbst7blv2cqvhcnqka_@microsoft+api-extractor@7.38.3_@swc+core@1._bdwxrrieyl7nvwx4mb2daqadl4/node_modules/tsup/dist/chunk-UIX4URMV.js
410324
410324
  var require_chunk_UIX4URMV = __commonJS({
410325
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=3cmxcmt2zxdl3nmftpgazx6gla_@microsoft+api-extractor@7.38.3_@swc+core@1._k6esz6o3b3m7bsfdklcaythw7u/node_modules/tsup/dist/chunk-UIX4URMV.js"(exports) {
410325
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=m5d7qaigvbst7blv2cqvhcnqka_@microsoft+api-extractor@7.38.3_@swc+core@1._bdwxrrieyl7nvwx4mb2daqadl4/node_modules/tsup/dist/chunk-UIX4URMV.js"(exports) {
410326
410326
  "use strict";
410327
410327
  Object.defineProperty(exports, "__esModule", { value: true });
410328
410328
  function _interopRequireWildcard(obj) {
@@ -411256,9 +411256,9 @@ var require_dist2 = __commonJS({
411256
411256
  }
411257
411257
  });
411258
411258
 
411259
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=3cmxcmt2zxdl3nmftpgazx6gla_@microsoft+api-extractor@7.38.3_@swc+core@1._k6esz6o3b3m7bsfdklcaythw7u/node_modules/tsup/dist/chunk-7G76EW2R.js
411259
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=m5d7qaigvbst7blv2cqvhcnqka_@microsoft+api-extractor@7.38.3_@swc+core@1._bdwxrrieyl7nvwx4mb2daqadl4/node_modules/tsup/dist/chunk-7G76EW2R.js
411260
411260
  var require_chunk_7G76EW2R = __commonJS({
411261
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=3cmxcmt2zxdl3nmftpgazx6gla_@microsoft+api-extractor@7.38.3_@swc+core@1._k6esz6o3b3m7bsfdklcaythw7u/node_modules/tsup/dist/chunk-7G76EW2R.js"(exports) {
411261
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=m5d7qaigvbst7blv2cqvhcnqka_@microsoft+api-extractor@7.38.3_@swc+core@1._bdwxrrieyl7nvwx4mb2daqadl4/node_modules/tsup/dist/chunk-7G76EW2R.js"(exports) {
411262
411262
  "use strict";
411263
411263
  Object.defineProperty(exports, "__esModule", { value: true });
411264
411264
  function _interopRequireDefault(obj) {
@@ -465064,9 +465064,9 @@ var require_chokidar = __commonJS({
465064
465064
  }
465065
465065
  });
465066
465066
 
465067
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=3cmxcmt2zxdl3nmftpgazx6gla_@microsoft+api-extractor@7.38.3_@swc+core@1._k6esz6o3b3m7bsfdklcaythw7u/node_modules/tsup/dist/index.js
465067
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=m5d7qaigvbst7blv2cqvhcnqka_@microsoft+api-extractor@7.38.3_@swc+core@1._bdwxrrieyl7nvwx4mb2daqadl4/node_modules/tsup/dist/index.js
465068
465068
  var require_dist5 = __commonJS({
465069
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=3cmxcmt2zxdl3nmftpgazx6gla_@microsoft+api-extractor@7.38.3_@swc+core@1._k6esz6o3b3m7bsfdklcaythw7u/node_modules/tsup/dist/index.js"(exports) {
465069
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=m5d7qaigvbst7blv2cqvhcnqka_@microsoft+api-extractor@7.38.3_@swc+core@1._bdwxrrieyl7nvwx4mb2daqadl4/node_modules/tsup/dist/index.js"(exports) {
465070
465070
  "use strict";
465071
465071
  Object.defineProperty(exports, "__esModule", { value: true });
465072
465072
  function _interopRequireDefault(obj) {
@@ -467500,7 +467500,7 @@ var require_dist5 = __commonJS({
467500
467500
  return "";
467501
467501
  }
467502
467502
  var logger2 = _chunk7G76EW2Rjs.createLogger.call(void 0);
467503
- function rollupDtsFile(options, inputFilePath, outputFilePath, tsconfigFilePath) {
467503
+ function rollupDtsFile(options, inputFilePath, dtsExtension, tsconfigFilePath) {
467504
467504
  let pkgPath = packageJsonSearch(options.outDir, options.silent, "dts", logger2);
467505
467505
  if (pkgPath.endsWith("/")) {
467506
467506
  pkgPath = pkgPath.slice(0, -1);
@@ -467539,7 +467539,11 @@ var require_dist5 = __commonJS({
467539
467539
  },
467540
467540
  dtsRollup: {
467541
467541
  enabled: true,
467542
- untrimmedFilePath: outputFilePath,
467542
+ untrimmedFilePath: _path2.default.join(
467543
+ "<projectFolder>",
467544
+ options.outDir,
467545
+ `index${dtsExtension}`
467546
+ ),
467543
467547
  betaTrimmedFilePath: _path2.default.join(
467544
467548
  "<projectFolder>",
467545
467549
  options.outDir,
@@ -467566,15 +467570,10 @@ var require_dist5 = __commonJS({
467566
467570
  overrideTsconfig: {
467567
467571
  "$schema": "http://json.schemastore.org/tsconfig",
467568
467572
  compilerOptions: {
467569
- noEmit: false,
467570
- declaration: true,
467571
- sourceMap: true,
467572
- declarationMap: true,
467573
- allowJs: true,
467574
- resolveJsonModule: true,
467575
- esModuleInterop: true
467573
+ ...options?.experimentalDts?.compilerOptions ?? {},
467574
+ noEmit: false
467576
467575
  },
467577
- include: ["**/*.ts", "**/*.js"]
467576
+ include: [`${pkgPath}/**/*`]
467578
467577
  }
467579
467578
  },
467580
467579
  projectFolder: "./"
@@ -467586,6 +467585,11 @@ var require_dist5 = __commonJS({
467586
467585
  };
467587
467586
  logger2.info("dts", `\u26A1 Current Directory: ${__dirname}`);
467588
467587
  logger2.info("dts", "\u26A1 Running API Extractor with the following config: \n", prepareOptions);
467588
+ logger2.info(
467589
+ "dts",
467590
+ "\u26A1 Using the following compiler options: \n",
467591
+ JSON.stringify(prepareOptions.configObject?.compiler)
467592
+ );
467589
467593
  const imported = _chunkGQ77QZBOjs.getApiExtractor.call(void 0);
467590
467594
  if (!imported) {
467591
467595
  throw new Error(
@@ -467619,7 +467623,6 @@ var require_dist5 = __commonJS({
467619
467623
  "_tsup-dts-aggregation" + dtsExtension
467620
467624
  );
467621
467625
  dtsInputFilePath = dtsInputFilePath.replace(/\.d\.mts$/, ".dmts.d.ts").replace(/\.d\.cts$/, ".dcts.d.ts");
467622
- let dtsOutputFilePath = _path2.default.join(outDir, "index" + dtsExtension);
467623
467626
  _chunkGQ77QZBOjs.writeFileSync.call(
467624
467627
  void 0,
467625
467628
  dtsInputFilePath,
@@ -467631,11 +467634,7 @@ var require_dist5 = __commonJS({
467631
467634
  "<projectFolder>",
467632
467635
  dtsInputFilePath.replace(options.workspaceRoot, "")
467633
467636
  ),
467634
- _path2.default.join(
467635
- "<projectFolder>",
467636
- options.outDir,
467637
- `index${dtsExtension}`
467638
- ),
467637
+ dtsExtension,
467639
467638
  options.tsconfig || "tsconfig.json"
467640
467639
  );
467641
467640
  for (let [out, sourceFileName] of Object.entries(
@@ -467643,10 +467642,13 @@ var require_dist5 = __commonJS({
467643
467642
  )) {
467644
467643
  sourceFileName = _chunkGQ77QZBOjs.toAbsolutePath.call(void 0, sourceFileName);
467645
467644
  const outFileName = _path2.default.join(outDir, out + dtsExtension);
467645
+ const currentExports = exports2.filter(
467646
+ (declaration) => declaration.sourceFileName === sourceFileName
467647
+ );
467646
467648
  _chunkGQ77QZBOjs.writeFileSync.call(
467647
467649
  void 0,
467648
467650
  outFileName,
467649
- formatDistributionExports(exports2, outFileName, dtsOutputFilePath)
467651
+ formatDistributionExports(currentExports, outFileName, outDir)
467650
467652
  );
467651
467653
  }
467652
467654
  }
@@ -18383,9 +18383,9 @@ var require_brace_expansion2 = __commonJS({
18383
18383
  }
18384
18384
  });
18385
18385
 
18386
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=3cmxcmt2zxdl3nmftpgazx6gla_@microsoft+api-extractor@7.38.3_@swc+core@1._k6esz6o3b3m7bsfdklcaythw7u/node_modules/tsup/dist/chunk-EPAEWGCP.js
18386
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=m5d7qaigvbst7blv2cqvhcnqka_@microsoft+api-extractor@7.38.3_@swc+core@1._bdwxrrieyl7nvwx4mb2daqadl4/node_modules/tsup/dist/chunk-EPAEWGCP.js
18387
18387
  var require_chunk_EPAEWGCP = __commonJS({
18388
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=3cmxcmt2zxdl3nmftpgazx6gla_@microsoft+api-extractor@7.38.3_@swc+core@1._k6esz6o3b3m7bsfdklcaythw7u/node_modules/tsup/dist/chunk-EPAEWGCP.js"(exports) {
18388
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=m5d7qaigvbst7blv2cqvhcnqka_@microsoft+api-extractor@7.38.3_@swc+core@1._bdwxrrieyl7nvwx4mb2daqadl4/node_modules/tsup/dist/chunk-EPAEWGCP.js"(exports) {
18389
18389
  "use strict";
18390
18390
  Object.defineProperty(exports, "__esModule", { value: true });
18391
18391
  var version = "8.0.0";
@@ -24319,9 +24319,9 @@ var require_resolve_from = __commonJS({
24319
24319
  }
24320
24320
  });
24321
24321
 
24322
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=3cmxcmt2zxdl3nmftpgazx6gla_@microsoft+api-extractor@7.38.3_@swc+core@1._k6esz6o3b3m7bsfdklcaythw7u/node_modules/tsup/dist/chunk-GQ77QZBO.js
24322
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=m5d7qaigvbst7blv2cqvhcnqka_@microsoft+api-extractor@7.38.3_@swc+core@1._bdwxrrieyl7nvwx4mb2daqadl4/node_modules/tsup/dist/chunk-GQ77QZBO.js
24323
24323
  var require_chunk_GQ77QZBO = __commonJS({
24324
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=3cmxcmt2zxdl3nmftpgazx6gla_@microsoft+api-extractor@7.38.3_@swc+core@1._k6esz6o3b3m7bsfdklcaythw7u/node_modules/tsup/dist/chunk-GQ77QZBO.js"(exports) {
24324
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=m5d7qaigvbst7blv2cqvhcnqka_@microsoft+api-extractor@7.38.3_@swc+core@1._bdwxrrieyl7nvwx4mb2daqadl4/node_modules/tsup/dist/chunk-GQ77QZBO.js"(exports) {
24325
24325
  "use strict";
24326
24326
  Object.defineProperty(exports, "__esModule", { value: true });
24327
24327
  function _interopRequireDefault(obj) {
@@ -24600,9 +24600,9 @@ var require_chunk_GQ77QZBO = __commonJS({
24600
24600
  }
24601
24601
  });
24602
24602
 
24603
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=3cmxcmt2zxdl3nmftpgazx6gla_@microsoft+api-extractor@7.38.3_@swc+core@1._k6esz6o3b3m7bsfdklcaythw7u/node_modules/tsup/dist/chunk-UIX4URMV.js
24603
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=m5d7qaigvbst7blv2cqvhcnqka_@microsoft+api-extractor@7.38.3_@swc+core@1._bdwxrrieyl7nvwx4mb2daqadl4/node_modules/tsup/dist/chunk-UIX4URMV.js
24604
24604
  var require_chunk_UIX4URMV = __commonJS({
24605
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=3cmxcmt2zxdl3nmftpgazx6gla_@microsoft+api-extractor@7.38.3_@swc+core@1._k6esz6o3b3m7bsfdklcaythw7u/node_modules/tsup/dist/chunk-UIX4URMV.js"(exports) {
24605
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=m5d7qaigvbst7blv2cqvhcnqka_@microsoft+api-extractor@7.38.3_@swc+core@1._bdwxrrieyl7nvwx4mb2daqadl4/node_modules/tsup/dist/chunk-UIX4URMV.js"(exports) {
24606
24606
  "use strict";
24607
24607
  Object.defineProperty(exports, "__esModule", { value: true });
24608
24608
  function _interopRequireWildcard(obj) {
@@ -25536,9 +25536,9 @@ var require_dist2 = __commonJS({
25536
25536
  }
25537
25537
  });
25538
25538
 
25539
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=3cmxcmt2zxdl3nmftpgazx6gla_@microsoft+api-extractor@7.38.3_@swc+core@1._k6esz6o3b3m7bsfdklcaythw7u/node_modules/tsup/dist/chunk-7G76EW2R.js
25539
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=m5d7qaigvbst7blv2cqvhcnqka_@microsoft+api-extractor@7.38.3_@swc+core@1._bdwxrrieyl7nvwx4mb2daqadl4/node_modules/tsup/dist/chunk-7G76EW2R.js
25540
25540
  var require_chunk_7G76EW2R = __commonJS({
25541
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=3cmxcmt2zxdl3nmftpgazx6gla_@microsoft+api-extractor@7.38.3_@swc+core@1._k6esz6o3b3m7bsfdklcaythw7u/node_modules/tsup/dist/chunk-7G76EW2R.js"(exports) {
25541
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=m5d7qaigvbst7blv2cqvhcnqka_@microsoft+api-extractor@7.38.3_@swc+core@1._bdwxrrieyl7nvwx4mb2daqadl4/node_modules/tsup/dist/chunk-7G76EW2R.js"(exports) {
25542
25542
  "use strict";
25543
25543
  Object.defineProperty(exports, "__esModule", { value: true });
25544
25544
  function _interopRequireDefault(obj) {
@@ -267221,9 +267221,9 @@ var require_chokidar = __commonJS({
267221
267221
  }
267222
267222
  });
267223
267223
 
267224
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=3cmxcmt2zxdl3nmftpgazx6gla_@microsoft+api-extractor@7.38.3_@swc+core@1._k6esz6o3b3m7bsfdklcaythw7u/node_modules/tsup/dist/index.js
267224
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=m5d7qaigvbst7blv2cqvhcnqka_@microsoft+api-extractor@7.38.3_@swc+core@1._bdwxrrieyl7nvwx4mb2daqadl4/node_modules/tsup/dist/index.js
267225
267225
  var require_dist5 = __commonJS({
267226
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=3cmxcmt2zxdl3nmftpgazx6gla_@microsoft+api-extractor@7.38.3_@swc+core@1._k6esz6o3b3m7bsfdklcaythw7u/node_modules/tsup/dist/index.js"(exports) {
267226
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=m5d7qaigvbst7blv2cqvhcnqka_@microsoft+api-extractor@7.38.3_@swc+core@1._bdwxrrieyl7nvwx4mb2daqadl4/node_modules/tsup/dist/index.js"(exports) {
267227
267227
  "use strict";
267228
267228
  Object.defineProperty(exports, "__esModule", { value: true });
267229
267229
  function _interopRequireDefault(obj) {
@@ -269657,7 +269657,7 @@ var require_dist5 = __commonJS({
269657
269657
  return "";
269658
269658
  }
269659
269659
  var logger2 = _chunk7G76EW2Rjs.createLogger.call(void 0);
269660
- function rollupDtsFile(options, inputFilePath, outputFilePath, tsconfigFilePath) {
269660
+ function rollupDtsFile(options, inputFilePath, dtsExtension, tsconfigFilePath) {
269661
269661
  let pkgPath = packageJsonSearch(options.outDir, options.silent, "dts", logger2);
269662
269662
  if (pkgPath.endsWith("/")) {
269663
269663
  pkgPath = pkgPath.slice(0, -1);
@@ -269696,7 +269696,11 @@ var require_dist5 = __commonJS({
269696
269696
  },
269697
269697
  dtsRollup: {
269698
269698
  enabled: true,
269699
- untrimmedFilePath: outputFilePath,
269699
+ untrimmedFilePath: _path2.default.join(
269700
+ "<projectFolder>",
269701
+ options.outDir,
269702
+ `index${dtsExtension}`
269703
+ ),
269700
269704
  betaTrimmedFilePath: _path2.default.join(
269701
269705
  "<projectFolder>",
269702
269706
  options.outDir,
@@ -269723,15 +269727,10 @@ var require_dist5 = __commonJS({
269723
269727
  overrideTsconfig: {
269724
269728
  "$schema": "http://json.schemastore.org/tsconfig",
269725
269729
  compilerOptions: {
269726
- noEmit: false,
269727
- declaration: true,
269728
- sourceMap: true,
269729
- declarationMap: true,
269730
- allowJs: true,
269731
- resolveJsonModule: true,
269732
- esModuleInterop: true
269730
+ ...options?.experimentalDts?.compilerOptions ?? {},
269731
+ noEmit: false
269733
269732
  },
269734
- include: ["**/*.ts", "**/*.js"]
269733
+ include: [`${pkgPath}/**/*`]
269735
269734
  }
269736
269735
  },
269737
269736
  projectFolder: "./"
@@ -269743,6 +269742,11 @@ var require_dist5 = __commonJS({
269743
269742
  };
269744
269743
  logger2.info("dts", `\u26A1 Current Directory: ${__dirname}`);
269745
269744
  logger2.info("dts", "\u26A1 Running API Extractor with the following config: \n", prepareOptions);
269745
+ logger2.info(
269746
+ "dts",
269747
+ "\u26A1 Using the following compiler options: \n",
269748
+ JSON.stringify(prepareOptions.configObject?.compiler)
269749
+ );
269746
269750
  const imported = _chunkGQ77QZBOjs.getApiExtractor.call(void 0);
269747
269751
  if (!imported) {
269748
269752
  throw new Error(
@@ -269776,7 +269780,6 @@ var require_dist5 = __commonJS({
269776
269780
  "_tsup-dts-aggregation" + dtsExtension
269777
269781
  );
269778
269782
  dtsInputFilePath = dtsInputFilePath.replace(/\.d\.mts$/, ".dmts.d.ts").replace(/\.d\.cts$/, ".dcts.d.ts");
269779
- let dtsOutputFilePath = _path2.default.join(outDir, "index" + dtsExtension);
269780
269783
  _chunkGQ77QZBOjs.writeFileSync.call(
269781
269784
  void 0,
269782
269785
  dtsInputFilePath,
@@ -269788,11 +269791,7 @@ var require_dist5 = __commonJS({
269788
269791
  "<projectFolder>",
269789
269792
  dtsInputFilePath.replace(options.workspaceRoot, "")
269790
269793
  ),
269791
- _path2.default.join(
269792
- "<projectFolder>",
269793
- options.outDir,
269794
- `index${dtsExtension}`
269795
- ),
269794
+ dtsExtension,
269796
269795
  options.tsconfig || "tsconfig.json"
269797
269796
  );
269798
269797
  for (let [out, sourceFileName] of Object.entries(
@@ -269800,10 +269799,13 @@ var require_dist5 = __commonJS({
269800
269799
  )) {
269801
269800
  sourceFileName = _chunkGQ77QZBOjs.toAbsolutePath.call(void 0, sourceFileName);
269802
269801
  const outFileName = _path2.default.join(outDir, out + dtsExtension);
269802
+ const currentExports = exports2.filter(
269803
+ (declaration) => declaration.sourceFileName === sourceFileName
269804
+ );
269803
269805
  _chunkGQ77QZBOjs.writeFileSync.call(
269804
269806
  void 0,
269805
269807
  outFileName,
269806
- formatDistributionExports(exports2, outFileName, dtsOutputFilePath)
269808
+ formatDistributionExports(currentExports, outFileName, outDir)
269807
269809
  );
269808
269810
  }
269809
269811
  }