@storm-software/workspace-tools 1.7.34 → 1.7.36

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.7.34",
3
+ "version": "1.7.36",
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=3d47rx4xoopfu7yij3ruwnww54_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-EPAEWGCP.js
408393
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=mbej3fsdqjmxhdiqcxx3ntmck4_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-EPAEWGCP.js
408394
408394
  var require_chunk_EPAEWGCP = __commonJS({
408395
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=3d47rx4xoopfu7yij3ruwnww54_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-EPAEWGCP.js"(exports) {
408395
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=mbej3fsdqjmxhdiqcxx3ntmck4_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/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=3d47rx4xoopfu7yij3ruwnww54_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-GQ77QZBO.js
410042
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=mbej3fsdqjmxhdiqcxx3ntmck4_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-GQ77QZBO.js
410043
410043
  var require_chunk_GQ77QZBO = __commonJS({
410044
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=3d47rx4xoopfu7yij3ruwnww54_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-GQ77QZBO.js"(exports) {
410044
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=mbej3fsdqjmxhdiqcxx3ntmck4_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/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=3d47rx4xoopfu7yij3ruwnww54_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-UIX4URMV.js
410323
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=mbej3fsdqjmxhdiqcxx3ntmck4_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-UIX4URMV.js
410324
410324
  var require_chunk_UIX4URMV = __commonJS({
410325
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=3d47rx4xoopfu7yij3ruwnww54_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-UIX4URMV.js"(exports) {
410325
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=mbej3fsdqjmxhdiqcxx3ntmck4_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/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=3d47rx4xoopfu7yij3ruwnww54_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-7G76EW2R.js
411259
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=mbej3fsdqjmxhdiqcxx3ntmck4_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-7G76EW2R.js
411260
411260
  var require_chunk_7G76EW2R = __commonJS({
411261
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=3d47rx4xoopfu7yij3ruwnww54_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-7G76EW2R.js"(exports) {
411261
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=mbej3fsdqjmxhdiqcxx3ntmck4_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/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=3d47rx4xoopfu7yij3ruwnww54_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/index.js
465067
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=mbej3fsdqjmxhdiqcxx3ntmck4_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/index.js
465068
465068
  var require_dist5 = __commonJS({
465069
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=3d47rx4xoopfu7yij3ruwnww54_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/index.js"(exports) {
465069
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=mbej3fsdqjmxhdiqcxx3ntmck4_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/index.js"(exports) {
465070
465070
  "use strict";
465071
465071
  Object.defineProperty(exports, "__esModule", { value: true });
465072
465072
  function _interopRequireDefault(obj) {
@@ -467359,12 +467359,21 @@ var require_dist5 = __commonJS({
467359
467359
  if (!rawTsconfig) {
467360
467360
  throw new Error(`Unable to find ${tsconfig || "tsconfig.json"}`);
467361
467361
  }
467362
+ if (!rawTsconfig.data) {
467363
+ rawTsconfig.data = {};
467364
+ }
467365
+ if (!rawTsconfig.data.compilerOptions) {
467366
+ rawTsconfig.data.compilerOptions = {};
467367
+ }
467368
+ logger.info("tsc", "Getting temporary declaration directory");
467362
467369
  let declarationDir = _chunkGQ77QZBOjs.ensureTempDeclarationDir.call(void 0);
467370
+ logger.info("tsc", declarationDir);
467371
+ logger.info("tsc", "Parsing tsconfig.json");
467363
467372
  let parsedTsconfig = _typescript2.default.parseJsonConfigFileContent(
467364
467373
  {
467365
467374
  ...rawTsconfig.data,
467366
467375
  compilerOptions: {
467367
- ..._optionalChain([rawTsconfig, "access", (_16) => _16.data, "optionalAccess", (_17) => _17.compilerOptions]),
467376
+ ...rawTsconfig.data.compilerOptions,
467368
467377
  ...compilerOptions,
467369
467378
  // Enable declaration emit and disable javascript emit
467370
467379
  noEmit: false,
@@ -467375,15 +467384,18 @@ var require_dist5 = __commonJS({
467375
467384
  }
467376
467385
  },
467377
467386
  _typescript2.default.sys,
467378
- tsconfig ? _path.dirname.call(void 0, tsconfig) : options.projectRoot
467387
+ options.workspaceRoot ? options.workspaceRoot : tsconfig ? _path.dirname.call(void 0, tsconfig) : options.projectRoot
467379
467388
  );
467389
+ logger.info("tsc", parsedTsconfig);
467380
467390
  let host = _typescript2.default.createCompilerHost(parsedTsconfig.options);
467381
467391
  let program = _typescript2.default.createProgram(
467382
467392
  parsedTsconfig.fileNames,
467383
467393
  parsedTsconfig.options,
467384
467394
  host
467385
467395
  );
467396
+ logger.info("tsc", "Emitting DTS files");
467386
467397
  let fileMapping = emitDtsFiles(program, host);
467398
+ logger.info("tsc", fileMapping);
467387
467399
  return getExports(options, program, fileMapping);
467388
467400
  }
467389
467401
  function runTypeScriptCompiler(options) {
@@ -474162,6 +474174,7 @@ function modernConfig({
474162
474174
  entry,
474163
474175
  outDir,
474164
474176
  projectRoot,
474177
+ workspaceRoot,
474165
474178
  tsconfig = "tsconfig.json",
474166
474179
  debug = false,
474167
474180
  external,
@@ -474187,6 +474200,7 @@ function modernConfig({
474187
474200
  ] : ["esnext", "node18"],
474188
474201
  tsconfig,
474189
474202
  projectRoot,
474203
+ workspaceRoot,
474190
474204
  outDir: (0, import_devkit.joinPathFragments)(outDir, "dist", "modern"),
474191
474205
  silent: !verbose,
474192
474206
  metafile: true,
@@ -474213,6 +474227,7 @@ function legacyConfig({
474213
474227
  entry,
474214
474228
  outDir,
474215
474229
  projectRoot,
474230
+ workspaceRoot,
474216
474231
  tsconfig = "tsconfig.json",
474217
474232
  debug = false,
474218
474233
  external,
@@ -474230,6 +474245,7 @@ function legacyConfig({
474230
474245
  target: ["es2022", "node18"],
474231
474246
  tsconfig,
474232
474247
  projectRoot,
474248
+ workspaceRoot,
474233
474249
  outDir: (0, import_devkit.joinPathFragments)(outDir, "dist", "legacy"),
474234
474250
  silent: !verbose,
474235
474251
  metafile: true,
@@ -474252,7 +474268,7 @@ function legacyConfig({
474252
474268
  outExtension
474253
474269
  };
474254
474270
  }
474255
- function getConfig(projectRoot, sourceRoot, {
474271
+ function getConfig(workspaceRoot, projectRoot, sourceRoot, {
474256
474272
  outputPath,
474257
474273
  tsConfig,
474258
474274
  debug,
@@ -474284,6 +474300,7 @@ function getConfig(projectRoot, sourceRoot, {
474284
474300
  entry,
474285
474301
  outDir: outputPath,
474286
474302
  projectRoot,
474303
+ workspaceRoot,
474287
474304
  tsconfig: tsConfig,
474288
474305
  debug,
474289
474306
  banner,
@@ -474298,6 +474315,7 @@ function getConfig(projectRoot, sourceRoot, {
474298
474315
  entry,
474299
474316
  outDir: outputPath,
474300
474317
  projectRoot,
474318
+ workspaceRoot,
474301
474319
  tsconfig: tsConfig,
474302
474320
  debug,
474303
474321
  banner,
@@ -474537,9 +474555,13 @@ ${(0, import_fs2.readFileSync)(file, "utf-8")}`,
474537
474555
  console.log(`\u{1F4E2} Tsup build message:
474538
474556
  `, event);
474539
474557
  });
474540
- const config = getConfig(projectRoot, sourceRoot, {
474558
+ const config = getConfig(context.root, projectRoot, sourceRoot, {
474541
474559
  ...options,
474542
- banner: options.banner ? { js: `// ${options.banner}`, css: `/* ${options.banner} */` } : void 0,
474560
+ banner: options.banner ? { js: `// ${options.banner}
474561
+
474562
+ `, css: `/* ${options.banner} */
474563
+
474564
+ ` } : void 0,
474543
474565
  outputPath
474544
474566
  });
474545
474567
  if (typeof config === "function") {
@@ -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=3d47rx4xoopfu7yij3ruwnww54_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-EPAEWGCP.js
18386
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=mbej3fsdqjmxhdiqcxx3ntmck4_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-EPAEWGCP.js
18387
18387
  var require_chunk_EPAEWGCP = __commonJS({
18388
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=3d47rx4xoopfu7yij3ruwnww54_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-EPAEWGCP.js"(exports) {
18388
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=mbej3fsdqjmxhdiqcxx3ntmck4_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/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=3d47rx4xoopfu7yij3ruwnww54_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-GQ77QZBO.js
24322
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=mbej3fsdqjmxhdiqcxx3ntmck4_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-GQ77QZBO.js
24323
24323
  var require_chunk_GQ77QZBO = __commonJS({
24324
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=3d47rx4xoopfu7yij3ruwnww54_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-GQ77QZBO.js"(exports) {
24324
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=mbej3fsdqjmxhdiqcxx3ntmck4_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/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=3d47rx4xoopfu7yij3ruwnww54_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-UIX4URMV.js
24603
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=mbej3fsdqjmxhdiqcxx3ntmck4_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-UIX4URMV.js
24604
24604
  var require_chunk_UIX4URMV = __commonJS({
24605
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=3d47rx4xoopfu7yij3ruwnww54_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-UIX4URMV.js"(exports) {
24605
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=mbej3fsdqjmxhdiqcxx3ntmck4_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/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=3d47rx4xoopfu7yij3ruwnww54_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-7G76EW2R.js
25539
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=mbej3fsdqjmxhdiqcxx3ntmck4_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-7G76EW2R.js
25540
25540
  var require_chunk_7G76EW2R = __commonJS({
25541
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=3d47rx4xoopfu7yij3ruwnww54_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-7G76EW2R.js"(exports) {
25541
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=mbej3fsdqjmxhdiqcxx3ntmck4_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/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=3d47rx4xoopfu7yij3ruwnww54_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/index.js
267224
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=mbej3fsdqjmxhdiqcxx3ntmck4_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/index.js
267225
267225
  var require_dist5 = __commonJS({
267226
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=3d47rx4xoopfu7yij3ruwnww54_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/index.js"(exports) {
267226
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=mbej3fsdqjmxhdiqcxx3ntmck4_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/index.js"(exports) {
267227
267227
  "use strict";
267228
267228
  Object.defineProperty(exports, "__esModule", { value: true });
267229
267229
  function _interopRequireDefault(obj) {
@@ -269516,12 +269516,21 @@ var require_dist5 = __commonJS({
269516
269516
  if (!rawTsconfig) {
269517
269517
  throw new Error(`Unable to find ${tsconfig || "tsconfig.json"}`);
269518
269518
  }
269519
+ if (!rawTsconfig.data) {
269520
+ rawTsconfig.data = {};
269521
+ }
269522
+ if (!rawTsconfig.data.compilerOptions) {
269523
+ rawTsconfig.data.compilerOptions = {};
269524
+ }
269525
+ logger.info("tsc", "Getting temporary declaration directory");
269519
269526
  let declarationDir = _chunkGQ77QZBOjs.ensureTempDeclarationDir.call(void 0);
269527
+ logger.info("tsc", declarationDir);
269528
+ logger.info("tsc", "Parsing tsconfig.json");
269520
269529
  let parsedTsconfig = _typescript2.default.parseJsonConfigFileContent(
269521
269530
  {
269522
269531
  ...rawTsconfig.data,
269523
269532
  compilerOptions: {
269524
- ..._optionalChain([rawTsconfig, "access", (_16) => _16.data, "optionalAccess", (_17) => _17.compilerOptions]),
269533
+ ...rawTsconfig.data.compilerOptions,
269525
269534
  ...compilerOptions,
269526
269535
  // Enable declaration emit and disable javascript emit
269527
269536
  noEmit: false,
@@ -269532,15 +269541,18 @@ var require_dist5 = __commonJS({
269532
269541
  }
269533
269542
  },
269534
269543
  _typescript2.default.sys,
269535
- tsconfig ? _path.dirname.call(void 0, tsconfig) : options.projectRoot
269544
+ options.workspaceRoot ? options.workspaceRoot : tsconfig ? _path.dirname.call(void 0, tsconfig) : options.projectRoot
269536
269545
  );
269546
+ logger.info("tsc", parsedTsconfig);
269537
269547
  let host = _typescript2.default.createCompilerHost(parsedTsconfig.options);
269538
269548
  let program = _typescript2.default.createProgram(
269539
269549
  parsedTsconfig.fileNames,
269540
269550
  parsedTsconfig.options,
269541
269551
  host
269542
269552
  );
269553
+ logger.info("tsc", "Emitting DTS files");
269543
269554
  let fileMapping = emitDtsFiles(program, host);
269555
+ logger.info("tsc", fileMapping);
269544
269556
  return getExports(options, program, fileMapping);
269545
269557
  }
269546
269558
  function runTypeScriptCompiler(options) {
@@ -276264,6 +276276,7 @@ function modernConfig({
276264
276276
  entry,
276265
276277
  outDir,
276266
276278
  projectRoot,
276279
+ workspaceRoot,
276267
276280
  tsconfig = "tsconfig.json",
276268
276281
  debug = false,
276269
276282
  external,
@@ -276289,6 +276302,7 @@ function modernConfig({
276289
276302
  ] : ["esnext", "node18"],
276290
276303
  tsconfig,
276291
276304
  projectRoot,
276305
+ workspaceRoot,
276292
276306
  outDir: (0, import_devkit.joinPathFragments)(outDir, "dist", "modern"),
276293
276307
  silent: !verbose,
276294
276308
  metafile: true,
@@ -276315,6 +276329,7 @@ function legacyConfig({
276315
276329
  entry,
276316
276330
  outDir,
276317
276331
  projectRoot,
276332
+ workspaceRoot,
276318
276333
  tsconfig = "tsconfig.json",
276319
276334
  debug = false,
276320
276335
  external,
@@ -276332,6 +276347,7 @@ function legacyConfig({
276332
276347
  target: ["es2022", "node18"],
276333
276348
  tsconfig,
276334
276349
  projectRoot,
276350
+ workspaceRoot,
276335
276351
  outDir: (0, import_devkit.joinPathFragments)(outDir, "dist", "legacy"),
276336
276352
  silent: !verbose,
276337
276353
  metafile: true,
@@ -276354,7 +276370,7 @@ function legacyConfig({
276354
276370
  outExtension
276355
276371
  };
276356
276372
  }
276357
- function getConfig(projectRoot, sourceRoot, {
276373
+ function getConfig(workspaceRoot, projectRoot, sourceRoot, {
276358
276374
  outputPath,
276359
276375
  tsConfig,
276360
276376
  debug,
@@ -276386,6 +276402,7 @@ function getConfig(projectRoot, sourceRoot, {
276386
276402
  entry,
276387
276403
  outDir: outputPath,
276388
276404
  projectRoot,
276405
+ workspaceRoot,
276389
276406
  tsconfig: tsConfig,
276390
276407
  debug,
276391
276408
  banner,
@@ -276400,6 +276417,7 @@ function getConfig(projectRoot, sourceRoot, {
276400
276417
  entry,
276401
276418
  outDir: outputPath,
276402
276419
  projectRoot,
276420
+ workspaceRoot,
276403
276421
  tsconfig: tsConfig,
276404
276422
  debug,
276405
276423
  banner,