@storm-software/projen 0.8.2 → 0.8.3

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.
@@ -1,16 +1,39 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
4
+ var _chunk3HI6WK3Mjs = require('./chunk-3HI6WK3M.js');
5
+
6
+
7
+
8
+
9
+ var _chunkZH7QZ5EFjs = require('./chunk-ZH7QZ5EF.js');
5
10
 
6
11
  // src/generators/init/generator.ts
12
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
7
13
  var _devkit = require('@nx/devkit');
8
14
 
15
+ // ../workspace-tools/index.ts
16
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
17
+
18
+ // ../workspace-tools/executors.ts
19
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
20
+
21
+ // ../workspace-tools/src/executors/cargo-build/executor.ts
22
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
23
+
24
+ // ../workspace-tools/src/base/base-executor.ts
25
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
26
+
9
27
  // ../config-tools/src/config-file/get-config-file.ts
28
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
10
29
  var _c12 = require('c12');
11
30
  var _defu = require('defu'); var _defu2 = _interopRequireDefault(_defu);
12
31
 
32
+ // ../config-tools/src/logger/console.ts
33
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
34
+
13
35
  // ../config-tools/src/types.ts
36
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
14
37
  var LogLevel = {
15
38
  SILENT: 0,
16
39
  FATAL: 10,
@@ -34,13 +57,24 @@ var LogLevelLabel = {
34
57
  ALL: "all"
35
58
  };
36
59
 
60
+ // ../config-tools/src/utilities/get-default-config.ts
61
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
62
+
63
+ // ../config/src/index.ts
64
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
65
+
37
66
  // ../config/src/constants.ts
67
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
38
68
  var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
39
69
  var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
40
70
  var STORM_DEFAULT_LICENSING = "https://license.stormsoftware.com";
41
71
  var STORM_DEFAULT_LICENSE = "Apache-2.0";
42
72
 
73
+ // ../config/src/define-config.ts
74
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
75
+
43
76
  // ../config/src/schema.ts
77
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
44
78
  var _zod = require('zod'); var _zod2 = _interopRequireDefault(_zod);
45
79
  var DarkColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1d1e22").describe("The dark background color of the workspace");
46
80
  var LightColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
@@ -188,6 +222,7 @@ var StormConfigSchema = _zod2.default.object({
188
222
  }).describe("Storm Workspace config values used during various dev-ops processes. This type is a combination of the StormPackageConfig and StormProject types. It represents the config of the entire monorepo.");
189
223
 
190
224
  // ../config/src/types.ts
225
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
191
226
  var COLOR_KEYS = [
192
227
  "dark",
193
228
  "light",
@@ -211,134 +246,11 @@ var _fs = require('fs'); var _fs2 = _interopRequireDefault(_fs);
211
246
  var _promises = require('fs/promises'); var _promises2 = _interopRequireDefault(_promises);
212
247
  var _path = require('path'); var path6 = _interopRequireWildcard(_path);
213
248
 
214
- // ../config-tools/src/utilities/correct-paths.ts
215
- var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
216
- function normalizeWindowsPath(input = "") {
217
- if (!input) {
218
- return input;
219
- }
220
- return input.replace(/\\/g, "/").replace(_DRIVE_LETTER_START_RE, (r) => r.toUpperCase());
221
- }
222
- _chunk3GQAWCBQjs.__name.call(void 0, normalizeWindowsPath, "normalizeWindowsPath");
223
- var _UNC_REGEX = /^[/\\]{2}/;
224
- var _IS_ABSOLUTE_RE = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;
225
- var _DRIVE_LETTER_RE = /^[A-Za-z]:$/;
226
- var correctPaths = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, function(path7) {
227
- if (!path7 || path7.length === 0) {
228
- return ".";
229
- }
230
- path7 = normalizeWindowsPath(path7);
231
- const isUNCPath = path7.match(_UNC_REGEX);
232
- const isPathAbsolute = isAbsolute(path7);
233
- const trailingSeparator = path7[path7.length - 1] === "/";
234
- path7 = normalizeString(path7, !isPathAbsolute);
235
- if (path7.length === 0) {
236
- if (isPathAbsolute) {
237
- return "/";
238
- }
239
- return trailingSeparator ? "./" : ".";
240
- }
241
- if (trailingSeparator) {
242
- path7 += "/";
243
- }
244
- if (_DRIVE_LETTER_RE.test(path7)) {
245
- path7 += "/";
246
- }
247
- if (isUNCPath) {
248
- if (!isPathAbsolute) {
249
- return `//./${path7}`;
250
- }
251
- return `//${path7}`;
252
- }
253
- return isPathAbsolute && !isAbsolute(path7) ? `/${path7}` : path7;
254
- }, "correctPaths");
255
- var joinPaths = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, function(...segments) {
256
- let path7 = "";
257
- for (const seg of segments) {
258
- if (!seg) {
259
- continue;
260
- }
261
- if (path7.length > 0) {
262
- const pathTrailing = path7[path7.length - 1] === "/";
263
- const segLeading = seg[0] === "/";
264
- const both = pathTrailing && segLeading;
265
- if (both) {
266
- path7 += seg.slice(1);
267
- } else {
268
- path7 += pathTrailing || segLeading ? seg : `/${seg}`;
269
- }
270
- } else {
271
- path7 += seg;
272
- }
273
- }
274
- return correctPaths(path7);
275
- }, "joinPaths");
276
- function normalizeString(path7, allowAboveRoot) {
277
- let res = "";
278
- let lastSegmentLength = 0;
279
- let lastSlash = -1;
280
- let dots = 0;
281
- let char = null;
282
- for (let index = 0; index <= path7.length; ++index) {
283
- if (index < path7.length) {
284
- char = path7[index];
285
- } else if (char === "/") {
286
- break;
287
- } else {
288
- char = "/";
289
- }
290
- if (char === "/") {
291
- if (lastSlash === index - 1 || dots === 1) {
292
- } else if (dots === 2) {
293
- if (res.length < 2 || lastSegmentLength !== 2 || res[res.length - 1] !== "." || res[res.length - 2] !== ".") {
294
- if (res.length > 2) {
295
- const lastSlashIndex = res.lastIndexOf("/");
296
- if (lastSlashIndex === -1) {
297
- res = "";
298
- lastSegmentLength = 0;
299
- } else {
300
- res = res.slice(0, lastSlashIndex);
301
- lastSegmentLength = res.length - 1 - res.lastIndexOf("/");
302
- }
303
- lastSlash = index;
304
- dots = 0;
305
- continue;
306
- } else if (res.length > 0) {
307
- res = "";
308
- lastSegmentLength = 0;
309
- lastSlash = index;
310
- dots = 0;
311
- continue;
312
- }
313
- }
314
- if (allowAboveRoot) {
315
- res += res.length > 0 ? "/.." : "..";
316
- lastSegmentLength = 2;
317
- }
318
- } else {
319
- if (res.length > 0) {
320
- res += `/${path7.slice(lastSlash + 1, index)}`;
321
- } else {
322
- res = path7.slice(lastSlash + 1, index);
323
- }
324
- lastSegmentLength = index - lastSlash - 1;
325
- }
326
- lastSlash = index;
327
- dots = 0;
328
- } else if (char === "." && dots !== -1) {
329
- ++dots;
330
- } else {
331
- dots = -1;
332
- }
333
- }
334
- return res;
335
- }
336
- _chunk3GQAWCBQjs.__name.call(void 0, normalizeString, "normalizeString");
337
- var isAbsolute = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, function(p) {
338
- return _IS_ABSOLUTE_RE.test(p);
339
- }, "isAbsolute");
249
+ // ../config-tools/src/utilities/find-workspace-root.ts
250
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
340
251
 
341
252
  // ../config-tools/src/utilities/find-up.ts
253
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
342
254
 
343
255
 
344
256
  var MAX_PATH_SEARCH_DEPTH = 30;
@@ -357,7 +269,7 @@ function findFolderUp(startPath, endFileNames = [], endDirectoryNames = []) {
357
269
  }
358
270
  return void 0;
359
271
  }
360
- _chunk3GQAWCBQjs.__name.call(void 0, findFolderUp, "findFolderUp");
272
+ _chunkZH7QZ5EFjs.__name.call(void 0, findFolderUp, "findFolderUp");
361
273
 
362
274
  // ../config-tools/src/utilities/find-workspace-root.ts
363
275
  var rootFiles = [
@@ -404,11 +316,11 @@ var rootDirectories = [
404
316
  ];
405
317
  function findWorkspaceRootSafe(pathInsideMonorepo) {
406
318
  if (process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH) {
407
- return correctPaths(_nullishCoalesce(process.env.STORM_WORKSPACE_ROOT, () => ( process.env.NX_WORKSPACE_ROOT_PATH)));
319
+ return _chunk3HI6WK3Mjs.correctPaths.call(void 0, _nullishCoalesce(process.env.STORM_WORKSPACE_ROOT, () => ( process.env.NX_WORKSPACE_ROOT_PATH)));
408
320
  }
409
- return correctPaths(findFolderUp(_nullishCoalesce(pathInsideMonorepo, () => ( process.cwd())), rootFiles, rootDirectories));
321
+ return _chunk3HI6WK3Mjs.correctPaths.call(void 0, findFolderUp(_nullishCoalesce(pathInsideMonorepo, () => ( process.cwd())), rootFiles, rootDirectories));
410
322
  }
411
- _chunk3GQAWCBQjs.__name.call(void 0, findWorkspaceRootSafe, "findWorkspaceRootSafe");
323
+ _chunkZH7QZ5EFjs.__name.call(void 0, findWorkspaceRootSafe, "findWorkspaceRootSafe");
412
324
  function findWorkspaceRoot(pathInsideMonorepo) {
413
325
  const result = findWorkspaceRootSafe(pathInsideMonorepo);
414
326
  if (!result) {
@@ -418,7 +330,7 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`);
418
330
  }
419
331
  return result;
420
332
  }
421
- _chunk3GQAWCBQjs.__name.call(void 0, findWorkspaceRoot, "findWorkspaceRoot");
333
+ _chunkZH7QZ5EFjs.__name.call(void 0, findWorkspaceRoot, "findWorkspaceRoot");
422
334
 
423
335
  // ../config-tools/src/utilities/get-default-config.ts
424
336
  var DEFAULT_COLOR_CONFIG = {
@@ -449,7 +361,7 @@ var DEFAULT_COLOR_CONFIG = {
449
361
  "negative": "#dc2626"
450
362
  }
451
363
  };
452
- var getDefaultConfig = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (root) => {
364
+ var getDefaultConfig = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, async (root) => {
453
365
  let license = STORM_DEFAULT_LICENSE;
454
366
  let homepage = STORM_DEFAULT_HOMEPAGE;
455
367
  let name = void 0;
@@ -457,7 +369,7 @@ var getDefaultConfig = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, asyn
457
369
  let repository = void 0;
458
370
  const workspaceRoot3 = findWorkspaceRoot(root);
459
371
  if (_fs.existsSync.call(void 0, _path.join.call(void 0, workspaceRoot3, "package.json"))) {
460
- const file = await _promises.readFile.call(void 0, joinPaths(workspaceRoot3, "package.json"), "utf8");
372
+ const file = await _promises.readFile.call(void 0, _chunk3HI6WK3Mjs.joinPaths.call(void 0, workspaceRoot3, "package.json"), "utf8");
461
373
  if (file) {
462
374
  const packageJson = JSON.parse(file);
463
375
  if (packageJson.name) {
@@ -494,27 +406,28 @@ var getDefaultConfig = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, asyn
494
406
  }, "getDefaultConfig");
495
407
 
496
408
  // ../config-tools/src/logger/chalk.ts
409
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
497
410
  var _chalk2 = require('chalk'); var _chalk3 = _interopRequireDefault(_chalk2);
498
411
  var chalkDefault = {
499
- hex: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (_) => (message) => message, "hex"),
500
- bgHex: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (_) => ({
501
- whiteBright: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (message) => message, "whiteBright")
412
+ hex: /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (_) => (message) => message, "hex"),
413
+ bgHex: /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (_) => ({
414
+ whiteBright: /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (message) => message, "whiteBright")
502
415
  }), "bgHex"),
503
- whiteBright: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (message) => message, "whiteBright"),
504
- gray: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (message) => message, "gray"),
416
+ whiteBright: /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (message) => message, "whiteBright"),
417
+ gray: /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (message) => message, "gray"),
505
418
  bold: {
506
- hex: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (_) => (message) => message, "hex"),
507
- bgHex: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (_) => ({
508
- whiteBright: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (message) => message, "whiteBright")
419
+ hex: /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (_) => (message) => message, "hex"),
420
+ bgHex: /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (_) => ({
421
+ whiteBright: /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (message) => message, "whiteBright")
509
422
  }), "bgHex"),
510
- whiteBright: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (message) => message, "whiteBright")
423
+ whiteBright: /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (message) => message, "whiteBright")
511
424
  },
512
425
  dim: {
513
- hex: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (_) => (message) => message, "hex"),
514
- gray: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (message) => message, "gray")
426
+ hex: /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (_) => (message) => message, "hex"),
427
+ gray: /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (message) => message, "gray")
515
428
  }
516
429
  };
517
- var getChalk = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, () => {
430
+ var getChalk = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, () => {
518
431
  let _chalk = _chalk3.default;
519
432
  if (!_optionalChain([_chalk, 'optionalAccess', _2 => _2.hex]) || !_optionalChain([_chalk, 'optionalAccess', _3 => _3.bold, 'optionalAccess', _4 => _4.hex]) || !_optionalChain([_chalk, 'optionalAccess', _5 => _5.bgHex]) || !_optionalChain([_chalk, 'optionalAccess', _6 => _6.whiteBright])) {
520
433
  _chalk = chalkDefault;
@@ -522,7 +435,11 @@ var getChalk = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, () => {
522
435
  return _chalk;
523
436
  }, "getChalk");
524
437
 
438
+ // ../config-tools/src/logger/console-icons.ts
439
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
440
+
525
441
  // ../config-tools/src/logger/is-unicode-supported.ts
442
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
526
443
  var _process = require('process'); var _process2 = _interopRequireDefault(_process);
527
444
  function isUnicodeSupported() {
528
445
  const { env } = _process2.default;
@@ -535,10 +452,10 @@ function isUnicodeSupported() {
535
452
  env.ConEmuTask === "{cmd::Cmder}" || // ConEmu and cmder
536
453
  TERM_PROGRAM === "Terminus-Sublime" || TERM_PROGRAM === "vscode" || TERM === "xterm-256color" || TERM === "alacritty" || TERM === "rxvt-unicode" || TERM === "rxvt-unicode-256color" || env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
537
454
  }
538
- _chunk3GQAWCBQjs.__name.call(void 0, isUnicodeSupported, "isUnicodeSupported");
455
+ _chunkZH7QZ5EFjs.__name.call(void 0, isUnicodeSupported, "isUnicodeSupported");
539
456
 
540
457
  // ../config-tools/src/logger/console-icons.ts
541
- var useIcon = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (c, fallback) => isUnicodeSupported() ? c : fallback, "useIcon");
458
+ var useIcon = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (c, fallback) => isUnicodeSupported() ? c : fallback, "useIcon");
542
459
  var CONSOLE_ICONS = {
543
460
  [LogLevelLabel.ERROR]: useIcon("\u2718", "\xD7"),
544
461
  [LogLevelLabel.FATAL]: useIcon("\u{1F480}", "\xD7"),
@@ -551,12 +468,14 @@ var CONSOLE_ICONS = {
551
468
  };
552
469
 
553
470
  // ../config-tools/src/logger/format-timestamp.ts
554
- var formatTimestamp = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (date = /* @__PURE__ */ new Date()) => {
471
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
472
+ var formatTimestamp = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (date = /* @__PURE__ */ new Date()) => {
555
473
  return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`;
556
474
  }, "formatTimestamp");
557
475
 
558
476
  // ../config-tools/src/logger/get-log-level.ts
559
- var getLogLevel = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (label) => {
477
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
478
+ var getLogLevel = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (label) => {
560
479
  switch (label) {
561
480
  case "all":
562
481
  return LogLevel.ALL;
@@ -578,7 +497,7 @@ var getLogLevel = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (label) =
578
497
  return LogLevel.INFO;
579
498
  }
580
499
  }, "getLogLevel");
581
- var getLogLevelLabel = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (logLevel = LogLevel.INFO) => {
500
+ var getLogLevelLabel = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (logLevel = LogLevel.INFO) => {
582
501
  if (logLevel >= LogLevel.ALL) {
583
502
  return LogLevelLabel.ALL;
584
503
  }
@@ -605,13 +524,13 @@ var getLogLevelLabel = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (log
605
524
  }
606
525
  return LogLevelLabel.INFO;
607
526
  }, "getLogLevelLabel");
608
- var isVerbose = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (label = LogLevelLabel.SILENT) => {
527
+ var isVerbose = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (label = LogLevelLabel.SILENT) => {
609
528
  const logLevel = typeof label === "string" ? getLogLevel(label) : label;
610
529
  return logLevel >= LogLevel.DEBUG;
611
530
  }, "isVerbose");
612
531
 
613
532
  // ../config-tools/src/logger/console.ts
614
- var getLogFn = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
533
+ var getLogFn = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
615
534
  const colors = !_optionalChain([config, 'access', _7 => _7.colors, 'optionalAccess', _8 => _8.dark]) && !_optionalChain([config, 'access', _9 => _9.colors, 'optionalAccess', _10 => _10["base"]]) && !_optionalChain([config, 'access', _11 => _11.colors, 'optionalAccess', _12 => _12["base"], 'optionalAccess', _13 => _13.dark]) ? DEFAULT_COLOR_CONFIG : _optionalChain([config, 'access', _14 => _14.colors, 'optionalAccess', _15 => _15.dark]) && typeof config.colors.dark === "string" ? config.colors : _optionalChain([config, 'access', _16 => _16.colors, 'optionalAccess', _17 => _17["base"], 'optionalAccess', _18 => _18.dark]) && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : _optionalChain([config, 'access', _19 => _19.colors, 'optionalAccess', _20 => _20["base"]]) ? _optionalChain([config, 'access', _21 => _21.colors, 'optionalAccess', _22 => _22["base"]]) : DEFAULT_COLOR_CONFIG;
616
535
  const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
617
536
  if (logLevel > getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT || getLogLevel(configLogLevel) <= LogLevel.SILENT) {
@@ -673,14 +592,14 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.brand, ()
673
592
  `);
674
593
  };
675
594
  }, "getLogFn");
676
- var writeFatal = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (message, config) => getLogFn(LogLevel.FATAL, config)(message), "writeFatal");
677
- var writeError = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (message, config) => getLogFn(LogLevel.ERROR, config)(message), "writeError");
678
- var writeWarning = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (message, config) => getLogFn(LogLevel.WARN, config)(message), "writeWarning");
679
- var writeInfo = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (message, config) => getLogFn(LogLevel.INFO, config)(message), "writeInfo");
680
- var writeSuccess = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (message, config) => getLogFn(LogLevel.SUCCESS, config)(message), "writeSuccess");
681
- var writeDebug = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (message, config) => getLogFn(LogLevel.DEBUG, config)(message), "writeDebug");
682
- var writeTrace = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (message, config) => getLogFn(LogLevel.TRACE, config)(message), "writeTrace");
683
- var getStopwatch = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (name) => {
595
+ var writeFatal = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (message, config) => getLogFn(LogLevel.FATAL, config)(message), "writeFatal");
596
+ var writeError = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (message, config) => getLogFn(LogLevel.ERROR, config)(message), "writeError");
597
+ var writeWarning = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (message, config) => getLogFn(LogLevel.WARN, config)(message), "writeWarning");
598
+ var writeInfo = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (message, config) => getLogFn(LogLevel.INFO, config)(message), "writeInfo");
599
+ var writeSuccess = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (message, config) => getLogFn(LogLevel.SUCCESS, config)(message), "writeSuccess");
600
+ var writeDebug = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (message, config) => getLogFn(LogLevel.DEBUG, config)(message), "writeDebug");
601
+ var writeTrace = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (message, config) => getLogFn(LogLevel.TRACE, config)(message), "writeTrace");
602
+ var getStopwatch = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (name) => {
684
603
  const start = process.hrtime();
685
604
  return () => {
686
605
  const end = process.hrtime(start);
@@ -691,7 +610,7 @@ var getStopwatch = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (name) =
691
610
  };
692
611
  }, "getStopwatch");
693
612
  var MAX_DEPTH = 4;
694
- var formatLogMessage = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (message, options = {}, depth2 = 0) => {
613
+ var formatLogMessage = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (message, options = {}, depth2 = 0) => {
695
614
  if (depth2 > MAX_DEPTH) {
696
615
  return "<max depth>";
697
616
  }
@@ -707,7 +626,7 @@ ${Object.keys(message).filter((key) => !skip2.includes(key)).map((key) => ` ${pr
707
626
  skip: skip2
708
627
  }, depth2 + 1) : message[key]}`).join("\n")}` : message;
709
628
  }, "formatLogMessage");
710
- var _isFunction = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (value) => {
629
+ var _isFunction = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (value) => {
711
630
  try {
712
631
  return value instanceof Function || typeof value === "function" || !!(_optionalChain([value, 'optionalAccess', _23 => _23.constructor]) && _optionalChain([value, 'optionalAccess', _24 => _24.call]) && _optionalChain([value, 'optionalAccess', _25 => _25.apply]));
713
632
  } catch (e) {
@@ -716,7 +635,8 @@ var _isFunction = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (value) =
716
635
  }, "_isFunction");
717
636
 
718
637
  // ../config-tools/src/utilities/apply-workspace-tokens.ts
719
- var applyWorkspaceBaseTokens = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (option, tokenParams) => {
638
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
639
+ var applyWorkspaceBaseTokens = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, async (option, tokenParams) => {
720
640
  let result = option;
721
641
  if (!result) {
722
642
  return result;
@@ -746,10 +666,10 @@ var applyWorkspaceBaseTokens = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void
746
666
  }
747
667
  return result;
748
668
  }, "applyWorkspaceBaseTokens");
749
- var applyWorkspaceProjectTokens = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (option, tokenParams) => {
669
+ var applyWorkspaceProjectTokens = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (option, tokenParams) => {
750
670
  return applyWorkspaceBaseTokens(option, tokenParams);
751
671
  }, "applyWorkspaceProjectTokens");
752
- var applyWorkspaceTokens = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (options, tokenParams, tokenizerFn) => {
672
+ var applyWorkspaceTokens = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, async (options, tokenParams, tokenizerFn) => {
753
673
  if (!options) {
754
674
  return {};
755
675
  }
@@ -769,9 +689,10 @@ var applyWorkspaceTokens = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0,
769
689
  }, "applyWorkspaceTokens");
770
690
 
771
691
  // ../config-tools/src/utilities/run.ts
692
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
772
693
  var _child_process = require('child_process');
773
694
  var LARGE_BUFFER = 1024 * 1e6;
774
- var run = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (config, command, cwd = _nullishCoalesce(config.workspaceRoot, () => ( process.cwd())), stdio = "inherit", env = process.env) => {
695
+ var run = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (config, command, cwd = _nullishCoalesce(config.workspaceRoot, () => ( process.cwd())), stdio = "inherit", env = process.env) => {
775
696
  return _child_process.execSync.call(void 0, command, {
776
697
  cwd,
777
698
  env: {
@@ -788,7 +709,7 @@ var run = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (config, command,
788
709
  }, "run");
789
710
 
790
711
  // ../config-tools/src/config-file/get-config-file.ts
791
- var getConfigFileByName = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (fileName, filePath, options = {}) => {
712
+ var getConfigFileByName = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, async (fileName, filePath, options = {}) => {
792
713
  const workspacePath = filePath || findWorkspaceRoot(filePath);
793
714
  const configs = await Promise.all([
794
715
  _c12.loadConfig.call(void 0, {
@@ -798,7 +719,7 @@ var getConfigFileByName = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, a
798
719
  envName: _optionalChain([fileName, 'optionalAccess', _29 => _29.toUpperCase, 'call', _30 => _30()]),
799
720
  jitiOptions: {
800
721
  debug: false,
801
- fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : joinPaths(process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
722
+ fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunk3HI6WK3Mjs.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
802
723
  },
803
724
  ...options
804
725
  }),
@@ -809,7 +730,7 @@ var getConfigFileByName = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, a
809
730
  envName: _optionalChain([fileName, 'optionalAccess', _31 => _31.toUpperCase, 'call', _32 => _32()]),
810
731
  jitiOptions: {
811
732
  debug: false,
812
- fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : joinPaths(process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
733
+ fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunk3HI6WK3Mjs.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
813
734
  },
814
735
  configFile: fileName,
815
736
  ...options
@@ -817,7 +738,7 @@ var getConfigFileByName = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, a
817
738
  ]);
818
739
  return _defu2.default.call(void 0, _nullishCoalesce(configs[0], () => ( {})), _nullishCoalesce(configs[1], () => ( {})));
819
740
  }, "getConfigFileByName");
820
- var getConfigFile = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (filePath, additionalFileNames = []) => {
741
+ var getConfigFile = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, async (filePath, additionalFileNames = []) => {
821
742
  const workspacePath = filePath ? filePath : findWorkspaceRoot(filePath);
822
743
  const result = await getConfigFileByName("storm-workspace", workspacePath);
823
744
  let config = result.config;
@@ -848,10 +769,12 @@ var getConfigFile = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (
848
769
  }, "getConfigFile");
849
770
 
850
771
  // ../config-tools/src/create-storm-config.ts
772
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
851
773
 
852
774
 
853
775
  // ../config-tools/src/env/get-env.ts
854
- var getExtensionEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (extensionName) => {
776
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
777
+ var getExtensionEnv = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (extensionName) => {
855
778
  const prefix = `STORM_EXTENSION_${extensionName.toUpperCase()}_`;
856
779
  return Object.keys(process.env).filter((key) => key.startsWith(prefix)).reduce((ret, key) => {
857
780
  const name = key.replace(prefix, "").split("_").map((i) => i.length > 0 ? i.trim().charAt(0).toUpperCase() + i.trim().slice(1) : "").join("");
@@ -861,7 +784,7 @@ var getExtensionEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (exte
861
784
  return ret;
862
785
  }, {});
863
786
  }, "getExtensionEnv");
864
- var getConfigEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, () => {
787
+ var getConfigEnv = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, () => {
865
788
  const prefix = "STORM_";
866
789
  let config = {
867
790
  extends: process.env[`${prefix}EXTENDS`] || void 0,
@@ -880,15 +803,15 @@ var getConfigEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, () => {
880
803
  licensing: process.env[`${prefix}LICENSING`] || void 0,
881
804
  timezone: process.env[`${prefix}TIMEZONE`] || process.env.TZ || void 0,
882
805
  locale: process.env[`${prefix}LOCALE`] || process.env.LOCALE || void 0,
883
- configFile: process.env[`${prefix}CONFIG_FILE`] ? correctPaths(process.env[`${prefix}CONFIG_FILE`]) : void 0,
884
- workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? correctPaths(process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
806
+ configFile: process.env[`${prefix}CONFIG_FILE`] ? _chunk3HI6WK3Mjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_FILE`]) : void 0,
807
+ workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunk3HI6WK3Mjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
885
808
  directories: {
886
- cache: process.env[`${prefix}CACHE_DIR`] ? correctPaths(process.env[`${prefix}CACHE_DIR`]) : void 0,
887
- data: process.env[`${prefix}DATA_DIR`] ? correctPaths(process.env[`${prefix}DATA_DIR`]) : void 0,
888
- config: process.env[`${prefix}CONFIG_DIR`] ? correctPaths(process.env[`${prefix}CONFIG_DIR`]) : void 0,
889
- temp: process.env[`${prefix}TEMP_DIR`] ? correctPaths(process.env[`${prefix}TEMP_DIR`]) : void 0,
890
- log: process.env[`${prefix}LOG_DIR`] ? correctPaths(process.env[`${prefix}LOG_DIR`]) : void 0,
891
- build: process.env[`${prefix}BUILD_DIR`] ? correctPaths(process.env[`${prefix}BUILD_DIR`]) : void 0
809
+ cache: process.env[`${prefix}CACHE_DIR`] ? _chunk3HI6WK3Mjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : void 0,
810
+ data: process.env[`${prefix}DATA_DIR`] ? _chunk3HI6WK3Mjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : void 0,
811
+ config: process.env[`${prefix}CONFIG_DIR`] ? _chunk3HI6WK3Mjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : void 0,
812
+ temp: process.env[`${prefix}TEMP_DIR`] ? _chunk3HI6WK3Mjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : void 0,
813
+ log: process.env[`${prefix}LOG_DIR`] ? _chunk3HI6WK3Mjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : void 0,
814
+ build: process.env[`${prefix}BUILD_DIR`] ? _chunk3HI6WK3Mjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : void 0
892
815
  },
893
816
  skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
894
817
  env: (_nullishCoalesce(_nullishCoalesce(process.env[`${prefix}ENV`], () => ( process.env.NODE_ENV)), () => ( process.env.ENVIRONMENT))) || void 0,
@@ -951,11 +874,11 @@ var getConfigEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, () => {
951
874
  }
952
875
  return config;
953
876
  }, "getConfigEnv");
954
- var getThemeColorConfigEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (prefix, theme) => {
877
+ var getThemeColorConfigEnv = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (prefix, theme) => {
955
878
  const themeName = `COLOR_${theme && theme !== "base" ? `${theme}_` : ""}`.toUpperCase();
956
879
  return process.env[`${prefix}${themeName}LIGHT_BRAND`] || process.env[`${prefix}${themeName}DARK_BRAND`] ? getMultiThemeColorConfigEnv(prefix + themeName) : getSingleThemeColorConfigEnv(prefix + themeName);
957
880
  }, "getThemeColorConfigEnv");
958
- var getSingleThemeColorConfigEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (prefix) => {
881
+ var getSingleThemeColorConfigEnv = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (prefix) => {
959
882
  return {
960
883
  dark: process.env[`${prefix}DARK`],
961
884
  light: process.env[`${prefix}LIGHT`],
@@ -973,13 +896,13 @@ var getSingleThemeColorConfigEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(
973
896
  negative: process.env[`${prefix}NEGATIVE`]
974
897
  };
975
898
  }, "getSingleThemeColorConfigEnv");
976
- var getMultiThemeColorConfigEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (prefix) => {
899
+ var getMultiThemeColorConfigEnv = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (prefix) => {
977
900
  return {
978
901
  light: getBaseThemeColorConfigEnv(`${prefix}_LIGHT_`),
979
902
  dark: getBaseThemeColorConfigEnv(`${prefix}_DARK_`)
980
903
  };
981
904
  }, "getMultiThemeColorConfigEnv");
982
- var getBaseThemeColorConfigEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (prefix) => {
905
+ var getBaseThemeColorConfigEnv = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (prefix) => {
983
906
  return {
984
907
  foreground: process.env[`${prefix}FOREGROUND`],
985
908
  background: process.env[`${prefix}BACKGROUND`],
@@ -999,7 +922,8 @@ var getBaseThemeColorConfigEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(vo
999
922
  }, "getBaseThemeColorConfigEnv");
1000
923
 
1001
924
  // ../config-tools/src/env/set-env.ts
1002
- var setExtensionEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (extensionName, extension) => {
925
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
926
+ var setExtensionEnv = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (extensionName, extension) => {
1003
927
  for (const key of Object.keys(_nullishCoalesce(extension, () => ( {})))) {
1004
928
  if (extension[key]) {
1005
929
  const result = _nullishCoalesce(_optionalChain([key, 'optionalAccess', _35 => _35.replace, 'call', _36 => _36(/([A-Z])+/g, (input) => input ? _optionalChain([input, 'access', _37 => _37[0], 'optionalAccess', _38 => _38.toUpperCase, 'call', _39 => _39()]) + input.slice(1) : ""), 'access', _40 => _40.split, 'call', _41 => _41(/(?=[A-Z])|[.\-\s_]/), 'access', _42 => _42.map, 'call', _43 => _43((x) => x.toLowerCase())]), () => ( []));
@@ -1018,7 +942,7 @@ var setExtensionEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (exte
1018
942
  }
1019
943
  }
1020
944
  }, "setExtensionEnv");
1021
- var setConfigEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (config) => {
945
+ var setConfigEnv = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (config) => {
1022
946
  const prefix = "STORM_";
1023
947
  if (config.extends) {
1024
948
  process.env[`${prefix}EXTENDS`] = Array.isArray(config.extends) ? JSON.stringify(config.extends) : config.extends;
@@ -1066,31 +990,31 @@ var setConfigEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (config)
1066
990
  process.env.LANG = config.locale ? `${config.locale.replaceAll("-", "_")}.UTF-8` : "en_US.UTF-8";
1067
991
  }
1068
992
  if (config.configFile) {
1069
- process.env[`${prefix}CONFIG_FILE`] = correctPaths(config.configFile);
993
+ process.env[`${prefix}CONFIG_FILE`] = _chunk3HI6WK3Mjs.correctPaths.call(void 0, config.configFile);
1070
994
  }
1071
995
  if (config.workspaceRoot) {
1072
- process.env[`${prefix}WORKSPACE_ROOT`] = correctPaths(config.workspaceRoot);
1073
- process.env.NX_WORKSPACE_ROOT = correctPaths(config.workspaceRoot);
1074
- process.env.NX_WORKSPACE_ROOT_PATH = correctPaths(config.workspaceRoot);
996
+ process.env[`${prefix}WORKSPACE_ROOT`] = _chunk3HI6WK3Mjs.correctPaths.call(void 0, config.workspaceRoot);
997
+ process.env.NX_WORKSPACE_ROOT = _chunk3HI6WK3Mjs.correctPaths.call(void 0, config.workspaceRoot);
998
+ process.env.NX_WORKSPACE_ROOT_PATH = _chunk3HI6WK3Mjs.correctPaths.call(void 0, config.workspaceRoot);
1075
999
  }
1076
1000
  if (config.directories) {
1077
1001
  if (!config.skipCache && config.directories.cache) {
1078
- process.env[`${prefix}CACHE_DIR`] = correctPaths(config.directories.cache);
1002
+ process.env[`${prefix}CACHE_DIR`] = _chunk3HI6WK3Mjs.correctPaths.call(void 0, config.directories.cache);
1079
1003
  }
1080
1004
  if (config.directories.data) {
1081
- process.env[`${prefix}DATA_DIR`] = correctPaths(config.directories.data);
1005
+ process.env[`${prefix}DATA_DIR`] = _chunk3HI6WK3Mjs.correctPaths.call(void 0, config.directories.data);
1082
1006
  }
1083
1007
  if (config.directories.config) {
1084
- process.env[`${prefix}CONFIG_DIR`] = correctPaths(config.directories.config);
1008
+ process.env[`${prefix}CONFIG_DIR`] = _chunk3HI6WK3Mjs.correctPaths.call(void 0, config.directories.config);
1085
1009
  }
1086
1010
  if (config.directories.temp) {
1087
- process.env[`${prefix}TEMP_DIR`] = correctPaths(config.directories.temp);
1011
+ process.env[`${prefix}TEMP_DIR`] = _chunk3HI6WK3Mjs.correctPaths.call(void 0, config.directories.temp);
1088
1012
  }
1089
1013
  if (config.directories.log) {
1090
- process.env[`${prefix}LOG_DIR`] = correctPaths(config.directories.log);
1014
+ process.env[`${prefix}LOG_DIR`] = _chunk3HI6WK3Mjs.correctPaths.call(void 0, config.directories.log);
1091
1015
  }
1092
1016
  if (config.directories.build) {
1093
- process.env[`${prefix}BUILD_DIR`] = correctPaths(config.directories.build);
1017
+ process.env[`${prefix}BUILD_DIR`] = _chunk3HI6WK3Mjs.correctPaths.call(void 0, config.directories.build);
1094
1018
  }
1095
1019
  }
1096
1020
  if (config.skipCache !== void 0) {
@@ -1155,10 +1079,10 @@ var setConfigEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (config)
1155
1079
  config.extensions[key] && Object.keys(config.extensions[key]) && setExtensionEnv(key, config.extensions[key]);
1156
1080
  }
1157
1081
  }, "setConfigEnv");
1158
- var setThemeColorConfigEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (prefix, config) => {
1082
+ var setThemeColorConfigEnv = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (prefix, config) => {
1159
1083
  return _optionalChain([config, 'optionalAccess', _53 => _53.light, 'optionalAccess', _54 => _54.brand]) || _optionalChain([config, 'optionalAccess', _55 => _55.dark, 'optionalAccess', _56 => _56.brand]) ? setMultiThemeColorConfigEnv(prefix, config) : setSingleThemeColorConfigEnv(prefix, config);
1160
1084
  }, "setThemeColorConfigEnv");
1161
- var setSingleThemeColorConfigEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (prefix, config) => {
1085
+ var setSingleThemeColorConfigEnv = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (prefix, config) => {
1162
1086
  if (config.dark) {
1163
1087
  process.env[`${prefix}DARK`] = config.dark;
1164
1088
  }
@@ -1202,13 +1126,13 @@ var setSingleThemeColorConfigEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(
1202
1126
  process.env[`${prefix}NEGATIVE`] = config.negative;
1203
1127
  }
1204
1128
  }, "setSingleThemeColorConfigEnv");
1205
- var setMultiThemeColorConfigEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (prefix, config) => {
1129
+ var setMultiThemeColorConfigEnv = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (prefix, config) => {
1206
1130
  return {
1207
1131
  light: setBaseThemeColorConfigEnv(`${prefix}LIGHT_`, config.light),
1208
1132
  dark: setBaseThemeColorConfigEnv(`${prefix}DARK_`, config.dark)
1209
1133
  };
1210
1134
  }, "setMultiThemeColorConfigEnv");
1211
- var setBaseThemeColorConfigEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (prefix, config) => {
1135
+ var setBaseThemeColorConfigEnv = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (prefix, config) => {
1212
1136
  if (config.foreground) {
1213
1137
  process.env[`${prefix}FOREGROUND`] = config.foreground;
1214
1138
  }
@@ -1256,7 +1180,7 @@ var setBaseThemeColorConfigEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(vo
1256
1180
  // ../config-tools/src/create-storm-config.ts
1257
1181
  var _extension_cache = /* @__PURE__ */ new WeakMap();
1258
1182
  var _static_cache = void 0;
1259
- var createStormConfig = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (extensionName, schema, workspaceRoot3, skipLogs = false) => {
1183
+ var createStormConfig = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, async (extensionName, schema, workspaceRoot3, skipLogs = false) => {
1260
1184
  let result;
1261
1185
  if (!_optionalChain([_static_cache, 'optionalAccess', _57 => _57.data]) || !_optionalChain([_static_cache, 'optionalAccess', _58 => _58.timestamp]) || _static_cache.timestamp < Date.now() - 8e3) {
1262
1186
  let _workspaceRoot = workspaceRoot3;
@@ -1288,7 +1212,7 @@ var createStormConfig = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, asy
1288
1212
  };
1289
1213
  return result;
1290
1214
  }, "createStormConfig");
1291
- var createConfigExtension = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (extensionName, schema) => {
1215
+ var createConfigExtension = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (extensionName, schema) => {
1292
1216
  const extension_cache_key = {
1293
1217
  extensionName
1294
1218
  };
@@ -1302,7 +1226,7 @@ var createConfigExtension = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0,
1302
1226
  _extension_cache.set(extension_cache_key, extension);
1303
1227
  return extension;
1304
1228
  }, "createConfigExtension");
1305
- var loadStormConfig = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (workspaceRoot3, skipLogs = false) => {
1229
+ var loadStormConfig = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, async (workspaceRoot3, skipLogs = false) => {
1306
1230
  const config = await createStormConfig(void 0, void 0, workspaceRoot3, skipLogs);
1307
1231
  setConfigEnv(config);
1308
1232
  if (!skipLogs && !config.skipConfigLogging) {
@@ -1313,13 +1237,14 @@ ${formatLogMessage(config)}`, config);
1313
1237
  }, "loadStormConfig");
1314
1238
 
1315
1239
  // ../config-tools/src/get-config.ts
1316
- var getConfig = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (workspaceRoot3, skipLogs = false) => {
1240
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
1241
+ var getConfig = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (workspaceRoot3, skipLogs = false) => {
1317
1242
  return loadStormConfig(workspaceRoot3, skipLogs);
1318
1243
  }, "getConfig");
1319
1244
 
1320
1245
  // ../workspace-tools/src/base/base-executor.ts
1321
1246
 
1322
- var withRunExecutor = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (name, executorFn, executorOptions = {}) => async (_options, context2) => {
1247
+ var withRunExecutor = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (name, executorFn, executorOptions = {}) => async (_options, context2) => {
1323
1248
  const stopwatch = getStopwatch(name);
1324
1249
  let options = _options;
1325
1250
  let config = {};
@@ -1404,7 +1329,7 @@ ${formatLogMessage(result)}`, config);
1404
1329
  stopwatch();
1405
1330
  }
1406
1331
  }, "withRunExecutor");
1407
- var _isFunction2 = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (value) => {
1332
+ var _isFunction2 = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (value) => {
1408
1333
  try {
1409
1334
  return value instanceof Function || typeof value === "function" || !!(_optionalChain([value, 'optionalAccess', _77 => _77.constructor]) && _optionalChain([value, 'optionalAccess', _78 => _78.call]) && _optionalChain([value, 'optionalAccess', _79 => _79.apply]));
1410
1335
  } catch (e) {
@@ -1413,6 +1338,7 @@ var _isFunction2 = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (value)
1413
1338
  }, "_isFunction");
1414
1339
 
1415
1340
  // ../workspace-tools/src/utils/cargo.ts
1341
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
1416
1342
 
1417
1343
 
1418
1344
 
@@ -1424,7 +1350,7 @@ var INVALID_CARGO_ARGS = [
1424
1350
  "package",
1425
1351
  "tsConfig"
1426
1352
  ];
1427
- var buildCargoCommand = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (baseCommand, options, context2) => {
1353
+ var buildCargoCommand = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (baseCommand, options, context2) => {
1428
1354
  const args = [];
1429
1355
  if (options.toolchain && options.toolchain !== "stable") {
1430
1356
  args.push(`+${options.toolchain}`);
@@ -1468,7 +1394,7 @@ async function cargoCommand(...args) {
1468
1394
  args.push("--color", "always");
1469
1395
  return await Promise.resolve(runProcess("cargo", ...args));
1470
1396
  }
1471
- _chunk3GQAWCBQjs.__name.call(void 0, cargoCommand, "cargoCommand");
1397
+ _chunkZH7QZ5EFjs.__name.call(void 0, cargoCommand, "cargoCommand");
1472
1398
  function cargoCommandSync(args = "", options) {
1473
1399
  const normalizedOptions = {
1474
1400
  stdio: _nullishCoalesce(_optionalChain([options, 'optionalAccess', _80 => _80.stdio]), () => ( "inherit")),
@@ -1495,7 +1421,7 @@ function cargoCommandSync(args = "", options) {
1495
1421
  };
1496
1422
  }
1497
1423
  }
1498
- _chunk3GQAWCBQjs.__name.call(void 0, cargoCommandSync, "cargoCommandSync");
1424
+ _chunkZH7QZ5EFjs.__name.call(void 0, cargoCommandSync, "cargoCommandSync");
1499
1425
  function cargoMetadata() {
1500
1426
  const output3 = cargoCommandSync("metadata --format-version=1", {
1501
1427
  stdio: "pipe"
@@ -1506,7 +1432,7 @@ function cargoMetadata() {
1506
1432
  }
1507
1433
  return JSON.parse(output3.output);
1508
1434
  }
1509
- _chunk3GQAWCBQjs.__name.call(void 0, cargoMetadata, "cargoMetadata");
1435
+ _chunkZH7QZ5EFjs.__name.call(void 0, cargoMetadata, "cargoMetadata");
1510
1436
  function runProcess(processCmd, ...args) {
1511
1437
  const metadata = cargoMetadata();
1512
1438
  const targetDir = _nullishCoalesce(_optionalChain([metadata, 'optionalAccess', _82 => _82.target_directory]), () => ( _devkit.joinPathFragments.call(void 0, _devkit.workspaceRoot, "dist", "cargo")));
@@ -1536,18 +1462,18 @@ function runProcess(processCmd, ...args) {
1536
1462
  });
1537
1463
  });
1538
1464
  }
1539
- _chunk3GQAWCBQjs.__name.call(void 0, runProcess, "runProcess");
1465
+ _chunkZH7QZ5EFjs.__name.call(void 0, runProcess, "runProcess");
1540
1466
 
1541
1467
  // ../workspace-tools/src/executors/cargo-build/executor.ts
1542
1468
  async function cargoBuildExecutor(options, context2) {
1543
1469
  const command = buildCargoCommand("build", options, context2);
1544
1470
  return await cargoCommand(...command);
1545
1471
  }
1546
- _chunk3GQAWCBQjs.__name.call(void 0, cargoBuildExecutor, "cargoBuildExecutor");
1472
+ _chunkZH7QZ5EFjs.__name.call(void 0, cargoBuildExecutor, "cargoBuildExecutor");
1547
1473
  var executor_default = withRunExecutor("Cargo Build", cargoBuildExecutor, {
1548
1474
  skipReadingConfig: false,
1549
1475
  hooks: {
1550
- applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
1476
+ applyDefaultOptions: /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (options) => {
1551
1477
  options.outputPath ??= "dist/target/{projectRoot}";
1552
1478
  options.toolchain ??= "stable";
1553
1479
  return options;
@@ -1556,15 +1482,16 @@ var executor_default = withRunExecutor("Cargo Build", cargoBuildExecutor, {
1556
1482
  });
1557
1483
 
1558
1484
  // ../workspace-tools/src/executors/cargo-check/executor.ts
1485
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
1559
1486
  async function cargoCheckExecutor(options, context2) {
1560
1487
  const command = buildCargoCommand("check", options, context2);
1561
1488
  return await cargoCommand(...command);
1562
1489
  }
1563
- _chunk3GQAWCBQjs.__name.call(void 0, cargoCheckExecutor, "cargoCheckExecutor");
1490
+ _chunkZH7QZ5EFjs.__name.call(void 0, cargoCheckExecutor, "cargoCheckExecutor");
1564
1491
  var executor_default2 = withRunExecutor("Cargo Check", cargoCheckExecutor, {
1565
1492
  skipReadingConfig: false,
1566
1493
  hooks: {
1567
- applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
1494
+ applyDefaultOptions: /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (options) => {
1568
1495
  options.toolchain ??= "stable";
1569
1496
  return options;
1570
1497
  }, "applyDefaultOptions")
@@ -1572,15 +1499,16 @@ var executor_default2 = withRunExecutor("Cargo Check", cargoCheckExecutor, {
1572
1499
  });
1573
1500
 
1574
1501
  // ../workspace-tools/src/executors/cargo-clippy/executor.ts
1502
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
1575
1503
  async function cargoClippyExecutor(options, context2) {
1576
1504
  const command = buildCargoCommand("clippy", options, context2);
1577
1505
  return await cargoCommand(...command);
1578
1506
  }
1579
- _chunk3GQAWCBQjs.__name.call(void 0, cargoClippyExecutor, "cargoClippyExecutor");
1507
+ _chunkZH7QZ5EFjs.__name.call(void 0, cargoClippyExecutor, "cargoClippyExecutor");
1580
1508
  var executor_default3 = withRunExecutor("Cargo Clippy", cargoClippyExecutor, {
1581
1509
  skipReadingConfig: false,
1582
1510
  hooks: {
1583
- applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
1511
+ applyDefaultOptions: /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (options) => {
1584
1512
  options.toolchain ??= "stable";
1585
1513
  options.fix ??= false;
1586
1514
  return options;
@@ -1589,6 +1517,7 @@ var executor_default3 = withRunExecutor("Cargo Clippy", cargoClippyExecutor, {
1589
1517
  });
1590
1518
 
1591
1519
  // ../workspace-tools/src/executors/cargo-doc/executor.ts
1520
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
1592
1521
  async function cargoDocExecutor(options, context2) {
1593
1522
  const opts = {
1594
1523
  ...options
@@ -1598,11 +1527,11 @@ async function cargoDocExecutor(options, context2) {
1598
1527
  const command = buildCargoCommand("doc", options, context2);
1599
1528
  return await cargoCommand(...command);
1600
1529
  }
1601
- _chunk3GQAWCBQjs.__name.call(void 0, cargoDocExecutor, "cargoDocExecutor");
1530
+ _chunkZH7QZ5EFjs.__name.call(void 0, cargoDocExecutor, "cargoDocExecutor");
1602
1531
  var executor_default4 = withRunExecutor("Cargo Doc", cargoDocExecutor, {
1603
1532
  skipReadingConfig: false,
1604
1533
  hooks: {
1605
- applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
1534
+ applyDefaultOptions: /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (options) => {
1606
1535
  options.outputPath ??= "dist/docs/{projectRoot}";
1607
1536
  options.toolchain ??= "stable";
1608
1537
  options.release ??= options.profile ? false : true;
@@ -1617,15 +1546,16 @@ var executor_default4 = withRunExecutor("Cargo Doc", cargoDocExecutor, {
1617
1546
  });
1618
1547
 
1619
1548
  // ../workspace-tools/src/executors/cargo-format/executor.ts
1549
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
1620
1550
  async function cargoFormatExecutor(options, context2) {
1621
1551
  const command = buildCargoCommand("fmt", options, context2);
1622
1552
  return await cargoCommand(...command);
1623
1553
  }
1624
- _chunk3GQAWCBQjs.__name.call(void 0, cargoFormatExecutor, "cargoFormatExecutor");
1554
+ _chunkZH7QZ5EFjs.__name.call(void 0, cargoFormatExecutor, "cargoFormatExecutor");
1625
1555
  var executor_default5 = withRunExecutor("Cargo Format", cargoFormatExecutor, {
1626
1556
  skipReadingConfig: false,
1627
1557
  hooks: {
1628
- applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
1558
+ applyDefaultOptions: /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (options) => {
1629
1559
  options.outputPath ??= "dist/target/{projectRoot}";
1630
1560
  options.toolchain ??= "stable";
1631
1561
  return options;
@@ -1634,22 +1564,32 @@ var executor_default5 = withRunExecutor("Cargo Format", cargoFormatExecutor, {
1634
1564
  });
1635
1565
 
1636
1566
  // ../workspace-tools/src/executors/cargo-publish/executor.ts
1567
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
1637
1568
 
1638
1569
 
1639
1570
 
1640
1571
  var _https = require('https'); var _https2 = _interopRequireDefault(_https);
1641
1572
 
1642
1573
  // ../workspace-tools/src/utils/toml.ts
1574
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
1643
1575
  var _jtoml = require('@ltd/j-toml'); var _jtoml2 = _interopRequireDefault(_jtoml);
1644
1576
 
1645
1577
 
1646
1578
  // ../workspace-tools/src/executors/cargo-publish/executor.ts
1647
1579
  var LARGE_BUFFER2 = 1024 * 1e6;
1648
1580
 
1581
+ // ../workspace-tools/src/executors/esbuild/executor.ts
1582
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
1583
+
1649
1584
  // ../esbuild/src/build.ts
1585
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
1586
+
1650
1587
 
1588
+ // ../build-tools/src/index.ts
1589
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
1651
1590
 
1652
1591
  // ../build-tools/src/config.ts
1592
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
1653
1593
  var DEFAULT_COMPILED_BANNER = `
1654
1594
  /**
1655
1595
  * \u26A1 Built by Storm Software
@@ -1660,24 +1600,40 @@ var DEFAULT_ENVIRONMENT = "production";
1660
1600
  var DEFAULT_TARGET = "esnext";
1661
1601
  var DEFAULT_ORGANIZATION = "storm-software";
1662
1602
 
1603
+ // ../build-tools/src/plugins/index.ts
1604
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
1605
+
1606
+ // ../build-tools/src/plugins/analyze.ts
1607
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
1608
+
1663
1609
  // ../build-tools/src/plugins/swc.ts
1610
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
1664
1611
  var _core = require('@swc/core');
1665
1612
 
1666
1613
  // ../build-tools/src/plugins/ts-resolve.ts
1614
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
1667
1615
 
1668
1616
  var _module = require('module');
1669
1617
 
1670
1618
  var _resolve2 = require('resolve'); var _resolve3 = _interopRequireDefault(_resolve2);
1671
1619
 
1672
1620
  // ../build-tools/src/plugins/type-definitions.ts
1621
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
1622
+
1673
1623
 
1674
1624
 
1625
+ // ../build-tools/src/types.ts
1626
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
1627
+
1628
+ // ../build-tools/src/utilities/index.ts
1629
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
1675
1630
 
1676
1631
  // ../build-tools/src/utilities/copy-assets.ts
1632
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
1677
1633
  var _copyassetshandler = require('@nx/js/src/utils/assets/copy-assets-handler');
1678
1634
  var _glob = require('glob');
1679
1635
 
1680
- var copyAssets = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (config, assets, outputPath, projectRoot, sourceRoot, generatePackageJson3 = true, includeSrc = false, banner, footer) => {
1636
+ var copyAssets = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, async (config, assets, outputPath, projectRoot, sourceRoot, generatePackageJson3 = true, includeSrc = false, banner, footer) => {
1681
1637
  const pendingAssets = Array.from(_nullishCoalesce(assets, () => ( [])));
1682
1638
  pendingAssets.push({
1683
1639
  input: projectRoot,
@@ -1704,7 +1660,7 @@ var copyAssets = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (con
1704
1660
  });
1705
1661
  }
1706
1662
  writeTrace(`\u{1F4DD} Copying the following assets to the output directory:
1707
- ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${joinPaths(outputPath, pendingAsset.output)}`).join("\n")}`, config);
1663
+ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunk3HI6WK3Mjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`, config);
1708
1664
  const assetHandler = new (0, _copyassetshandler.CopyAssetsHandler)({
1709
1665
  projectDir: projectRoot,
1710
1666
  rootDir: config.workspaceRoot,
@@ -1713,12 +1669,12 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
1713
1669
  });
1714
1670
  await assetHandler.processAllAssetsOnce();
1715
1671
  if (includeSrc === true) {
1716
- writeDebug(`\u{1F4DD} Adding banner and writing source files: ${joinPaths(outputPath, "src")}`, config);
1672
+ writeDebug(`\u{1F4DD} Adding banner and writing source files: ${_chunk3HI6WK3Mjs.joinPaths.call(void 0, outputPath, "src")}`, config);
1717
1673
  const files = await _glob.glob.call(void 0, [
1718
- joinPaths(config.workspaceRoot, outputPath, "src/**/*.ts"),
1719
- joinPaths(config.workspaceRoot, outputPath, "src/**/*.tsx"),
1720
- joinPaths(config.workspaceRoot, outputPath, "src/**/*.js"),
1721
- joinPaths(config.workspaceRoot, outputPath, "src/**/*.jsx")
1674
+ _chunk3HI6WK3Mjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
1675
+ _chunk3HI6WK3Mjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
1676
+ _chunk3HI6WK3Mjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
1677
+ _chunk3HI6WK3Mjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
1722
1678
  ]);
1723
1679
  await Promise.allSettled(files.map(async (file) => _promises.writeFile.call(void 0, file, `${banner && typeof banner === "string" ? banner.startsWith("//") ? banner : `// ${banner}` : ""}
1724
1680
 
@@ -1729,18 +1685,20 @@ ${footer && typeof footer === "string" ? footer.startsWith("//") ? footer : `//
1729
1685
  }, "copyAssets");
1730
1686
 
1731
1687
  // ../build-tools/src/utilities/generate-package-json.ts
1688
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
1732
1689
  var _buildablelibsutils = require('@nx/js/src/utils/buildable-libs-utils');
1733
1690
 
1734
1691
 
1735
1692
 
1736
1693
  var _projectgraph = require('nx/src/project-graph/project-graph');
1737
- var addPackageDependencies = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (workspaceRoot3, projectRoot, projectName, packageJson) => {
1738
- const projectDependencies = _buildablelibsutils.calculateProjectBuildableDependencies.call(void 0, void 0, _projectgraph.readCachedProjectGraph.call(void 0, ), workspaceRoot3, projectName, process.env.NX_TASK_TARGET_TARGET || "build", process.env.NX_TASK_TARGET_CONFIGURATION || "production", true);
1694
+ var addPackageDependencies = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, async (workspaceRoot3, projectRoot, projectName, packageJson) => {
1695
+ const projectGraph = _projectgraph.readCachedProjectGraph.call(void 0, );
1696
+ const projectDependencies = _buildablelibsutils.calculateProjectBuildableDependencies.call(void 0, void 0, projectGraph, workspaceRoot3, projectName, process.env.NX_TASK_TARGET_TARGET || "build", process.env.NX_TASK_TARGET_CONFIGURATION || "production", true);
1739
1697
  const localPackages = [];
1740
1698
  for (const project of projectDependencies.dependencies.filter((dep) => dep.node.type === "lib" && dep.node.data.root !== projectRoot && dep.node.data.root !== workspaceRoot3)) {
1741
1699
  const projectNode = project.node;
1742
1700
  if (projectNode.data.root) {
1743
- const projectPackageJsonPath = joinPaths(workspaceRoot3, projectNode.data.root, "package.json");
1701
+ const projectPackageJsonPath = _chunk3HI6WK3Mjs.joinPaths.call(void 0, workspaceRoot3, projectNode.data.root, "package.json");
1744
1702
  if (_fs.existsSync.call(void 0, projectPackageJsonPath)) {
1745
1703
  const projectPackageJsonContent = await _promises.readFile.call(void 0, projectPackageJsonPath, "utf8");
1746
1704
  const projectPackageJson = JSON.parse(projectPackageJsonContent);
@@ -1752,34 +1710,46 @@ var addPackageDependencies = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0
1752
1710
  }
1753
1711
  if (localPackages.length > 0) {
1754
1712
  writeTrace(`\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
1755
- packageJson.peerDependencies = localPackages.reduce((ret, localPackage) => {
1756
- if (!ret[localPackage.name]) {
1757
- ret[localPackage.name] = `>=${localPackage.version || "0.0.1"}`;
1713
+ const projectJsonFile = await _promises.readFile.call(void 0, _chunk3HI6WK3Mjs.joinPaths.call(void 0, projectRoot, "project.json"), "utf8");
1714
+ const projectJson = JSON.parse(projectJsonFile);
1715
+ const projectName2 = projectJson.name;
1716
+ const projectConfigurations = _projectgraph.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
1717
+ if (!_optionalChain([projectConfigurations, 'optionalAccess', _83 => _83.projects, 'optionalAccess', _84 => _84[projectName2]])) {
1718
+ throw new Error("The Build process failed because the project does not have a valid configuration in the project.json file. Check if the file exists in the root of the project.");
1719
+ }
1720
+ const implicitDependencies = _optionalChain([projectConfigurations, 'access', _85 => _85.projects, 'optionalAccess', _86 => _86[projectName2], 'access', _87 => _87.implicitDependencies, 'optionalAccess', _88 => _88.reduce, 'call', _89 => _89((ret, dep) => {
1721
+ if (_optionalChain([projectConfigurations, 'access', _90 => _90.projects, 'optionalAccess', _91 => _91[dep]])) {
1722
+ const depPackageJsonPath = _chunk3HI6WK3Mjs.joinPaths.call(void 0, workspaceRoot3, projectConfigurations.projects[dep].root, "package.json");
1723
+ if (_fs.existsSync.call(void 0, depPackageJsonPath)) {
1724
+ const depPackageJsonContent = _fs.readFileSync.call(void 0, depPackageJsonPath, "utf8");
1725
+ const depPackageJson = JSON.parse(depPackageJsonContent);
1726
+ if (depPackageJson.private !== true && !ret.includes(depPackageJson.name)) {
1727
+ ret.push(depPackageJson.name);
1728
+ }
1729
+ }
1758
1730
  }
1759
1731
  return ret;
1760
- }, _nullishCoalesce(packageJson.peerDependencies, () => ( {})));
1761
- packageJson.peerDependenciesMeta = localPackages.reduce((ret, localPackage) => {
1762
- if (!ret[localPackage.name]) {
1763
- ret[localPackage.name] = {
1764
- optional: false
1765
- };
1732
+ }, [])]);
1733
+ packageJson.dependencies = localPackages.reduce((ret, localPackage) => {
1734
+ if (!ret[localPackage.name] && !_optionalChain([implicitDependencies, 'optionalAccess', _92 => _92.includes, 'call', _93 => _93(localPackage.name)])) {
1735
+ ret[localPackage.name] = `>=${localPackage.version || "0.0.1"}`;
1766
1736
  }
1767
1737
  return ret;
1768
- }, _nullishCoalesce(packageJson.peerDependenciesMeta, () => ( {})));
1738
+ }, _nullishCoalesce(packageJson.dependencies, () => ( {})));
1769
1739
  packageJson.devDependencies = localPackages.reduce((ret, localPackage) => {
1770
- if (!ret[localPackage.name]) {
1740
+ if (!ret[localPackage.name] && _optionalChain([implicitDependencies, 'optionalAccess', _94 => _94.includes, 'call', _95 => _95(localPackage.name)])) {
1771
1741
  ret[localPackage.name] = localPackage.version || "0.0.1";
1772
1742
  }
1773
1743
  return ret;
1774
- }, _nullishCoalesce(packageJson.peerDependencies, () => ( {})));
1744
+ }, _nullishCoalesce(packageJson.devDependencies, () => ( {})));
1775
1745
  } else {
1776
1746
  writeTrace("\u{1F4E6} No local packages dependencies to add to package.json");
1777
1747
  }
1778
1748
  return packageJson;
1779
1749
  }, "addPackageDependencies");
1780
- var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (config, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
1750
+ var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, async (config, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
1781
1751
  const workspaceRoot3 = config.workspaceRoot ? config.workspaceRoot : findWorkspaceRoot();
1782
- const workspacePackageJsonContent = await _promises.readFile.call(void 0, joinPaths(workspaceRoot3, "package.json"), "utf8");
1752
+ const workspacePackageJsonContent = await _promises.readFile.call(void 0, _chunk3HI6WK3Mjs.joinPaths.call(void 0, workspaceRoot3, "package.json"), "utf8");
1783
1753
  const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
1784
1754
  packageJson.type ??= "module";
1785
1755
  packageJson.sideEffects ??= false;
@@ -1788,7 +1758,7 @@ var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call
1788
1758
  if (distSrc.startsWith("/")) {
1789
1759
  distSrc = distSrc.substring(1);
1790
1760
  }
1791
- packageJson.source ??= `${joinPaths(distSrc, "index.ts").replaceAll("\\", "/")}`;
1761
+ packageJson.source ??= `${_chunk3HI6WK3Mjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
1792
1762
  }
1793
1763
  packageJson.files ??= [
1794
1764
  "dist/**/*"
@@ -1819,10 +1789,10 @@ var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call
1819
1789
  ];
1820
1790
  }
1821
1791
  packageJson.repository ??= workspacePackageJson.repository;
1822
- packageJson.repository.directory ??= projectRoot ? projectRoot : joinPaths("packages", projectName);
1792
+ packageJson.repository.directory ??= projectRoot ? projectRoot : _chunk3HI6WK3Mjs.joinPaths.call(void 0, "packages", projectName);
1823
1793
  return packageJson;
1824
1794
  }, "addWorkspacePackageJsonFields");
1825
- var addPackageJsonExport = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (file, type = "module", sourceRoot) => {
1795
+ var addPackageJsonExport = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (file, type = "module", sourceRoot) => {
1826
1796
  let entry = file.replaceAll("\\", "/");
1827
1797
  if (sourceRoot) {
1828
1798
  entry = entry.replace(sourceRoot, "");
@@ -1844,8 +1814,9 @@ var addPackageJsonExport = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0,
1844
1814
  }, "addPackageJsonExport");
1845
1815
 
1846
1816
  // ../build-tools/src/utilities/get-entry-points.ts
1817
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
1847
1818
 
1848
- var getEntryPoints = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (config, projectRoot, sourceRoot, entry, emitOnAll = false) => {
1819
+ var getEntryPoints = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, async (config, projectRoot, sourceRoot, entry, emitOnAll = false) => {
1849
1820
  const workspaceRoot3 = config.workspaceRoot ? config.workspaceRoot : findWorkspaceRoot();
1850
1821
  const entryPoints = [];
1851
1822
  if (entry) {
@@ -1858,7 +1829,7 @@ var getEntryPoints = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
1858
1829
  }
1859
1830
  }
1860
1831
  if (emitOnAll) {
1861
- entryPoints.push(joinPaths(workspaceRoot3, sourceRoot || projectRoot, "**/*.{ts,tsx}"));
1832
+ entryPoints.push(_chunk3HI6WK3Mjs.joinPaths.call(void 0, workspaceRoot3, sourceRoot || projectRoot, "**/*.{ts,tsx}"));
1862
1833
  }
1863
1834
  const results = [];
1864
1835
  for (const entryPoint in entryPoints) {
@@ -1867,9 +1838,9 @@ var getEntryPoints = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
1867
1838
  withFileTypes: true
1868
1839
  });
1869
1840
  results.push(...files.reduce((ret, filePath) => {
1870
- const result = correctPaths(joinPaths(filePath.path, filePath.name).replaceAll(correctPaths(workspaceRoot3), "").replaceAll(correctPaths(projectRoot), ""));
1841
+ const result = _chunk3HI6WK3Mjs.correctPaths.call(void 0, _chunk3HI6WK3Mjs.joinPaths.call(void 0, filePath.path, filePath.name).replaceAll(_chunk3HI6WK3Mjs.correctPaths.call(void 0, workspaceRoot3), "").replaceAll(_chunk3HI6WK3Mjs.correctPaths.call(void 0, projectRoot), ""));
1871
1842
  if (result) {
1872
- writeDebug(`Trying to add entry point ${result} at "${joinPaths(filePath.path, filePath.name)}"`, config);
1843
+ writeDebug(`Trying to add entry point ${result} at "${_chunk3HI6WK3Mjs.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
1873
1844
  if (!results.includes(result)) {
1874
1845
  results.push(result);
1875
1846
  }
@@ -1884,7 +1855,8 @@ var getEntryPoints = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
1884
1855
  }, "getEntryPoints");
1885
1856
 
1886
1857
  // ../build-tools/src/utilities/get-env.ts
1887
- var getEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (builder, options) => {
1858
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
1859
+ var getEnv = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (builder, options) => {
1888
1860
  return {
1889
1861
  STORM_BUILD: builder,
1890
1862
  STORM_ORG: options.orgName || DEFAULT_ORGANIZATION,
@@ -1897,7 +1869,11 @@ var getEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (builder, opti
1897
1869
  };
1898
1870
  }, "getEnv");
1899
1871
 
1872
+ // ../build-tools/src/utilities/get-file-banner.ts
1873
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
1874
+
1900
1875
  // ../build-tools/src/utilities/get-out-extension.ts
1876
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
1901
1877
  function getOutExtension(format2, pkgType) {
1902
1878
  let jsExtension = ".js";
1903
1879
  let dtsExtension = ".d.ts";
@@ -1917,13 +1893,18 @@ function getOutExtension(format2, pkgType) {
1917
1893
  dts: dtsExtension
1918
1894
  };
1919
1895
  }
1920
- _chunk3GQAWCBQjs.__name.call(void 0, getOutExtension, "getOutExtension");
1896
+ _chunkZH7QZ5EFjs.__name.call(void 0, getOutExtension, "getOutExtension");
1897
+
1898
+ // ../build-tools/src/utilities/get-project-deps.ts
1899
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
1921
1900
 
1922
1901
  // ../build-tools/src/utilities/read-nx-config.ts
1902
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
1923
1903
 
1924
1904
 
1925
1905
 
1926
1906
  // ../build-tools/src/utilities/task-graph.ts
1907
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
1927
1908
  var _createtaskgraph = require('nx/src/tasks-runner/create-task-graph');
1928
1909
 
1929
1910
  // ../esbuild/src/build.ts
@@ -1938,13 +1919,15 @@ var _globby = require('globby');
1938
1919
  var _findworkspaceroot = require('nx/src/utils/find-workspace-root');
1939
1920
 
1940
1921
  // ../esbuild/src/base/renderer-engine.ts
1922
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
1941
1923
 
1942
1924
  var _sourcemap = require('source-map');
1943
1925
 
1944
1926
  // ../esbuild/src/utilities/output-file.ts
1927
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
1945
1928
 
1946
1929
 
1947
- var outputFile = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (filepath, data, options) => {
1930
+ var outputFile = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, async (filepath, data, options) => {
1948
1931
  await _fs2.default.promises.mkdir(path6.default.dirname(filepath), {
1949
1932
  recursive: true
1950
1933
  });
@@ -1952,12 +1935,12 @@ var outputFile = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (fil
1952
1935
  }, "outputFile");
1953
1936
 
1954
1937
  // ../esbuild/src/base/renderer-engine.ts
1955
- var parseSourceMap = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (map2) => {
1938
+ var parseSourceMap = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (map2) => {
1956
1939
  return typeof map2 === "string" ? JSON.parse(map2) : map2;
1957
1940
  }, "parseSourceMap");
1958
- var isJS = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (path7) => /\.(js|mjs|cjs)$/.test(path7), "isJS");
1959
- var isCSS = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (path7) => /\.css$/.test(path7), "isCSS");
1960
- var getSourcemapComment = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (inline, map2, filepath, isCssFile) => {
1941
+ var isJS = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (path7) => /\.(js|mjs|cjs)$/.test(path7), "isJS");
1942
+ var isCSS = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (path7) => /\.css$/.test(path7), "isCSS");
1943
+ var getSourcemapComment = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (inline, map2, filepath, isCssFile) => {
1961
1944
  if (!map2) return "";
1962
1945
  const prefix = isCssFile ? "/*" : "//";
1963
1946
  const suffix = isCssFile ? " */" : "";
@@ -1966,7 +1949,7 @@ var getSourcemapComment = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (
1966
1949
  }, "getSourcemapComment");
1967
1950
  var RendererEngine = class {
1968
1951
  static {
1969
- _chunk3GQAWCBQjs.__name.call(void 0, this, "RendererEngine");
1952
+ _chunkZH7QZ5EFjs.__name.call(void 0, this, "RendererEngine");
1970
1953
  }
1971
1954
  #renderers;
1972
1955
  #options;
@@ -2003,15 +1986,15 @@ var RendererEngine = class {
2003
1986
  if (!relativePath.startsWith("\\\\?\\")) {
2004
1987
  relativePath = relativePath.replace(/\\/g, "/");
2005
1988
  }
2006
- const meta = _optionalChain([metafile, 'optionalAccess', _83 => _83.outputs, 'access', _84 => _84[relativePath]]);
1989
+ const meta = _optionalChain([metafile, 'optionalAccess', _96 => _96.outputs, 'access', _97 => _97[relativePath]]);
2007
1990
  return {
2008
1991
  type: "chunk",
2009
1992
  path: file.path,
2010
1993
  code: file.text,
2011
- map: _optionalChain([outputFiles, 'access', _85 => _85.find, 'call', _86 => _86((f) => f.path === `${file.path}.map`), 'optionalAccess', _87 => _87.text]),
2012
- entryPoint: _optionalChain([meta, 'optionalAccess', _88 => _88.entryPoint]),
2013
- exports: _optionalChain([meta, 'optionalAccess', _89 => _89.exports]),
2014
- imports: _optionalChain([meta, 'optionalAccess', _90 => _90.imports])
1994
+ map: _optionalChain([outputFiles, 'access', _98 => _98.find, 'call', _99 => _99((f) => f.path === `${file.path}.map`), 'optionalAccess', _100 => _100.text]),
1995
+ entryPoint: _optionalChain([meta, 'optionalAccess', _101 => _101.entryPoint]),
1996
+ exports: _optionalChain([meta, 'optionalAccess', _102 => _102.exports]),
1997
+ imports: _optionalChain([meta, 'optionalAccess', _103 => _103.imports])
2015
1998
  };
2016
1999
  } else {
2017
2000
  return {
@@ -2079,6 +2062,7 @@ var RendererEngine = class {
2079
2062
  };
2080
2063
 
2081
2064
  // ../esbuild/src/clean.ts
2065
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
2082
2066
 
2083
2067
  async function cleanDirectories(name = "ESBuild", directory, config) {
2084
2068
  await _promises.rm.call(void 0, directory, {
@@ -2086,15 +2070,19 @@ async function cleanDirectories(name = "ESBuild", directory, config) {
2086
2070
  force: true
2087
2071
  });
2088
2072
  }
2089
- _chunk3GQAWCBQjs.__name.call(void 0, cleanDirectories, "cleanDirectories");
2073
+ _chunkZH7QZ5EFjs.__name.call(void 0, cleanDirectories, "cleanDirectories");
2074
+
2075
+ // ../esbuild/src/config.ts
2076
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
2090
2077
 
2091
2078
  // ../esbuild/src/plugins/esm-split-code-to-cjs.ts
2079
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
2092
2080
 
2093
- var esmSplitCodeToCjsPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options, resolvedOptions) => ({
2081
+ var esmSplitCodeToCjsPlugin = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (options, resolvedOptions) => ({
2094
2082
  name: "storm:esm-split-code-to-cjs",
2095
2083
  setup(build5) {
2096
2084
  build5.onEnd(async (result) => {
2097
- const outFiles = Object.keys(_nullishCoalesce(_optionalChain([result, 'access', _91 => _91.metafile, 'optionalAccess', _92 => _92.outputs]), () => ( {})));
2085
+ const outFiles = Object.keys(_nullishCoalesce(_optionalChain([result, 'access', _104 => _104.metafile, 'optionalAccess', _105 => _105.outputs]), () => ( {})));
2098
2086
  const jsFiles = outFiles.filter((f) => f.endsWith("js"));
2099
2087
  await esbuild.build({
2100
2088
  outdir: resolvedOptions.outdir,
@@ -2109,29 +2097,31 @@ var esmSplitCodeToCjsPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void
2109
2097
  }), "esmSplitCodeToCjsPlugin");
2110
2098
 
2111
2099
  // ../esbuild/src/plugins/fix-imports.ts
2112
- var fixImportsPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options, resolvedOptions) => ({
2100
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
2101
+ var fixImportsPlugin = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (options, resolvedOptions) => ({
2113
2102
  name: "storm:fix-imports",
2114
2103
  setup(build5) {
2115
2104
  build5.onResolve({
2116
2105
  filter: /^spdx-exceptions/
2117
2106
  }, () => {
2118
2107
  return {
2119
- path: _chunk3GQAWCBQjs.__require.resolve("spdx-exceptions")
2108
+ path: _chunkZH7QZ5EFjs.__require.resolve("spdx-exceptions")
2120
2109
  };
2121
2110
  });
2122
2111
  build5.onResolve({
2123
2112
  filter: /^spdx-license-ids/
2124
2113
  }, () => {
2125
2114
  return {
2126
- path: _chunk3GQAWCBQjs.__require.resolve("spdx-license-ids")
2115
+ path: _chunkZH7QZ5EFjs.__require.resolve("spdx-license-ids")
2127
2116
  };
2128
2117
  });
2129
2118
  }
2130
2119
  }), "fixImportsPlugin");
2131
2120
 
2132
2121
  // ../esbuild/src/plugins/native-node-module.ts
2122
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
2133
2123
 
2134
- var nativeNodeModulesPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options, resolvedOptions) => {
2124
+ var nativeNodeModulesPlugin = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (options, resolvedOptions) => {
2135
2125
  return {
2136
2126
  name: "native-node-modules",
2137
2127
  setup(build5) {
@@ -2139,7 +2129,7 @@ var nativeNodeModulesPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void
2139
2129
  filter: /\.node$/,
2140
2130
  namespace: "file"
2141
2131
  }, (args) => {
2142
- const resolvedId = _chunk3GQAWCBQjs.__require.resolve(args.path, {
2132
+ const resolvedId = _chunkZH7QZ5EFjs.__require.resolve(args.path, {
2143
2133
  paths: [
2144
2134
  args.resolveDir
2145
2135
  ]
@@ -2182,7 +2172,8 @@ var nativeNodeModulesPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void
2182
2172
  }, "nativeNodeModulesPlugin");
2183
2173
 
2184
2174
  // ../esbuild/src/plugins/node-protocol.ts
2185
- var nodeProtocolPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options, resolvedOptions) => {
2175
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
2176
+ var nodeProtocolPlugin = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (options, resolvedOptions) => {
2186
2177
  const nodeProtocol = "node:";
2187
2178
  return {
2188
2179
  name: "node-protocol-plugin",
@@ -2198,7 +2189,8 @@ var nodeProtocolPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (o
2198
2189
  }, "nodeProtocolPlugin");
2199
2190
 
2200
2191
  // ../esbuild/src/plugins/on-error.ts
2201
- var onErrorPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options, resolvedOptions) => ({
2192
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
2193
+ var onErrorPlugin = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (options, resolvedOptions) => ({
2202
2194
  name: "storm:on-error",
2203
2195
  setup(build5) {
2204
2196
  build5.onEnd((result) => {
@@ -2214,9 +2206,10 @@ ${result.errors.map((error) => error.text).join("\n")}
2214
2206
  }), "onErrorPlugin");
2215
2207
 
2216
2208
  // ../esbuild/src/plugins/resolve-paths.ts
2209
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
2217
2210
 
2218
2211
  function resolvePathsConfig(options, cwd) {
2219
- if (_optionalChain([options, 'optionalAccess', _93 => _93.compilerOptions, 'optionalAccess', _94 => _94.paths])) {
2212
+ if (_optionalChain([options, 'optionalAccess', _106 => _106.compilerOptions, 'optionalAccess', _107 => _107.paths])) {
2220
2213
  const paths = Object.entries(options.compilerOptions.paths);
2221
2214
  const resolvedPaths = paths.map(([key, paths2]) => {
2222
2215
  return [
@@ -2229,22 +2222,22 @@ function resolvePathsConfig(options, cwd) {
2229
2222
  if (options.extends) {
2230
2223
  const extendsPath = path6.default.resolve(cwd, options.extends);
2231
2224
  const extendsDir = path6.default.dirname(extendsPath);
2232
- const extendsConfig = _chunk3GQAWCBQjs.__require.call(void 0, extendsPath);
2225
+ const extendsConfig = _chunkZH7QZ5EFjs.__require.call(void 0, extendsPath);
2233
2226
  return resolvePathsConfig(extendsConfig, extendsDir);
2234
2227
  }
2235
2228
  return [];
2236
2229
  }
2237
- _chunk3GQAWCBQjs.__name.call(void 0, resolvePathsConfig, "resolvePathsConfig");
2238
- var resolvePathsPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options, resolvedOptions) => ({
2230
+ _chunkZH7QZ5EFjs.__name.call(void 0, resolvePathsConfig, "resolvePathsConfig");
2231
+ var resolvePathsPlugin = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (options, resolvedOptions) => ({
2239
2232
  name: "storm:resolve-paths",
2240
2233
  setup(build5) {
2241
- const parentTsConfig = build5.initialOptions.tsconfig ? _chunk3GQAWCBQjs.__require.call(void 0, joinPaths(resolvedOptions.config.workspaceRoot, build5.initialOptions.tsconfig)) : _chunk3GQAWCBQjs.__require.call(void 0, joinPaths(resolvedOptions.config.workspaceRoot, "tsconfig.json"));
2234
+ const parentTsConfig = build5.initialOptions.tsconfig ? _chunkZH7QZ5EFjs.__require.call(void 0, _chunk3HI6WK3Mjs.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, build5.initialOptions.tsconfig)) : _chunkZH7QZ5EFjs.__require.call(void 0, _chunk3HI6WK3Mjs.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, "tsconfig.json"));
2242
2235
  const resolvedTsPaths = resolvePathsConfig(parentTsConfig, options.projectRoot);
2243
2236
  const packagesRegex = new RegExp(`^(${Object.keys(resolvedTsPaths).join("|")})$`);
2244
2237
  build5.onResolve({
2245
2238
  filter: packagesRegex
2246
2239
  }, (args) => {
2247
- if (_optionalChain([build5, 'access', _95 => _95.initialOptions, 'access', _96 => _96.external, 'optionalAccess', _97 => _97.includes, 'call', _98 => _98(args.path)])) {
2240
+ if (_optionalChain([build5, 'access', _108 => _108.initialOptions, 'access', _109 => _109.external, 'optionalAccess', _110 => _110.includes, 'call', _111 => _111(args.path)])) {
2248
2241
  return {
2249
2242
  path: args.path,
2250
2243
  external: true
@@ -2258,11 +2251,12 @@ var resolvePathsPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (o
2258
2251
  }), "resolvePathsPlugin");
2259
2252
 
2260
2253
  // ../esbuild/src/plugins/tsc.ts
2254
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
2261
2255
  var _apiextractor = require('@microsoft/api-extractor');
2262
2256
 
2263
2257
 
2264
2258
  function bundleTypeDefinitions(filename, outfile, externals, options) {
2265
- const { dependencies, peerDependencies, devDependencies } = _chunk3GQAWCBQjs.__require.call(void 0, joinPaths(options.projectRoot, "package.json"));
2259
+ const { dependencies, peerDependencies, devDependencies } = _chunkZH7QZ5EFjs.__require.call(void 0, _chunk3HI6WK3Mjs.joinPaths.call(void 0, options.projectRoot, "package.json"));
2266
2260
  const dependenciesKeys = Object.keys(_nullishCoalesce(dependencies, () => ( {}))).flatMap((p) => [
2267
2261
  p,
2268
2262
  getTypeDependencyPackageName(p)
@@ -2298,13 +2292,13 @@ function bundleTypeDefinitions(filename, outfile, externals, options) {
2298
2292
  },
2299
2293
  dtsRollup: {
2300
2294
  enabled: true,
2301
- untrimmedFilePath: joinPaths(options.outdir, `${outfile}.d.ts`)
2295
+ untrimmedFilePath: _chunk3HI6WK3Mjs.joinPaths.call(void 0, options.outdir, `${outfile}.d.ts`)
2302
2296
  },
2303
2297
  tsdocMetadata: {
2304
2298
  enabled: false
2305
2299
  }
2306
2300
  },
2307
- packageJsonFullPath: joinPaths(options.projectRoot, "package.json"),
2301
+ packageJsonFullPath: _chunk3HI6WK3Mjs.joinPaths.call(void 0, options.projectRoot, "package.json"),
2308
2302
  configObjectFullPath: void 0
2309
2303
  });
2310
2304
  const extractorResult = _apiextractor.Extractor.invoke(extractorConfig, {
@@ -2316,8 +2310,8 @@ function bundleTypeDefinitions(filename, outfile, externals, options) {
2316
2310
  throw new Error("API Extractor completed with errors");
2317
2311
  }
2318
2312
  }
2319
- _chunk3GQAWCBQjs.__name.call(void 0, bundleTypeDefinitions, "bundleTypeDefinitions");
2320
- var tscPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options, resolvedOptions) => ({
2313
+ _chunkZH7QZ5EFjs.__name.call(void 0, bundleTypeDefinitions, "bundleTypeDefinitions");
2314
+ var tscPlugin = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (options, resolvedOptions) => ({
2321
2315
  name: "storm:tsc",
2322
2316
  setup(build5) {
2323
2317
  if (options.emitTypes === false) {
@@ -2331,12 +2325,12 @@ var tscPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options, r
2331
2325
  const sourceRoot = resolvedOptions.sourceRoot.replaceAll(resolvedOptions.projectRoot, "");
2332
2326
  const typeOutDir = resolvedOptions.outdir;
2333
2327
  const entryPoint = resolvedOptions.entryPoints[0].replace(sourceRoot, "").replace(/\.ts$/, "");
2334
- const bundlePath = joinPaths(resolvedOptions.outdir, entryPoint);
2328
+ const bundlePath = _chunk3HI6WK3Mjs.joinPaths.call(void 0, resolvedOptions.outdir, entryPoint);
2335
2329
  let dtsPath;
2336
- if (_fs.existsSync.call(void 0, joinPaths(resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint}.d.ts`))) {
2337
- dtsPath = joinPaths(resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint}.d.ts`);
2338
- } else if (_fs.existsSync.call(void 0, joinPaths(resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint.replace(/^src\//, "")}.d.ts`))) {
2339
- dtsPath = joinPaths(resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint.replace(/^src\//, "")}.d.ts`);
2330
+ if (_fs.existsSync.call(void 0, _chunk3HI6WK3Mjs.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint}.d.ts`))) {
2331
+ dtsPath = _chunk3HI6WK3Mjs.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint}.d.ts`);
2332
+ } else if (_fs.existsSync.call(void 0, _chunk3HI6WK3Mjs.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint.replace(/^src\//, "")}.d.ts`))) {
2333
+ dtsPath = _chunk3HI6WK3Mjs.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint.replace(/^src\//, "")}.d.ts`);
2340
2334
  }
2341
2335
  const ext = resolvedOptions.outExtension.dts || resolvedOptions.format === "esm" ? "d.mts" : "d.ts";
2342
2336
  if (process.env.WATCH !== "true" && process.env.DEV !== "true") {
@@ -2353,17 +2347,17 @@ var tscPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options, r
2353
2347
  function getTypeDependencyPackageName(npmPackage) {
2354
2348
  if (npmPackage.startsWith("@")) {
2355
2349
  const [scope, name] = npmPackage.split("/");
2356
- return `@types/${_optionalChain([scope, 'optionalAccess', _99 => _99.slice, 'call', _100 => _100(1)])}__${name}`;
2350
+ return `@types/${_optionalChain([scope, 'optionalAccess', _112 => _112.slice, 'call', _113 => _113(1)])}__${name}`;
2357
2351
  }
2358
2352
  return `@types/${npmPackage}`;
2359
2353
  }
2360
- _chunk3GQAWCBQjs.__name.call(void 0, getTypeDependencyPackageName, "getTypeDependencyPackageName");
2354
+ _chunkZH7QZ5EFjs.__name.call(void 0, getTypeDependencyPackageName, "getTypeDependencyPackageName");
2361
2355
 
2362
2356
  // ../esbuild/src/config.ts
2363
- var getOutputExtensionMap = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options, pkgType) => {
2357
+ var getOutputExtensionMap = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (options, pkgType) => {
2364
2358
  return options.outExtension ? options.outExtension(options.format, pkgType) : getOutExtension(options.format, pkgType);
2365
2359
  }, "getOutputExtensionMap");
2366
- var getDefaultBuildPlugins = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options, resolvedOptions) => [
2360
+ var getDefaultBuildPlugins = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (options, resolvedOptions) => [
2367
2361
  nodeProtocolPlugin(options, resolvedOptions),
2368
2362
  resolvePathsPlugin(options, resolvedOptions),
2369
2363
  fixImportsPlugin(options, resolvedOptions),
@@ -2413,6 +2407,7 @@ var DEFAULT_BUILD_OPTIONS = {
2413
2407
  };
2414
2408
 
2415
2409
  // ../esbuild/src/plugins/deps-check.ts
2410
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
2416
2411
 
2417
2412
 
2418
2413
  var unusedIgnore = [
@@ -2444,11 +2439,11 @@ var missingIgnore = [
2444
2439
  "@prisma/client",
2445
2440
  "ts-toolbelt"
2446
2441
  ];
2447
- var depsCheckPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (bundle) => ({
2442
+ var depsCheckPlugin = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (bundle) => ({
2448
2443
  name: "storm:deps-check",
2449
2444
  setup(build5) {
2450
2445
  const pkgJsonPath = path6.default.join(process.cwd(), "package.json");
2451
- const pkgContents = _chunk3GQAWCBQjs.__require.call(void 0, pkgJsonPath);
2446
+ const pkgContents = _chunkZH7QZ5EFjs.__require.call(void 0, pkgJsonPath);
2452
2447
  const regDependencies = Object.keys(_nullishCoalesce(pkgContents["dependencies"], () => ( {})));
2453
2448
  const devDependencies = Object.keys(_nullishCoalesce(pkgContents["devDependencies"], () => ( {})));
2454
2449
  const peerDependencies = Object.keys(_nullishCoalesce(pkgContents["peerDependencies"], () => ( {})));
@@ -2503,6 +2498,7 @@ ${JSON.stringify(filteredMissingDeps)}
2503
2498
  }), "depsCheckPlugin");
2504
2499
 
2505
2500
  // ../esbuild/src/renderers/shebang.ts
2501
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
2506
2502
  var shebangRenderer = {
2507
2503
  name: "shebang",
2508
2504
  renderChunk(_, __, info) {
@@ -2513,6 +2509,7 @@ var shebangRenderer = {
2513
2509
  };
2514
2510
 
2515
2511
  // ../esbuild/src/utilities/helpers.ts
2512
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
2516
2513
  function handleSync(fn) {
2517
2514
  try {
2518
2515
  return fn();
@@ -2520,7 +2517,7 @@ function handleSync(fn) {
2520
2517
  return error_;
2521
2518
  }
2522
2519
  }
2523
- _chunk3GQAWCBQjs.__name.call(void 0, handleSync, "handleSync");
2520
+ _chunkZH7QZ5EFjs.__name.call(void 0, handleSync, "handleSync");
2524
2521
  async function handleAsync(fn) {
2525
2522
  try {
2526
2523
  return await fn();
@@ -2528,7 +2525,7 @@ async function handleAsync(fn) {
2528
2525
  return error_;
2529
2526
  }
2530
2527
  }
2531
- _chunk3GQAWCBQjs.__name.call(void 0, handleAsync, "handleAsync");
2528
+ _chunkZH7QZ5EFjs.__name.call(void 0, handleAsync, "handleAsync");
2532
2529
  var handle = handleSync;
2533
2530
  handle.async = handleAsync;
2534
2531
  var skip = Symbol("skip");
@@ -2542,7 +2539,7 @@ function transduceSync(list, transformer) {
2542
2539
  }
2543
2540
  return transduced;
2544
2541
  }
2545
- _chunk3GQAWCBQjs.__name.call(void 0, transduceSync, "transduceSync");
2542
+ _chunkZH7QZ5EFjs.__name.call(void 0, transduceSync, "transduceSync");
2546
2543
  async function transduceAsync(list, transformer) {
2547
2544
  const transduced = [];
2548
2545
  await Promise.all(list.entries().map(async ([i, element_]) => {
@@ -2553,34 +2550,34 @@ async function transduceAsync(list, transformer) {
2553
2550
  }));
2554
2551
  return transduced;
2555
2552
  }
2556
- _chunk3GQAWCBQjs.__name.call(void 0, transduceAsync, "transduceAsync");
2553
+ _chunkZH7QZ5EFjs.__name.call(void 0, transduceAsync, "transduceAsync");
2557
2554
  var transduce = transduceSync;
2558
2555
  transduce.async = transduceAsync;
2559
2556
  function pipeSync(fn, ...fns) {
2560
2557
  return (...args) => {
2561
2558
  let result = fn(...args);
2562
2559
  for (let i = 0; result !== skip && i < fns.length; ++i) {
2563
- result = _optionalChain([fns, 'access', _101 => _101[i], 'optionalCall', _102 => _102(result)]);
2560
+ result = _optionalChain([fns, 'access', _114 => _114[i], 'optionalCall', _115 => _115(result)]);
2564
2561
  }
2565
2562
  return result;
2566
2563
  };
2567
2564
  }
2568
- _chunk3GQAWCBQjs.__name.call(void 0, pipeSync, "pipeSync");
2565
+ _chunkZH7QZ5EFjs.__name.call(void 0, pipeSync, "pipeSync");
2569
2566
  function pipeAsync(fn, ...fns) {
2570
2567
  return async (...args) => {
2571
2568
  let result = await fn(...args);
2572
2569
  for (let i = 0; result !== skip && i < fns.length; ++i) {
2573
- result = await _optionalChain([fns, 'access', _103 => _103[i], 'optionalCall', _104 => _104(result)]);
2570
+ result = await _optionalChain([fns, 'access', _116 => _116[i], 'optionalCall', _117 => _117(result)]);
2574
2571
  }
2575
2572
  return result;
2576
2573
  };
2577
2574
  }
2578
- _chunk3GQAWCBQjs.__name.call(void 0, pipeAsync, "pipeAsync");
2575
+ _chunkZH7QZ5EFjs.__name.call(void 0, pipeAsync, "pipeAsync");
2579
2576
  var pipe = pipeSync;
2580
2577
  pipe.async = pipeAsync;
2581
2578
 
2582
2579
  // ../esbuild/src/build.ts
2583
- var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (userOptions) => {
2580
+ var resolveOptions = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, async (userOptions) => {
2584
2581
  const projectRoot = userOptions.projectRoot;
2585
2582
  const workspaceRoot3 = _findworkspaceroot.findWorkspaceRoot.call(void 0, projectRoot);
2586
2583
  if (!workspaceRoot3) {
@@ -2592,7 +2589,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
2592
2589
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
2593
2590
  exitOnError: true
2594
2591
  });
2595
- const projectJsonPath = joinPaths(workspaceRoot3.dir, projectRoot, "project.json");
2592
+ const projectJsonPath = _chunk3HI6WK3Mjs.joinPaths.call(void 0, workspaceRoot3.dir, projectRoot, "project.json");
2596
2593
  if (!_fs.existsSync.call(void 0, projectJsonPath)) {
2597
2594
  throw new Error("Cannot find project.json configuration");
2598
2595
  }
@@ -2600,13 +2597,13 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
2600
2597
  const projectJson = JSON.parse(projectJsonFile);
2601
2598
  const projectName = projectJson.name;
2602
2599
  const projectConfigurations = _devkit.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
2603
- if (!_optionalChain([projectConfigurations, 'optionalAccess', _105 => _105.projects, 'optionalAccess', _106 => _106[projectName]])) {
2600
+ if (!_optionalChain([projectConfigurations, 'optionalAccess', _118 => _118.projects, 'optionalAccess', _119 => _119[projectName]])) {
2604
2601
  throw new Error("The Build process failed because the project does not have a valid configuration in the project.json file. Check if the file exists in the root of the project.");
2605
2602
  }
2606
2603
  const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
2607
2604
  options.name ??= `${projectName}-${options.format}`;
2608
2605
  options.target ??= DEFAULT_TARGET;
2609
- const packageJsonPath = joinPaths(workspaceRoot3.dir, options.projectRoot, "package.json");
2606
+ const packageJsonPath = _chunk3HI6WK3Mjs.joinPaths.call(void 0, workspaceRoot3.dir, options.projectRoot, "package.json");
2610
2607
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
2611
2608
  throw new Error("Cannot find package.json configuration");
2612
2609
  }
@@ -2631,18 +2628,18 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
2631
2628
  ".node"
2632
2629
  ],
2633
2630
  ...userOptions,
2634
- tsconfig: joinPaths(projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
2631
+ tsconfig: _chunk3HI6WK3Mjs.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
2635
2632
  format: options.format || "cjs",
2636
2633
  entryPoints: await getEntryPoints(config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
2637
2634
  "./src/index.ts"
2638
2635
  ], userOptions.emitOnAll),
2639
- outdir: userOptions.outputPath || joinPaths("dist", projectRoot),
2636
+ outdir: userOptions.outputPath || _chunk3HI6WK3Mjs.joinPaths.call(void 0, "dist", projectRoot),
2640
2637
  plugins: [],
2641
2638
  name: userOptions.name || projectName,
2642
2639
  projectConfigurations,
2643
2640
  projectName,
2644
2641
  projectGraph,
2645
- sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot || joinPaths(projectRoot, "src"),
2642
+ sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot || _chunk3HI6WK3Mjs.joinPaths.call(void 0, projectRoot, "src"),
2646
2643
  minify: userOptions.minify || !userOptions.debug,
2647
2644
  verbose: userOptions.verbose || isVerbose() || userOptions.debug === true,
2648
2645
  includeSrc: userOptions.includeSrc === true,
@@ -2680,8 +2677,8 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
2680
2677
  }, {})
2681
2678
  },
2682
2679
  inject: [
2683
- options.format === "cjs" && options.injectShims ? joinPaths(__dirname, "../assets/cjs_shims.js") : "",
2684
- options.format === "esm" && options.injectShims && options.platform === "node" ? joinPaths(__dirname, "../assets/esm_shims.js") : "",
2680
+ options.format === "cjs" && options.injectShims ? _chunk3HI6WK3Mjs.joinPaths.call(void 0, __dirname, "../assets/cjs_shims.js") : "",
2681
+ options.format === "esm" && options.injectShims && options.platform === "node" ? _chunk3HI6WK3Mjs.joinPaths.call(void 0, __dirname, "../assets/esm_shims.js") : "",
2685
2682
  ..._nullishCoalesce(options.inject, () => ( []))
2686
2683
  ].filter(Boolean)
2687
2684
  };
@@ -2690,14 +2687,14 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
2690
2687
  return result;
2691
2688
  }, "resolveOptions");
2692
2689
  async function generatePackageJson(context2) {
2693
- if (context2.options.generatePackageJson !== false && _fs.existsSync.call(void 0, joinPaths(context2.options.projectRoot, "package.json"))) {
2690
+ if (context2.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunk3HI6WK3Mjs.joinPaths.call(void 0, context2.options.projectRoot, "package.json"))) {
2694
2691
  writeDebug(" \u270D\uFE0F Writing package.json file", context2.options.config);
2695
2692
  const stopwatch = getStopwatch("Write package.json file");
2696
- const packageJsonPath = joinPaths(context2.options.projectRoot, "project.json");
2693
+ const packageJsonPath = _chunk3HI6WK3Mjs.joinPaths.call(void 0, context2.options.projectRoot, "project.json");
2697
2694
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
2698
2695
  throw new Error("Cannot find package.json configuration");
2699
2696
  }
2700
- const packageJsonFile = await _promises2.default.readFile(joinPaths(context2.options.config.workspaceRoot, context2.options.projectRoot, "package.json"), "utf8");
2697
+ const packageJsonFile = await _promises2.default.readFile(_chunk3HI6WK3Mjs.joinPaths.call(void 0, context2.options.config.workspaceRoot, context2.options.projectRoot, "package.json"), "utf8");
2701
2698
  let packageJson = JSON.parse(packageJsonFile);
2702
2699
  if (!packageJson) {
2703
2700
  throw new Error("Cannot find package.json configuration file");
@@ -2736,19 +2733,19 @@ async function generatePackageJson(context2) {
2736
2733
  }
2737
2734
  return ret;
2738
2735
  }, packageJson.exports);
2739
- await _devkit.writeJsonFile.call(void 0, joinPaths(context2.options.outdir, "package.json"), packageJson);
2736
+ await _devkit.writeJsonFile.call(void 0, _chunk3HI6WK3Mjs.joinPaths.call(void 0, context2.options.outdir, "package.json"), packageJson);
2740
2737
  stopwatch();
2741
2738
  }
2742
2739
  return context2;
2743
2740
  }
2744
- _chunk3GQAWCBQjs.__name.call(void 0, generatePackageJson, "generatePackageJson");
2741
+ _chunkZH7QZ5EFjs.__name.call(void 0, generatePackageJson, "generatePackageJson");
2745
2742
  async function createOptions(options) {
2746
2743
  return _estoolkit.flatten.call(void 0, await Promise.all(_compat.map.call(void 0, options, (opt) => [
2747
2744
  // we defer it so that we don't trigger glob immediately
2748
2745
  () => resolveOptions(opt)
2749
2746
  ])));
2750
2747
  }
2751
- _chunk3GQAWCBQjs.__name.call(void 0, createOptions, "createOptions");
2748
+ _chunkZH7QZ5EFjs.__name.call(void 0, createOptions, "createOptions");
2752
2749
  async function generateContext(getOptions) {
2753
2750
  const options = await getOptions();
2754
2751
  const rendererEngine = new RendererEngine([
@@ -2760,7 +2757,7 @@ async function generateContext(getOptions) {
2760
2757
  rendererEngine
2761
2758
  };
2762
2759
  }
2763
- _chunk3GQAWCBQjs.__name.call(void 0, generateContext, "generateContext");
2760
+ _chunkZH7QZ5EFjs.__name.call(void 0, generateContext, "generateContext");
2764
2761
  async function executeEsBuild(context2) {
2765
2762
  writeDebug(` \u{1F680} Running ${context2.options.name} build`, context2.options.config);
2766
2763
  const stopwatch = getStopwatch(`${context2.options.name} build`);
@@ -2776,9 +2773,9 @@ async function executeEsBuild(context2) {
2776
2773
  stopwatch();
2777
2774
  return context2;
2778
2775
  }
2779
- _chunk3GQAWCBQjs.__name.call(void 0, executeEsBuild, "executeEsBuild");
2776
+ _chunkZH7QZ5EFjs.__name.call(void 0, executeEsBuild, "executeEsBuild");
2780
2777
  async function copyBuildAssets(context2) {
2781
- if (_optionalChain([context2, 'access', _107 => _107.result, 'optionalAccess', _108 => _108.errors, 'access', _109 => _109.length]) === 0) {
2778
+ if (_optionalChain([context2, 'access', _120 => _120.result, 'optionalAccess', _121 => _121.errors, 'access', _122 => _122.length]) === 0) {
2782
2779
  writeDebug(` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
2783
2780
  const stopwatch = getStopwatch(`${context2.options.name} asset copy`);
2784
2781
  await copyAssets(context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.sourceRoot, true, false);
@@ -2786,16 +2783,16 @@ async function copyBuildAssets(context2) {
2786
2783
  }
2787
2784
  return context2;
2788
2785
  }
2789
- _chunk3GQAWCBQjs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
2786
+ _chunkZH7QZ5EFjs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
2790
2787
  async function reportResults(context2) {
2791
- if (_optionalChain([context2, 'access', _110 => _110.result, 'optionalAccess', _111 => _111.errors, 'access', _112 => _112.length]) === 0) {
2788
+ if (_optionalChain([context2, 'access', _123 => _123.result, 'optionalAccess', _124 => _124.errors, 'access', _125 => _125.length]) === 0) {
2792
2789
  if (context2.result.warnings.length > 0) {
2793
2790
  writeWarning(` \u{1F6A7} The following warnings occurred during the build: ${context2.result.warnings.map((warning) => warning.text).join("\n")}`, context2.options.config);
2794
2791
  }
2795
2792
  writeSuccess(` \u{1F4E6} The ${context2.options.name} build completed successfully`, context2.options.config);
2796
2793
  }
2797
2794
  }
2798
- _chunk3GQAWCBQjs.__name.call(void 0, reportResults, "reportResults");
2795
+ _chunkZH7QZ5EFjs.__name.call(void 0, reportResults, "reportResults");
2799
2796
  async function dependencyCheck(options) {
2800
2797
  if (process.env.DEV === "true") {
2801
2798
  return void 0;
@@ -2825,7 +2822,7 @@ async function dependencyCheck(options) {
2825
2822
  });
2826
2823
  return void 0;
2827
2824
  }
2828
- _chunk3GQAWCBQjs.__name.call(void 0, dependencyCheck, "dependencyCheck");
2825
+ _chunkZH7QZ5EFjs.__name.call(void 0, dependencyCheck, "dependencyCheck");
2829
2826
  async function cleanOutputPath(context2) {
2830
2827
  if (context2.options.clean !== false && context2.options.outdir) {
2831
2828
  writeDebug(` \u{1F9F9} Cleaning ${context2.options.name} output path: ${context2.options.outdir}`, context2.options.config);
@@ -2835,7 +2832,7 @@ async function cleanOutputPath(context2) {
2835
2832
  }
2836
2833
  return context2;
2837
2834
  }
2838
- _chunk3GQAWCBQjs.__name.call(void 0, cleanOutputPath, "cleanOutputPath");
2835
+ _chunkZH7QZ5EFjs.__name.call(void 0, cleanOutputPath, "cleanOutputPath");
2839
2836
  async function build3(options) {
2840
2837
  writeDebug(` \u26A1 Executing Storm ESBuild pipeline`);
2841
2838
  const stopwatch = getStopwatch("ESBuild pipeline");
@@ -2856,8 +2853,8 @@ async function build3(options) {
2856
2853
  stopwatch();
2857
2854
  }
2858
2855
  }
2859
- _chunk3GQAWCBQjs.__name.call(void 0, build3, "build");
2860
- var watch = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (context2, options) => {
2856
+ _chunkZH7QZ5EFjs.__name.call(void 0, build3, "build");
2857
+ var watch = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (context2, options) => {
2861
2858
  if (!options.watch) {
2862
2859
  return context2;
2863
2860
  }
@@ -2889,14 +2886,14 @@ var watch = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (context2, opti
2889
2886
  // ../workspace-tools/src/executors/esbuild/executor.ts
2890
2887
  async function esbuildExecutorFn(options, context2, config) {
2891
2888
  writeInfo("\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
2892
- if (!_optionalChain([context2, 'access', _113 => _113.projectsConfigurations, 'optionalAccess', _114 => _114.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName] || !_optionalChain([context2, 'access', _115 => _115.projectsConfigurations, 'access', _116 => _116.projects, 'access', _117 => _117[context2.projectName], 'optionalAccess', _118 => _118.root])) {
2889
+ if (!_optionalChain([context2, 'access', _126 => _126.projectsConfigurations, 'optionalAccess', _127 => _127.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName] || !_optionalChain([context2, 'access', _128 => _128.projectsConfigurations, 'access', _129 => _129.projects, 'access', _130 => _130[context2.projectName], 'optionalAccess', _131 => _131.root])) {
2893
2890
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
2894
2891
  }
2895
2892
  await build3({
2896
2893
  ...options,
2897
- projectRoot: _optionalChain([context2, 'access', _119 => _119.projectsConfigurations, 'access', _120 => _120.projects, 'optionalAccess', _121 => _121[context2.projectName], 'access', _122 => _122.root]),
2894
+ projectRoot: _optionalChain([context2, 'access', _132 => _132.projectsConfigurations, 'access', _133 => _133.projects, 'optionalAccess', _134 => _134[context2.projectName], 'access', _135 => _135.root]),
2898
2895
  projectName: context2.projectName,
2899
- sourceRoot: _optionalChain([context2, 'access', _123 => _123.projectsConfigurations, 'access', _124 => _124.projects, 'optionalAccess', _125 => _125[context2.projectName], 'optionalAccess', _126 => _126.sourceRoot]),
2896
+ sourceRoot: _optionalChain([context2, 'access', _136 => _136.projectsConfigurations, 'access', _137 => _137.projects, 'optionalAccess', _138 => _138[context2.projectName], 'optionalAccess', _139 => _139.sourceRoot]),
2900
2897
  format: options.format,
2901
2898
  platform: options.format
2902
2899
  });
@@ -2904,11 +2901,11 @@ async function esbuildExecutorFn(options, context2, config) {
2904
2901
  success: true
2905
2902
  };
2906
2903
  }
2907
- _chunk3GQAWCBQjs.__name.call(void 0, esbuildExecutorFn, "esbuildExecutorFn");
2904
+ _chunkZH7QZ5EFjs.__name.call(void 0, esbuildExecutorFn, "esbuildExecutorFn");
2908
2905
  var executor_default6 = withRunExecutor("Storm ESBuild build", esbuildExecutorFn, {
2909
2906
  skipReadingConfig: false,
2910
2907
  hooks: {
2911
- applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (options, config) => {
2908
+ applyDefaultOptions: /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, async (options, config) => {
2912
2909
  options.entry ??= [
2913
2910
  "src/index.ts"
2914
2911
  ];
@@ -2920,10 +2917,12 @@ var executor_default6 = withRunExecutor("Storm ESBuild build", esbuildExecutorFn
2920
2917
  });
2921
2918
 
2922
2919
  // ../workspace-tools/src/executors/npm-publish/executor.ts
2920
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
2923
2921
 
2924
2922
 
2925
2923
 
2926
2924
  // ../workspace-tools/src/utils/pnpm-deps-update.ts
2925
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
2927
2926
 
2928
2927
 
2929
2928
  var _prettier = require('prettier');
@@ -2933,13 +2932,14 @@ var _readyamlfile = require('read-yaml-file'); var _readyamlfile2 = _interopRequ
2933
2932
  var LARGE_BUFFER3 = 1024 * 1e6;
2934
2933
 
2935
2934
  // ../workspace-tools/src/executors/size-limit/executor.ts
2935
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
2936
2936
 
2937
2937
  var _esbuild2 = require('@size-limit/esbuild'); var _esbuild3 = _interopRequireDefault(_esbuild2);
2938
2938
  var _esbuildwhy = require('@size-limit/esbuild-why'); var _esbuildwhy2 = _interopRequireDefault(_esbuildwhy);
2939
2939
  var _file = require('@size-limit/file'); var _file2 = _interopRequireDefault(_file);
2940
2940
  var _sizelimit = require('size-limit'); var _sizelimit2 = _interopRequireDefault(_sizelimit);
2941
2941
  async function sizeLimitExecutorFn(options, context2, config) {
2942
- if (!_optionalChain([context2, 'optionalAccess', _127 => _127.projectName]) || !_optionalChain([context2, 'access', _128 => _128.projectsConfigurations, 'optionalAccess', _129 => _129.projects]) || !context2.projectsConfigurations.projects[context2.projectName]) {
2942
+ if (!_optionalChain([context2, 'optionalAccess', _140 => _140.projectName]) || !_optionalChain([context2, 'access', _141 => _141.projectsConfigurations, 'optionalAccess', _142 => _142.projects]) || !context2.projectsConfigurations.projects[context2.projectName]) {
2943
2943
  throw new Error("The Size-Limit process failed because the context is not valid. Please run this command from a workspace.");
2944
2944
  }
2945
2945
  writeInfo(`\u{1F4CF} Running Size-Limit on ${context2.projectName}`, config);
@@ -2948,7 +2948,7 @@ async function sizeLimitExecutorFn(options, context2, config) {
2948
2948
  _esbuild3.default,
2949
2949
  _esbuildwhy2.default
2950
2950
  ], {
2951
- checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context2, 'access', _130 => _130.projectsConfigurations, 'access', _131 => _131.projects, 'access', _132 => _132[context2.projectName], 'optionalAccess', _133 => _133.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0, _nullishCoalesce(_optionalChain([context2, 'access', _134 => _134.projectsConfigurations, 'access', _135 => _135.projects, 'access', _136 => _136[context2.projectName], 'optionalAccess', _137 => _137.root]), () => ( "./")), "src")))
2951
+ checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context2, 'access', _143 => _143.projectsConfigurations, 'access', _144 => _144.projects, 'access', _145 => _145[context2.projectName], 'optionalAccess', _146 => _146.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0, _nullishCoalesce(_optionalChain([context2, 'access', _147 => _147.projectsConfigurations, 'access', _148 => _148.projects, 'access', _149 => _149[context2.projectName], 'optionalAccess', _150 => _150.root]), () => ( "./")), "src")))
2952
2952
  }).then((result) => {
2953
2953
  writeInfo(`\u{1F4CF} ${context2.projectName} Size-Limit result: ${JSON.stringify(result)}`, config);
2954
2954
  });
@@ -2956,17 +2956,21 @@ async function sizeLimitExecutorFn(options, context2, config) {
2956
2956
  success: true
2957
2957
  };
2958
2958
  }
2959
- _chunk3GQAWCBQjs.__name.call(void 0, sizeLimitExecutorFn, "sizeLimitExecutorFn");
2959
+ _chunkZH7QZ5EFjs.__name.call(void 0, sizeLimitExecutorFn, "sizeLimitExecutorFn");
2960
2960
  var executor_default7 = withRunExecutor("Size-Limit Performance Test Executor", sizeLimitExecutorFn, {
2961
2961
  skipReadingConfig: false,
2962
2962
  hooks: {
2963
- applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
2963
+ applyDefaultOptions: /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (options) => {
2964
2964
  return options;
2965
2965
  }, "applyDefaultOptions")
2966
2966
  }
2967
2967
  });
2968
2968
 
2969
+ // ../workspace-tools/src/executors/tsdown/executor.ts
2970
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
2971
+
2969
2972
  // ../tsdown/src/build.ts
2973
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
2970
2974
 
2971
2975
 
2972
2976
 
@@ -2975,6 +2979,7 @@ var executor_default7 = withRunExecutor("Size-Limit Performance Test Executor",
2975
2979
  var _tsdown = require('tsdown');
2976
2980
 
2977
2981
  // ../tsdown/src/clean.ts
2982
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
2978
2983
 
2979
2984
  async function cleanDirectories2(name = "TSDown", directory, config) {
2980
2985
  await _promises.rm.call(void 0, directory, {
@@ -2982,9 +2987,10 @@ async function cleanDirectories2(name = "TSDown", directory, config) {
2982
2987
  force: true
2983
2988
  });
2984
2989
  }
2985
- _chunk3GQAWCBQjs.__name.call(void 0, cleanDirectories2, "cleanDirectories");
2990
+ _chunkZH7QZ5EFjs.__name.call(void 0, cleanDirectories2, "cleanDirectories");
2986
2991
 
2987
2992
  // ../tsdown/src/config.ts
2993
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
2988
2994
  var DEFAULT_BUILD_OPTIONS2 = {
2989
2995
  platform: "node",
2990
2996
  target: "node22",
@@ -3007,7 +3013,7 @@ var DEFAULT_BUILD_OPTIONS2 = {
3007
3013
  };
3008
3014
 
3009
3015
  // ../tsdown/src/build.ts
3010
- var resolveOptions2 = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (userOptions) => {
3016
+ var resolveOptions2 = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, async (userOptions) => {
3011
3017
  const projectRoot = userOptions.projectRoot;
3012
3018
  const workspaceRoot3 = _findworkspaceroot.findWorkspaceRoot.call(void 0, projectRoot);
3013
3019
  if (!workspaceRoot3) {
@@ -3019,7 +3025,7 @@ var resolveOptions2 = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
3019
3025
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
3020
3026
  exitOnError: true
3021
3027
  });
3022
- const projectJsonPath = joinPaths(workspaceRoot3.dir, projectRoot, "project.json");
3028
+ const projectJsonPath = _chunk3HI6WK3Mjs.joinPaths.call(void 0, workspaceRoot3.dir, projectRoot, "project.json");
3023
3029
  if (!_fs.existsSync.call(void 0, projectJsonPath)) {
3024
3030
  throw new Error("Cannot find project.json configuration");
3025
3031
  }
@@ -3027,13 +3033,13 @@ var resolveOptions2 = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
3027
3033
  const projectJson = JSON.parse(projectJsonFile);
3028
3034
  const projectName = projectJson.name;
3029
3035
  const projectConfigurations = _devkit.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
3030
- if (!_optionalChain([projectConfigurations, 'optionalAccess', _138 => _138.projects, 'optionalAccess', _139 => _139[projectName]])) {
3036
+ if (!_optionalChain([projectConfigurations, 'optionalAccess', _151 => _151.projects, 'optionalAccess', _152 => _152[projectName]])) {
3031
3037
  throw new Error("The Build process failed because the project does not have a valid configuration in the project.json file. Check if the file exists in the root of the project.");
3032
3038
  }
3033
3039
  const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS2);
3034
3040
  options.name ??= `${projectName}-${options.format}`;
3035
3041
  options.target ??= DEFAULT_TARGET;
3036
- const packageJsonPath = joinPaths(workspaceRoot3.dir, options.projectRoot, "package.json");
3042
+ const packageJsonPath = _chunk3HI6WK3Mjs.joinPaths.call(void 0, workspaceRoot3.dir, options.projectRoot, "package.json");
3037
3043
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
3038
3044
  throw new Error("Cannot find package.json configuration");
3039
3045
  }
@@ -3042,18 +3048,18 @@ var resolveOptions2 = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
3042
3048
  ...options,
3043
3049
  config,
3044
3050
  ...userOptions,
3045
- tsconfig: joinPaths(projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
3051
+ tsconfig: _chunk3HI6WK3Mjs.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
3046
3052
  format: options.format || "cjs",
3047
3053
  entryPoints: await getEntryPoints(config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
3048
3054
  "./src/index.ts"
3049
3055
  ], userOptions.emitOnAll),
3050
- outdir: userOptions.outputPath || joinPaths("dist", projectRoot),
3056
+ outdir: userOptions.outputPath || _chunk3HI6WK3Mjs.joinPaths.call(void 0, "dist", projectRoot),
3051
3057
  plugins: [],
3052
3058
  name: userOptions.name || projectName,
3053
3059
  projectConfigurations,
3054
3060
  projectName,
3055
3061
  projectGraph,
3056
- sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot || joinPaths(projectRoot, "src"),
3062
+ sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot || _chunk3HI6WK3Mjs.joinPaths.call(void 0, projectRoot, "src"),
3057
3063
  minify: userOptions.minify || !userOptions.debug,
3058
3064
  verbose: userOptions.verbose || isVerbose() || userOptions.debug === true,
3059
3065
  includeSrc: userOptions.includeSrc === true,
@@ -3089,14 +3095,14 @@ var resolveOptions2 = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
3089
3095
  return result;
3090
3096
  }, "resolveOptions");
3091
3097
  async function generatePackageJson2(options) {
3092
- if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, joinPaths(options.projectRoot, "package.json"))) {
3098
+ if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunk3HI6WK3Mjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
3093
3099
  writeDebug(" \u270D\uFE0F Writing package.json file", options.config);
3094
3100
  const stopwatch = getStopwatch("Write package.json file");
3095
- const packageJsonPath = joinPaths(options.projectRoot, "project.json");
3101
+ const packageJsonPath = _chunk3HI6WK3Mjs.joinPaths.call(void 0, options.projectRoot, "project.json");
3096
3102
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
3097
3103
  throw new Error("Cannot find package.json configuration");
3098
3104
  }
3099
- const packageJsonFile = await _promises2.default.readFile(joinPaths(options.config.workspaceRoot, options.projectRoot, "package.json"), "utf8");
3105
+ const packageJsonFile = await _promises2.default.readFile(_chunk3HI6WK3Mjs.joinPaths.call(void 0, options.config.workspaceRoot, options.projectRoot, "package.json"), "utf8");
3100
3106
  if (!packageJsonFile) {
3101
3107
  throw new Error("Cannot find package.json configuration file");
3102
3108
  }
@@ -3135,12 +3141,12 @@ async function generatePackageJson2(options) {
3135
3141
  }
3136
3142
  return ret;
3137
3143
  }, packageJson.exports);
3138
- await _devkit.writeJsonFile.call(void 0, joinPaths(options.outdir, "package.json"), packageJson);
3144
+ await _devkit.writeJsonFile.call(void 0, _chunk3HI6WK3Mjs.joinPaths.call(void 0, options.outdir, "package.json"), packageJson);
3139
3145
  stopwatch();
3140
3146
  }
3141
3147
  return options;
3142
3148
  }
3143
- _chunk3GQAWCBQjs.__name.call(void 0, generatePackageJson2, "generatePackageJson");
3149
+ _chunkZH7QZ5EFjs.__name.call(void 0, generatePackageJson2, "generatePackageJson");
3144
3150
  async function executeTSDown(options) {
3145
3151
  writeDebug(` \u{1F680} Running ${options.name} build`, options.config);
3146
3152
  const stopwatch = getStopwatch(`${options.name} build`);
@@ -3153,7 +3159,7 @@ async function executeTSDown(options) {
3153
3159
  stopwatch();
3154
3160
  return options;
3155
3161
  }
3156
- _chunk3GQAWCBQjs.__name.call(void 0, executeTSDown, "executeTSDown");
3162
+ _chunkZH7QZ5EFjs.__name.call(void 0, executeTSDown, "executeTSDown");
3157
3163
  async function copyBuildAssets2(options) {
3158
3164
  writeDebug(` \u{1F4CB} Copying asset files to output directory: ${options.outdir}`, options.config);
3159
3165
  const stopwatch = getStopwatch(`${options.name} asset copy`);
@@ -3161,11 +3167,11 @@ async function copyBuildAssets2(options) {
3161
3167
  stopwatch();
3162
3168
  return options;
3163
3169
  }
3164
- _chunk3GQAWCBQjs.__name.call(void 0, copyBuildAssets2, "copyBuildAssets");
3170
+ _chunkZH7QZ5EFjs.__name.call(void 0, copyBuildAssets2, "copyBuildAssets");
3165
3171
  async function reportResults2(options) {
3166
3172
  writeSuccess(` \u{1F4E6} The ${options.name} build completed successfully`, options.config);
3167
3173
  }
3168
- _chunk3GQAWCBQjs.__name.call(void 0, reportResults2, "reportResults");
3174
+ _chunkZH7QZ5EFjs.__name.call(void 0, reportResults2, "reportResults");
3169
3175
  async function cleanOutputPath2(options) {
3170
3176
  if (options.clean !== false && options.outdir) {
3171
3177
  writeDebug(` \u{1F9F9} Cleaning ${options.name} output path: ${options.outdir}`, options.config);
@@ -3175,7 +3181,7 @@ async function cleanOutputPath2(options) {
3175
3181
  }
3176
3182
  return options;
3177
3183
  }
3178
- _chunk3GQAWCBQjs.__name.call(void 0, cleanOutputPath2, "cleanOutputPath");
3184
+ _chunkZH7QZ5EFjs.__name.call(void 0, cleanOutputPath2, "cleanOutputPath");
3179
3185
  async function build4(options) {
3180
3186
  writeDebug(` \u26A1 Executing Storm TSDown pipeline`);
3181
3187
  const stopwatch = getStopwatch("TSDown pipeline");
@@ -3206,19 +3212,19 @@ async function build4(options) {
3206
3212
  stopwatch();
3207
3213
  }
3208
3214
  }
3209
- _chunk3GQAWCBQjs.__name.call(void 0, build4, "build");
3215
+ _chunkZH7QZ5EFjs.__name.call(void 0, build4, "build");
3210
3216
 
3211
3217
  // ../workspace-tools/src/executors/tsdown/executor.ts
3212
3218
  async function tsdownExecutorFn(options, context2, config) {
3213
3219
  writeInfo("\u{1F4E6} Running Storm TSDown build executor on the workspace", config);
3214
- if (!_optionalChain([context2, 'access', _140 => _140.projectsConfigurations, 'optionalAccess', _141 => _141.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName] || !_optionalChain([context2, 'access', _142 => _142.projectsConfigurations, 'access', _143 => _143.projects, 'access', _144 => _144[context2.projectName], 'optionalAccess', _145 => _145.root])) {
3220
+ if (!_optionalChain([context2, 'access', _153 => _153.projectsConfigurations, 'optionalAccess', _154 => _154.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName] || !_optionalChain([context2, 'access', _155 => _155.projectsConfigurations, 'access', _156 => _156.projects, 'access', _157 => _157[context2.projectName], 'optionalAccess', _158 => _158.root])) {
3215
3221
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
3216
3222
  }
3217
3223
  await build4({
3218
3224
  ...options,
3219
- projectRoot: _optionalChain([context2, 'access', _146 => _146.projectsConfigurations, 'access', _147 => _147.projects, 'optionalAccess', _148 => _148[context2.projectName], 'access', _149 => _149.root]),
3225
+ projectRoot: _optionalChain([context2, 'access', _159 => _159.projectsConfigurations, 'access', _160 => _160.projects, 'optionalAccess', _161 => _161[context2.projectName], 'access', _162 => _162.root]),
3220
3226
  projectName: context2.projectName,
3221
- sourceRoot: _optionalChain([context2, 'access', _150 => _150.projectsConfigurations, 'access', _151 => _151.projects, 'optionalAccess', _152 => _152[context2.projectName], 'optionalAccess', _153 => _153.sourceRoot]),
3227
+ sourceRoot: _optionalChain([context2, 'access', _163 => _163.projectsConfigurations, 'access', _164 => _164.projects, 'optionalAccess', _165 => _165[context2.projectName], 'optionalAccess', _166 => _166.sourceRoot]),
3222
3228
  format: options.format,
3223
3229
  platform: options.platform
3224
3230
  });
@@ -3226,11 +3232,11 @@ async function tsdownExecutorFn(options, context2, config) {
3226
3232
  success: true
3227
3233
  };
3228
3234
  }
3229
- _chunk3GQAWCBQjs.__name.call(void 0, tsdownExecutorFn, "tsdownExecutorFn");
3235
+ _chunkZH7QZ5EFjs.__name.call(void 0, tsdownExecutorFn, "tsdownExecutorFn");
3230
3236
  var executor_default8 = withRunExecutor("Storm TSDown build executor", tsdownExecutorFn, {
3231
3237
  skipReadingConfig: false,
3232
3238
  hooks: {
3233
- applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (options, config) => {
3239
+ applyDefaultOptions: /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, async (options, config) => {
3234
3240
  options.entry ??= [
3235
3241
  "src/index.ts"
3236
3242
  ];
@@ -3242,6 +3248,7 @@ var executor_default8 = withRunExecutor("Storm TSDown build executor", tsdownExe
3242
3248
  });
3243
3249
 
3244
3250
  // ../workspace-tools/src/executors/typia/executor.ts
3251
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
3245
3252
  var _fsextra = require('fs-extra');
3246
3253
  var _TypiaProgrammerjs = require('typia/lib/programmers/TypiaProgrammer.js');
3247
3254
  async function typiaExecutorFn(options, _, config) {
@@ -3261,11 +3268,11 @@ async function typiaExecutorFn(options, _, config) {
3261
3268
  success: true
3262
3269
  };
3263
3270
  }
3264
- _chunk3GQAWCBQjs.__name.call(void 0, typiaExecutorFn, "typiaExecutorFn");
3271
+ _chunkZH7QZ5EFjs.__name.call(void 0, typiaExecutorFn, "typiaExecutorFn");
3265
3272
  var executor_default9 = withRunExecutor("Typia runtime validation generator", typiaExecutorFn, {
3266
3273
  skipReadingConfig: false,
3267
3274
  hooks: {
3268
- applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
3275
+ applyDefaultOptions: /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (options) => {
3269
3276
  options.entry ??= [
3270
3277
  "{sourceRoot}/index.ts"
3271
3278
  ];
@@ -3278,11 +3285,12 @@ var executor_default9 = withRunExecutor("Typia runtime validation generator", ty
3278
3285
  });
3279
3286
 
3280
3287
  // ../workspace-tools/src/executors/unbuild/executor.ts
3288
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
3281
3289
 
3282
3290
  var _jiti = require('jiti');
3283
3291
  async function unbuildExecutorFn(options, context2, config) {
3284
3292
  writeInfo("\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
3285
- if (!_optionalChain([context2, 'access', _154 => _154.projectsConfigurations, 'optionalAccess', _155 => _155.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName]) {
3293
+ if (!_optionalChain([context2, 'access', _167 => _167.projectsConfigurations, 'optionalAccess', _168 => _168.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName]) {
3286
3294
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace root directory.");
3287
3295
  }
3288
3296
  if (!context2.projectsConfigurations.projects[context2.projectName].root) {
@@ -3292,7 +3300,7 @@ async function unbuildExecutorFn(options, context2, config) {
3292
3300
  throw new Error("The Build process failed because the project's source root is not valid. Please run this command from a workspace root directory.");
3293
3301
  }
3294
3302
  const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
3295
- fsCache: config.skipCache ? false : joinPaths(config.workspaceRoot, config.directories.cache || "node_modules/.cache/storm", "jiti"),
3303
+ fsCache: config.skipCache ? false : _chunk3HI6WK3Mjs.joinPaths.call(void 0, config.workspaceRoot, config.directories.cache || "node_modules/.cache/storm", "jiti"),
3296
3304
  interopDefault: true
3297
3305
  });
3298
3306
  const stormUnbuild = await jiti.import(jiti.esmResolve("@storm-software/unbuild/build"));
@@ -3305,7 +3313,7 @@ async function unbuildExecutorFn(options, context2, config) {
3305
3313
  }, {
3306
3314
  stubOptions: {
3307
3315
  jiti: {
3308
- fsCache: config.skipCache ? false : joinPaths(config.workspaceRoot, config.directories.cache || "node_modules/.cache/storm", "jiti")
3316
+ fsCache: config.skipCache ? false : _chunk3HI6WK3Mjs.joinPaths.call(void 0, config.workspaceRoot, config.directories.cache || "node_modules/.cache/storm", "jiti")
3309
3317
  }
3310
3318
  },
3311
3319
  rollup: {
@@ -3328,11 +3336,11 @@ async function unbuildExecutorFn(options, context2, config) {
3328
3336
  success: true
3329
3337
  };
3330
3338
  }
3331
- _chunk3GQAWCBQjs.__name.call(void 0, unbuildExecutorFn, "unbuildExecutorFn");
3339
+ _chunkZH7QZ5EFjs.__name.call(void 0, unbuildExecutorFn, "unbuildExecutorFn");
3332
3340
  var executor_default10 = withRunExecutor("TypeScript Unbuild build", unbuildExecutorFn, {
3333
3341
  skipReadingConfig: false,
3334
3342
  hooks: {
3335
- applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (options, config) => {
3343
+ applyDefaultOptions: /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, async (options, config) => {
3336
3344
  options.debug ??= false;
3337
3345
  options.treeShaking ??= true;
3338
3346
  options.platform ??= "neutral";
@@ -3345,11 +3353,16 @@ var executor_default10 = withRunExecutor("TypeScript Unbuild build", unbuildExec
3345
3353
  }
3346
3354
  });
3347
3355
 
3356
+ // ../workspace-tools/generators.ts
3357
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
3358
+
3348
3359
  // ../workspace-tools/src/generators/browser-library/generator.ts
3360
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
3349
3361
 
3350
3362
 
3351
3363
  // ../workspace-tools/src/base/base-generator.ts
3352
- var withRunGenerator = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (name, generatorFn, generatorOptions = {
3364
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
3365
+ var withRunGenerator = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (name, generatorFn, generatorOptions = {
3353
3366
  skipReadingConfig: false
3354
3367
  }) => async (tree, _options) => {
3355
3368
  const stopwatch = getStopwatch(name);
@@ -3365,7 +3378,7 @@ var withRunGenerator = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (nam
3365
3378
  - workspaceRoot: ${workspaceRoot3}`, config);
3366
3379
  config = await getConfig(workspaceRoot3);
3367
3380
  }
3368
- if (_optionalChain([generatorOptions, 'optionalAccess', _156 => _156.hooks, 'optionalAccess', _157 => _157.applyDefaultOptions])) {
3381
+ if (_optionalChain([generatorOptions, 'optionalAccess', _169 => _169.hooks, 'optionalAccess', _170 => _170.applyDefaultOptions])) {
3369
3382
  writeDebug("Running the applyDefaultOptions hook...", config);
3370
3383
  options = await Promise.resolve(generatorOptions.hooks.applyDefaultOptions(options, config));
3371
3384
  writeDebug("Completed the applyDefaultOptions hook", config);
@@ -3376,22 +3389,22 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
3376
3389
  workspaceRoot: tree.root,
3377
3390
  config
3378
3391
  }, applyWorkspaceBaseTokens);
3379
- if (_optionalChain([generatorOptions, 'optionalAccess', _158 => _158.hooks, 'optionalAccess', _159 => _159.preProcess])) {
3392
+ if (_optionalChain([generatorOptions, 'optionalAccess', _171 => _171.hooks, 'optionalAccess', _172 => _172.preProcess])) {
3380
3393
  writeDebug("Running the preProcess hook...", config);
3381
3394
  await Promise.resolve(generatorOptions.hooks.preProcess(tokenized, config));
3382
3395
  writeDebug("Completed the preProcess hook", config);
3383
3396
  }
3384
3397
  const result = await Promise.resolve(generatorFn(tree, tokenized, config));
3385
3398
  if (result) {
3386
- if (result.success === false || result.error && _optionalChain([result, 'optionalAccess', _160 => _160.error, 'optionalAccess', _161 => _161.message]) && typeof _optionalChain([result, 'optionalAccess', _162 => _162.error, 'optionalAccess', _163 => _163.message]) === "string" && _optionalChain([result, 'optionalAccess', _164 => _164.error, 'optionalAccess', _165 => _165.name]) && typeof _optionalChain([result, 'optionalAccess', _166 => _166.error, 'optionalAccess', _167 => _167.name]) === "string") {
3399
+ if (result.success === false || result.error && _optionalChain([result, 'optionalAccess', _173 => _173.error, 'optionalAccess', _174 => _174.message]) && typeof _optionalChain([result, 'optionalAccess', _175 => _175.error, 'optionalAccess', _176 => _176.message]) === "string" && _optionalChain([result, 'optionalAccess', _177 => _177.error, 'optionalAccess', _178 => _178.name]) && typeof _optionalChain([result, 'optionalAccess', _179 => _179.error, 'optionalAccess', _180 => _180.name]) === "string") {
3387
3400
  throw new Error(`The ${name} generator failed to run`, {
3388
- cause: _optionalChain([result, 'optionalAccess', _168 => _168.error])
3401
+ cause: _optionalChain([result, 'optionalAccess', _181 => _181.error])
3389
3402
  });
3390
3403
  } else if (result.success && result.data) {
3391
3404
  return result;
3392
3405
  }
3393
3406
  }
3394
- if (_optionalChain([generatorOptions, 'optionalAccess', _169 => _169.hooks, 'optionalAccess', _170 => _170.postProcess])) {
3407
+ if (_optionalChain([generatorOptions, 'optionalAccess', _182 => _182.hooks, 'optionalAccess', _183 => _183.postProcess])) {
3395
3408
  writeDebug("Running the postProcess hook...", config);
3396
3409
  await Promise.resolve(generatorOptions.hooks.postProcess(config));
3397
3410
  writeDebug("Completed the postProcess hook", config);
@@ -3413,6 +3426,7 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
3413
3426
  }, "withRunGenerator");
3414
3427
 
3415
3428
  // ../workspace-tools/src/base/typescript-library-generator.ts
3429
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
3416
3430
 
3417
3431
  var _projectnameandrootutils = require('@nx/devkit/src/generators/project-name-and-root-utils');
3418
3432
  var _js = require('@nx/js');
@@ -3420,6 +3434,7 @@ var _init = require('@nx/js/src/generators/init/init'); var _init2 = _interopReq
3420
3434
  var _generator = require('@nx/js/src/generators/setup-verdaccio/generator'); var _generator2 = _interopRequireDefault(_generator);
3421
3435
 
3422
3436
  // ../workspace-tools/src/utils/project-tags.ts
3437
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
3423
3438
  var ProjectTagConstants = {
3424
3439
  Language: {
3425
3440
  TAG_ID: "language",
@@ -3457,15 +3472,15 @@ var ProjectTagConstants = {
3457
3472
  TAG_ID: "plugin"
3458
3473
  }
3459
3474
  };
3460
- var formatProjectTag = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (variant, value) => {
3475
+ var formatProjectTag = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (variant, value) => {
3461
3476
  return `${variant}:${value}`;
3462
3477
  }, "formatProjectTag");
3463
- var hasProjectTag = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (project, variant) => {
3478
+ var hasProjectTag = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (project, variant) => {
3464
3479
  project.tags = _nullishCoalesce(project.tags, () => ( []));
3465
3480
  const prefix = formatProjectTag(variant, "");
3466
3481
  return project.tags.some((tag) => tag.startsWith(prefix) && tag.length > prefix.length);
3467
3482
  }, "hasProjectTag");
3468
- var addProjectTag = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (project, variant, value, options = {
3483
+ var addProjectTag = /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (project, variant, value, options = {
3469
3484
  overwrite: false
3470
3485
  }) => {
3471
3486
  project.tags = _nullishCoalesce(project.tags, () => ( []));
@@ -3476,6 +3491,7 @@ var addProjectTag = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (projec
3476
3491
  }, "addProjectTag");
3477
3492
 
3478
3493
  // ../workspace-tools/src/utils/versions.ts
3494
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
3479
3495
  var typesNodeVersion = "20.9.0";
3480
3496
  var nxVersion = "^18.0.4";
3481
3497
  var nodeVersion = "20.11.0";
@@ -3505,7 +3521,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
3505
3521
  const projectConfig = {
3506
3522
  root: normalized.directory,
3507
3523
  projectType: "library",
3508
- sourceRoot: joinPaths(_nullishCoalesce(normalized.directory, () => ( "")), "src"),
3524
+ sourceRoot: _chunk3HI6WK3Mjs.joinPaths.call(void 0, _nullishCoalesce(normalized.directory, () => ( "")), "src"),
3509
3525
  targets: {
3510
3526
  build: {
3511
3527
  executor: options.buildExecutor,
@@ -3514,11 +3530,11 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
3514
3530
  ],
3515
3531
  options: {
3516
3532
  entry: [
3517
- joinPaths(normalized.projectRoot, "src", "index.ts")
3533
+ _chunk3HI6WK3Mjs.joinPaths.call(void 0, normalized.projectRoot, "src", "index.ts")
3518
3534
  ],
3519
3535
  outputPath: getOutputPath(normalized),
3520
- tsconfig: joinPaths(normalized.projectRoot, "tsconfig.json"),
3521
- project: joinPaths(normalized.projectRoot, "package.json"),
3536
+ tsconfig: _chunk3HI6WK3Mjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json"),
3537
+ project: _chunk3HI6WK3Mjs.joinPaths.call(void 0, normalized.projectRoot, "package.json"),
3522
3538
  defaultConfiguration: "production",
3523
3539
  platform: "neutral",
3524
3540
  assets: [
@@ -3557,22 +3573,22 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
3557
3573
  _devkit.addProjectConfiguration.call(void 0, tree, normalized.name, projectConfig);
3558
3574
  let repository = {
3559
3575
  type: "github",
3560
- url: _optionalChain([config, 'optionalAccess', _171 => _171.repository]) || `https://github.com/${_optionalChain([config, 'optionalAccess', _172 => _172.organization]) || "storm-software"}/${_optionalChain([config, 'optionalAccess', _173 => _173.namespace]) || _optionalChain([config, 'optionalAccess', _174 => _174.name]) || "repository"}.git`
3576
+ url: _optionalChain([config, 'optionalAccess', _184 => _184.repository]) || `https://github.com/${_optionalChain([config, 'optionalAccess', _185 => _185.organization]) || "storm-software"}/${_optionalChain([config, 'optionalAccess', _186 => _186.namespace]) || _optionalChain([config, 'optionalAccess', _187 => _187.name]) || "repository"}.git`
3561
3577
  };
3562
3578
  let description = options.description || "A package developed by Storm Software used to create modern, scalable web applications.";
3563
3579
  if (tree.exists("package.json")) {
3564
3580
  const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
3565
- if (_optionalChain([packageJson, 'optionalAccess', _175 => _175.repository])) {
3581
+ if (_optionalChain([packageJson, 'optionalAccess', _188 => _188.repository])) {
3566
3582
  repository = packageJson.repository;
3567
3583
  }
3568
- if (_optionalChain([packageJson, 'optionalAccess', _176 => _176.description])) {
3584
+ if (_optionalChain([packageJson, 'optionalAccess', _189 => _189.description])) {
3569
3585
  description = packageJson.description;
3570
3586
  }
3571
3587
  }
3572
3588
  if (!normalized.importPath) {
3573
3589
  normalized.importPath = normalized.name;
3574
3590
  }
3575
- const packageJsonPath = joinPaths(normalized.projectRoot, "package.json");
3591
+ const packageJsonPath = _chunk3HI6WK3Mjs.joinPaths.call(void 0, normalized.projectRoot, "package.json");
3576
3592
  if (tree.exists(packageJsonPath)) {
3577
3593
  _devkit.updateJson.call(void 0, tree, packageJsonPath, (json) => {
3578
3594
  if (!normalized.importPath) {
@@ -3620,30 +3636,30 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
3620
3636
  _devkit.updateJson.call(void 0, tree, "package.json", (json) => ({
3621
3637
  ...json,
3622
3638
  pnpm: {
3623
- ..._optionalChain([json, 'optionalAccess', _177 => _177.pnpm]),
3639
+ ..._optionalChain([json, 'optionalAccess', _190 => _190.pnpm]),
3624
3640
  overrides: {
3625
- ..._optionalChain([json, 'optionalAccess', _178 => _178.pnpm, 'optionalAccess', _179 => _179.overrides]),
3641
+ ..._optionalChain([json, 'optionalAccess', _191 => _191.pnpm, 'optionalAccess', _192 => _192.overrides]),
3626
3642
  [_nullishCoalesce(normalized.importPath, () => ( ""))]: "workspace:*"
3627
3643
  }
3628
3644
  }
3629
3645
  }));
3630
3646
  }
3631
3647
  _js.addTsConfigPath.call(void 0, tree, normalized.importPath, [
3632
- joinPaths(normalized.projectRoot, "./src", `index.${normalized.js ? "js" : "ts"}`)
3648
+ _chunk3HI6WK3Mjs.joinPaths.call(void 0, normalized.projectRoot, "./src", `index.${normalized.js ? "js" : "ts"}`)
3633
3649
  ]);
3634
- _js.addTsConfigPath.call(void 0, tree, joinPaths(normalized.importPath, "/*"), [
3635
- joinPaths(normalized.projectRoot, "./src", "/*")
3650
+ _js.addTsConfigPath.call(void 0, tree, _chunk3HI6WK3Mjs.joinPaths.call(void 0, normalized.importPath, "/*"), [
3651
+ _chunk3HI6WK3Mjs.joinPaths.call(void 0, normalized.projectRoot, "./src", "/*")
3636
3652
  ]);
3637
3653
  if (tree.exists("package.json")) {
3638
3654
  const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
3639
- if (_optionalChain([packageJson, 'optionalAccess', _180 => _180.repository])) {
3655
+ if (_optionalChain([packageJson, 'optionalAccess', _193 => _193.repository])) {
3640
3656
  repository = packageJson.repository;
3641
3657
  }
3642
- if (_optionalChain([packageJson, 'optionalAccess', _181 => _181.description])) {
3658
+ if (_optionalChain([packageJson, 'optionalAccess', _194 => _194.description])) {
3643
3659
  description = packageJson.description;
3644
3660
  }
3645
3661
  }
3646
- const tsconfigPath = joinPaths(normalized.projectRoot, "tsconfig.json");
3662
+ const tsconfigPath = _chunk3HI6WK3Mjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json");
3647
3663
  if (tree.exists(tsconfigPath)) {
3648
3664
  _devkit.updateJson.call(void 0, tree, tsconfigPath, (json) => {
3649
3665
  json.composite ??= true;
@@ -3671,7 +3687,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
3671
3687
  await _devkit.formatFiles.call(void 0, tree);
3672
3688
  return null;
3673
3689
  }
3674
- _chunk3GQAWCBQjs.__name.call(void 0, typeScriptLibraryGeneratorFn, "typeScriptLibraryGeneratorFn");
3690
+ _chunkZH7QZ5EFjs.__name.call(void 0, typeScriptLibraryGeneratorFn, "typeScriptLibraryGeneratorFn");
3675
3691
  function getOutputPath(options) {
3676
3692
  const parts = [
3677
3693
  "dist"
@@ -3681,42 +3697,42 @@ function getOutputPath(options) {
3681
3697
  } else {
3682
3698
  parts.push(options.projectRoot);
3683
3699
  }
3684
- return joinPaths(...parts);
3700
+ return _chunk3HI6WK3Mjs.joinPaths.call(void 0, ...parts);
3685
3701
  }
3686
- _chunk3GQAWCBQjs.__name.call(void 0, getOutputPath, "getOutputPath");
3702
+ _chunkZH7QZ5EFjs.__name.call(void 0, getOutputPath, "getOutputPath");
3687
3703
  function createProjectTsConfigJson(tree, options) {
3688
3704
  const tsconfig = {
3689
3705
  extends: options.rootProject ? void 0 : _js.getRelativePathToRootTsConfig.call(void 0, tree, options.projectRoot),
3690
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _182 => _182.tsconfigOptions]), () => ( {})),
3706
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _195 => _195.tsconfigOptions]), () => ( {})),
3691
3707
  compilerOptions: {
3692
3708
  ...options.rootProject ? _js.tsConfigBaseOptions : {},
3693
- outDir: joinPaths(_devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
3709
+ outDir: _chunk3HI6WK3Mjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
3694
3710
  noEmit: true,
3695
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _183 => _183.tsconfigOptions, 'optionalAccess', _184 => _184.compilerOptions]), () => ( {}))
3711
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _196 => _196.tsconfigOptions, 'optionalAccess', _197 => _197.compilerOptions]), () => ( {}))
3696
3712
  },
3697
3713
  files: [
3698
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _185 => _185.tsconfigOptions, 'optionalAccess', _186 => _186.files]), () => ( []))
3714
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _198 => _198.tsconfigOptions, 'optionalAccess', _199 => _199.files]), () => ( []))
3699
3715
  ],
3700
3716
  include: [
3701
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _187 => _187.tsconfigOptions, 'optionalAccess', _188 => _188.include]), () => ( [])),
3717
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _200 => _200.tsconfigOptions, 'optionalAccess', _201 => _201.include]), () => ( [])),
3702
3718
  "src/**/*.ts",
3703
3719
  "src/**/*.js",
3704
3720
  "bin/**/*"
3705
3721
  ],
3706
3722
  exclude: [
3707
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _189 => _189.tsconfigOptions, 'optionalAccess', _190 => _190.exclude]), () => ( [])),
3723
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _202 => _202.tsconfigOptions, 'optionalAccess', _203 => _203.exclude]), () => ( [])),
3708
3724
  "jest.config.ts",
3709
3725
  "src/**/*.spec.ts",
3710
3726
  "src/**/*.test.ts"
3711
3727
  ]
3712
3728
  };
3713
- _devkit.writeJson.call(void 0, tree, joinPaths(options.projectRoot, "tsconfig.json"), tsconfig);
3729
+ _devkit.writeJson.call(void 0, tree, _chunk3HI6WK3Mjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"), tsconfig);
3714
3730
  }
3715
- _chunk3GQAWCBQjs.__name.call(void 0, createProjectTsConfigJson, "createProjectTsConfigJson");
3731
+ _chunkZH7QZ5EFjs.__name.call(void 0, createProjectTsConfigJson, "createProjectTsConfigJson");
3716
3732
  async function normalizeOptions(tree, options, config) {
3717
3733
  let importPath = options.importPath;
3718
- if (!importPath && _optionalChain([config, 'optionalAccess', _191 => _191.namespace])) {
3719
- importPath = `@${_optionalChain([config, 'optionalAccess', _192 => _192.namespace])}/${options.name}`;
3734
+ if (!importPath && _optionalChain([config, 'optionalAccess', _204 => _204.namespace])) {
3735
+ importPath = `@${_optionalChain([config, 'optionalAccess', _205 => _205.namespace])}/${options.name}`;
3720
3736
  }
3721
3737
  if (options.publishable) {
3722
3738
  if (!importPath) {
@@ -3762,14 +3778,15 @@ async function normalizeOptions(tree, options, config) {
3762
3778
  projectRoot,
3763
3779
  parsedTags: options.tags ? options.tags.split(",").map((s) => s.trim()) : [],
3764
3780
  importPath: normalizedImportPath,
3765
- rootProject
3781
+ rootProject,
3782
+ shouldUseSwcJest: false
3766
3783
  };
3767
3784
  }
3768
- _chunk3GQAWCBQjs.__name.call(void 0, normalizeOptions, "normalizeOptions");
3785
+ _chunkZH7QZ5EFjs.__name.call(void 0, normalizeOptions, "normalizeOptions");
3769
3786
 
3770
3787
  // ../workspace-tools/src/generators/browser-library/generator.ts
3771
3788
  async function browserLibraryGeneratorFn(tree, schema, config) {
3772
- const filesDir = joinPaths(__dirname, "src", "generators", "browser-library", "files");
3789
+ const filesDir = _chunk3HI6WK3Mjs.joinPaths.call(void 0, __dirname, "src", "generators", "browser-library", "files");
3773
3790
  const tsLibraryGeneratorOptions = {
3774
3791
  buildExecutor: "@storm-software/workspace-tools:unbuild",
3775
3792
  platform: "browser",
@@ -3826,10 +3843,10 @@ async function browserLibraryGeneratorFn(tree, schema, config) {
3826
3843
  await _devkit.formatFiles.call(void 0, tree);
3827
3844
  return null;
3828
3845
  }
3829
- _chunk3GQAWCBQjs.__name.call(void 0, browserLibraryGeneratorFn, "browserLibraryGeneratorFn");
3846
+ _chunkZH7QZ5EFjs.__name.call(void 0, browserLibraryGeneratorFn, "browserLibraryGeneratorFn");
3830
3847
  var generator_default = withRunGenerator("TypeScript Library Creator (Browser Platform)", browserLibraryGeneratorFn, {
3831
3848
  hooks: {
3832
- applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
3849
+ applyDefaultOptions: /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (options) => {
3833
3850
  options.description ??= "A library used by Storm Software to support browser applications";
3834
3851
  options.platform ??= "browser";
3835
3852
  return options;
@@ -3838,6 +3855,7 @@ var generator_default = withRunGenerator("TypeScript Library Creator (Browser Pl
3838
3855
  });
3839
3856
 
3840
3857
  // ../workspace-tools/src/generators/config-schema/generator.ts
3858
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
3841
3859
 
3842
3860
  var _zodtojsonschema = require('zod-to-json-schema');
3843
3861
  async function configSchemaGeneratorFn(tree, options, config) {
@@ -3847,7 +3865,7 @@ async function configSchemaGeneratorFn(tree, options, config) {
3847
3865
  name: "StormWorkspaceConfiguration"
3848
3866
  });
3849
3867
  writeTrace(jsonSchema, config);
3850
- const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess', _193 => _193.workspaceRoot]), () => ( findWorkspaceRoot())), _optionalChain([options, 'access', _194 => _194.outputFile, 'optionalAccess', _195 => _195.startsWith, 'call', _196 => _196("./")]) ? "" : "./");
3868
+ const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess', _206 => _206.workspaceRoot]), () => ( findWorkspaceRoot())), _optionalChain([options, 'access', _207 => _207.outputFile, 'optionalAccess', _208 => _208.startsWith, 'call', _209 => _209("./")]) ? "" : "./");
3851
3869
  writeTrace(`\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`, config);
3852
3870
  _devkit.writeJson.call(void 0, tree, outputPath, jsonSchema, {
3853
3871
  spaces: 2
@@ -3858,10 +3876,10 @@ async function configSchemaGeneratorFn(tree, options, config) {
3858
3876
  success: true
3859
3877
  };
3860
3878
  }
3861
- _chunk3GQAWCBQjs.__name.call(void 0, configSchemaGeneratorFn, "configSchemaGeneratorFn");
3879
+ _chunkZH7QZ5EFjs.__name.call(void 0, configSchemaGeneratorFn, "configSchemaGeneratorFn");
3862
3880
  var generator_default2 = withRunGenerator("Configuration Schema Creator", configSchemaGeneratorFn, {
3863
3881
  hooks: {
3864
- applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
3882
+ applyDefaultOptions: /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (options) => {
3865
3883
  options.outputFile ??= "{workspaceRoot}/storm-workspace.schema.json";
3866
3884
  return options;
3867
3885
  }, "applyDefaultOptions")
@@ -3869,6 +3887,7 @@ var generator_default2 = withRunGenerator("Configuration Schema Creator", config
3869
3887
  });
3870
3888
 
3871
3889
  // ../workspace-tools/src/generators/init/init.ts
3890
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
3872
3891
 
3873
3892
  async function initGenerator(tree, schema) {
3874
3893
  const task = _devkit.addDependenciesToPackageJson.call(void 0, tree, {
@@ -3887,12 +3906,13 @@ async function initGenerator(tree, schema) {
3887
3906
  }
3888
3907
  return task;
3889
3908
  }
3890
- _chunk3GQAWCBQjs.__name.call(void 0, initGenerator, "initGenerator");
3909
+ _chunkZH7QZ5EFjs.__name.call(void 0, initGenerator, "initGenerator");
3891
3910
 
3892
3911
  // ../workspace-tools/src/generators/neutral-library/generator.ts
3912
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
3893
3913
 
3894
3914
  async function neutralLibraryGeneratorFn(tree, schema, config) {
3895
- const filesDir = joinPaths(__dirname, "src", "generators", "neutral-library", "files");
3915
+ const filesDir = _chunk3HI6WK3Mjs.joinPaths.call(void 0, __dirname, "src", "generators", "neutral-library", "files");
3896
3916
  const tsLibraryGeneratorOptions = {
3897
3917
  ...schema,
3898
3918
  platform: "neutral",
@@ -3921,10 +3941,10 @@ async function neutralLibraryGeneratorFn(tree, schema, config) {
3921
3941
  await _devkit.formatFiles.call(void 0, tree);
3922
3942
  return null;
3923
3943
  }
3924
- _chunk3GQAWCBQjs.__name.call(void 0, neutralLibraryGeneratorFn, "neutralLibraryGeneratorFn");
3944
+ _chunkZH7QZ5EFjs.__name.call(void 0, neutralLibraryGeneratorFn, "neutralLibraryGeneratorFn");
3925
3945
  var generator_default3 = withRunGenerator("TypeScript Library Creator (Neutral Platform)", neutralLibraryGeneratorFn, {
3926
3946
  hooks: {
3927
- applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
3947
+ applyDefaultOptions: /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (options) => {
3928
3948
  options.description ??= "A library used by Storm Software to support either browser or NodeJs applications";
3929
3949
  options.platform = "neutral";
3930
3950
  return options;
@@ -3933,9 +3953,10 @@ var generator_default3 = withRunGenerator("TypeScript Library Creator (Neutral P
3933
3953
  });
3934
3954
 
3935
3955
  // ../workspace-tools/src/generators/node-library/generator.ts
3956
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
3936
3957
 
3937
3958
  async function nodeLibraryGeneratorFn(tree, schema, config) {
3938
- const filesDir = joinPaths(__dirname, "src", "generators", "node-library", "files");
3959
+ const filesDir = _chunk3HI6WK3Mjs.joinPaths.call(void 0, __dirname, "src", "generators", "node-library", "files");
3939
3960
  const tsLibraryGeneratorOptions = {
3940
3961
  platform: "node",
3941
3962
  devDependencies: {
@@ -3968,10 +3989,10 @@ async function nodeLibraryGeneratorFn(tree, schema, config) {
3968
3989
  await _devkit.formatFiles.call(void 0, tree);
3969
3990
  return null;
3970
3991
  }
3971
- _chunk3GQAWCBQjs.__name.call(void 0, nodeLibraryGeneratorFn, "nodeLibraryGeneratorFn");
3992
+ _chunkZH7QZ5EFjs.__name.call(void 0, nodeLibraryGeneratorFn, "nodeLibraryGeneratorFn");
3972
3993
  var generator_default4 = withRunGenerator("TypeScript Library Creator (NodeJs Platform)", nodeLibraryGeneratorFn, {
3973
3994
  hooks: {
3974
- applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
3995
+ applyDefaultOptions: /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (options) => {
3975
3996
  options.description ??= "A library used by Storm Software to support NodeJs applications";
3976
3997
  options.platform ??= "node";
3977
3998
  return options;
@@ -3980,6 +4001,7 @@ var generator_default4 = withRunGenerator("TypeScript Library Creator (NodeJs Pl
3980
4001
  });
3981
4002
 
3982
4003
  // ../workspace-tools/src/generators/preset/generator.ts
4004
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
3983
4005
 
3984
4006
 
3985
4007
  async function presetGeneratorFn(tree, options) {
@@ -4201,15 +4223,23 @@ async function presetGeneratorFn(tree, options) {
4201
4223
  await Promise.resolve(_devkit.addDependenciesToPackageJson.call(void 0, tree, dependencies, {}, _devkit.joinPathFragments.call(void 0, projectRoot, "package.json")));
4202
4224
  return null;
4203
4225
  }
4204
- _chunk3GQAWCBQjs.__name.call(void 0, presetGeneratorFn, "presetGeneratorFn");
4226
+ _chunkZH7QZ5EFjs.__name.call(void 0, presetGeneratorFn, "presetGeneratorFn");
4205
4227
  var generator_default5 = withRunGenerator("Storm Workspace Preset Generator", presetGeneratorFn);
4206
4228
 
4207
4229
  // ../workspace-tools/src/generators/release-version/generator.ts
4230
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
4208
4231
 
4209
4232
  var _resolvelocalpackagedependencies = require('@nx/js/src/generators/release-version/utils/resolve-local-package-dependencies');
4210
4233
  var _updatelockfile = require('@nx/js/src/generators/release-version/utils/update-lock-file');
4211
4234
 
4235
+ // ../git-tools/src/index.ts
4236
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
4237
+
4238
+ // ../git-tools/src/commit/config.ts
4239
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
4240
+
4212
4241
  // ../git-tools/src/types.ts
4242
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
4213
4243
  var RuleConfigSeverity;
4214
4244
  (function(RuleConfigSeverity2) {
4215
4245
  RuleConfigSeverity2[RuleConfigSeverity2["Disabled"] = 0] = "Disabled";
@@ -4218,8 +4248,12 @@ var RuleConfigSeverity;
4218
4248
  })(RuleConfigSeverity || (RuleConfigSeverity = {}));
4219
4249
 
4220
4250
  // ../git-tools/src/release/changelog-renderer.ts
4251
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
4221
4252
  var _index = require('nx/release/changelog-renderer/index'); var _index2 = _interopRequireDefault(_index);
4222
4253
 
4254
+ // ../git-tools/src/release/config.ts
4255
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
4256
+
4223
4257
  // ../workspace-tools/src/generators/release-version/generator.ts
4224
4258
 
4225
4259
 
@@ -4231,7 +4265,11 @@ var _version = require('nx/src/command-line/release/version');
4231
4265
  var _utils = require('nx/src/tasks-runner/utils');
4232
4266
  var _semver3 = require('semver');
4233
4267
 
4268
+ // ../workspace-tools/src/base/index.ts
4269
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
4270
+
4234
4271
  // ../workspace-tools/src/base/base-executor.untyped.ts
4272
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
4235
4273
  var _untyped = require('untyped');
4236
4274
  var base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
4237
4275
  $schema: {
@@ -4251,6 +4289,7 @@ var base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
4251
4289
  });
4252
4290
 
4253
4291
  // ../workspace-tools/src/base/base-generator.untyped.ts
4292
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
4254
4293
 
4255
4294
  var base_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
4256
4295
  $schema: {
@@ -4268,6 +4307,7 @@ var base_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
4268
4307
  });
4269
4308
 
4270
4309
  // ../workspace-tools/src/base/cargo-base-executor.untyped.ts
4310
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
4271
4311
 
4272
4312
  var cargo_base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
4273
4313
  ...base_executor_untyped_default,
@@ -4354,6 +4394,7 @@ var cargo_base_executor_untyped_default = _untyped.defineUntypedSchema.call(void
4354
4394
  });
4355
4395
 
4356
4396
  // ../workspace-tools/src/base/typescript-build-executor.untyped.ts
4397
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
4357
4398
 
4358
4399
  var typescript_build_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
4359
4400
  ...base_executor_untyped_default,
@@ -4458,7 +4499,7 @@ var typescript_build_executor_untyped_default = _untyped.defineUntypedSchema.cal
4458
4499
  ]
4459
4500
  },
4460
4501
  $default: "esnext",
4461
- $resolve: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (val = "esnext") => val.toLowerCase(), "$resolve")
4502
+ $resolve: /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (val = "esnext") => val.toLowerCase(), "$resolve")
4462
4503
  },
4463
4504
  format: {
4464
4505
  $schema: {
@@ -4474,7 +4515,7 @@ var typescript_build_executor_untyped_default = _untyped.defineUntypedSchema.cal
4474
4515
  ]
4475
4516
  }
4476
4517
  },
4477
- $resolve: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (val = [
4518
+ $resolve: /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (val = [
4478
4519
  "cjs",
4479
4520
  "esm"
4480
4521
  ]) => [].concat(val), "$resolve")
@@ -4498,7 +4539,7 @@ var typescript_build_executor_untyped_default = _untyped.defineUntypedSchema.cal
4498
4539
  type: "array",
4499
4540
  description: "The external dependencies"
4500
4541
  },
4501
- $resolve: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (val = []) => [].concat(val), "$resolve")
4542
+ $resolve: /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (val = []) => [].concat(val), "$resolve")
4502
4543
  },
4503
4544
  define: {
4504
4545
  $schema: {
@@ -4507,7 +4548,7 @@ var typescript_build_executor_untyped_default = _untyped.defineUntypedSchema.cal
4507
4548
  tsType: "Record<string, string>",
4508
4549
  description: "The define values"
4509
4550
  },
4510
- $resolve: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (val = {}) => val, "$resolve"),
4551
+ $resolve: /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (val = {}) => val, "$resolve"),
4511
4552
  $default: {}
4512
4553
  },
4513
4554
  env: {
@@ -4517,12 +4558,13 @@ var typescript_build_executor_untyped_default = _untyped.defineUntypedSchema.cal
4517
4558
  tsType: "Record<string, string>",
4518
4559
  description: "The environment variable values"
4519
4560
  },
4520
- $resolve: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (val = {}) => val, "$resolve"),
4561
+ $resolve: /* @__PURE__ */ _chunkZH7QZ5EFjs.__name.call(void 0, (val = {}) => val, "$resolve"),
4521
4562
  $default: {}
4522
4563
  }
4523
4564
  });
4524
4565
 
4525
4566
  // ../workspace-tools/src/base/typescript-library-generator.untyped.ts
4567
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
4526
4568
 
4527
4569
  var typescript_library_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
4528
4570
  ...base_generator_untyped_default,
@@ -4642,13 +4684,25 @@ var typescript_library_generator_untyped_default = _untyped.defineUntypedSchema.
4642
4684
  }
4643
4685
  });
4644
4686
 
4687
+ // ../workspace-tools/src/types.ts
4688
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
4689
+
4690
+ // ../workspace-tools/src/utils/index.ts
4691
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
4692
+
4693
+ // ../workspace-tools/src/utils/apply-workspace-tokens.ts
4694
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
4695
+
4645
4696
  // ../workspace-tools/src/utils/create-cli-options.ts
4697
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
4646
4698
 
4647
4699
 
4648
4700
  // ../workspace-tools/src/utils/get-project-configurations.ts
4701
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
4649
4702
  var _retrieveworkspacefiles = require('nx/src/project-graph/utils/retrieve-workspace-files');
4650
4703
 
4651
4704
  // ../workspace-tools/src/utils/lock-file.ts
4705
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
4652
4706
 
4653
4707
 
4654
4708
 
@@ -4663,16 +4717,19 @@ var NPM_LOCK_PATH = _path.join.call(void 0, _devkit.workspaceRoot, NPM_LOCK_FILE
4663
4717
  var PNPM_LOCK_PATH = _path.join.call(void 0, _devkit.workspaceRoot, PNPM_LOCK_FILE);
4664
4718
 
4665
4719
  // ../workspace-tools/src/utils/package-helpers.ts
4720
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
4666
4721
 
4667
4722
 
4668
4723
 
4669
4724
  // ../workspace-tools/src/utils/plugin-helpers.ts
4725
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
4670
4726
 
4671
4727
 
4672
4728
 
4673
4729
 
4674
4730
 
4675
4731
  // ../workspace-tools/src/utils/typia-transform.ts
4732
+ _chunkZH7QZ5EFjs.init_cjs_shims.call(void 0, );
4676
4733
  var _transform = require('typia/lib/transform'); var _transform2 = _interopRequireDefault(_transform);
4677
4734
 
4678
4735
  // src/generators/init/generator.ts
@@ -4684,7 +4741,7 @@ async function initGeneratorFn(tree, options, config) {
4684
4741
  }
4685
4742
  return task;
4686
4743
  }
4687
- _chunk3GQAWCBQjs.__name.call(void 0, initGeneratorFn, "initGeneratorFn");
4744
+ _chunkZH7QZ5EFjs.__name.call(void 0, initGeneratorFn, "initGeneratorFn");
4688
4745
  var generator_default6 = withRunGenerator("Initialize Storm Projen workspace", initGeneratorFn);
4689
4746
  function addProjenDeps(tree, options) {
4690
4747
  return () => {
@@ -4695,7 +4752,7 @@ function addProjenDeps(tree, options) {
4695
4752
  }
4696
4753
  };
4697
4754
  }
4698
- _chunk3GQAWCBQjs.__name.call(void 0, addProjenDeps, "addProjenDeps");
4755
+ _chunkZH7QZ5EFjs.__name.call(void 0, addProjenDeps, "addProjenDeps");
4699
4756
 
4700
4757
 
4701
4758