@storm-software/workspace-tools 1.10.2 → 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.2",
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=xkci3ph2zt5vsprrkwy6c5l6tm_@microsoft+api-extractor@7.38.3_@swc+core@1._d2v5xrfi4r52osfoqhflfze32q/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=xkci3ph2zt5vsprrkwy6c5l6tm_@microsoft+api-extractor@7.38.3_@swc+core@1._d2v5xrfi4r52osfoqhflfze32q/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=xkci3ph2zt5vsprrkwy6c5l6tm_@microsoft+api-extractor@7.38.3_@swc+core@1._d2v5xrfi4r52osfoqhflfze32q/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=xkci3ph2zt5vsprrkwy6c5l6tm_@microsoft+api-extractor@7.38.3_@swc+core@1._d2v5xrfi4r52osfoqhflfze32q/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=xkci3ph2zt5vsprrkwy6c5l6tm_@microsoft+api-extractor@7.38.3_@swc+core@1._d2v5xrfi4r52osfoqhflfze32q/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=xkci3ph2zt5vsprrkwy6c5l6tm_@microsoft+api-extractor@7.38.3_@swc+core@1._d2v5xrfi4r52osfoqhflfze32q/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=xkci3ph2zt5vsprrkwy6c5l6tm_@microsoft+api-extractor@7.38.3_@swc+core@1._d2v5xrfi4r52osfoqhflfze32q/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=xkci3ph2zt5vsprrkwy6c5l6tm_@microsoft+api-extractor@7.38.3_@swc+core@1._d2v5xrfi4r52osfoqhflfze32q/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=xkci3ph2zt5vsprrkwy6c5l6tm_@microsoft+api-extractor@7.38.3_@swc+core@1._d2v5xrfi4r52osfoqhflfze32q/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=xkci3ph2zt5vsprrkwy6c5l6tm_@microsoft+api-extractor@7.38.3_@swc+core@1._d2v5xrfi4r52osfoqhflfze32q/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,
@@ -467562,7 +467566,15 @@ var require_dist5 = __commonJS({
467562
467566
  tsconfigFilePath: _path2.default.join(
467563
467567
  "<projectFolder>",
467564
467568
  tsconfigFilePath.replace(options.workspaceRoot, "")
467565
- )
467569
+ ),
467570
+ overrideTsconfig: {
467571
+ "$schema": "http://json.schemastore.org/tsconfig",
467572
+ compilerOptions: {
467573
+ ...options?.experimentalDts?.compilerOptions ?? {},
467574
+ noEmit: false
467575
+ },
467576
+ include: [`${pkgPath}/**/*`]
467577
+ }
467566
467578
  },
467567
467579
  projectFolder: "./"
467568
467580
  };
@@ -467573,6 +467585,11 @@ var require_dist5 = __commonJS({
467573
467585
  };
467574
467586
  logger2.info("dts", `\u26A1 Current Directory: ${__dirname}`);
467575
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
+ );
467576
467593
  const imported = _chunkGQ77QZBOjs.getApiExtractor.call(void 0);
467577
467594
  if (!imported) {
467578
467595
  throw new Error(
@@ -467606,7 +467623,6 @@ var require_dist5 = __commonJS({
467606
467623
  "_tsup-dts-aggregation" + dtsExtension
467607
467624
  );
467608
467625
  dtsInputFilePath = dtsInputFilePath.replace(/\.d\.mts$/, ".dmts.d.ts").replace(/\.d\.cts$/, ".dcts.d.ts");
467609
- let dtsOutputFilePath = _path2.default.join(outDir, "index" + dtsExtension);
467610
467626
  _chunkGQ77QZBOjs.writeFileSync.call(
467611
467627
  void 0,
467612
467628
  dtsInputFilePath,
@@ -467618,11 +467634,7 @@ var require_dist5 = __commonJS({
467618
467634
  "<projectFolder>",
467619
467635
  dtsInputFilePath.replace(options.workspaceRoot, "")
467620
467636
  ),
467621
- _path2.default.join(
467622
- "<projectFolder>",
467623
- options.outDir,
467624
- `index${dtsExtension}`
467625
- ),
467637
+ dtsExtension,
467626
467638
  options.tsconfig || "tsconfig.json"
467627
467639
  );
467628
467640
  for (let [out, sourceFileName] of Object.entries(
@@ -467630,10 +467642,13 @@ var require_dist5 = __commonJS({
467630
467642
  )) {
467631
467643
  sourceFileName = _chunkGQ77QZBOjs.toAbsolutePath.call(void 0, sourceFileName);
467632
467644
  const outFileName = _path2.default.join(outDir, out + dtsExtension);
467645
+ const currentExports = exports2.filter(
467646
+ (declaration) => declaration.sourceFileName === sourceFileName
467647
+ );
467633
467648
  _chunkGQ77QZBOjs.writeFileSync.call(
467634
467649
  void 0,
467635
467650
  outFileName,
467636
- formatDistributionExports(exports2, outFileName, dtsOutputFilePath)
467651
+ formatDistributionExports(currentExports, outFileName, outDir)
467637
467652
  );
467638
467653
  }
467639
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=xkci3ph2zt5vsprrkwy6c5l6tm_@microsoft+api-extractor@7.38.3_@swc+core@1._d2v5xrfi4r52osfoqhflfze32q/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=xkci3ph2zt5vsprrkwy6c5l6tm_@microsoft+api-extractor@7.38.3_@swc+core@1._d2v5xrfi4r52osfoqhflfze32q/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=xkci3ph2zt5vsprrkwy6c5l6tm_@microsoft+api-extractor@7.38.3_@swc+core@1._d2v5xrfi4r52osfoqhflfze32q/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=xkci3ph2zt5vsprrkwy6c5l6tm_@microsoft+api-extractor@7.38.3_@swc+core@1._d2v5xrfi4r52osfoqhflfze32q/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=xkci3ph2zt5vsprrkwy6c5l6tm_@microsoft+api-extractor@7.38.3_@swc+core@1._d2v5xrfi4r52osfoqhflfze32q/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=xkci3ph2zt5vsprrkwy6c5l6tm_@microsoft+api-extractor@7.38.3_@swc+core@1._d2v5xrfi4r52osfoqhflfze32q/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=xkci3ph2zt5vsprrkwy6c5l6tm_@microsoft+api-extractor@7.38.3_@swc+core@1._d2v5xrfi4r52osfoqhflfze32q/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=xkci3ph2zt5vsprrkwy6c5l6tm_@microsoft+api-extractor@7.38.3_@swc+core@1._d2v5xrfi4r52osfoqhflfze32q/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=xkci3ph2zt5vsprrkwy6c5l6tm_@microsoft+api-extractor@7.38.3_@swc+core@1._d2v5xrfi4r52osfoqhflfze32q/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=xkci3ph2zt5vsprrkwy6c5l6tm_@microsoft+api-extractor@7.38.3_@swc+core@1._d2v5xrfi4r52osfoqhflfze32q/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,
@@ -269719,7 +269723,15 @@ var require_dist5 = __commonJS({
269719
269723
  tsconfigFilePath: _path2.default.join(
269720
269724
  "<projectFolder>",
269721
269725
  tsconfigFilePath.replace(options.workspaceRoot, "")
269722
- )
269726
+ ),
269727
+ overrideTsconfig: {
269728
+ "$schema": "http://json.schemastore.org/tsconfig",
269729
+ compilerOptions: {
269730
+ ...options?.experimentalDts?.compilerOptions ?? {},
269731
+ noEmit: false
269732
+ },
269733
+ include: [`${pkgPath}/**/*`]
269734
+ }
269723
269735
  },
269724
269736
  projectFolder: "./"
269725
269737
  };
@@ -269730,6 +269742,11 @@ var require_dist5 = __commonJS({
269730
269742
  };
269731
269743
  logger2.info("dts", `\u26A1 Current Directory: ${__dirname}`);
269732
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
+ );
269733
269750
  const imported = _chunkGQ77QZBOjs.getApiExtractor.call(void 0);
269734
269751
  if (!imported) {
269735
269752
  throw new Error(
@@ -269763,7 +269780,6 @@ var require_dist5 = __commonJS({
269763
269780
  "_tsup-dts-aggregation" + dtsExtension
269764
269781
  );
269765
269782
  dtsInputFilePath = dtsInputFilePath.replace(/\.d\.mts$/, ".dmts.d.ts").replace(/\.d\.cts$/, ".dcts.d.ts");
269766
- let dtsOutputFilePath = _path2.default.join(outDir, "index" + dtsExtension);
269767
269783
  _chunkGQ77QZBOjs.writeFileSync.call(
269768
269784
  void 0,
269769
269785
  dtsInputFilePath,
@@ -269775,11 +269791,7 @@ var require_dist5 = __commonJS({
269775
269791
  "<projectFolder>",
269776
269792
  dtsInputFilePath.replace(options.workspaceRoot, "")
269777
269793
  ),
269778
- _path2.default.join(
269779
- "<projectFolder>",
269780
- options.outDir,
269781
- `index${dtsExtension}`
269782
- ),
269794
+ dtsExtension,
269783
269795
  options.tsconfig || "tsconfig.json"
269784
269796
  );
269785
269797
  for (let [out, sourceFileName] of Object.entries(
@@ -269787,10 +269799,13 @@ var require_dist5 = __commonJS({
269787
269799
  )) {
269788
269800
  sourceFileName = _chunkGQ77QZBOjs.toAbsolutePath.call(void 0, sourceFileName);
269789
269801
  const outFileName = _path2.default.join(outDir, out + dtsExtension);
269802
+ const currentExports = exports2.filter(
269803
+ (declaration) => declaration.sourceFileName === sourceFileName
269804
+ );
269790
269805
  _chunkGQ77QZBOjs.writeFileSync.call(
269791
269806
  void 0,
269792
269807
  outFileName,
269793
- formatDistributionExports(exports2, outFileName, dtsOutputFilePath)
269808
+ formatDistributionExports(currentExports, outFileName, outDir)
269794
269809
  );
269795
269810
  }
269796
269811
  }