@storm-software/workspace-tools 1.10.7 → 1.10.8

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.
@@ -5399,7 +5399,7 @@ var require_common = __commonJS({
5399
5399
  var fs = require("fs");
5400
5400
  var path2 = require("path");
5401
5401
  var minimatch2 = require_minimatch();
5402
- var isAbsolute2 = require_path_is_absolute();
5402
+ var isAbsolute = require_path_is_absolute();
5403
5403
  var Minimatch2 = minimatch2.Minimatch;
5404
5404
  function alphasort(a, b) {
5405
5405
  return a.localeCompare(b, "en");
@@ -5469,7 +5469,7 @@ var require_common = __commonJS({
5469
5469
  self2.root = path2.resolve(self2.root);
5470
5470
  if (process.platform === "win32")
5471
5471
  self2.root = self2.root.replace(/\\/g, "/");
5472
- self2.cwdAbs = isAbsolute2(self2.cwd) ? self2.cwd : makeAbs(self2, self2.cwd);
5472
+ self2.cwdAbs = isAbsolute(self2.cwd) ? self2.cwd : makeAbs(self2, self2.cwd);
5473
5473
  if (process.platform === "win32")
5474
5474
  self2.cwdAbs = self2.cwdAbs.replace(/\\/g, "/");
5475
5475
  self2.nomount = !!options.nomount;
@@ -5549,7 +5549,7 @@ var require_common = __commonJS({
5549
5549
  var abs = f;
5550
5550
  if (f.charAt(0) === "/") {
5551
5551
  abs = path2.join(self2.root, f);
5552
- } else if (isAbsolute2(f) || f === "") {
5552
+ } else if (isAbsolute(f) || f === "") {
5553
5553
  abs = f;
5554
5554
  } else if (self2.changedCwd) {
5555
5555
  abs = path2.resolve(self2.cwd, f);
@@ -5589,7 +5589,7 @@ var require_sync = __commonJS({
5589
5589
  var util = require("util");
5590
5590
  var path2 = require("path");
5591
5591
  var assert = require("assert");
5592
- var isAbsolute2 = require_path_is_absolute();
5592
+ var isAbsolute = require_path_is_absolute();
5593
5593
  var common = require_common();
5594
5594
  var setopts = common.setopts;
5595
5595
  var ownProp = common.ownProp;
@@ -5661,10 +5661,10 @@ var require_sync = __commonJS({
5661
5661
  var read;
5662
5662
  if (prefix === null)
5663
5663
  read = ".";
5664
- else if (isAbsolute2(prefix) || isAbsolute2(pattern.map(function(p) {
5664
+ else if (isAbsolute(prefix) || isAbsolute(pattern.map(function(p) {
5665
5665
  return typeof p === "string" ? p : "[*]";
5666
5666
  }).join("/"))) {
5667
- if (!prefix || !isAbsolute2(prefix))
5667
+ if (!prefix || !isAbsolute(prefix))
5668
5668
  prefix = "/" + prefix;
5669
5669
  read = prefix;
5670
5670
  } else
@@ -5861,7 +5861,7 @@ var require_sync = __commonJS({
5861
5861
  this.matches[index] = /* @__PURE__ */ Object.create(null);
5862
5862
  if (!exists)
5863
5863
  return;
5864
- if (prefix && isAbsolute2(prefix) && !this.nomount) {
5864
+ if (prefix && isAbsolute(prefix) && !this.nomount) {
5865
5865
  var trail = /[\/\\]$/.test(prefix);
5866
5866
  if (prefix.charAt(0) === "/") {
5867
5867
  prefix = path2.join(this.root, prefix);
@@ -6063,7 +6063,7 @@ var require_glob = __commonJS({
6063
6063
  var EE = require("events").EventEmitter;
6064
6064
  var path2 = require("path");
6065
6065
  var assert = require("assert");
6066
- var isAbsolute2 = require_path_is_absolute();
6066
+ var isAbsolute = require_path_is_absolute();
6067
6067
  var globSync2 = require_sync();
6068
6068
  var common = require_common();
6069
6069
  var setopts = common.setopts;
@@ -6285,10 +6285,10 @@ var require_glob = __commonJS({
6285
6285
  var read;
6286
6286
  if (prefix === null)
6287
6287
  read = ".";
6288
- else if (isAbsolute2(prefix) || isAbsolute2(pattern.map(function(p) {
6288
+ else if (isAbsolute(prefix) || isAbsolute(pattern.map(function(p) {
6289
6289
  return typeof p === "string" ? p : "[*]";
6290
6290
  }).join("/"))) {
6291
- if (!prefix || !isAbsolute2(prefix))
6291
+ if (!prefix || !isAbsolute(prefix))
6292
6292
  prefix = "/" + prefix;
6293
6293
  read = prefix;
6294
6294
  } else
@@ -6373,7 +6373,7 @@ var require_glob = __commonJS({
6373
6373
  this._emitQueue.push([index, e]);
6374
6374
  return;
6375
6375
  }
6376
- var abs = isAbsolute2(e) ? e : this._makeAbs(e);
6376
+ var abs = isAbsolute(e) ? e : this._makeAbs(e);
6377
6377
  if (this.mark)
6378
6378
  e = this._mark(e);
6379
6379
  if (this.absolute)
@@ -6528,7 +6528,7 @@ var require_glob = __commonJS({
6528
6528
  this.matches[index] = /* @__PURE__ */ Object.create(null);
6529
6529
  if (!exists)
6530
6530
  return cb();
6531
- if (prefix && isAbsolute2(prefix) && !this.nomount) {
6531
+ if (prefix && isAbsolute(prefix) && !this.nomount) {
6532
6532
  var trail = /[\/\\]$/.test(prefix);
6533
6533
  if (prefix.charAt(0) === "/") {
6534
6534
  prefix = path2.join(this.root, prefix);
@@ -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=ihschbnim6dhlbjmzikdamq5bu_@microsoft+api-extractor@7.38.3_@swc+core@1._kikmqi53olysam5eifirrinffy/node_modules/tsup/dist/chunk-EPAEWGCP.js
18386
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=hrccgmyv26c3fkxt4kxqzjc2mm_@microsoft+api-extractor@7.38.3_@swc+core@1._kzecm632qhdtkqdovk2vtm4lqa/node_modules/tsup/dist/chunk-EPAEWGCP.js
18387
18387
  var require_chunk_EPAEWGCP = __commonJS({
18388
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=ihschbnim6dhlbjmzikdamq5bu_@microsoft+api-extractor@7.38.3_@swc+core@1._kikmqi53olysam5eifirrinffy/node_modules/tsup/dist/chunk-EPAEWGCP.js"(exports) {
18388
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=hrccgmyv26c3fkxt4kxqzjc2mm_@microsoft+api-extractor@7.38.3_@swc+core@1._kzecm632qhdtkqdovk2vtm4lqa/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=ihschbnim6dhlbjmzikdamq5bu_@microsoft+api-extractor@7.38.3_@swc+core@1._kikmqi53olysam5eifirrinffy/node_modules/tsup/dist/chunk-GQ77QZBO.js
24322
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=hrccgmyv26c3fkxt4kxqzjc2mm_@microsoft+api-extractor@7.38.3_@swc+core@1._kzecm632qhdtkqdovk2vtm4lqa/node_modules/tsup/dist/chunk-GQ77QZBO.js
24323
24323
  var require_chunk_GQ77QZBO = __commonJS({
24324
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=ihschbnim6dhlbjmzikdamq5bu_@microsoft+api-extractor@7.38.3_@swc+core@1._kikmqi53olysam5eifirrinffy/node_modules/tsup/dist/chunk-GQ77QZBO.js"(exports) {
24324
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=hrccgmyv26c3fkxt4kxqzjc2mm_@microsoft+api-extractor@7.38.3_@swc+core@1._kzecm632qhdtkqdovk2vtm4lqa/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=ihschbnim6dhlbjmzikdamq5bu_@microsoft+api-extractor@7.38.3_@swc+core@1._kikmqi53olysam5eifirrinffy/node_modules/tsup/dist/chunk-UIX4URMV.js
24603
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=hrccgmyv26c3fkxt4kxqzjc2mm_@microsoft+api-extractor@7.38.3_@swc+core@1._kzecm632qhdtkqdovk2vtm4lqa/node_modules/tsup/dist/chunk-UIX4URMV.js
24604
24604
  var require_chunk_UIX4URMV = __commonJS({
24605
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=ihschbnim6dhlbjmzikdamq5bu_@microsoft+api-extractor@7.38.3_@swc+core@1._kikmqi53olysam5eifirrinffy/node_modules/tsup/dist/chunk-UIX4URMV.js"(exports) {
24605
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=hrccgmyv26c3fkxt4kxqzjc2mm_@microsoft+api-extractor@7.38.3_@swc+core@1._kzecm632qhdtkqdovk2vtm4lqa/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) {
@@ -25095,7 +25095,7 @@ var require_dist = __commonJS({
25095
25095
  loadTsConfig: () => loadTsConfig2
25096
25096
  });
25097
25097
  module2.exports = __toCommonJS2(src_exports);
25098
- var import_path3 = __toESM2(require("path"), 1);
25098
+ var import_path2 = __toESM2(require("path"), 1);
25099
25099
  var import_fs2 = __toESM2(require("fs"), 1);
25100
25100
  var singleComment = Symbol("singleComment");
25101
25101
  var multiComment = Symbol("multiComment");
@@ -25191,10 +25191,10 @@ var require_dist = __commonJS({
25191
25191
  }
25192
25192
  }
25193
25193
  var req = false ? createRequire(import_meta.url) : require;
25194
- var findUp = (name, startDir, stopDir = import_path3.default.parse(startDir).root) => {
25194
+ var findUp = (name, startDir, stopDir = import_path2.default.parse(startDir).root) => {
25195
25195
  let dir = startDir;
25196
25196
  while (dir !== stopDir) {
25197
- const file = import_path3.default.join(dir, name);
25197
+ const file = import_path2.default.join(dir, name);
25198
25198
  if (import_fs2.default.existsSync(file))
25199
25199
  return file;
25200
25200
  if (!file.endsWith(".json")) {
@@ -25202,17 +25202,17 @@ var require_dist = __commonJS({
25202
25202
  if (import_fs2.default.existsSync(fileWithExt))
25203
25203
  return fileWithExt;
25204
25204
  }
25205
- dir = import_path3.default.dirname(dir);
25205
+ dir = import_path2.default.dirname(dir);
25206
25206
  }
25207
25207
  return null;
25208
25208
  };
25209
25209
  var resolveTsConfigFromFile = (cwd, filename) => {
25210
- if (import_path3.default.isAbsolute(filename))
25210
+ if (import_path2.default.isAbsolute(filename))
25211
25211
  return import_fs2.default.existsSync(filename) ? filename : null;
25212
25212
  return findUp(filename, cwd);
25213
25213
  };
25214
25214
  var resolveTsConfigFromExtends = (cwd, name) => {
25215
- if (import_path3.default.isAbsolute(name))
25215
+ if (import_path2.default.isAbsolute(name))
25216
25216
  return import_fs2.default.existsSync(name) ? name : null;
25217
25217
  if (name.startsWith("."))
25218
25218
  return findUp(name, cwd);
@@ -25221,14 +25221,14 @@ var require_dist = __commonJS({
25221
25221
  };
25222
25222
  var loadTsConfigInternal = (dir = process.cwd(), name = "tsconfig.json", isExtends = false) => {
25223
25223
  var _a, _b;
25224
- dir = import_path3.default.resolve(dir);
25224
+ dir = import_path2.default.resolve(dir);
25225
25225
  const id = isExtends ? resolveTsConfigFromExtends(dir, name) : resolveTsConfigFromFile(dir, name);
25226
25226
  if (!id)
25227
25227
  return null;
25228
25228
  const data = jsoncParse(import_fs2.default.readFileSync(id, "utf-8"));
25229
- const configDir = import_path3.default.dirname(id);
25229
+ const configDir = import_path2.default.dirname(id);
25230
25230
  if ((_a = data.compilerOptions) == null ? void 0 : _a.baseUrl) {
25231
- data.compilerOptions.baseUrl = import_path3.default.join(
25231
+ data.compilerOptions.baseUrl = import_path2.default.join(
25232
25232
  configDir,
25233
25233
  data.compilerOptions.baseUrl
25234
25234
  );
@@ -25306,7 +25306,7 @@ var require_dist2 = __commonJS({
25306
25306
  });
25307
25307
  module2.exports = __toCommonJS2(src_exports);
25308
25308
  var import_fs2 = __toESM2(require("fs"), 1);
25309
- var import_path22 = __toESM2(require("path"), 1);
25309
+ var import_path2 = __toESM2(require("path"), 1);
25310
25310
  var import_url3 = require("url");
25311
25311
  var import_esbuild = require("esbuild");
25312
25312
  var import_load_tsconfig = require_dist();
@@ -25381,7 +25381,7 @@ var require_dist2 = __commonJS({
25381
25381
  name: "bundle-require:external",
25382
25382
  setup(ctx) {
25383
25383
  ctx.onResolve({ filter: /.*/ }, async (args) => {
25384
- if (args.path[0] === "." || import_path22.default.isAbsolute(args.path)) {
25384
+ if (args.path[0] === "." || import_path2.default.isAbsolute(args.path)) {
25385
25385
  return;
25386
25386
  }
25387
25387
  if (match2(args.path, external)) {
@@ -25414,7 +25414,7 @@ var require_dist2 = __commonJS({
25414
25414
  const injectLines = [
25415
25415
  `const ${FILENAME_VAR_NAME} = ${JSON.stringify(args.path)};`,
25416
25416
  `const ${DIRNAME_VAR_NAME} = ${JSON.stringify(
25417
- import_path22.default.dirname(args.path)
25417
+ import_path2.default.dirname(args.path)
25418
25418
  )};`,
25419
25419
  `const ${IMPORT_META_URL_VAR_NAME} = ${JSON.stringify(
25420
25420
  (0, import_url3.pathToFileURL)(args.path).href
@@ -25422,7 +25422,7 @@ var require_dist2 = __commonJS({
25422
25422
  ];
25423
25423
  return {
25424
25424
  contents: injectLines.join("") + contents,
25425
- loader: inferLoader(import_path22.default.extname(args.path))
25425
+ loader: inferLoader(import_path2.default.extname(args.path))
25426
25426
  };
25427
25427
  });
25428
25428
  }
@@ -25536,9 +25536,9 @@ var require_dist2 = __commonJS({
25536
25536
  }
25537
25537
  });
25538
25538
 
25539
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=ihschbnim6dhlbjmzikdamq5bu_@microsoft+api-extractor@7.38.3_@swc+core@1._kikmqi53olysam5eifirrinffy/node_modules/tsup/dist/chunk-7G76EW2R.js
25539
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=hrccgmyv26c3fkxt4kxqzjc2mm_@microsoft+api-extractor@7.38.3_@swc+core@1._kzecm632qhdtkqdovk2vtm4lqa/node_modules/tsup/dist/chunk-7G76EW2R.js
25540
25540
  var require_chunk_7G76EW2R = __commonJS({
25541
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=ihschbnim6dhlbjmzikdamq5bu_@microsoft+api-extractor@7.38.3_@swc+core@1._kikmqi53olysam5eifirrinffy/node_modules/tsup/dist/chunk-7G76EW2R.js"(exports) {
25541
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=hrccgmyv26c3fkxt4kxqzjc2mm_@microsoft+api-extractor@7.38.3_@swc+core@1._kzecm632qhdtkqdovk2vtm4lqa/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) {
@@ -53111,7 +53111,7 @@ ${indicator}`;
53111
53111
  };
53112
53112
  var ABSOLUTE_PATH_REGEX = /^(?:\/|(?:[A-Za-z]:)?[/\\|])/;
53113
53113
  var RELATIVE_PATH_REGEX = /^\.?\.(\/|$)/;
53114
- function isAbsolute2(path2) {
53114
+ function isAbsolute(path2) {
53115
53115
  return ABSOLUTE_PATH_REGEX.test(path2);
53116
53116
  }
53117
53117
  function isRelative(path2) {
@@ -53156,12 +53156,12 @@ ${indicator}`;
53156
53156
  return base.slice(0, Math.max(0, base.length - node_path.extname(id).length));
53157
53157
  }
53158
53158
  function relativeId(id) {
53159
- if (!isAbsolute2(id))
53159
+ if (!isAbsolute(id))
53160
53160
  return id;
53161
53161
  return relative(node_path.resolve(), id);
53162
53162
  }
53163
53163
  function isPathFragment(name) {
53164
- return name[0] === "/" || name[0] === "." && (name[1] === "/" || name[1] === ".") || isAbsolute2(name);
53164
+ return name[0] === "/" || name[0] === "." && (name[1] === "/" || name[1] === ".") || isAbsolute(name);
53165
53165
  }
53166
53166
  var UPPER_DIR_REGEX = /^(\.\.\/)*\.\.$/;
53167
53167
  function getImportPath(importerId, targetPath, stripJsExtension, ensureFileName) {
@@ -55268,7 +55268,7 @@ ${smallChunks} are below minChunkSize.`
55268
55268
  exports.getAliasName = getAliasName;
55269
55269
  exports.getImportPath = getImportPath;
55270
55270
  exports.getRollupUrl = getRollupUrl;
55271
- exports.isAbsolute = isAbsolute2;
55271
+ exports.isAbsolute = isAbsolute;
55272
55272
  exports.isPathFragment = isPathFragment;
55273
55273
  exports.isRelative = isRelative;
55274
55274
  exports.isValidUrl = isValidUrl;
@@ -77085,7 +77085,7 @@ var require_util4 = __commonJS({
77085
77085
  }
77086
77086
  path2 = url.path;
77087
77087
  }
77088
- var isAbsolute2 = exports.isAbsolute(path2);
77088
+ var isAbsolute = exports.isAbsolute(path2);
77089
77089
  var parts = path2.split(/\/+/);
77090
77090
  for (var part, up = 0, i = parts.length - 1; i >= 0; i--) {
77091
77091
  part = parts[i];
@@ -77105,7 +77105,7 @@ var require_util4 = __commonJS({
77105
77105
  }
77106
77106
  path2 = parts.join("/");
77107
77107
  if (path2 === "") {
77108
- path2 = isAbsolute2 ? "/" : ".";
77108
+ path2 = isAbsolute ? "/" : ".";
77109
77109
  }
77110
77110
  if (url) {
77111
77111
  url.path = path2;
@@ -267221,9 +267221,9 @@ var require_chokidar = __commonJS({
267221
267221
  }
267222
267222
  });
267223
267223
 
267224
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=ihschbnim6dhlbjmzikdamq5bu_@microsoft+api-extractor@7.38.3_@swc+core@1._kikmqi53olysam5eifirrinffy/node_modules/tsup/dist/index.js
267224
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=hrccgmyv26c3fkxt4kxqzjc2mm_@microsoft+api-extractor@7.38.3_@swc+core@1._kzecm632qhdtkqdovk2vtm4lqa/node_modules/tsup/dist/index.js
267225
267225
  var require_dist5 = __commonJS({
267226
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=ihschbnim6dhlbjmzikdamq5bu_@microsoft+api-extractor@7.38.3_@swc+core@1._kikmqi53olysam5eifirrinffy/node_modules/tsup/dist/index.js"(exports) {
267226
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=hrccgmyv26c3fkxt4kxqzjc2mm_@microsoft+api-extractor@7.38.3_@swc+core@1._kzecm632qhdtkqdovk2vtm4lqa/node_modules/tsup/dist/index.js"(exports) {
267227
267227
  "use strict";
267228
267228
  Object.defineProperty(exports, "__esModule", { value: true });
267229
267229
  function _interopRequireDefault(obj) {
@@ -269769,7 +269769,8 @@ var require_dist5 = __commonJS({
269769
269769
  let declarationDir = _chunkGQ77QZBOjs.ensureTempDeclarationDir.call(void 0);
269770
269770
  let outDir = options.outDir || "dist";
269771
269771
  let pkgPath = packageJsonSearch(outDir, options.silent, "dts", logger2);
269772
- logger2.info("dts", `\u26A1 Preparing to run Rollup (DTS generate): ${pkgPath}`);
269772
+ !options.silent && logger2.info("dts", `\u26A1 Preparing to run Rollup (DTS generate): ${pkgPath}`);
269773
+ !options.silent && logger2.info("dts", `\u26A1 Exports list to use in generation: ${exports2.map((e) => JSON.stringify(e)).join("\n")}`);
269773
269774
  let pkg = await _chunk7G76EW2Rjs.loadPkg.call(void 0, pkgPath);
269774
269775
  let dtsExtension = _chunkGQ77QZBOjs.defaultOutExtension.call(void 0, { format, pkgType: pkg.type }).dts;
269775
269776
  let dtsInputFilePath = _path2.default.join(
@@ -269796,7 +269797,7 @@ var require_dist5 = __commonJS({
269796
269797
  options.experimentalDts.entry
269797
269798
  )) {
269798
269799
  sourceFileName = _chunkGQ77QZBOjs.toAbsolutePath.call(void 0, sourceFileName);
269799
- const outFileName = _path2.default.join(outDir, out + dtsExtension);
269800
+ const outFileName = _path2.default.join(outDir, "decl", out + dtsExtension);
269800
269801
  const currentExports = exports2.filter(
269801
269802
  (declaration) => declaration.sourceFileName === sourceFileName
269802
269803
  );
@@ -276332,7 +276333,6 @@ var glob = Object.assign(glob_, {
276332
276333
  glob.glob = glob;
276333
276334
 
276334
276335
  // packages/workspace-tools/src/executors/tsup/get-config.ts
276335
- var import_path2 = require("path");
276336
276336
  var import_tsup = __toESM(require_dist5());
276337
276337
 
276338
276338
  // packages/workspace-tools/src/utils/file-path-utils.ts
@@ -276465,12 +276465,8 @@ function getConfig(workspaceRoot, projectRoot, sourceRoot, {
276465
276465
  env,
276466
276466
  verbose
276467
276467
  }) {
276468
- const entryPath = main ? main : sourceRoot;
276469
276468
  const entry = globSync(
276470
- [
276471
- (0, import_path2.isAbsolute)(entryPath) ? entryPath : (0, import_devkit.joinPathFragments)(workspaceRoot, entryPath),
276472
- ...additionalEntryPoints ?? []
276473
- ],
276469
+ [main ? main : sourceRoot, ...additionalEntryPoints ?? []],
276474
276470
  {
276475
276471
  withFileTypes: true
276476
276472
  }