@storm-software/workspace-tools 1.60.22 → 1.61.0

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.
Files changed (33) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/README.md +2 -2
  3. package/index.js +342 -441
  4. package/meta.json +1 -1
  5. package/package.json +1 -1
  6. package/src/base/index.js +27 -18
  7. package/src/executors/npm-publish/executor.js +6 -0
  8. package/src/executors/tsup/executor.js +51 -49
  9. package/src/executors/tsup/schema.d.ts +2 -2
  10. package/src/executors/tsup/schema.json +7 -23
  11. package/src/executors/tsup-browser/executor.js +51 -47
  12. package/src/executors/tsup-neutral/executor.js +51 -47
  13. package/src/executors/tsup-node/executor.js +51 -47
  14. package/src/executors/typia/executor.js +14 -11
  15. package/src/generators/browser-library/generator.js +16 -10
  16. package/src/generators/config-schema/generator.js +10 -8
  17. package/src/generators/neutral-library/generator.js +16 -10
  18. package/src/generators/node-library/generator.js +16 -10
  19. package/src/generators/preset/generator.js +5 -5
  20. package/src/generators/release-version/generator.js +32 -19
  21. package/src/utils/index.js +279 -384
  22. package/src/executors/tsup/lib.dom.d.ts +0 -28208
  23. package/src/executors/tsup/lib.dom.iterable.d.ts +0 -732
  24. package/src/executors/tsup/lib.esnext.d.ts +0 -21
  25. package/src/executors/tsup-browser/lib.dom.d.ts +0 -28208
  26. package/src/executors/tsup-browser/lib.dom.iterable.d.ts +0 -732
  27. package/src/executors/tsup-browser/lib.esnext.d.ts +0 -21
  28. package/src/executors/tsup-neutral/lib.dom.d.ts +0 -28208
  29. package/src/executors/tsup-neutral/lib.dom.iterable.d.ts +0 -732
  30. package/src/executors/tsup-neutral/lib.esnext.d.ts +0 -21
  31. package/src/executors/tsup-node/lib.dom.d.ts +0 -28208
  32. package/src/executors/tsup-node/lib.dom.iterable.d.ts +0 -732
  33. package/src/executors/tsup-node/lib.esnext.d.ts +0 -21
@@ -1153,20 +1153,20 @@ var require_supports_color = __commonJS({
1153
1153
  var os6 = require("os");
1154
1154
  var tty2 = require("tty");
1155
1155
  var hasFlag2 = require_has_flag();
1156
- var { env: env3 } = process;
1156
+ var { env: env2 } = process;
1157
1157
  var forceColor;
1158
1158
  if (hasFlag2("no-color") || hasFlag2("no-colors") || hasFlag2("color=false") || hasFlag2("color=never")) {
1159
1159
  forceColor = 0;
1160
1160
  } else if (hasFlag2("color") || hasFlag2("colors") || hasFlag2("color=true") || hasFlag2("color=always")) {
1161
1161
  forceColor = 1;
1162
1162
  }
1163
- if ("FORCE_COLOR" in env3) {
1164
- if (env3.FORCE_COLOR === "true") {
1163
+ if ("FORCE_COLOR" in env2) {
1164
+ if (env2.FORCE_COLOR === "true") {
1165
1165
  forceColor = 1;
1166
- } else if (env3.FORCE_COLOR === "false") {
1166
+ } else if (env2.FORCE_COLOR === "false") {
1167
1167
  forceColor = 0;
1168
1168
  } else {
1169
- forceColor = env3.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env3.FORCE_COLOR, 10), 3);
1169
+ forceColor = env2.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env2.FORCE_COLOR, 10), 3);
1170
1170
  }
1171
1171
  }
1172
1172
  function translateLevel2(level) {
@@ -1194,7 +1194,7 @@ var require_supports_color = __commonJS({
1194
1194
  return 0;
1195
1195
  }
1196
1196
  const min = forceColor || 0;
1197
- if (env3.TERM === "dumb") {
1197
+ if (env2.TERM === "dumb") {
1198
1198
  return min;
1199
1199
  }
1200
1200
  if (process.platform === "win32") {
@@ -1204,34 +1204,34 @@ var require_supports_color = __commonJS({
1204
1204
  }
1205
1205
  return 1;
1206
1206
  }
1207
- if ("CI" in env3) {
1208
- if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE"].some((sign2) => sign2 in env3) || env3.CI_NAME === "codeship") {
1207
+ if ("CI" in env2) {
1208
+ if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE"].some((sign2) => sign2 in env2) || env2.CI_NAME === "codeship") {
1209
1209
  return 1;
1210
1210
  }
1211
1211
  return min;
1212
1212
  }
1213
- if ("TEAMCITY_VERSION" in env3) {
1214
- return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env3.TEAMCITY_VERSION) ? 1 : 0;
1213
+ if ("TEAMCITY_VERSION" in env2) {
1214
+ return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env2.TEAMCITY_VERSION) ? 1 : 0;
1215
1215
  }
1216
- if (env3.COLORTERM === "truecolor") {
1216
+ if (env2.COLORTERM === "truecolor") {
1217
1217
  return 3;
1218
1218
  }
1219
- if ("TERM_PROGRAM" in env3) {
1220
- const version = parseInt((env3.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
1221
- switch (env3.TERM_PROGRAM) {
1219
+ if ("TERM_PROGRAM" in env2) {
1220
+ const version = parseInt((env2.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
1221
+ switch (env2.TERM_PROGRAM) {
1222
1222
  case "iTerm.app":
1223
1223
  return version >= 3 ? 3 : 2;
1224
1224
  case "Apple_Terminal":
1225
1225
  return 2;
1226
1226
  }
1227
1227
  }
1228
- if (/-256(color)?$/i.test(env3.TERM)) {
1228
+ if (/-256(color)?$/i.test(env2.TERM)) {
1229
1229
  return 2;
1230
1230
  }
1231
- if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env3.TERM)) {
1231
+ if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env2.TERM)) {
1232
1232
  return 1;
1233
1233
  }
1234
- if ("COLORTERM" in env3) {
1234
+ if ("COLORTERM" in env2) {
1235
1235
  return 1;
1236
1236
  }
1237
1237
  return min;
@@ -1762,7 +1762,7 @@ var require_util2 = __commonJS({
1762
1762
  return path13;
1763
1763
  }
1764
1764
  exports2.normalize = normalize;
1765
- function join5(aRoot, aPath) {
1765
+ function join3(aRoot, aPath) {
1766
1766
  if (aRoot === "") {
1767
1767
  aRoot = ".";
1768
1768
  }
@@ -1794,7 +1794,7 @@ var require_util2 = __commonJS({
1794
1794
  }
1795
1795
  return joined;
1796
1796
  }
1797
- exports2.join = join5;
1797
+ exports2.join = join3;
1798
1798
  exports2.isAbsolute = function(aPath) {
1799
1799
  return aPath.charAt(0) === "/" || urlRegexp.test(aPath);
1800
1800
  };
@@ -1967,7 +1967,7 @@ var require_util2 = __commonJS({
1967
1967
  parsed.path = parsed.path.substring(0, index + 1);
1968
1968
  }
1969
1969
  }
1970
- sourceURL = join5(urlGenerate(parsed), sourceURL);
1970
+ sourceURL = join3(urlGenerate(parsed), sourceURL);
1971
1971
  }
1972
1972
  return normalize(sourceURL);
1973
1973
  }
@@ -100262,12 +100262,12 @@ ${lanes.join("\n")}
100262
100262
  }
100263
100263
  return { decorators };
100264
100264
  }
100265
- function walkUpLexicalEnvironments2(env3, cb) {
100266
- while (env3) {
100267
- const result = cb(env3);
100265
+ function walkUpLexicalEnvironments2(env2, cb) {
100266
+ while (env2) {
100267
+ const result = cb(env2);
100268
100268
  if (result !== void 0)
100269
100269
  return result;
100270
- env3 = env3.previous;
100270
+ env2 = env2.previous;
100271
100271
  }
100272
100272
  }
100273
100273
  function newPrivateEnvironment2(data) {
@@ -100286,8 +100286,8 @@ ${lanes.join("\n")}
100286
100286
  privateEnv.identifiers.set(name.escapedText, entry);
100287
100287
  }
100288
100288
  }
100289
- function accessPrivateIdentifier2(env3, name) {
100290
- return walkUpLexicalEnvironments2(env3, (env22) => getPrivateIdentifier2(env22.privateEnv, name));
100289
+ function accessPrivateIdentifier2(env2, name) {
100290
+ return walkUpLexicalEnvironments2(env2, (env22) => getPrivateIdentifier2(env22.privateEnv, name));
100291
100291
  }
100292
100292
  var IdentifierNameMap2, IdentifierNameMultiMap2;
100293
100293
  var init_utilities3 = __esm2({
@@ -208767,7 +208767,7 @@ var require_iterate_metadata_intersection = __commonJS({
208767
208767
  var _b2 = __read2(_a4, 1), c7 = _b2[0];
208768
208768
  return c7.size() === 1 && (c7.atomics.length === 1 || c7.constants.length === 1 && c7.constants[0].type === "boolean" || c7.arrays.length === 1);
208769
208769
  });
208770
- var constants2 = children.filter(function(m3) {
208770
+ var constants = children.filter(function(m3) {
208771
208771
  return m3.size() === m3.constants.map(function(c7) {
208772
208772
  return c7.values.length;
208773
208773
  }).reduce(function(a2, b8) {
@@ -208797,7 +208797,7 @@ var require_iterate_metadata_intersection = __commonJS({
208797
208797
  return a2.type.name;
208798
208798
  });
208799
208799
  }).flat());
208800
- if (atomics.size + arrays.size > 1 || individuals.length + objects.length + constants2.length !== children.length) {
208800
+ if (atomics.size + arrays.size > 1 || individuals.length + objects.length + constants.length !== children.length) {
208801
208801
  errors.push({
208802
208802
  name: children.map(function(c7) {
208803
208803
  return c7.getName();
@@ -208806,9 +208806,9 @@ var require_iterate_metadata_intersection = __commonJS({
208806
208806
  messages: ["nonsensible intersection"]
208807
208807
  });
208808
208808
  return true;
208809
- } else if (atomics.size === 0 && arrays.size === 0 && constants2.length) {
208809
+ } else if (atomics.size === 0 && arrays.size === 0 && constants.length) {
208810
208810
  try {
208811
- for (var constants_1 = __values2(constants2), constants_1_1 = constants_1.next(); !constants_1_1.done; constants_1_1 = constants_1.next()) {
208811
+ for (var constants_1 = __values2(constants), constants_1_1 = constants_1.next(); !constants_1_1.done; constants_1_1 = constants_1.next()) {
208812
208812
  var m2 = constants_1_1.value;
208813
208813
  try {
208814
208814
  for (var _e12 = (e_2 = void 0, __values2(m2.templates)), _f = _e12.next(); !_f.done; _f = _e12.next()) {
@@ -211476,7 +211476,7 @@ var require_TransformerError = __commonJS({
211476
211476
  TransformerError2.from = function(method) {
211477
211477
  return function(errors) {
211478
211478
  var body = errors.map(function(e3) {
211479
- var subject = e3.explore.object === null ? "" : join5(e3.explore.object)(e3.explore.property);
211479
+ var subject = e3.explore.object === null ? "" : join3(e3.explore.object)(e3.explore.property);
211480
211480
  var type2 = "".concat(subject.length ? "".concat(subject, ": ") : "").concat(e3.name);
211481
211481
  return "- ".concat(type2, "\n").concat(e3.messages.map(function(msg) {
211482
211482
  return " - ".concat(msg);
@@ -211488,7 +211488,7 @@ var require_TransformerError = __commonJS({
211488
211488
  });
211489
211489
  };
211490
211490
  };
211491
- var join5 = function(object) {
211491
+ var join3 = function(object) {
211492
211492
  return function(key2) {
211493
211493
  if (key2 === null)
211494
211494
  return object.name;
@@ -217588,13 +217588,13 @@ var require_application_object = __commonJS({
217588
217588
  // swagger can't express patternProperties
217589
217589
  "x-typia-additionalProperties": extraProps.additionalProperties,
217590
217590
  "x-typia-patternProperties": extraProps.patternProperties,
217591
- additionalProperties: join5(options8)(components)(extraMeta)
217591
+ additionalProperties: join3(options8)(components)(extraMeta)
217592
217592
  } : {});
217593
217593
  };
217594
217594
  };
217595
217595
  };
217596
217596
  };
217597
- var join5 = function(options8) {
217597
+ var join3 = function(options8) {
217598
217598
  return function(components) {
217599
217599
  return function(extra) {
217600
217600
  var _a3;
@@ -227054,7 +227054,7 @@ function __classPrivateFieldIn(state, receiver) {
227054
227054
  throw new TypeError("Cannot use 'in' operator on non-object");
227055
227055
  return typeof state === "function" ? receiver === state : state.has(receiver);
227056
227056
  }
227057
- function __addDisposableResource(env3, value, async) {
227057
+ function __addDisposableResource(env2, value, async) {
227058
227058
  if (value !== null && value !== void 0) {
227059
227059
  if (typeof value !== "object" && typeof value !== "function")
227060
227060
  throw new TypeError("Object expected.");
@@ -227071,20 +227071,20 @@ function __addDisposableResource(env3, value, async) {
227071
227071
  }
227072
227072
  if (typeof dispose !== "function")
227073
227073
  throw new TypeError("Object not disposable.");
227074
- env3.stack.push({ value, dispose, async });
227074
+ env2.stack.push({ value, dispose, async });
227075
227075
  } else if (async) {
227076
- env3.stack.push({ async: true });
227076
+ env2.stack.push({ async: true });
227077
227077
  }
227078
227078
  return value;
227079
227079
  }
227080
- function __disposeResources(env3) {
227080
+ function __disposeResources(env2) {
227081
227081
  function fail(e3) {
227082
- env3.error = env3.hasError ? new _SuppressedError(e3, env3.error, "An error was suppressed during disposal.") : e3;
227083
- env3.hasError = true;
227082
+ env2.error = env2.hasError ? new _SuppressedError(e3, env2.error, "An error was suppressed during disposal.") : e3;
227083
+ env2.hasError = true;
227084
227084
  }
227085
227085
  function next() {
227086
- while (env3.stack.length) {
227087
- var rec = env3.stack.pop();
227086
+ while (env2.stack.length) {
227087
+ var rec = env2.stack.pop();
227088
227088
  try {
227089
227089
  var result = rec.dispose && rec.dispose.call(rec.value);
227090
227090
  if (rec.async)
@@ -227096,8 +227096,8 @@ function __disposeResources(env3) {
227096
227096
  fail(e3);
227097
227097
  }
227098
227098
  }
227099
- if (env3.hasError)
227100
- throw env3.error;
227099
+ if (env2.hasError)
227100
+ throw env2.error;
227101
227101
  }
227102
227102
  return next();
227103
227103
  }
@@ -227211,7 +227211,7 @@ var require_strip_it = __commonJS({
227211
227211
  return this.nodes.length > 0 && this.nodes[0].protected === true;
227212
227212
  }
227213
227213
  };
227214
- var constants2 = {
227214
+ var constants = {
227215
227215
  ESCAPED_CHAR_REGEX: /^\\./,
227216
227216
  QUOTED_STRING_REGEX: /^(['"`])((?:\\.|[^\1])+?)(\1)/,
227217
227217
  NEWLINE_REGEX: /^\r*\n/,
@@ -227222,7 +227222,7 @@ var require_strip_it = __commonJS({
227222
227222
  var parse6 = (input) => {
227223
227223
  const cst = new TextBlock({ type: "root", nodes: [] });
227224
227224
  const stack2 = [cst];
227225
- const { ESCAPED_CHAR_REGEX, QUOTED_STRING_REGEX, NEWLINE_REGEX, BLOCK_CLOSE_REGEX, BLOCK_OPEN_REGEX, LINE_REGEX } = constants2;
227225
+ const { ESCAPED_CHAR_REGEX, QUOTED_STRING_REGEX, NEWLINE_REGEX, BLOCK_CLOSE_REGEX, BLOCK_OPEN_REGEX, LINE_REGEX } = constants;
227226
227226
  let block = cst;
227227
227227
  let remaining = input;
227228
227228
  let token2;
@@ -227600,7 +227600,7 @@ function lineSuffix(contents) {
227600
227600
  assertDoc(contents);
227601
227601
  return { type: DOC_TYPE_LINE_SUFFIX, contents };
227602
227602
  }
227603
- function join4(separator, docs) {
227603
+ function join2(separator, docs) {
227604
227604
  assertDoc(separator);
227605
227605
  assertDocArray(docs);
227606
227606
  const parts = [];
@@ -227960,7 +227960,7 @@ function cleanDoc(doc) {
227960
227960
  return mapDoc(doc, (currentDoc) => cleanDocFn(currentDoc));
227961
227961
  }
227962
227962
  function replaceEndOfLine(doc, replacement = literalline) {
227963
- return mapDoc(doc, (currentDoc) => typeof currentDoc === "string" ? join4(replacement, currentDoc.split("\n")) : currentDoc);
227963
+ return mapDoc(doc, (currentDoc) => typeof currentDoc === "string" ? join2(replacement, currentDoc.split("\n")) : currentDoc);
227964
227964
  }
227965
227965
  function canBreakFn(doc) {
227966
227966
  if (doc.type === DOC_TYPE_LINE) {
@@ -228666,7 +228666,7 @@ var init_doc = __esm({
228666
228666
  MODE_FLAT = Symbol("MODE_FLAT");
228667
228667
  CURSOR_PLACEHOLDER = Symbol("cursor");
228668
228668
  builders = {
228669
- join: join4,
228669
+ join: join2,
228670
228670
  line,
228671
228671
  softline,
228672
228672
  hardline,
@@ -319924,14 +319924,14 @@ function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : import_pr
319924
319924
  return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
319925
319925
  }
319926
319926
  function envForceColor() {
319927
- if ("FORCE_COLOR" in env2) {
319928
- if (env2.FORCE_COLOR === "true") {
319927
+ if ("FORCE_COLOR" in env) {
319928
+ if (env.FORCE_COLOR === "true") {
319929
319929
  return 1;
319930
319930
  }
319931
- if (env2.FORCE_COLOR === "false") {
319931
+ if (env.FORCE_COLOR === "false") {
319932
319932
  return 0;
319933
319933
  }
319934
- return env2.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env2.FORCE_COLOR, 10), 3);
319934
+ return env.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3);
319935
319935
  }
319936
319936
  }
319937
319937
  function translateLevel(level) {
@@ -319962,14 +319962,14 @@ function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
319962
319962
  return 2;
319963
319963
  }
319964
319964
  }
319965
- if ("TF_BUILD" in env2 && "AGENT_NAME" in env2) {
319965
+ if ("TF_BUILD" in env && "AGENT_NAME" in env) {
319966
319966
  return 1;
319967
319967
  }
319968
319968
  if (haveStream && !streamIsTTY && forceColor === void 0) {
319969
319969
  return 0;
319970
319970
  }
319971
319971
  const min = forceColor || 0;
319972
- if (env2.TERM === "dumb") {
319972
+ if (env.TERM === "dumb") {
319973
319973
  return min;
319974
319974
  }
319975
319975
  if (import_process.default.platform === "win32") {
@@ -319979,27 +319979,27 @@ function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
319979
319979
  }
319980
319980
  return 1;
319981
319981
  }
319982
- if ("CI" in env2) {
319983
- if ("GITHUB_ACTIONS" in env2 || "GITEA_ACTIONS" in env2) {
319982
+ if ("CI" in env) {
319983
+ if ("GITHUB_ACTIONS" in env || "GITEA_ACTIONS" in env) {
319984
319984
  return 3;
319985
319985
  }
319986
- if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "BUILDKITE", "DRONE"].some((sign2) => sign2 in env2) || env2.CI_NAME === "codeship") {
319986
+ if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "BUILDKITE", "DRONE"].some((sign2) => sign2 in env) || env.CI_NAME === "codeship") {
319987
319987
  return 1;
319988
319988
  }
319989
319989
  return min;
319990
319990
  }
319991
- if ("TEAMCITY_VERSION" in env2) {
319992
- return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env2.TEAMCITY_VERSION) ? 1 : 0;
319991
+ if ("TEAMCITY_VERSION" in env) {
319992
+ return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
319993
319993
  }
319994
- if (env2.COLORTERM === "truecolor") {
319994
+ if (env.COLORTERM === "truecolor") {
319995
319995
  return 3;
319996
319996
  }
319997
- if (env2.TERM === "xterm-kitty") {
319997
+ if (env.TERM === "xterm-kitty") {
319998
319998
  return 3;
319999
319999
  }
320000
- if ("TERM_PROGRAM" in env2) {
320001
- const version = Number.parseInt((env2.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
320002
- switch (env2.TERM_PROGRAM) {
320000
+ if ("TERM_PROGRAM" in env) {
320001
+ const version = Number.parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
320002
+ switch (env.TERM_PROGRAM) {
320003
320003
  case "iTerm.app": {
320004
320004
  return version >= 3 ? 3 : 2;
320005
320005
  }
@@ -320008,13 +320008,13 @@ function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
320008
320008
  }
320009
320009
  }
320010
320010
  }
320011
- if (/-256(color)?$/i.test(env2.TERM)) {
320011
+ if (/-256(color)?$/i.test(env.TERM)) {
320012
320012
  return 2;
320013
320013
  }
320014
- if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env2.TERM)) {
320014
+ if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
320015
320015
  return 1;
320016
320016
  }
320017
- if ("COLORTERM" in env2) {
320017
+ if ("COLORTERM" in env) {
320018
320018
  return 1;
320019
320019
  }
320020
320020
  return min;
@@ -326822,7 +326822,7 @@ async function clearCache3() {
326822
326822
  clearCache();
326823
326823
  clearCache2();
326824
326824
  }
326825
- var import_module, import_url, import_path, import_process, import_os, import_tty, import_path2, import_url2, import_path3, path3, import_promises, import_path4, path, import_path5, import_promises2, import_promises3, import_url3, import_promises4, import_path6, import_url4, import_assert, import_fs, import_process2, import_url5, import_path7, import_module2, import_url6, import_url7, import_fs2, import_path8, import_url8, import_v8, import_assert2, import_util, import_module3, import_path9, import_url9, import_fs3, import_assert3, import_assert4, import_path10, import_url10, import_path11, import_meta2, require2, __filename2, __dirname2, __create2, __defProp3, __getOwnPropDesc2, __getOwnPropNames2, __getProtoOf2, __hasOwnProp2, __defNormalProp, __require, __commonJS2, __export3, __copyProps2, __toESM2, __publicField, __accessCheck, __privateGet, __privateAdd, __privateSet, __privateMethod, require_array, require_errno, require_fs, require_path, require_is_extglob, require_is_glob, require_glob_parent, require_utils, require_stringify, require_is_number, require_to_regex_range, require_fill_range, require_compile, require_expand, require_constants, require_parse, require_braces, require_constants2, require_utils2, require_scan, require_parse2, require_picomatch, require_picomatch2, require_micromatch, require_pattern, require_merge2, require_stream, require_string, require_utils3, require_tasks, require_async, require_sync, require_fs2, require_settings, require_out, require_queue_microtask, require_run_parallel, require_constants3, require_fs3, require_utils4, require_common, require_async2, require_sync2, require_fs4, require_settings2, require_out2, require_reusify, require_queue, require_common2, require_reader, require_async3, require_async4, require_stream2, require_sync3, require_sync4, require_settings3, require_out3, require_reader2, require_stream3, require_async5, require_matcher, require_partial, require_deep, require_entry, require_error, require_entry2, require_provider, require_async6, require_stream4, require_sync5, require_sync6, require_settings4, require_out4, require_debug, require_constants4, require_re, require_parse_options, require_identifiers, require_semver, require_compare, require_gte, require_pseudomap, require_map, require_yallist, require_lru_cache, require_sigmund, require_fnmatch, require_ini, require_package, require_src2, require_vendors, require_ci_info, require_parser, require_create_datetime, require_format_num, require_create_datetime_float, require_create_date, require_create_time, require_toml_parser, require_parse_pretty_error, require_parse_async, require_js_tokens, require_identifier, require_keyword, require_lib3, require_escape_string_regexp, require_color_name2, require_conversions2, require_route2, require_color_convert2, require_ansi_styles2, require_has_flag2, require_supports_color2, require_templates2, require_chalk, require_lib22, require_lib32, require_ignore, require_readlines, require_base, require_array2, src_exports, import_fast_glob, apiDescriptor, ANSI_BACKGROUND_OFFSET, wrapAnsi16, wrapAnsi256, wrapAnsi16m, styles, modifierNames, foregroundColorNames, backgroundColorNames, colorNames, ansiStyles, ansi_styles_default, env2, flagForceColor, supportsColor, supports_color_default, stdoutColor, stderrColor, GENERATOR, STYLER, IS_EMPTY, levelMapping, styles2, applyOptions, chalkFactory, getModelAnsi, usedModels, proto, createStyler, createBuilder, applyStyle, chalk2, chalkStderr, source_default, commonDeprecatedHandler, VALUE_NOT_EXIST, VALUE_UNCHANGED, INDENTATION, commonInvalidHandler, array, characterCodeCache, levenUnknownHandler, HANDLER_KEYS, Schema, AliasSchema, AnySchema, ArraySchema, BooleanSchema, ChoiceSchema, NumberSchema, IntegerSchema, StringSchema, defaultDescriptor, defaultUnknownHandler, defaultInvalidHandler, defaultDeprecatedHandler, Normalizer, errors_exports, ConfigError, UndefinedParserError, ArgExpansionBailout, import_micromatch, isUrlInstance, isUrlString, isUrl, toPath, partition_default, import_editorconfig, is_directory_default, toAbsolutePath, iterate_directory_up_default, _names, _filter, _stopDirectory, _cache, _searchInDirectory, searchInDirectory_fn, Searcher, searcher_default, MARKERS, searcher, searchOptions, editorconfig_to_prettier_default, editorconfigCache, import_ci_info, stdin, mockable, mockable_default, is_file_default, import_parse_async, isNothing_1, isObject_1, toArray_1, repeat_1, isNegativeZero_1, extend_1, common, exception, snippet, TYPE_CONSTRUCTOR_OPTIONS, YAML_NODE_KINDS, type, schema, str, seq, map, failsafe, _null, bool, int, YAML_FLOAT_PATTERN, SCIENTIFIC_WITHOUT_DOT, float, json, core, YAML_DATE_REGEXP, YAML_TIMESTAMP_REGEXP, timestamp, merge, BASE64_MAP, binary, _hasOwnProperty$3, _toString$2, omap, _toString$1, pairs, _hasOwnProperty$2, set, _default, _hasOwnProperty$1, CONTEXT_FLOW_IN, CONTEXT_FLOW_OUT, CONTEXT_BLOCK_IN, CONTEXT_BLOCK_OUT, CHOMPING_CLIP, CHOMPING_STRIP, CHOMPING_KEEP, PATTERN_NON_PRINTABLE, PATTERN_NON_ASCII_LINE_BREAKS, PATTERN_FLOW_INDICATORS, PATTERN_TAG_HANDLE, PATTERN_TAG_URI, simpleEscapeCheck, simpleEscapeMap, i, directiveHandlers, loadAll_1, load_1, loader, ESCAPE_SEQUENCES, load, loadAll, safeLoad, safeLoadAll, safeDump, Space_Separator, ID_Start, ID_Continue, unicode, util2, source, parseState, stack, pos, line2, column, token, key, root, parse2, lexState, buffer, doubleQuote, sign, c3, lexStates, parseStates, dist_default, import_code_frame, safeLastIndexOf, getCodePoint, _message, _JSONError, JSONError, generateCodeFrame, getErrorLocation, addCodePointToUnexpectedToken, read_file_default, loaders, loaders_default, CONFIG_FILE_NAMES, config_searcher_default, own, classRegExp, kTypes, codes, messages, nodeInternalPrefix, userStackTraceLimit, captureLargerStackTrace, hasOwnProperty, ERR_INVALID_PACKAGE_CONFIG, cache, reader, package_json_reader_default, ERR_UNKNOWN_FILE_EXTENSION, hasOwnProperty2, extensionFormatMap, protocolHandlers, ERR_INVALID_ARG_VALUE, DEFAULT_CONDITIONS, DEFAULT_CONDITIONS_SET, RegExpPrototypeSymbolReplace, ERR_NETWORK_IMPORT_DISALLOWED, ERR_INVALID_MODULE_SPECIFIER, ERR_INVALID_PACKAGE_CONFIG2, ERR_INVALID_PACKAGE_TARGET, ERR_MODULE_NOT_FOUND, ERR_PACKAGE_IMPORT_NOT_DEFINED, ERR_PACKAGE_PATH_NOT_EXPORTED, ERR_UNSUPPORTED_DIR_IMPORT, own2, invalidSegmentRegEx, deprecatedInvalidSegmentRegEx, invalidPackageNameRegEx, patternRegEx, encodedSepRegEx, emittedPackageWarnings, doubleSlashRegEx, import_from_file_default, require_from_file_default, requireErrorCodesShouldBeIgnored, load_external_config_default, load_config_default, loadCache, searchCache, stringReplaceAll22, string_replace_all_default2, import_ignore, createIgnore, slash, import_n_readlines, get_interpreter_default, getFileBasename, infer_parser_default, get_file_info_default, import_diff, DOC_TYPE_STRING2, DOC_TYPE_ARRAY2, DOC_TYPE_CURSOR2, DOC_TYPE_INDENT2, DOC_TYPE_ALIGN2, DOC_TYPE_TRIM2, DOC_TYPE_GROUP2, DOC_TYPE_FILL2, DOC_TYPE_IF_BREAK2, DOC_TYPE_INDENT_IF_BREAK2, DOC_TYPE_LINE_SUFFIX2, DOC_TYPE_LINE_SUFFIX_BOUNDARY2, DOC_TYPE_LINE2, DOC_TYPE_LABEL2, DOC_TYPE_BREAK_PARENT2, VALID_OBJECT_DOC_TYPES2, get_doc_type_default2, disjunctionListFormat2, InvalidDocError2, invalid_doc_error_default2, traverseDocOnExitStackMarker2, traverse_doc_default2, noop2, assertDoc2, assertDocArray2, breakParent2, hardlineWithoutBreakParent2, line22, hardline2, cursor2, at7, at_default2, emoji_regex_default2, _isNarrowWidth2, notAsciiRegex2, get_string_width_default2, getDocParts2, MODE_BREAK2, MODE_FLAT2, CURSOR_PLACEHOLDER2, get_alignment_size_default, _getNodeStackIndex, getNodeStackIndex_fn, _getAncestors, getAncestors_fn, AstPath, ast_path_default, is_object_default, skipWhitespace, skipSpaces, skipToLineEnd, skipEverythingButNewLine, skip_newline_default, has_newline_default, is_non_empty_array_default, nonTraversableKeys, defaultGetVisitorKeys, create_get_visitor_keys_function_default, childNodesCache, returnFalse, isAllEmptyAndNoLineBreak, is_previous_line_empty_default, create_print_pre_check_function_default, core_options_evaluate_default, hasDeprecationWarned, normalize_options_default, arrayFindLast, array_find_last_default, formatOptionsHiddenDefaults, normalize_format_options_default, import_code_frame2, parse_default, print_ignored_default, get_cursor_node_default, massage_ast_default, isJsonParser, jsonSourceElements, graphqlSourceElements, BOM, CURSOR, option_categories_exports, CATEGORY_CONFIG, CATEGORY_EDITOR, CATEGORY_FORMAT, CATEGORY_OTHER, CATEGORY_OUTPUT, CATEGORY_GLOBAL, CATEGORY_SPECIAL, builtin_plugins_proxy_exports, languages_evaluate_default, common_options_evaluate_default, options, options_default, languages_evaluate_default2, options2, options_default2, languages_evaluate_default3, languages_evaluate_default4, CATEGORY_HTML, options3, options_default3, languages_evaluate_default5, CATEGORY_JAVASCRIPT, options4, options_default4, languages_evaluate_default6, languages_evaluate_default7, options5, options_default5, languages_evaluate_default8, options6, options_default6, options7, languages, parsers, printers, load_builtin_plugins_default, import_from_directory_default, cache2, load_plugins_default, object_omit_default, version_evaluate_default, public_exports2, skip_inline_comment_default, skip_trailing_comment_default, get_next_non_space_non_comment_character_index_default, is_next_line_empty_default, get_indent_size_default, get_max_continuous_count_default, get_next_non_space_non_comment_character_default, has_newline_in_range_default, has_spaces_default, make_string_default, formatWithCursor2, getFileInfo2, getSupportInfo2, sharedWithCli, debugApis, src_default;
326825
+ var import_module, import_url, import_path, import_process, import_os, import_tty, import_path2, import_url2, import_path3, path3, import_promises, import_path4, path, import_path5, import_promises2, import_promises3, import_url3, import_promises4, import_path6, import_url4, import_assert, import_fs, import_process2, import_url5, import_path7, import_module2, import_url6, import_url7, import_fs2, import_path8, import_url8, import_v8, import_assert2, import_util, import_module3, import_path9, import_url9, import_fs3, import_assert3, import_assert4, import_path10, import_url10, import_path11, import_meta2, require2, __filename2, __dirname2, __create2, __defProp3, __getOwnPropDesc2, __getOwnPropNames2, __getProtoOf2, __hasOwnProp2, __defNormalProp, __require, __commonJS2, __export3, __copyProps2, __toESM2, __publicField, __accessCheck, __privateGet, __privateAdd, __privateSet, __privateMethod, require_array, require_errno, require_fs, require_path, require_is_extglob, require_is_glob, require_glob_parent, require_utils, require_stringify, require_is_number, require_to_regex_range, require_fill_range, require_compile, require_expand, require_constants, require_parse, require_braces, require_constants2, require_utils2, require_scan, require_parse2, require_picomatch, require_picomatch2, require_micromatch, require_pattern, require_merge2, require_stream, require_string, require_utils3, require_tasks, require_async, require_sync, require_fs2, require_settings, require_out, require_queue_microtask, require_run_parallel, require_constants3, require_fs3, require_utils4, require_common, require_async2, require_sync2, require_fs4, require_settings2, require_out2, require_reusify, require_queue, require_common2, require_reader, require_async3, require_async4, require_stream2, require_sync3, require_sync4, require_settings3, require_out3, require_reader2, require_stream3, require_async5, require_matcher, require_partial, require_deep, require_entry, require_error, require_entry2, require_provider, require_async6, require_stream4, require_sync5, require_sync6, require_settings4, require_out4, require_debug, require_constants4, require_re, require_parse_options, require_identifiers, require_semver, require_compare, require_gte, require_pseudomap, require_map, require_yallist, require_lru_cache, require_sigmund, require_fnmatch, require_ini, require_package, require_src2, require_vendors, require_ci_info, require_parser, require_create_datetime, require_format_num, require_create_datetime_float, require_create_date, require_create_time, require_toml_parser, require_parse_pretty_error, require_parse_async, require_js_tokens, require_identifier, require_keyword, require_lib3, require_escape_string_regexp, require_color_name2, require_conversions2, require_route2, require_color_convert2, require_ansi_styles2, require_has_flag2, require_supports_color2, require_templates2, require_chalk, require_lib22, require_lib32, require_ignore, require_readlines, require_base, require_array2, src_exports, import_fast_glob, apiDescriptor, ANSI_BACKGROUND_OFFSET, wrapAnsi16, wrapAnsi256, wrapAnsi16m, styles, modifierNames, foregroundColorNames, backgroundColorNames, colorNames, ansiStyles, ansi_styles_default, env, flagForceColor, supportsColor, supports_color_default, stdoutColor, stderrColor, GENERATOR, STYLER, IS_EMPTY, levelMapping, styles2, applyOptions, chalkFactory, getModelAnsi, usedModels, proto, createStyler, createBuilder, applyStyle, chalk2, chalkStderr, source_default, commonDeprecatedHandler, VALUE_NOT_EXIST, VALUE_UNCHANGED, INDENTATION, commonInvalidHandler, array, characterCodeCache, levenUnknownHandler, HANDLER_KEYS, Schema, AliasSchema, AnySchema, ArraySchema, BooleanSchema, ChoiceSchema, NumberSchema, IntegerSchema, StringSchema, defaultDescriptor, defaultUnknownHandler, defaultInvalidHandler, defaultDeprecatedHandler, Normalizer, errors_exports, ConfigError, UndefinedParserError, ArgExpansionBailout, import_micromatch, isUrlInstance, isUrlString, isUrl, toPath, partition_default, import_editorconfig, is_directory_default, toAbsolutePath, iterate_directory_up_default, _names, _filter, _stopDirectory, _cache, _searchInDirectory, searchInDirectory_fn, Searcher, searcher_default, MARKERS, searcher, searchOptions, editorconfig_to_prettier_default, editorconfigCache, import_ci_info, stdin, mockable, mockable_default, is_file_default, import_parse_async, isNothing_1, isObject_1, toArray_1, repeat_1, isNegativeZero_1, extend_1, common, exception, snippet, TYPE_CONSTRUCTOR_OPTIONS, YAML_NODE_KINDS, type, schema, str, seq, map, failsafe, _null, bool, int, YAML_FLOAT_PATTERN, SCIENTIFIC_WITHOUT_DOT, float, json, core, YAML_DATE_REGEXP, YAML_TIMESTAMP_REGEXP, timestamp, merge, BASE64_MAP, binary, _hasOwnProperty$3, _toString$2, omap, _toString$1, pairs, _hasOwnProperty$2, set, _default, _hasOwnProperty$1, CONTEXT_FLOW_IN, CONTEXT_FLOW_OUT, CONTEXT_BLOCK_IN, CONTEXT_BLOCK_OUT, CHOMPING_CLIP, CHOMPING_STRIP, CHOMPING_KEEP, PATTERN_NON_PRINTABLE, PATTERN_NON_ASCII_LINE_BREAKS, PATTERN_FLOW_INDICATORS, PATTERN_TAG_HANDLE, PATTERN_TAG_URI, simpleEscapeCheck, simpleEscapeMap, i, directiveHandlers, loadAll_1, load_1, loader, ESCAPE_SEQUENCES, load, loadAll, safeLoad, safeLoadAll, safeDump, Space_Separator, ID_Start, ID_Continue, unicode, util2, source, parseState, stack, pos, line2, column, token, key, root, parse2, lexState, buffer, doubleQuote, sign, c3, lexStates, parseStates, dist_default, import_code_frame, safeLastIndexOf, getCodePoint, _message, _JSONError, JSONError, generateCodeFrame, getErrorLocation, addCodePointToUnexpectedToken, read_file_default, loaders, loaders_default, CONFIG_FILE_NAMES, config_searcher_default, own, classRegExp, kTypes, codes, messages, nodeInternalPrefix, userStackTraceLimit, captureLargerStackTrace, hasOwnProperty, ERR_INVALID_PACKAGE_CONFIG, cache, reader, package_json_reader_default, ERR_UNKNOWN_FILE_EXTENSION, hasOwnProperty2, extensionFormatMap, protocolHandlers, ERR_INVALID_ARG_VALUE, DEFAULT_CONDITIONS, DEFAULT_CONDITIONS_SET, RegExpPrototypeSymbolReplace, ERR_NETWORK_IMPORT_DISALLOWED, ERR_INVALID_MODULE_SPECIFIER, ERR_INVALID_PACKAGE_CONFIG2, ERR_INVALID_PACKAGE_TARGET, ERR_MODULE_NOT_FOUND, ERR_PACKAGE_IMPORT_NOT_DEFINED, ERR_PACKAGE_PATH_NOT_EXPORTED, ERR_UNSUPPORTED_DIR_IMPORT, own2, invalidSegmentRegEx, deprecatedInvalidSegmentRegEx, invalidPackageNameRegEx, patternRegEx, encodedSepRegEx, emittedPackageWarnings, doubleSlashRegEx, import_from_file_default, require_from_file_default, requireErrorCodesShouldBeIgnored, load_external_config_default, load_config_default, loadCache, searchCache, stringReplaceAll22, string_replace_all_default2, import_ignore, createIgnore, slash, import_n_readlines, get_interpreter_default, getFileBasename, infer_parser_default, get_file_info_default, import_diff, DOC_TYPE_STRING2, DOC_TYPE_ARRAY2, DOC_TYPE_CURSOR2, DOC_TYPE_INDENT2, DOC_TYPE_ALIGN2, DOC_TYPE_TRIM2, DOC_TYPE_GROUP2, DOC_TYPE_FILL2, DOC_TYPE_IF_BREAK2, DOC_TYPE_INDENT_IF_BREAK2, DOC_TYPE_LINE_SUFFIX2, DOC_TYPE_LINE_SUFFIX_BOUNDARY2, DOC_TYPE_LINE2, DOC_TYPE_LABEL2, DOC_TYPE_BREAK_PARENT2, VALID_OBJECT_DOC_TYPES2, get_doc_type_default2, disjunctionListFormat2, InvalidDocError2, invalid_doc_error_default2, traverseDocOnExitStackMarker2, traverse_doc_default2, noop2, assertDoc2, assertDocArray2, breakParent2, hardlineWithoutBreakParent2, line22, hardline2, cursor2, at7, at_default2, emoji_regex_default2, _isNarrowWidth2, notAsciiRegex2, get_string_width_default2, getDocParts2, MODE_BREAK2, MODE_FLAT2, CURSOR_PLACEHOLDER2, get_alignment_size_default, _getNodeStackIndex, getNodeStackIndex_fn, _getAncestors, getAncestors_fn, AstPath, ast_path_default, is_object_default, skipWhitespace, skipSpaces, skipToLineEnd, skipEverythingButNewLine, skip_newline_default, has_newline_default, is_non_empty_array_default, nonTraversableKeys, defaultGetVisitorKeys, create_get_visitor_keys_function_default, childNodesCache, returnFalse, isAllEmptyAndNoLineBreak, is_previous_line_empty_default, create_print_pre_check_function_default, core_options_evaluate_default, hasDeprecationWarned, normalize_options_default, arrayFindLast, array_find_last_default, formatOptionsHiddenDefaults, normalize_format_options_default, import_code_frame2, parse_default, print_ignored_default, get_cursor_node_default, massage_ast_default, isJsonParser, jsonSourceElements, graphqlSourceElements, BOM, CURSOR, option_categories_exports, CATEGORY_CONFIG, CATEGORY_EDITOR, CATEGORY_FORMAT, CATEGORY_OTHER, CATEGORY_OUTPUT, CATEGORY_GLOBAL, CATEGORY_SPECIAL, builtin_plugins_proxy_exports, languages_evaluate_default, common_options_evaluate_default, options, options_default, languages_evaluate_default2, options2, options_default2, languages_evaluate_default3, languages_evaluate_default4, CATEGORY_HTML, options3, options_default3, languages_evaluate_default5, CATEGORY_JAVASCRIPT, options4, options_default4, languages_evaluate_default6, languages_evaluate_default7, options5, options_default5, languages_evaluate_default8, options6, options_default6, options7, languages, parsers, printers, load_builtin_plugins_default, import_from_directory_default, cache2, load_plugins_default, object_omit_default, version_evaluate_default, public_exports2, skip_inline_comment_default, skip_trailing_comment_default, get_next_non_space_non_comment_character_index_default, is_next_line_empty_default, get_indent_size_default, get_max_continuous_count_default, get_next_non_space_non_comment_character_default, has_newline_in_range_default, has_spaces_default, make_string_default, formatWithCursor2, getFileInfo2, getSupportInfo2, sharedWithCli, debugApis, src_default;
326826
326826
  var init_prettier = __esm({
326827
326827
  "node_modules/.pnpm/prettier@3.2.5/node_modules/prettier/index.mjs"() {
326828
326828
  import_module = require("module");
@@ -328893,7 +328893,7 @@ var init_prettier = __esm({
328893
328893
  require_parse2 = __commonJS2({
328894
328894
  "node_modules/picomatch/lib/parse.js"(exports2, module2) {
328895
328895
  "use strict";
328896
- var constants2 = require_constants2();
328896
+ var constants = require_constants2();
328897
328897
  var utils2 = require_utils2();
328898
328898
  var {
328899
328899
  MAX_LENGTH,
@@ -328901,7 +328901,7 @@ var init_prettier = __esm({
328901
328901
  REGEX_NON_SPECIAL_CHARS,
328902
328902
  REGEX_SPECIAL_CHARS_BACKREF,
328903
328903
  REPLACEMENTS
328904
- } = constants2;
328904
+ } = constants;
328905
328905
  var expandRange = (args, options8) => {
328906
328906
  if (typeof options8.expandRange === "function") {
328907
328907
  return options8.expandRange(...args, options8);
@@ -328933,8 +328933,8 @@ var init_prettier = __esm({
328933
328933
  const tokens = [bos];
328934
328934
  const capture = opts.capture ? "" : "?:";
328935
328935
  const win32 = utils2.isWindows(options8);
328936
- const PLATFORM_CHARS = constants2.globChars(win32);
328937
- const EXTGLOB_CHARS = constants2.extglobChars(PLATFORM_CHARS);
328936
+ const PLATFORM_CHARS = constants.globChars(win32);
328937
+ const EXTGLOB_CHARS = constants.extglobChars(PLATFORM_CHARS);
328938
328938
  const {
328939
328939
  DOT_LITERAL,
328940
328940
  PLUS_LITERAL,
@@ -329616,7 +329616,7 @@ var init_prettier = __esm({
329616
329616
  NO_DOTS_SLASH,
329617
329617
  STAR,
329618
329618
  START_ANCHOR
329619
- } = constants2.globChars(win32);
329619
+ } = constants.globChars(win32);
329620
329620
  const nodot = opts.dot ? NO_DOTS : NO_DOT;
329621
329621
  const slashDot = opts.dot ? NO_DOTS_SLASH : NO_DOT;
329622
329622
  const capture = opts.capture ? "" : "?:";
@@ -329676,7 +329676,7 @@ var init_prettier = __esm({
329676
329676
  var scan = require_scan();
329677
329677
  var parse6 = require_parse2();
329678
329678
  var utils2 = require_utils2();
329679
- var constants2 = require_constants2();
329679
+ var constants = require_constants2();
329680
329680
  var isObject3 = (val) => val && typeof val === "object" && !Array.isArray(val);
329681
329681
  var picomatch = (glob, options8, returnState = false) => {
329682
329682
  if (Array.isArray(glob)) {
@@ -329807,7 +329807,7 @@ var init_prettier = __esm({
329807
329807
  return /$^/;
329808
329808
  }
329809
329809
  };
329810
- picomatch.constants = constants2;
329810
+ picomatch.constants = constants;
329811
329811
  module2.exports = picomatch;
329812
329812
  }
329813
329813
  });
@@ -335072,7 +335072,7 @@ var init_prettier = __esm({
335072
335072
  "node_modules/ci-info/index.js"(exports2) {
335073
335073
  "use strict";
335074
335074
  var vendors = require_vendors();
335075
- var env22 = process.env;
335075
+ var env2 = process.env;
335076
335076
  Object.defineProperty(exports2, "_vendors", {
335077
335077
  value: vendors.map(function(v5) {
335078
335078
  return v5.constant;
@@ -335092,14 +335092,14 @@ var init_prettier = __esm({
335092
335092
  exports2.name = vendor.name;
335093
335093
  switch (typeof vendor.pr) {
335094
335094
  case "string":
335095
- exports2.isPR = !!env22[vendor.pr];
335095
+ exports2.isPR = !!env2[vendor.pr];
335096
335096
  break;
335097
335097
  case "object":
335098
335098
  if ("env" in vendor.pr) {
335099
- exports2.isPR = vendor.pr.env in env22 && env22[vendor.pr.env] !== vendor.pr.ne;
335099
+ exports2.isPR = vendor.pr.env in env2 && env2[vendor.pr.env] !== vendor.pr.ne;
335100
335100
  } else if ("any" in vendor.pr) {
335101
335101
  exports2.isPR = vendor.pr.any.some(function(key2) {
335102
- return !!env22[key2];
335102
+ return !!env2[key2];
335103
335103
  });
335104
335104
  } else {
335105
335105
  exports2.isPR = checkEnv(vendor.pr);
@@ -335109,30 +335109,30 @@ var init_prettier = __esm({
335109
335109
  exports2.isPR = null;
335110
335110
  }
335111
335111
  });
335112
- exports2.isCI = !!(env22.CI !== "false" && // Bypass all checks if CI env is explicitly set to 'false'
335113
- (env22.BUILD_ID || // Jenkins, Cloudbees
335114
- env22.BUILD_NUMBER || // Jenkins, TeamCity
335115
- env22.CI || // Travis CI, CircleCI, Cirrus CI, Gitlab CI, Appveyor, CodeShip, dsari
335116
- env22.CI_APP_ID || // Appflow
335117
- env22.CI_BUILD_ID || // Appflow
335118
- env22.CI_BUILD_NUMBER || // Appflow
335119
- env22.CI_NAME || // Codeship and others
335120
- env22.CONTINUOUS_INTEGRATION || // Travis CI, Cirrus CI
335121
- env22.RUN_ID || // TaskCluster, dsari
335112
+ exports2.isCI = !!(env2.CI !== "false" && // Bypass all checks if CI env is explicitly set to 'false'
335113
+ (env2.BUILD_ID || // Jenkins, Cloudbees
335114
+ env2.BUILD_NUMBER || // Jenkins, TeamCity
335115
+ env2.CI || // Travis CI, CircleCI, Cirrus CI, Gitlab CI, Appveyor, CodeShip, dsari
335116
+ env2.CI_APP_ID || // Appflow
335117
+ env2.CI_BUILD_ID || // Appflow
335118
+ env2.CI_BUILD_NUMBER || // Appflow
335119
+ env2.CI_NAME || // Codeship and others
335120
+ env2.CONTINUOUS_INTEGRATION || // Travis CI, Cirrus CI
335121
+ env2.RUN_ID || // TaskCluster, dsari
335122
335122
  exports2.name || false));
335123
335123
  function checkEnv(obj) {
335124
335124
  if (typeof obj === "string")
335125
- return !!env22[obj];
335125
+ return !!env2[obj];
335126
335126
  if ("env" in obj) {
335127
- return env22[obj.env] && env22[obj.env].includes(obj.includes);
335127
+ return env2[obj.env] && env2[obj.env].includes(obj.includes);
335128
335128
  }
335129
335129
  if ("any" in obj) {
335130
335130
  return obj.any.some(function(k6) {
335131
- return !!env22[k6];
335131
+ return !!env2[k6];
335132
335132
  });
335133
335133
  }
335134
335134
  return Object.keys(obj).every(function(k6) {
335135
- return env22[k6] === obj[k6];
335135
+ return env2[k6] === obj[k6];
335136
335136
  });
335137
335137
  }
335138
335138
  }
@@ -338127,15 +338127,15 @@ var init_prettier = __esm({
338127
338127
  "use strict";
338128
338128
  var os22 = __require("os");
338129
338129
  var hasFlag2 = require_has_flag2();
338130
- var env22 = process.env;
338130
+ var env2 = process.env;
338131
338131
  var forceColor;
338132
338132
  if (hasFlag2("no-color") || hasFlag2("no-colors") || hasFlag2("color=false")) {
338133
338133
  forceColor = false;
338134
338134
  } else if (hasFlag2("color") || hasFlag2("colors") || hasFlag2("color=true") || hasFlag2("color=always")) {
338135
338135
  forceColor = true;
338136
338136
  }
338137
- if ("FORCE_COLOR" in env22) {
338138
- forceColor = env22.FORCE_COLOR.length === 0 || parseInt(env22.FORCE_COLOR, 10) !== 0;
338137
+ if ("FORCE_COLOR" in env2) {
338138
+ forceColor = env2.FORCE_COLOR.length === 0 || parseInt(env2.FORCE_COLOR, 10) !== 0;
338139
338139
  }
338140
338140
  function translateLevel2(level) {
338141
338141
  if (level === 0) {
@@ -338169,37 +338169,37 @@ var init_prettier = __esm({
338169
338169
  }
338170
338170
  return 1;
338171
338171
  }
338172
- if ("CI" in env22) {
338173
- if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI"].some((sign2) => sign2 in env22) || env22.CI_NAME === "codeship") {
338172
+ if ("CI" in env2) {
338173
+ if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI"].some((sign2) => sign2 in env2) || env2.CI_NAME === "codeship") {
338174
338174
  return 1;
338175
338175
  }
338176
338176
  return min;
338177
338177
  }
338178
- if ("TEAMCITY_VERSION" in env22) {
338179
- return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env22.TEAMCITY_VERSION) ? 1 : 0;
338178
+ if ("TEAMCITY_VERSION" in env2) {
338179
+ return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env2.TEAMCITY_VERSION) ? 1 : 0;
338180
338180
  }
338181
- if (env22.COLORTERM === "truecolor") {
338181
+ if (env2.COLORTERM === "truecolor") {
338182
338182
  return 3;
338183
338183
  }
338184
- if ("TERM_PROGRAM" in env22) {
338185
- const version = parseInt((env22.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
338186
- switch (env22.TERM_PROGRAM) {
338184
+ if ("TERM_PROGRAM" in env2) {
338185
+ const version = parseInt((env2.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
338186
+ switch (env2.TERM_PROGRAM) {
338187
338187
  case "iTerm.app":
338188
338188
  return version >= 3 ? 3 : 2;
338189
338189
  case "Apple_Terminal":
338190
338190
  return 2;
338191
338191
  }
338192
338192
  }
338193
- if (/-256(color)?$/i.test(env22.TERM)) {
338193
+ if (/-256(color)?$/i.test(env2.TERM)) {
338194
338194
  return 2;
338195
338195
  }
338196
- if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env22.TERM)) {
338196
+ if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env2.TERM)) {
338197
338197
  return 1;
338198
338198
  }
338199
- if ("COLORTERM" in env22) {
338199
+ if ("COLORTERM" in env2) {
338200
338200
  return 1;
338201
338201
  }
338202
- if (env22.TERM === "dumb") {
338202
+ if (env2.TERM === "dumb") {
338203
338203
  return min;
338204
338204
  }
338205
338205
  return min;
@@ -339647,7 +339647,7 @@ ${frame}`;
339647
339647
  colorNames = [...foregroundColorNames, ...backgroundColorNames];
339648
339648
  ansiStyles = assembleStyles();
339649
339649
  ansi_styles_default = ansiStyles;
339650
- ({ env: env2 } = import_process.default);
339650
+ ({ env } = import_process.default);
339651
339651
  if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) {
339652
339652
  flagForceColor = 0;
339653
339653
  } else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
@@ -343738,7 +343738,7 @@ Expected it to be ${EXPECTED_TYPE_VALUES}.`;
343738
343738
  var hardline3 = [hardlineWithoutBreakParent3, breakParent3];
343739
343739
  var literalline2 = [literallineWithoutBreakParent2, breakParent3];
343740
343740
  var cursor3 = { type: DOC_TYPE_CURSOR3 };
343741
- function join5(separator, docs) {
343741
+ function join3(separator, docs) {
343742
343742
  assertDoc3(separator);
343743
343743
  assertDocArray3(docs);
343744
343744
  const parts = [];
@@ -344136,7 +344136,7 @@ Expected it to be ${EXPECTED_TYPE_VALUES}.`;
344136
344136
  return mapDoc3(doc, (currentDoc) => cleanDocFn3(currentDoc));
344137
344137
  }
344138
344138
  function replaceEndOfLine2(doc, replacement = literalline2) {
344139
- return mapDoc3(doc, (currentDoc) => typeof currentDoc === "string" ? join5(replacement, currentDoc.split("\n")) : currentDoc);
344139
+ return mapDoc3(doc, (currentDoc) => typeof currentDoc === "string" ? join3(replacement, currentDoc.split("\n")) : currentDoc);
344140
344140
  }
344141
344141
  function canBreakFn2(doc) {
344142
344142
  if (doc.type === DOC_TYPE_LINE3) {
@@ -344711,7 +344711,7 @@ Expected it to be ${EXPECTED_TYPE_VALUES}.`;
344711
344711
  };
344712
344712
  }
344713
344713
  var builders2 = {
344714
- join: join5,
344714
+ join: join3,
344715
344715
  line: line3,
344716
344716
  softline: softline2,
344717
344717
  hardline: hardline3,
@@ -348864,7 +348864,7 @@ var require_subset = __commonJS({
348864
348864
  var require_semver3 = __commonJS({
348865
348865
  "node_modules/.pnpm/semver@7.5.4/node_modules/semver/index.js"(exports2, module2) {
348866
348866
  var internalRe = require_re2();
348867
- var constants2 = require_constants5();
348867
+ var constants = require_constants5();
348868
348868
  var SemVer = require_semver2();
348869
348869
  var identifiers = require_identifiers2();
348870
348870
  var parse6 = require_parse3();
@@ -348946,8 +348946,8 @@ var require_semver3 = __commonJS({
348946
348946
  re: internalRe.re,
348947
348947
  src: internalRe.src,
348948
348948
  tokens: internalRe.t,
348949
- SEMVER_SPEC_VERSION: constants2.SEMVER_SPEC_VERSION,
348950
- RELEASE_TYPES: constants2.RELEASE_TYPES,
348949
+ SEMVER_SPEC_VERSION: constants.SEMVER_SPEC_VERSION,
348950
+ RELEASE_TYPES: constants.RELEASE_TYPES,
348951
348951
  compareIdentifiers: identifiers.compareIdentifiers,
348952
348952
  rcompareIdentifiers: identifiers.rcompareIdentifiers
348953
348953
  };
@@ -353626,11 +353626,11 @@ var require_codegen = __commonJS({
353626
353626
  const rhs = this.rhs === void 0 ? "" : ` = ${this.rhs}`;
353627
353627
  return `${varKind} ${this.name}${rhs};` + _n6;
353628
353628
  }
353629
- optimizeNames(names, constants2) {
353629
+ optimizeNames(names, constants) {
353630
353630
  if (!names[this.name.str])
353631
353631
  return;
353632
353632
  if (this.rhs)
353633
- this.rhs = optimizeExpr(this.rhs, names, constants2);
353633
+ this.rhs = optimizeExpr(this.rhs, names, constants);
353634
353634
  return this;
353635
353635
  }
353636
353636
  get names() {
@@ -353647,10 +353647,10 @@ var require_codegen = __commonJS({
353647
353647
  render({ _n: _n6 }) {
353648
353648
  return `${this.lhs} = ${this.rhs};` + _n6;
353649
353649
  }
353650
- optimizeNames(names, constants2) {
353650
+ optimizeNames(names, constants) {
353651
353651
  if (this.lhs instanceof code_1.Name && !names[this.lhs.str] && !this.sideEffects)
353652
353652
  return;
353653
- this.rhs = optimizeExpr(this.rhs, names, constants2);
353653
+ this.rhs = optimizeExpr(this.rhs, names, constants);
353654
353654
  return this;
353655
353655
  }
353656
353656
  get names() {
@@ -353711,8 +353711,8 @@ var require_codegen = __commonJS({
353711
353711
  optimizeNodes() {
353712
353712
  return `${this.code}` ? this : void 0;
353713
353713
  }
353714
- optimizeNames(names, constants2) {
353715
- this.code = optimizeExpr(this.code, names, constants2);
353714
+ optimizeNames(names, constants) {
353715
+ this.code = optimizeExpr(this.code, names, constants);
353716
353716
  return this;
353717
353717
  }
353718
353718
  get names() {
@@ -353741,12 +353741,12 @@ var require_codegen = __commonJS({
353741
353741
  }
353742
353742
  return nodes.length > 0 ? this : void 0;
353743
353743
  }
353744
- optimizeNames(names, constants2) {
353744
+ optimizeNames(names, constants) {
353745
353745
  const { nodes } = this;
353746
353746
  let i3 = nodes.length;
353747
353747
  while (i3--) {
353748
353748
  const n = nodes[i3];
353749
- if (n.optimizeNames(names, constants2))
353749
+ if (n.optimizeNames(names, constants))
353750
353750
  continue;
353751
353751
  subtractNames(names, n.names);
353752
353752
  nodes.splice(i3, 1);
@@ -353799,12 +353799,12 @@ var require_codegen = __commonJS({
353799
353799
  return void 0;
353800
353800
  return this;
353801
353801
  }
353802
- optimizeNames(names, constants2) {
353802
+ optimizeNames(names, constants) {
353803
353803
  var _a3;
353804
- this.else = (_a3 = this.else) === null || _a3 === void 0 ? void 0 : _a3.optimizeNames(names, constants2);
353805
- if (!(super.optimizeNames(names, constants2) || this.else))
353804
+ this.else = (_a3 = this.else) === null || _a3 === void 0 ? void 0 : _a3.optimizeNames(names, constants);
353805
+ if (!(super.optimizeNames(names, constants) || this.else))
353806
353806
  return;
353807
- this.condition = optimizeExpr(this.condition, names, constants2);
353807
+ this.condition = optimizeExpr(this.condition, names, constants);
353808
353808
  return this;
353809
353809
  }
353810
353810
  get names() {
@@ -353827,10 +353827,10 @@ var require_codegen = __commonJS({
353827
353827
  render(opts) {
353828
353828
  return `for(${this.iteration})` + super.render(opts);
353829
353829
  }
353830
- optimizeNames(names, constants2) {
353831
- if (!super.optimizeNames(names, constants2))
353830
+ optimizeNames(names, constants) {
353831
+ if (!super.optimizeNames(names, constants))
353832
353832
  return;
353833
- this.iteration = optimizeExpr(this.iteration, names, constants2);
353833
+ this.iteration = optimizeExpr(this.iteration, names, constants);
353834
353834
  return this;
353835
353835
  }
353836
353836
  get names() {
@@ -353866,10 +353866,10 @@ var require_codegen = __commonJS({
353866
353866
  render(opts) {
353867
353867
  return `for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})` + super.render(opts);
353868
353868
  }
353869
- optimizeNames(names, constants2) {
353870
- if (!super.optimizeNames(names, constants2))
353869
+ optimizeNames(names, constants) {
353870
+ if (!super.optimizeNames(names, constants))
353871
353871
  return;
353872
- this.iterable = optimizeExpr(this.iterable, names, constants2);
353872
+ this.iterable = optimizeExpr(this.iterable, names, constants);
353873
353873
  return this;
353874
353874
  }
353875
353875
  get names() {
@@ -353911,11 +353911,11 @@ var require_codegen = __commonJS({
353911
353911
  (_b = this.finally) === null || _b === void 0 ? void 0 : _b.optimizeNodes();
353912
353912
  return this;
353913
353913
  }
353914
- optimizeNames(names, constants2) {
353914
+ optimizeNames(names, constants) {
353915
353915
  var _a3, _b;
353916
- super.optimizeNames(names, constants2);
353917
- (_a3 = this.catch) === null || _a3 === void 0 ? void 0 : _a3.optimizeNames(names, constants2);
353918
- (_b = this.finally) === null || _b === void 0 ? void 0 : _b.optimizeNames(names, constants2);
353916
+ super.optimizeNames(names, constants);
353917
+ (_a3 = this.catch) === null || _a3 === void 0 ? void 0 : _a3.optimizeNames(names, constants);
353918
+ (_b = this.finally) === null || _b === void 0 ? void 0 : _b.optimizeNames(names, constants);
353919
353919
  return this;
353920
353920
  }
353921
353921
  get names() {
@@ -354216,7 +354216,7 @@ var require_codegen = __commonJS({
354216
354216
  function addExprNames(names, from) {
354217
354217
  return from instanceof code_1._CodeOrName ? addNames(names, from.names) : names;
354218
354218
  }
354219
- function optimizeExpr(expr, names, constants2) {
354219
+ function optimizeExpr(expr, names, constants) {
354220
354220
  if (expr instanceof code_1.Name)
354221
354221
  return replaceName(expr);
354222
354222
  if (!canOptimize(expr))
@@ -354231,14 +354231,14 @@ var require_codegen = __commonJS({
354231
354231
  return items;
354232
354232
  }, []));
354233
354233
  function replaceName(n) {
354234
- const c4 = constants2[n.str];
354234
+ const c4 = constants[n.str];
354235
354235
  if (c4 === void 0 || names[n.str] !== 1)
354236
354236
  return n;
354237
354237
  delete names[n.str];
354238
354238
  return c4;
354239
354239
  }
354240
354240
  function canOptimize(e3) {
354241
- return e3 instanceof code_1._Code && e3._items.some((c4) => c4 instanceof code_1.Name && names[c4.str] === 1 && constants2[c4.str] !== void 0);
354241
+ return e3 instanceof code_1._Code && e3._items.some((c4) => c4 instanceof code_1.Name && names[c4.str] === 1 && constants[c4.str] !== void 0);
354242
354242
  }
354243
354243
  }
354244
354244
  function subtractNames(names, from) {
@@ -356092,20 +356092,20 @@ var require_compile2 = __commonJS({
356092
356092
  var util_1 = require_util4();
356093
356093
  var validate_1 = require_validate();
356094
356094
  var SchemaEnv = class {
356095
- constructor(env3) {
356095
+ constructor(env2) {
356096
356096
  var _a3;
356097
356097
  this.refs = {};
356098
356098
  this.dynamicAnchors = {};
356099
356099
  let schema2;
356100
- if (typeof env3.schema == "object")
356101
- schema2 = env3.schema;
356102
- this.schema = env3.schema;
356103
- this.schemaId = env3.schemaId;
356104
- this.root = env3.root || this;
356105
- this.baseId = (_a3 = env3.baseId) !== null && _a3 !== void 0 ? _a3 : (0, resolve_1.normalizeId)(schema2 === null || schema2 === void 0 ? void 0 : schema2[env3.schemaId || "$id"]);
356106
- this.schemaPath = env3.schemaPath;
356107
- this.localRefs = env3.localRefs;
356108
- this.meta = env3.meta;
356100
+ if (typeof env2.schema == "object")
356101
+ schema2 = env2.schema;
356102
+ this.schema = env2.schema;
356103
+ this.schemaId = env2.schemaId;
356104
+ this.root = env2.root || this;
356105
+ this.baseId = (_a3 = env2.baseId) !== null && _a3 !== void 0 ? _a3 : (0, resolve_1.normalizeId)(schema2 === null || schema2 === void 0 ? void 0 : schema2[env2.schemaId || "$id"]);
356106
+ this.schemaPath = env2.schemaPath;
356107
+ this.localRefs = env2.localRefs;
356108
+ this.meta = env2.meta;
356109
356109
  this.$async = schema2 === null || schema2 === void 0 ? void 0 : schema2.$async;
356110
356110
  this.refs = {};
356111
356111
  }
@@ -356288,15 +356288,15 @@ var require_compile2 = __commonJS({
356288
356288
  baseId = (0, resolve_1.resolveUrl)(this.opts.uriResolver, baseId, schId);
356289
356289
  }
356290
356290
  }
356291
- let env3;
356291
+ let env2;
356292
356292
  if (typeof schema2 != "boolean" && schema2.$ref && !(0, util_1.schemaHasRulesButRef)(schema2, this.RULES)) {
356293
356293
  const $ref = (0, resolve_1.resolveUrl)(this.opts.uriResolver, baseId, schema2.$ref);
356294
- env3 = resolveSchema.call(this, root2, $ref);
356294
+ env2 = resolveSchema.call(this, root2, $ref);
356295
356295
  }
356296
356296
  const { schemaId } = this.opts;
356297
- env3 = env3 || new SchemaEnv({ schema: schema2, schemaId, root: root2, baseId });
356298
- if (env3.schema !== env3.root.schema)
356299
- return env3;
356297
+ env2 = env2 || new SchemaEnv({ schema: schema2, schemaId, root: root2, baseId });
356298
+ if (env2.schema !== env2.root.schema)
356299
+ return env2;
356300
356300
  return void 0;
356301
356301
  }
356302
356302
  }
@@ -358011,8 +358011,8 @@ var require_ref = __commonJS({
358011
358011
  schemaType: "string",
358012
358012
  code(cxt) {
358013
358013
  const { gen, schema: $ref, it: it6 } = cxt;
358014
- const { baseId, schemaEnv: env3, validateName, opts, self: self2 } = it6;
358015
- const { root: root2 } = env3;
358014
+ const { baseId, schemaEnv: env2, validateName, opts, self: self2 } = it6;
358015
+ const { root: root2 } = env2;
358016
358016
  if (($ref === "#" || $ref === "#/") && baseId === root2.baseId)
358017
358017
  return callRootRef();
358018
358018
  const schOrEnv = compile_1.resolveRef.call(self2, root2, baseId, $ref);
@@ -358022,8 +358022,8 @@ var require_ref = __commonJS({
358022
358022
  return callValidate(schOrEnv);
358023
358023
  return inlineRefSchema(schOrEnv);
358024
358024
  function callRootRef() {
358025
- if (env3 === root2)
358026
- return callRef(cxt, validateName, env3, env3.$async);
358025
+ if (env2 === root2)
358026
+ return callRef(cxt, validateName, env2, env2.$async);
358027
358027
  const rootName = gen.scopeValue("root", { ref: root2 });
358028
358028
  return callRef(cxt, (0, codegen_1._)`${rootName}.validate`, root2, root2.$async);
358029
358029
  }
@@ -358053,14 +358053,14 @@ var require_ref = __commonJS({
358053
358053
  exports2.getValidate = getValidate;
358054
358054
  function callRef(cxt, v5, sch, $async) {
358055
358055
  const { gen, it: it6 } = cxt;
358056
- const { allErrors, schemaEnv: env3, opts } = it6;
358056
+ const { allErrors, schemaEnv: env2, opts } = it6;
358057
358057
  const passCxt = opts.passContext ? names_1.default.this : codegen_1.nil;
358058
358058
  if ($async)
358059
358059
  callAsyncRef();
358060
358060
  else
358061
358061
  callSyncRef();
358062
358062
  function callAsyncRef() {
358063
- if (!env3.$async)
358063
+ if (!env2.$async)
358064
358064
  throw new Error("async schema referenced by sync schema");
358065
358065
  const valid = gen.let("valid");
358066
358066
  gen.try(() => {
@@ -370246,7 +370246,7 @@ var require_util5 = __commonJS({
370246
370246
  return path13;
370247
370247
  });
370248
370248
  exports2.normalize = normalize;
370249
- function join5(aRoot, aPath) {
370249
+ function join3(aRoot, aPath) {
370250
370250
  if (aRoot === "") {
370251
370251
  aRoot = ".";
370252
370252
  }
@@ -370278,7 +370278,7 @@ var require_util5 = __commonJS({
370278
370278
  }
370279
370279
  return joined;
370280
370280
  }
370281
- exports2.join = join5;
370281
+ exports2.join = join3;
370282
370282
  exports2.isAbsolute = function(aPath) {
370283
370283
  return aPath.charAt(0) === "/" || urlRegexp.test(aPath);
370284
370284
  };
@@ -370451,7 +370451,7 @@ var require_util5 = __commonJS({
370451
370451
  parsed.path = parsed.path.substring(0, index + 1);
370452
370452
  }
370453
370453
  }
370454
- sourceURL = join5(urlGenerate(parsed), sourceURL);
370454
+ sourceURL = join3(urlGenerate(parsed), sourceURL);
370455
370455
  }
370456
370456
  return normalize(sourceURL);
370457
370457
  }
@@ -374143,14 +374143,14 @@ var require_path2 = __commonJS({
374143
374143
  return normalize(path14.slice(0, endIndex));
374144
374144
  }
374145
374145
  exports2.dirname = dirname4;
374146
- function join5(p12, ...others) {
374146
+ function join3(p12, ...others) {
374147
374147
  if (others.length > 0) {
374148
374148
  return normalize((p12 ? p12 + exports2.NormalizedSep : "") + others.join(exports2.NormalizedSep));
374149
374149
  } else {
374150
374150
  return p12;
374151
374151
  }
374152
374152
  }
374153
- exports2.join = join5;
374153
+ exports2.join = join3;
374154
374154
  function isAbsolute(p4) {
374155
374155
  return p4.startsWith(exports2.NormalizedSep);
374156
374156
  }
@@ -374185,7 +374185,7 @@ var require_path2 = __commonJS({
374185
374185
  if (isAbsolute(p22)) {
374186
374186
  return p22;
374187
374187
  } else {
374188
- return join5(p12, p22);
374188
+ return join3(p12, p22);
374189
374189
  }
374190
374190
  }
374191
374191
  exports2.resolve = resolve3;
@@ -375597,7 +375597,7 @@ var require_scan3 = __commonJS({
375597
375597
  var require_parse4 = __commonJS({
375598
375598
  "node_modules/.pnpm/picomatch@4.0.1/node_modules/picomatch/lib/parse.js"(exports2, module2) {
375599
375599
  "use strict";
375600
- var constants2 = require_constants6();
375600
+ var constants = require_constants6();
375601
375601
  var utils2 = require_utils8();
375602
375602
  var {
375603
375603
  MAX_LENGTH,
@@ -375605,7 +375605,7 @@ var require_parse4 = __commonJS({
375605
375605
  REGEX_NON_SPECIAL_CHARS,
375606
375606
  REGEX_SPECIAL_CHARS_BACKREF,
375607
375607
  REPLACEMENTS
375608
- } = constants2;
375608
+ } = constants;
375609
375609
  var expandRange = (args, options8) => {
375610
375610
  if (typeof options8.expandRange === "function") {
375611
375611
  return options8.expandRange(...args, options8);
@@ -375636,8 +375636,8 @@ var require_parse4 = __commonJS({
375636
375636
  const bos = { type: "bos", value: "", output: opts.prepend || "" };
375637
375637
  const tokens = [bos];
375638
375638
  const capture = opts.capture ? "" : "?:";
375639
- const PLATFORM_CHARS = constants2.globChars(opts.windows);
375640
- const EXTGLOB_CHARS = constants2.extglobChars(PLATFORM_CHARS);
375639
+ const PLATFORM_CHARS = constants.globChars(opts.windows);
375640
+ const EXTGLOB_CHARS = constants.extglobChars(PLATFORM_CHARS);
375641
375641
  const {
375642
375642
  DOT_LITERAL,
375643
375643
  PLUS_LITERAL,
@@ -376315,7 +376315,7 @@ var require_parse4 = __commonJS({
376315
376315
  NO_DOTS_SLASH,
376316
376316
  STAR,
376317
376317
  START_ANCHOR
376318
- } = constants2.globChars(opts.windows);
376318
+ } = constants.globChars(opts.windows);
376319
376319
  const nodot = opts.dot ? NO_DOTS : NO_DOT;
376320
376320
  const slashDot = opts.dot ? NO_DOTS_SLASH : NO_DOT;
376321
376321
  const capture = opts.capture ? "" : "?:";
@@ -376376,7 +376376,7 @@ var require_picomatch3 = __commonJS({
376376
376376
  var scan = require_scan3();
376377
376377
  var parse6 = require_parse4();
376378
376378
  var utils2 = require_utils8();
376379
- var constants2 = require_constants6();
376379
+ var constants = require_constants6();
376380
376380
  var isObject3 = (val) => val && typeof val === "object" && !Array.isArray(val);
376381
376381
  var picomatch = (glob, options8, returnState = false) => {
376382
376382
  if (Array.isArray(glob)) {
@@ -376507,7 +376507,7 @@ var require_picomatch3 = __commonJS({
376507
376507
  return /$^/;
376508
376508
  }
376509
376509
  };
376510
- picomatch.constants = constants2;
376510
+ picomatch.constants = constants;
376511
376511
  module2.exports = picomatch;
376512
376512
  }
376513
376513
  });
@@ -381583,7 +381583,7 @@ var require_scan4 = __commonJS({
381583
381583
  var require_parse5 = __commonJS({
381584
381584
  "node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/parse.js"(exports2, module2) {
381585
381585
  "use strict";
381586
- var constants2 = require_constants7();
381586
+ var constants = require_constants7();
381587
381587
  var utils2 = require_utils9();
381588
381588
  var {
381589
381589
  MAX_LENGTH,
@@ -381591,7 +381591,7 @@ var require_parse5 = __commonJS({
381591
381591
  REGEX_NON_SPECIAL_CHARS,
381592
381592
  REGEX_SPECIAL_CHARS_BACKREF,
381593
381593
  REPLACEMENTS
381594
- } = constants2;
381594
+ } = constants;
381595
381595
  var expandRange = (args, options8) => {
381596
381596
  if (typeof options8.expandRange === "function") {
381597
381597
  return options8.expandRange(...args, options8);
@@ -381623,8 +381623,8 @@ var require_parse5 = __commonJS({
381623
381623
  const tokens = [bos];
381624
381624
  const capture = opts.capture ? "" : "?:";
381625
381625
  const win32 = utils2.isWindows(options8);
381626
- const PLATFORM_CHARS = constants2.globChars(win32);
381627
- const EXTGLOB_CHARS = constants2.extglobChars(PLATFORM_CHARS);
381626
+ const PLATFORM_CHARS = constants.globChars(win32);
381627
+ const EXTGLOB_CHARS = constants.extglobChars(PLATFORM_CHARS);
381628
381628
  const {
381629
381629
  DOT_LITERAL,
381630
381630
  PLUS_LITERAL,
@@ -382306,7 +382306,7 @@ var require_parse5 = __commonJS({
382306
382306
  NO_DOTS_SLASH,
382307
382307
  STAR,
382308
382308
  START_ANCHOR
382309
- } = constants2.globChars(win32);
382309
+ } = constants.globChars(win32);
382310
382310
  const nodot = opts.dot ? NO_DOTS : NO_DOT;
382311
382311
  const slashDot = opts.dot ? NO_DOTS_SLASH : NO_DOT;
382312
382312
  const capture = opts.capture ? "" : "?:";
@@ -382368,7 +382368,7 @@ var require_picomatch5 = __commonJS({
382368
382368
  var scan = require_scan4();
382369
382369
  var parse6 = require_parse5();
382370
382370
  var utils2 = require_utils9();
382371
- var constants2 = require_constants7();
382371
+ var constants = require_constants7();
382372
382372
  var isObject3 = (val) => val && typeof val === "object" && !Array.isArray(val);
382373
382373
  var picomatch = (glob, options8, returnState = false) => {
382374
382374
  if (Array.isArray(glob)) {
@@ -382499,7 +382499,7 @@ var require_picomatch5 = __commonJS({
382499
382499
  return /$^/;
382500
382500
  }
382501
382501
  };
382502
- picomatch.constants = constants2;
382502
+ picomatch.constants = constants;
382503
382503
  module2.exports = picomatch;
382504
382504
  }
382505
382505
  });
@@ -390035,7 +390035,7 @@ var require_buffer_list = __commonJS({
390035
390035
  }
390036
390036
  }, {
390037
390037
  key: "join",
390038
- value: function join5(s) {
390038
+ value: function join3(s) {
390039
390039
  if (this.length === 0)
390040
390040
  return "";
390041
390041
  var p4 = this.head;
@@ -401803,7 +401803,7 @@ var require_chunk_GQ77QZBO = __commonJS({
401803
401803
  }
401804
401804
  _fs2.default.mkdirSync(dirPath, { recursive: true });
401805
401805
  const gitIgnorePath = _path2.default.join(options8.workspaceRoot, "tmp", ".tsup", ".gitignore");
401806
- writeFileSync2(gitIgnorePath, "**/*\n");
401806
+ writeFileSync(gitIgnorePath, "**/*\n");
401807
401807
  return dirPath;
401808
401808
  }
401809
401809
  var toObjectEntry = (entry) => {
@@ -401852,7 +401852,7 @@ var require_chunk_GQ77QZBO = __commonJS({
401852
401852
  function trimDtsExtension(fileName) {
401853
401853
  return fileName.replace(/\.d\.(ts|mts|cts)x?$/, "");
401854
401854
  }
401855
- function writeFileSync2(filePath, content) {
401855
+ function writeFileSync(filePath, content) {
401856
401856
  _fs2.default.mkdirSync(_path2.default.dirname(filePath), { recursive: true });
401857
401857
  _fs2.default.writeFileSync(filePath, content);
401858
401858
  }
@@ -401873,7 +401873,7 @@ var require_chunk_GQ77QZBO = __commonJS({
401873
401873
  exports2.toObjectEntry = toObjectEntry;
401874
401874
  exports2.toAbsolutePath = toAbsolutePath2;
401875
401875
  exports2.trimDtsExtension = trimDtsExtension;
401876
- exports2.writeFileSync = writeFileSync2;
401876
+ exports2.writeFileSync = writeFileSync;
401877
401877
  }
401878
401878
  });
401879
401879
 
@@ -401948,13 +401948,13 @@ var require_chunk_UIX4URMV = __commonJS({
401948
401948
  });
401949
401949
  var _tty = require("tty");
401950
401950
  var tty2 = _interopRequireWildcard(_tty);
401951
- var env3 = process.env || {};
401951
+ var env2 = process.env || {};
401952
401952
  var argv = process.argv || [];
401953
- var isDisabled = "NO_COLOR" in env3 || argv.includes("--no-color");
401954
- var isForced = "FORCE_COLOR" in env3 || argv.includes("--color");
401953
+ var isDisabled = "NO_COLOR" in env2 || argv.includes("--no-color");
401954
+ var isForced = "FORCE_COLOR" in env2 || argv.includes("--color");
401955
401955
  var isWindows = process.platform === "win32";
401956
- var isCompatibleTerminal = tty2 && tty2.isatty && tty2.isatty(1) && env3.TERM && env3.TERM !== "dumb";
401957
- var isCI = "CI" in env3 && ("GITHUB_ACTIONS" in env3 || "GITLAB_CI" in env3 || "CIRCLECI" in env3);
401956
+ var isCompatibleTerminal = tty2 && tty2.isatty && tty2.isatty(1) && env2.TERM && env2.TERM !== "dumb";
401957
+ var isCI = "CI" in env2 && ("GITHUB_ACTIONS" in env2 || "GITLAB_CI" in env2 || "CIRCLECI" in env2);
401958
401958
  var isColorSupported = !isDisabled && (isForced || isWindows || isCompatibleTerminal || isCI);
401959
401959
  var replaceClose = (index, string, close, replace, head = string.substring(0, index) + replace, tail = string.substring(index + close.length), next = tail.indexOf(close)) => head + (next < 0 ? tail : replaceClose(next, tail, close, replace));
401960
401960
  var clearBleed = (index, string, open, close, replace) => index < 0 ? open + string + close : open + replaceClose(index, string, close, replace) + close;
@@ -402115,7 +402115,7 @@ var require_lib4 = __commonJS({
402115
402115
  function _interopRequireDefault(obj) {
402116
402116
  return obj && obj.__esModule ? obj : { default: obj };
402117
402117
  }
402118
- var readFileSync2 = (fp3) => {
402118
+ var readFileSync = (fp3) => {
402119
402119
  return _fs.default.readFileSync(fp3, "utf8");
402120
402120
  };
402121
402121
  var pathExists = (fp3) => new Promise((resolve3) => {
@@ -402239,7 +402239,7 @@ var require_lib4 = __commonJS({
402239
402239
  if (this.packageJsonCache.has(filepath2)) {
402240
402240
  return this.packageJsonCache.get(filepath2)[options8.packageKey];
402241
402241
  }
402242
- const data2 = this.options.parseJSON(readFileSync2(filepath2));
402242
+ const data2 = this.options.parseJSON(readFileSync(filepath2));
402243
402243
  return data2;
402244
402244
  }
402245
402245
  };
@@ -402273,7 +402273,7 @@ var require_lib4 = __commonJS({
402273
402273
  if (this.packageJsonCache.has(filepath2)) {
402274
402274
  return this.packageJsonCache.get(filepath2)[options8.packageKey];
402275
402275
  }
402276
- const data2 = this.options.parseJSON(readFileSync2(filepath2));
402276
+ const data2 = this.options.parseJSON(readFileSync(filepath2));
402277
402277
  return data2;
402278
402278
  }
402279
402279
  };
@@ -403291,7 +403291,7 @@ var require_resolveCommand = __commonJS({
403291
403291
  var which = require_which();
403292
403292
  var getPathKey = require_path_key();
403293
403293
  function resolveCommandAttempt(parsed, withoutPathExt) {
403294
- const env3 = parsed.options.env || process.env;
403294
+ const env2 = parsed.options.env || process.env;
403295
403295
  const cwd = process.cwd();
403296
403296
  const hasCustomCwd = parsed.options.cwd != null;
403297
403297
  const shouldSwitchCwd = hasCustomCwd && process.chdir !== void 0 && !process.chdir.disabled;
@@ -403304,7 +403304,7 @@ var require_resolveCommand = __commonJS({
403304
403304
  let resolved;
403305
403305
  try {
403306
403306
  resolved = which.sync(parsed.command, {
403307
- path: env3[getPathKey({ env: env3 })],
403307
+ path: env2[getPathKey({ env: env2 })],
403308
403308
  pathExt: withoutPathExt ? path13.delimiter : void 0
403309
403309
  });
403310
403310
  } catch (e3) {
@@ -403589,11 +403589,11 @@ var require_npm_run_path = __commonJS({
403589
403589
  env: process.env,
403590
403590
  ...options8
403591
403591
  };
403592
- const env3 = { ...options8.env };
403593
- const path14 = pathKey({ env: env3 });
403594
- options8.path = env3[path14];
403595
- env3[path14] = module2.exports(options8);
403596
- return env3;
403592
+ const env2 = { ...options8.env };
403593
+ const path14 = pathKey({ env: env2 });
403594
+ options8.path = env2[path14];
403595
+ env2[path14] = module2.exports(options8);
403596
+ return env2;
403597
403597
  };
403598
403598
  }
403599
403599
  });
@@ -404539,11 +404539,11 @@ var require_execa = __commonJS({
404539
404539
  var { joinCommand, parseCommand, getEscapedCommand } = require_command();
404540
404540
  var DEFAULT_MAX_BUFFER = 1e3 * 1e3 * 100;
404541
404541
  var getEnv = ({ env: envOption, extendEnv, preferLocal, localDir, execPath }) => {
404542
- const env3 = extendEnv ? { ...process.env, ...envOption } : envOption;
404542
+ const env2 = extendEnv ? { ...process.env, ...envOption } : envOption;
404543
404543
  if (preferLocal) {
404544
- return npmRunPath.env({ env: env3, cwd: localDir, execPath });
404544
+ return npmRunPath.env({ env: env2, cwd: localDir, execPath });
404545
404545
  }
404546
- return env3;
404546
+ return env2;
404547
404547
  };
404548
404548
  var handleArguments = (file, args, options8 = {}) => {
404549
404549
  const parsed = crossSpawn._parse(file, args, options8);
@@ -427993,7 +427993,7 @@ var require_util8 = __commonJS({
427993
427993
  var normalize = createSafeHandler((url2) => {
427994
427994
  });
427995
427995
  exports2.normalize = normalize;
427996
- function join5(aRoot, aPath) {
427996
+ function join3(aRoot, aPath) {
427997
427997
  const pathType = getURLType(aPath);
427998
427998
  const rootType = getURLType(aRoot);
427999
427999
  aRoot = ensureDirectory(aRoot);
@@ -428019,7 +428019,7 @@ var require_util8 = __commonJS({
428019
428019
  const newPath = withBase(aPath, withBase(aRoot, base));
428020
428020
  return computeRelativeURL(base, newPath);
428021
428021
  }
428022
- exports2.join = join5;
428022
+ exports2.join = join3;
428023
428023
  function relative(rootURL, targetURL) {
428024
428024
  const result = relativeIfPossible(rootURL, targetURL);
428025
428025
  return typeof result === "string" ? result : normalize(targetURL);
@@ -428049,9 +428049,9 @@ var require_util8 = __commonJS({
428049
428049
  }
428050
428050
  let url2 = normalize(sourceURL || "");
428051
428051
  if (sourceRoot)
428052
- url2 = join5(sourceRoot, url2);
428052
+ url2 = join3(sourceRoot, url2);
428053
428053
  if (sourceMapURL)
428054
- url2 = join5(trimFilename(sourceMapURL), url2);
428054
+ url2 = join3(trimFilename(sourceMapURL), url2);
428055
428055
  return url2;
428056
428056
  }
428057
428057
  exports2.computeSourceURL = computeSourceURL;
@@ -429816,8 +429816,8 @@ var require_source_map3 = __commonJS({
429816
429816
  // node_modules/.pnpm/rollup@4.10.0/node_modules/rollup/dist/native.js
429817
429817
  var require_native = __commonJS({
429818
429818
  "node_modules/.pnpm/rollup@4.10.0/node_modules/rollup/dist/native.js"(exports2, module2) {
429819
- var { existsSync: existsSync4 } = require("node:fs");
429820
- var { join: join5 } = require("node:path");
429819
+ var { existsSync: existsSync2 } = require("node:fs");
429820
+ var { join: join3 } = require("node:path");
429821
429821
  var { platform, arch, report } = require("node:process");
429822
429822
  var isMusl = () => !report.getReport().header.glibcVersionRuntime;
429823
429823
  var bindingsByPlatformAndArch = {
@@ -429891,7 +429891,7 @@ If this is important to you, please consider supporting Rollup to make a native
429891
429891
  }
429892
429892
  };
429893
429893
  var { parse: parse6, parseAsync, xxhashBase64Url, xxhashBase36, xxhashBase16 } = requireWithFriendlyError(
429894
- existsSync4(join5(__dirname, localName)) ? localName : `@rollup/rollup-${packageBase}`
429894
+ existsSync2(join3(__dirname, localName)) ? localName : `@rollup/rollup-${packageBase}`
429895
429895
  );
429896
429896
  module2.exports.parse = parse6;
429897
429897
  module2.exports.parseAsync = parseAsync;
@@ -433431,16 +433431,16 @@ var require_rollup = __commonJS({
433431
433431
  return outputOptions;
433432
433432
  }
433433
433433
  var {
433434
- env: env3 = {},
433434
+ env: env2 = {},
433435
433435
  argv = [],
433436
433436
  platform = ""
433437
433437
  } = typeof process === "undefined" ? {} : process;
433438
- var isDisabled = "NO_COLOR" in env3 || argv.includes("--no-color");
433439
- var isForced = "FORCE_COLOR" in env3 || argv.includes("--color");
433438
+ var isDisabled = "NO_COLOR" in env2 || argv.includes("--no-color");
433439
+ var isForced = "FORCE_COLOR" in env2 || argv.includes("--color");
433440
433440
  var isWindows = platform === "win32";
433441
- var isDumbTerminal = env3.TERM === "dumb";
433442
- var isCompatibleTerminal = tty__namespace && tty__namespace.isatty && tty__namespace.isatty(1) && env3.TERM && !isDumbTerminal;
433443
- var isCI = "CI" in env3 && ("GITHUB_ACTIONS" in env3 || "GITLAB_CI" in env3 || "CIRCLECI" in env3);
433441
+ var isDumbTerminal = env2.TERM === "dumb";
433442
+ var isCompatibleTerminal = tty__namespace && tty__namespace.isatty && tty__namespace.isatty(1) && env2.TERM && !isDumbTerminal;
433443
+ var isCI = "CI" in env2 && ("GITHUB_ACTIONS" in env2 || "GITLAB_CI" in env2 || "CIRCLECI" in env2);
433444
433444
  var isColorSupported = !isDisabled && (isForced || isWindows && !isDumbTerminal || isCompatibleTerminal || isCI);
433445
433445
  var replaceClose = (index, string, close, replace, head = string.substring(0, index) + replace, tail = string.substring(index + close.length), next = tail.indexOf(close)) => head + (next < 0 ? tail : replaceClose(next, tail, close, replace));
433446
433446
  var clearBleed = (index, string, open, close, replace) => index < 0 ? open + string + close : open + replaceClose(index, string, close, replace) + close;
@@ -436776,7 +436776,7 @@ var require_rollup = __commonJS({
436776
436776
  var scan = scan_1;
436777
436777
  var parse6 = parse_1;
436778
436778
  var utils2 = utils$3;
436779
- var constants2 = constants$2;
436779
+ var constants = constants$2;
436780
436780
  var isObject3 = (val) => val && typeof val === "object" && !Array.isArray(val);
436781
436781
  var picomatch$1 = (glob, options8, returnState = false) => {
436782
436782
  if (Array.isArray(glob)) {
@@ -436907,7 +436907,7 @@ var require_rollup = __commonJS({
436907
436907
  return /$^/;
436908
436908
  }
436909
436909
  };
436910
- picomatch$1.constants = constants2;
436910
+ picomatch$1.constants = constants;
436911
436911
  var picomatch_1 = picomatch$1;
436912
436912
  var picomatch = picomatch_1;
436913
436913
  var pm = /* @__PURE__ */ getDefaultExportFromCjs(picomatch);
@@ -451732,7 +451732,7 @@ var require_shared = __commonJS({
451732
451732
  var binaryExtensions = binaryExtensions$1;
451733
451733
  var extensions = new Set(binaryExtensions);
451734
451734
  var isBinaryPath$1 = (filePath) => extensions.has(path13.extname(filePath).slice(1).toLowerCase());
451735
- var constants2 = {};
451735
+ var constants = {};
451736
451736
  (function(exports3) {
451737
451737
  const { sep: sep3 } = require$$0$2;
451738
451738
  const { platform } = process;
@@ -451791,7 +451791,7 @@ var require_shared = __commonJS({
451791
451791
  exports3.isMacos = platform === "darwin";
451792
451792
  exports3.isLinux = platform === "linux";
451793
451793
  exports3.isIBMi = os6.type() === "OS400";
451794
- })(constants2);
451794
+ })(constants);
451795
451795
  var fs$2 = require$$0$1;
451796
451796
  var sysPath$2 = require$$0$2;
451797
451797
  var { promisify: promisify$2 } = require$$2;
@@ -451813,7 +451813,7 @@ var require_shared = __commonJS({
451813
451813
  STR_END: STR_END$2,
451814
451814
  BRACE_START: BRACE_START$1,
451815
451815
  STAR
451816
- } = constants2;
451816
+ } = constants;
451817
451817
  var THROTTLE_MODE_WATCH = "watch";
451818
451818
  var open = promisify$2(fs$2.open);
451819
451819
  var stat$2 = promisify$2(fs$2.stat);
@@ -452336,7 +452336,7 @@ var require_shared = __commonJS({
452336
452336
  FUNCTION_TYPE: FUNCTION_TYPE$1,
452337
452337
  EMPTY_FN: EMPTY_FN$1,
452338
452338
  IDENTITY_FN
452339
- } = constants2;
452339
+ } = constants;
452340
452340
  var Depth = (value) => isNaN(value) ? {} : { depth: value };
452341
452341
  var stat$1 = promisify$1(fs$1.stat);
452342
452342
  var lstat = promisify$1(fs$1.lstat);
@@ -452753,7 +452753,7 @@ var require_shared = __commonJS({
452753
452753
  isWindows,
452754
452754
  isMacos,
452755
452755
  isIBMi
452756
- } = constants2;
452756
+ } = constants;
452757
452757
  var stat = promisify(fs7.stat);
452758
452758
  var readdir = promisify(fs7.readdir);
452759
452759
  var arrify = (value = []) => Array.isArray(value) ? value : [value];
@@ -455574,11 +455574,11 @@ var require_dist6 = __commonJS({
455574
455574
  ];
455575
455575
  const outDir = options8.outDir;
455576
455576
  const outExtension2 = getOutputExtensionMap(options8, format3, pkg.type);
455577
- const env3 = {
455577
+ const env2 = {
455578
455578
  ...options8.env
455579
455579
  };
455580
455580
  if (options8.replaceNodeEnv) {
455581
- env3.NODE_ENV = options8.minify || options8.minifyWhitespace ? "production" : "development";
455581
+ env2.NODE_ENV = options8.minify || options8.minifyWhitespace ? "production" : "development";
455582
455582
  }
455583
455583
  logger3.info(format3, "Build start");
455584
455584
  const startTime = Date.now();
@@ -455674,8 +455674,8 @@ var require_dist6 = __commonJS({
455674
455674
  "import.meta.url": "importMetaUrl"
455675
455675
  } : {},
455676
455676
  ...options8.define,
455677
- ...Object.keys(env3).reduce((res, key2) => {
455678
- const value = JSON.stringify(env3[key2]);
455677
+ ...Object.keys(env2).reduce((res, key2) => {
455678
+ const value = JSON.stringify(env2[key2]);
455679
455679
  return {
455680
455680
  ...res,
455681
455681
  [`process.env.${key2}`]: value,
@@ -456775,13 +456775,11 @@ var require_dist6 = __commonJS({
456775
456775
  // packages/workspace-tools/src/utils/index.ts
456776
456776
  var utils_exports = {};
456777
456777
  __export(utils_exports, {
456778
- WorkspaceStorage: () => WorkspaceStorage,
456779
456778
  applyDefaultOptions: () => applyDefaultOptions,
456780
456779
  applyWorkspaceExecutorTokens: () => applyWorkspaceExecutorTokens,
456781
456780
  applyWorkspaceGeneratorTokens: () => applyWorkspaceGeneratorTokens,
456782
456781
  applyWorkspaceTokens: () => applyWorkspaceTokens,
456783
456782
  eslintVersion: () => eslintVersion,
456784
- findCacheDirectory: () => findCacheDirectory,
456785
456783
  findFileName: () => findFileName,
456786
456784
  getExternalDependencies: () => getExternalDependencies,
456787
456785
  getExtraDependencies: () => getExtraDependencies,
@@ -456867,6 +456865,19 @@ function findWorkspaceRootSafe(pathInsideMonorepo) {
456867
456865
  }
456868
456866
  return findFolderUp(pathInsideMonorepo ?? process.cwd(), rootFiles);
456869
456867
  }
456868
+ function findWorkspaceRoot(pathInsideMonorepo) {
456869
+ const result = findWorkspaceRootSafe(pathInsideMonorepo);
456870
+ if (!result) {
456871
+ throw new Error(
456872
+ `Cannot find workspace root upwards from known path. Files search list includes:
456873
+ ${rootFiles.join(
456874
+ "\n"
456875
+ )}
456876
+ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
456877
+ );
456878
+ }
456879
+ return result;
456880
+ }
456870
456881
 
456871
456882
  // node_modules/.pnpm/zod@3.22.4/node_modules/zod/lib/index.mjs
456872
456883
  var util;
@@ -460862,9 +460873,13 @@ var applyWorkspaceExecutorTokens = (option, tokenizerOptions) => {
460862
460873
  sourceRoot = context.sourceRoot;
460863
460874
  } else {
460864
460875
  const projectConfig = tokenizerOptions;
460865
- projectName = projectConfig.name;
460866
460876
  projectRoot = projectConfig.root;
460867
- sourceRoot = projectConfig.sourceRoot;
460877
+ if (projectConfig.name) {
460878
+ projectName = projectConfig.name;
460879
+ }
460880
+ if (projectConfig.sourceRoot) {
460881
+ sourceRoot = projectConfig.sourceRoot;
460882
+ }
460868
460883
  }
460869
460884
  if (tokenizerOptions.config) {
460870
460885
  const configKeys = Object.keys(tokenizerOptions.config);
@@ -460888,7 +460903,7 @@ var applyWorkspaceExecutorTokens = (option, tokenizerOptions) => {
460888
460903
  if (result.includes("{workspaceRoot}")) {
460889
460904
  result = result.replaceAll(
460890
460905
  "{workspaceRoot}",
460891
- tokenizerOptions.workspaceRoot ?? findWorkspaceRootSafe()
460906
+ tokenizerOptions.workspaceRoot ?? findWorkspaceRoot()
460892
460907
  );
460893
460908
  }
460894
460909
  return result;
@@ -460911,7 +460926,7 @@ var applyWorkspaceGeneratorTokens = (option, tokenizerOptions) => {
460911
460926
  if (result.includes("{workspaceRoot}")) {
460912
460927
  result = result.replaceAll(
460913
460928
  "{workspaceRoot}",
460914
- tokenizerOptions.workspaceRoot ?? tokenizerOptions.config.workspaceRoot ?? findWorkspaceRootSafe()
460929
+ tokenizerOptions.workspaceRoot ?? tokenizerOptions.config?.workspaceRoot ?? findWorkspaceRoot()
460915
460930
  );
460916
460931
  }
460917
460932
  return result;
@@ -460938,62 +460953,12 @@ var applyWorkspaceTokens = (options8, config, tokenizerFn) => {
460938
460953
  // packages/workspace-tools/src/utils/file-path-utils.ts
460939
460954
  var import_node_path2 = require("node:path");
460940
460955
  var removeExtension = (filePath) => {
460941
- return filePath.lastIndexOf(".") ? filePath.substring(0, filePath.lastIndexOf(".")) : filePath;
460956
+ return !filePath || (filePath.match(/./g) || []).length <= 1 ? "." : filePath.lastIndexOf(".") ? filePath.substring(0, filePath.lastIndexOf(".")) : filePath;
460942
460957
  };
460943
460958
  function findFileName(filePath) {
460944
460959
  return filePath?.split(filePath?.includes(import_node_path2.sep) ? import_node_path2.sep : filePath?.includes("/") ? "/" : "\\")?.pop() ?? "";
460945
460960
  }
460946
460961
 
460947
- // packages/workspace-tools/src/utils/find-cache-dir.ts
460948
- var import_node_fs2 = require("node:fs");
460949
- var import_node_path3 = require("node:path");
460950
- var import_node_process = require("node:process");
460951
- var isWritable = (path13) => {
460952
- try {
460953
- (0, import_node_fs2.accessSync)(path13, import_node_fs2.constants.W_OK);
460954
- return true;
460955
- } catch {
460956
- return false;
460957
- }
460958
- };
460959
- function useDirectory(directory, { create = true }) {
460960
- if (create) {
460961
- (0, import_node_fs2.mkdirSync)(directory, { recursive: true });
460962
- }
460963
- return directory;
460964
- }
460965
- function getNodeModuleDirectory(workspaceRoot) {
460966
- const nodeModules = (0, import_node_path3.join)(workspaceRoot, "node_modules");
460967
- if ((0, import_node_fs2.existsSync)(nodeModules) && !isWritable(nodeModules)) {
460968
- throw new Error("Cannot write to node_modules directory");
460969
- }
460970
- return nodeModules;
460971
- }
460972
- function findCacheDirectory({
460973
- name,
460974
- cacheName,
460975
- workspaceRoot,
460976
- create
460977
- } = {
460978
- name: "storm",
460979
- workspaceRoot: findWorkspaceRootSafe(),
460980
- create: true
460981
- }) {
460982
- if (import_node_process.env.CACHE_DIR && !["true", "false", "1", "0"].includes(import_node_process.env.CACHE_DIR)) {
460983
- return useDirectory((0, import_node_path3.join)(import_node_process.env.CACHE_DIR, name, cacheName), { create });
460984
- }
460985
- if (import_node_process.env.STORM_CACHE_DIR && !["true", "false", "1", "0"].includes(import_node_process.env.STORM_CACHE_DIR)) {
460986
- return useDirectory((0, import_node_path3.join)(import_node_process.env.STORM_CACHE_DIR, name, cacheName), {
460987
- create
460988
- });
460989
- }
460990
- const nodeModules = getNodeModuleDirectory(workspaceRoot);
460991
- if (!nodeModules) {
460992
- throw new Error("Cannot find node_modules directory");
460993
- }
460994
- return useDirectory((0, import_node_path3.join)(workspaceRoot, "node_modules", ".cache", name, cacheName), { create });
460995
- }
460996
-
460997
460962
  // packages/workspace-tools/src/utils/get-file-banner.ts
460998
460963
  var getFileBanner = (name, commentStart = "//") => {
460999
460964
  let padding = "";
@@ -461026,7 +460991,7 @@ ${commentStart} ----------------------------------------------------------------
461026
460991
 
461027
460992
  // packages/workspace-tools/src/utils/get-project-configurations.ts
461028
460993
  var import_retrieve_workspace_files = require("nx/src/project-graph/utils/retrieve-workspace-files");
461029
- var getProjectConfigurations = () => (0, import_retrieve_workspace_files.retrieveProjectConfigurationsWithoutPluginInference)(findWorkspaceRootSafe());
460994
+ var getProjectConfigurations = () => (0, import_retrieve_workspace_files.retrieveProjectConfigurationsWithoutPluginInference)(findWorkspaceRoot());
461030
460995
  var getProjectConfiguration = (projectName) => getProjectConfigurations()?.[projectName];
461031
460996
 
461032
460997
  // packages/workspace-tools/src/utils/get-project-deps.ts
@@ -461035,18 +461000,19 @@ function getExtraDependencies(projectName, graph) {
461035
461000
  recur(projectName);
461036
461001
  function recur(currProjectName) {
461037
461002
  const allDeps = graph.dependencies[currProjectName];
461038
- const externalDeps = allDeps.reduce((acc, node) => {
461039
- const found = graph.externalNodes[node.target];
461040
- if (found)
461003
+ const externalDeps = allDeps?.reduce((acc, node) => {
461004
+ const found = graph.externalNodes?.[node.target];
461005
+ if (found) {
461041
461006
  acc.push(found);
461007
+ }
461042
461008
  return acc;
461043
- }, []);
461044
- const internalDeps = allDeps.reduce((acc, node) => {
461009
+ }, []) ?? [];
461010
+ const internalDeps = allDeps?.reduce((acc, node) => {
461045
461011
  const found = graph.nodes[node.target];
461046
461012
  if (found)
461047
461013
  acc.push(found);
461048
461014
  return acc;
461049
- }, []);
461015
+ }, []) ?? [];
461050
461016
  for (const externalDep of externalDeps) {
461051
461017
  deps.set(externalDep.name, {
461052
461018
  name: externalDep.name,
@@ -461061,7 +461027,7 @@ function getExtraDependencies(projectName, graph) {
461061
461027
  return Array.from(deps.values());
461062
461028
  }
461063
461029
  function getInternalDependencies(projectName, graph) {
461064
- const allDeps = graph.dependencies[projectName];
461030
+ const allDeps = graph.dependencies[projectName] ?? [];
461065
461031
  return Array.from(
461066
461032
  allDeps.reduce((acc, node) => {
461067
461033
  const found = graph.nodes[node.target];
@@ -461074,13 +461040,13 @@ function getInternalDependencies(projectName, graph) {
461074
461040
  function getExternalDependencies(projectName, graph) {
461075
461041
  const allDeps = graph.dependencies[projectName];
461076
461042
  return Array.from(
461077
- allDeps.reduce((acc, node) => {
461078
- const found = graph.externalNodes[node.target];
461043
+ allDeps?.reduce((acc, node) => {
461044
+ const found = graph.externalNodes?.[node.target];
461079
461045
  if (found)
461080
461046
  acc.push(found);
461081
461047
  return acc;
461082
- }, [])
461083
- );
461048
+ }, []) ?? []
461049
+ ) ?? [];
461084
461050
  }
461085
461051
 
461086
461052
  // packages/workspace-tools/src/utils/typia-transform.ts
@@ -461107,77 +461073,8 @@ var nxVersion = "^18.0.4";
461107
461073
  var nodeVersion = "20.11.0";
461108
461074
  var pnpmVersion = "8.10.2";
461109
461075
 
461110
- // packages/workspace-tools/src/utils/workspace-storage.ts
461111
- var import_node_fs3 = require("node:fs");
461112
- var import_node_path4 = require("node:path");
461113
- var WorkspaceStorage = class {
461114
- cacheDir;
461115
- constructor({
461116
- cacheName,
461117
- workspaceRoot
461118
- }) {
461119
- this.cacheDir = findCacheDirectory({
461120
- name: "storm",
461121
- cacheName,
461122
- workspaceRoot,
461123
- create: true
461124
- });
461125
- }
461126
- /**
461127
- * Get item from cache
461128
- *
461129
- * @param key - The key to get
461130
- * @returns The value of the key
461131
- */
461132
- getItem(key2) {
461133
- const cacheFile = (0, import_node_path4.join)(this.cacheDir, key2);
461134
- if ((0, import_node_fs3.existsSync)(cacheFile)) {
461135
- return (0, import_node_fs3.readFileSync)(cacheFile, "utf-8");
461136
- }
461137
- return void 0;
461138
- }
461139
- /**
461140
- * Set item to cache
461141
- *
461142
- * @param key - The key to set
461143
- * @param value - The value to set
461144
- */
461145
- setItem(key2, value) {
461146
- (0, import_node_fs3.writeFileSync)((0, import_node_path4.join)(this.cacheDir, key2), value, { encoding: "utf-8" });
461147
- }
461148
- /**
461149
- * Remove item from cache
461150
- *
461151
- * @param key - The key to remove
461152
- */
461153
- removeItem(key2) {
461154
- (0, import_node_fs3.rmSync)((0, import_node_path4.join)(this.cacheDir, key2), { force: true, recursive: true });
461155
- }
461156
- /**
461157
- * Clear the cache
461158
- */
461159
- clear() {
461160
- for (const cacheFile of (0, import_node_fs3.readdirSync)(this.cacheDir)) {
461161
- (0, import_node_fs3.rmSync)(cacheFile, { force: true, recursive: true });
461162
- }
461163
- }
461164
- /**
461165
- * Get the key at the index
461166
- *
461167
- * @param index - The index to get
461168
- * @returns The key at the index
461169
- */
461170
- key(index) {
461171
- const files = (0, import_node_fs3.readdirSync)(this.cacheDir);
461172
- if (index < files.length && index >= 0) {
461173
- return files[index];
461174
- }
461175
- return void 0;
461176
- }
461177
- };
461178
-
461179
461076
  // packages/workspace-tools/src/utils/run-tsup-build.ts
461180
- var import_node_path5 = require("node:path");
461077
+ var import_node_path3 = require("node:path");
461181
461078
  var import_esbuild_decorators = __toESM(require_src());
461182
461079
  var import_devkit2 = __toESM(require_devkit());
461183
461080
  var import_get_custom_transformers_factory = __toESM(require_get_custom_transformers_factory());
@@ -461217,10 +461114,10 @@ var environmentPlugin = (data) => ({
461217
461114
  name: PLUGIN_NAME2,
461218
461115
  async setup(build2) {
461219
461116
  const entries = Array.isArray(data) ? data.map((key2) => [key2, ""]) : Object.entries(data);
461220
- const env3 = Object.fromEntries(entries.map(([key2, defaultValue]) => {
461117
+ const env2 = Object.fromEntries(entries.map(([key2, defaultValue]) => {
461221
461118
  return [key2, String(process.env[key2] ?? defaultValue)];
461222
461119
  }));
461223
- await definePlugin({ process: { env: env3 } }).setup(build2);
461120
+ await definePlugin({ process: { env: env2 } }).setup(build2);
461224
461121
  }
461225
461122
  });
461226
461123
 
@@ -461251,7 +461148,7 @@ function defaultConfig({
461251
461148
  metafile = true,
461252
461149
  skipNativeModulesPlugin = false,
461253
461150
  define: define2,
461254
- env: env3,
461151
+ env: env2,
461255
461152
  plugins,
461256
461153
  generatePackageJson,
461257
461154
  dtsTsConfig,
@@ -461279,7 +461176,7 @@ function defaultConfig({
461279
461176
  platform,
461280
461177
  banner,
461281
461178
  define: define2,
461282
- env: env3,
461179
+ env: env2,
461283
461180
  dts: false,
461284
461181
  experimentalDts: {
461285
461182
  entry,
@@ -461370,23 +461267,23 @@ var applyDefaultOptions = (options8) => {
461370
461267
  return options8;
461371
461268
  };
461372
461269
  var runTsupBuild = async (context, config, options8) => {
461373
- const stormEnv = Object.keys(options8.env).filter((key2) => key2.startsWith("STORM_")).reduce((ret, key2) => {
461374
- ret[key2] = options8.env[key2];
461270
+ const stormEnv = Object.keys(options8.env ?? {}).filter((key2) => key2.startsWith("STORM_")).reduce((ret, key2) => {
461271
+ ret[key2] = options8.env?.[key2];
461375
461272
  return ret;
461376
461273
  }, {});
461377
- options8.plugins.push(
461274
+ options8.plugins?.push(
461378
461275
  (0, import_esbuild_decorators.esbuildDecorators)({
461379
461276
  tsconfig: options8.tsConfig,
461380
461277
  cwd: config.workspaceRoot
461381
461278
  })
461382
461279
  );
461383
- options8.plugins.push(environmentPlugin(stormEnv));
461280
+ options8.plugins?.push(environmentPlugin(stormEnv));
461384
461281
  const getConfigOptions = {
461385
461282
  ...options8,
461386
461283
  main: context.main,
461387
461284
  entry: {
461388
461285
  [removeExtension(
461389
- context.main?.split(context.main?.includes(import_node_path5.sep) ? import_node_path5.sep : context.main?.includes("/") ? "/" : "\\")?.pop()
461286
+ context.main?.split(context.main?.includes(import_node_path3.sep) ? import_node_path3.sep : context.main?.includes("/") ? "/" : "\\")?.pop()
461390
461287
  )]: context.main
461391
461288
  },
461392
461289
  define: {
@@ -461398,7 +461295,7 @@ var runTsupBuild = async (context, config, options8) => {
461398
461295
  },
461399
461296
  dtsTsConfig: getNormalizedTsConfig(
461400
461297
  context,
461401
- config.workspaceRoot,
461298
+ config.workspaceRoot ?? ".",
461402
461299
  options8.outputPath,
461403
461300
  createTypeScriptCompilationOptions(
461404
461301
  (0, import_normalize_options.normalizeOptions)(
@@ -461408,9 +461305,9 @@ var runTsupBuild = async (context, config, options8) => {
461408
461305
  main: context.main,
461409
461306
  transformers: []
461410
461307
  },
461411
- config.workspaceRoot,
461308
+ config.workspaceRoot ?? ".",
461412
461309
  context.sourceRoot,
461413
- config.workspaceRoot
461310
+ config.workspaceRoot ?? "."
461414
461311
  ),
461415
461312
  context.projectName
461416
461313
  )
@@ -461433,7 +461330,7 @@ ${options8.banner}
461433
461330
  const getConfigFns = [options8.getConfig];
461434
461331
  const tsupConfig = (0, import_tsup.defineConfig)(
461435
461332
  getConfigFns.map(
461436
- (getConfigFn) => getConfig(config.workspaceRoot, context.projectRoot, getConfigFn, getConfigOptions)
461333
+ (getConfigFn) => getConfig(config.workspaceRoot ?? ".", context.projectRoot, getConfigFn, getConfigOptions)
461437
461334
  )
461438
461335
  );
461439
461336
  if (_isFunction(tsupConfig)) {
@@ -461442,7 +461339,7 @@ ${options8.banner}
461442
461339
  } else {
461443
461340
  await build(tsupConfig, config);
461444
461341
  }
461445
- } else if (getLogLevel(config?.logLevel) >= LogLevel.WARN) {
461342
+ } else if (getLogLevel(config?.logLevel ?? "debug") >= LogLevel.WARN) {
461446
461343
  writeWarning(
461447
461344
  config,
461448
461345
  "The Build process did not run because no `getConfig` parameter was provided"
@@ -461473,7 +461370,7 @@ function getNormalizedTsConfig(context, workspaceRoot, outputPath, options8) {
461473
461370
  }
461474
461371
  },
461475
461372
  import_typescript.sys,
461476
- (0, import_node_path5.dirname)(options8.tsConfig)
461373
+ (0, import_node_path3.dirname)(options8.tsConfig)
461477
461374
  );
461478
461375
  tsConfig.options.pathsBasePath = workspaceRoot;
461479
461376
  if ((config?.compilerOptions?.incremental || tsConfig?.options?.incremental) && !tsConfig?.options.tsBuildInfoFile) {
@@ -461528,13 +461425,11 @@ var createTypeScriptCompilationOptions = (normalizedOptions, projectName) => {
461528
461425
  };
461529
461426
  // Annotate the CommonJS export names for ESM import in node:
461530
461427
  0 && (module.exports = {
461531
- WorkspaceStorage,
461532
461428
  applyDefaultOptions,
461533
461429
  applyWorkspaceExecutorTokens,
461534
461430
  applyWorkspaceGeneratorTokens,
461535
461431
  applyWorkspaceTokens,
461536
461432
  eslintVersion,
461537
- findCacheDirectory,
461538
461433
  findFileName,
461539
461434
  getExternalDependencies,
461540
461435
  getExtraDependencies,