@storm-software/workspace-tools 1.73.2 → 1.75.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.
@@ -2473,9 +2473,9 @@ var require_semver2 = __commonJS({
2473
2473
  }
2474
2474
  });
2475
2475
 
2476
- // node_modules/.pnpm/@nx+js@18.3.3_@swc-node+register@1.9.0_@swc+core@1.4.17_@swc+wasm@1.5.2_@types+node@20.12.7_n_g5fh77iyrkqki73acz3gyycqnq/node_modules/@nx/js/src/generators/release-version/utils/update-lock-file.js
2476
+ // node_modules/.pnpm/@nx+js@18.3.3_@swc-node+register@1.9.0_@swc+core@1.4.17_@swc+wasm@1.5.2_@types+node@20.12.7_n_sfa772jjfdu4aaqkg7453mbvyi/node_modules/@nx/js/src/generators/release-version/utils/update-lock-file.js
2477
2477
  var require_update_lock_file = __commonJS({
2478
- "node_modules/.pnpm/@nx+js@18.3.3_@swc-node+register@1.9.0_@swc+core@1.4.17_@swc+wasm@1.5.2_@types+node@20.12.7_n_g5fh77iyrkqki73acz3gyycqnq/node_modules/@nx/js/src/generators/release-version/utils/update-lock-file.js"(exports2) {
2478
+ "node_modules/.pnpm/@nx+js@18.3.3_@swc-node+register@1.9.0_@swc+core@1.4.17_@swc+wasm@1.5.2_@types+node@20.12.7_n_sfa772jjfdu4aaqkg7453mbvyi/node_modules/@nx/js/src/generators/release-version/utils/update-lock-file.js"(exports2) {
2479
2479
  "use strict";
2480
2480
  Object.defineProperty(exports2, "__esModule", { value: true });
2481
2481
  exports2.updateLockFile = void 0;
@@ -6913,7 +6913,7 @@ var require_jiti = __commonJS({
6913
6913
  const stackTraceLimitIsWritable = isErrorStackTraceLimitWritable2();
6914
6914
  return stackTraceLimitIsWritable && (userStackTraceLimit2 = Error.stackTraceLimit, Error.stackTraceLimit = Number.POSITIVE_INFINITY), Error.captureStackTrace(error), stackTraceLimitIsWritable && (Error.stackTraceLimit = userStackTraceLimit2), error;
6915
6915
  });
6916
- const packageJsonReader2 = { read: function(jsonPath) {
6916
+ const packageJsonReader = { read: function(jsonPath) {
6917
6917
  try {
6918
6918
  return { string: external_node_fs_namespaceObject.readFileSync(external_node_path_namespaceObject.toNamespacedPath(external_node_path_namespaceObject.join(external_node_path_namespaceObject.dirname(jsonPath), "package.json")), "utf8") };
6919
6919
  } catch (error) {
@@ -6928,7 +6928,7 @@ var require_jiti = __commonJS({
6928
6928
  const existing = packageJsonCache.get(path5);
6929
6929
  if (void 0 !== existing)
6930
6930
  return existing;
6931
- const source = packageJsonReader2.read(path5).string;
6931
+ const source = packageJsonReader.read(path5).string;
6932
6932
  if (void 0 === source) {
6933
6933
  const packageConfig2 = { pjsonPath: path5, exists: false, main: void 0, name: void 0, type: "none", exports: void 0, imports: void 0 };
6934
6934
  return packageJsonCache.set(path5, packageConfig2), packageConfig2;
@@ -6991,7 +6991,7 @@ var require_jiti = __commonJS({
6991
6991
  }, "http:": getHttpProtocolModuleFormat2, "https:": getHttpProtocolModuleFormat2, "node:": () => "builtin" };
6992
6992
  function getHttpProtocolModuleFormat2() {
6993
6993
  }
6994
- const RegExpPrototypeSymbolReplace2 = RegExp.prototype[Symbol.replace], { ERR_NETWORK_IMPORT_DISALLOWED: ERR_NETWORK_IMPORT_DISALLOWED2, ERR_INVALID_MODULE_SPECIFIER: ERR_INVALID_MODULE_SPECIFIER2, ERR_INVALID_PACKAGE_CONFIG: ERR_INVALID_PACKAGE_CONFIG2, ERR_INVALID_PACKAGE_TARGET: ERR_INVALID_PACKAGE_TARGET2, ERR_MODULE_NOT_FOUND: ERR_MODULE_NOT_FOUND2, ERR_PACKAGE_IMPORT_NOT_DEFINED: ERR_PACKAGE_IMPORT_NOT_DEFINED2, ERR_PACKAGE_PATH_NOT_EXPORTED: ERR_PACKAGE_PATH_NOT_EXPORTED2, ERR_UNSUPPORTED_DIR_IMPORT: ERR_UNSUPPORTED_DIR_IMPORT2, ERR_UNSUPPORTED_ESM_URL_SCHEME } = codes2, own2 = {}.hasOwnProperty, invalidSegmentRegEx2 = /(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i, deprecatedInvalidSegmentRegEx2 = /(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i, invalidPackageNameRegEx2 = /^\.|%|\\/, patternRegEx2 = /\*/g, encodedSepRegEx2 = /%2f|%5c/i, emittedPackageWarnings2 = /* @__PURE__ */ new Set(), doubleSlashRegEx2 = /[/\\]{2}/;
6994
+ const RegExpPrototypeSymbolReplace2 = RegExp.prototype[Symbol.replace], { ERR_NETWORK_IMPORT_DISALLOWED: ERR_NETWORK_IMPORT_DISALLOWED2, ERR_INVALID_MODULE_SPECIFIER: ERR_INVALID_MODULE_SPECIFIER2, ERR_INVALID_PACKAGE_CONFIG: ERR_INVALID_PACKAGE_CONFIG2, ERR_INVALID_PACKAGE_TARGET: ERR_INVALID_PACKAGE_TARGET2, ERR_MODULE_NOT_FOUND: ERR_MODULE_NOT_FOUND2, ERR_PACKAGE_IMPORT_NOT_DEFINED: ERR_PACKAGE_IMPORT_NOT_DEFINED2, ERR_PACKAGE_PATH_NOT_EXPORTED: ERR_PACKAGE_PATH_NOT_EXPORTED2, ERR_UNSUPPORTED_DIR_IMPORT: ERR_UNSUPPORTED_DIR_IMPORT2, ERR_UNSUPPORTED_ESM_URL_SCHEME } = codes2, own2 = {}.hasOwnProperty, invalidSegmentRegEx2 = /(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i, deprecatedInvalidSegmentRegEx2 = /(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i, invalidPackageNameRegEx2 = /^\.|%|\\/, patternRegEx2 = /\*/g, encodedSepRegEx = /%2f|%5c/i, emittedPackageWarnings2 = /* @__PURE__ */ new Set(), doubleSlashRegEx2 = /[/\\]{2}/;
6995
6995
  function emitInvalidSegmentDeprecation2(target, request, match, packageJsonUrl, internal, base, isTarget) {
6996
6996
  const pjsonPath = (0, external_node_url_namespaceObject.fileURLToPath)(packageJsonUrl), double = null !== doubleSlashRegEx2.exec(isTarget ? target : request);
6997
6997
  external_node_process_namespaceObject.emitWarning(`Use of deprecated ${double ? "double slash" : "leading or trailing slash matching"} resolving "${target}" for module request "${request}" ${request === match ? "" : `matched to "${match}" `}in the "${internal ? "imports" : "exports"}" field module resolution of the package at ${pjsonPath}${base ? ` imported from ${(0, external_node_url_namespaceObject.fileURLToPath)(base)}` : ""}.`, "DeprecationWarning", "DEP0166");
@@ -7278,7 +7278,7 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
7278
7278
  else
7279
7279
  resolved = packageImportsResolve2(specifier, base, conditions);
7280
7280
  return external_node_assert_namespaceObject(void 0 !== resolved, "expected to be defined"), "file:" !== resolved.protocol ? resolved : function(resolved2, base2, preserveSymlinks2) {
7281
- if (null !== encodedSepRegEx2.exec(resolved2.pathname))
7281
+ if (null !== encodedSepRegEx.exec(resolved2.pathname))
7282
7282
  throw new ERR_INVALID_MODULE_SPECIFIER2(resolved2.pathname, 'must not include encoded "/" or "\\" characters', (0, external_node_url_namespaceObject.fileURLToPath)(base2));
7283
7283
  const filePath = (0, external_node_url_namespaceObject.fileURLToPath)(resolved2), stats = tryStatSync2(filePath.endsWith("/") ? filePath.slice(-1) : filePath);
7284
7284
  if (stats.isDirectory()) {
@@ -12884,7 +12884,7 @@ Add ${syntaxPluginInfo} to the 'plugins' section of your Babel config to enable
12884
12884
  const stackTraceLimitIsWritable = isErrorStackTraceLimitWritable2();
12885
12885
  return stackTraceLimitIsWritable && (userStackTraceLimit2 = Error.stackTraceLimit, Error.stackTraceLimit = Number.POSITIVE_INFINITY), Error.captureStackTrace(error), stackTraceLimitIsWritable && (Error.stackTraceLimit = userStackTraceLimit2), error;
12886
12886
  });
12887
- var packageJsonReader2 = { read: function(jsonPath) {
12887
+ var packageJsonReader = { read: function(jsonPath) {
12888
12888
  try {
12889
12889
  return { string: _fs().default.readFileSync(_path().toNamespacedPath(_path().join(_path().dirname(jsonPath), "package.json")), "utf8") };
12890
12890
  } catch (error) {
@@ -12899,7 +12899,7 @@ Add ${syntaxPluginInfo} to the 'plugins' section of your Babel config to enable
12899
12899
  const existing = packageJsonCache.get(path5);
12900
12900
  if (void 0 !== existing)
12901
12901
  return existing;
12902
- const source = packageJsonReader2.read(path5).string;
12902
+ const source = packageJsonReader.read(path5).string;
12903
12903
  if (void 0 === source) {
12904
12904
  const packageConfig2 = { pjsonPath: path5, exists: false, main: void 0, name: void 0, type: "none", exports: void 0, imports: void 0 };
12905
12905
  return packageJsonCache.set(path5, packageConfig2), packageConfig2;
@@ -12966,7 +12966,7 @@ Add ${syntaxPluginInfo} to the 'plugins' section of your Babel config to enable
12966
12966
  return hasOwnProperty4.call(protocolHandlers2, url.protocol) && protocolHandlers2[url.protocol](url, context, true) || null;
12967
12967
  }
12968
12968
  const { ERR_INVALID_ARG_VALUE } = codes2, DEFAULT_CONDITIONS = Object.freeze(["node", "import"]), DEFAULT_CONDITIONS_SET2 = new Set(DEFAULT_CONDITIONS);
12969
- const RegExpPrototypeSymbolReplace2 = RegExp.prototype[Symbol.replace], experimentalNetworkImports = false, { ERR_NETWORK_IMPORT_DISALLOWED: ERR_NETWORK_IMPORT_DISALLOWED2, ERR_INVALID_MODULE_SPECIFIER: ERR_INVALID_MODULE_SPECIFIER2, ERR_INVALID_PACKAGE_CONFIG: ERR_INVALID_PACKAGE_CONFIG2, ERR_INVALID_PACKAGE_TARGET: ERR_INVALID_PACKAGE_TARGET2, ERR_MODULE_NOT_FOUND: ERR_MODULE_NOT_FOUND2, ERR_PACKAGE_IMPORT_NOT_DEFINED: ERR_PACKAGE_IMPORT_NOT_DEFINED2, ERR_PACKAGE_PATH_NOT_EXPORTED: ERR_PACKAGE_PATH_NOT_EXPORTED2, ERR_UNSUPPORTED_DIR_IMPORT: ERR_UNSUPPORTED_DIR_IMPORT2, ERR_UNSUPPORTED_ESM_URL_SCHEME } = codes2, own2 = {}.hasOwnProperty, invalidSegmentRegEx2 = /(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i, deprecatedInvalidSegmentRegEx2 = /(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i, invalidPackageNameRegEx2 = /^\.|%|\\/, patternRegEx2 = /\*/g, encodedSepRegEx2 = /%2f|%5c/i, emittedPackageWarnings2 = /* @__PURE__ */ new Set(), doubleSlashRegEx2 = /[/\\]{2}/;
12969
+ const RegExpPrototypeSymbolReplace2 = RegExp.prototype[Symbol.replace], experimentalNetworkImports = false, { ERR_NETWORK_IMPORT_DISALLOWED: ERR_NETWORK_IMPORT_DISALLOWED2, ERR_INVALID_MODULE_SPECIFIER: ERR_INVALID_MODULE_SPECIFIER2, ERR_INVALID_PACKAGE_CONFIG: ERR_INVALID_PACKAGE_CONFIG2, ERR_INVALID_PACKAGE_TARGET: ERR_INVALID_PACKAGE_TARGET2, ERR_MODULE_NOT_FOUND: ERR_MODULE_NOT_FOUND2, ERR_PACKAGE_IMPORT_NOT_DEFINED: ERR_PACKAGE_IMPORT_NOT_DEFINED2, ERR_PACKAGE_PATH_NOT_EXPORTED: ERR_PACKAGE_PATH_NOT_EXPORTED2, ERR_UNSUPPORTED_DIR_IMPORT: ERR_UNSUPPORTED_DIR_IMPORT2, ERR_UNSUPPORTED_ESM_URL_SCHEME } = codes2, own2 = {}.hasOwnProperty, invalidSegmentRegEx2 = /(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i, deprecatedInvalidSegmentRegEx2 = /(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i, invalidPackageNameRegEx2 = /^\.|%|\\/, patternRegEx2 = /\*/g, encodedSepRegEx = /%2f|%5c/i, emittedPackageWarnings2 = /* @__PURE__ */ new Set(), doubleSlashRegEx2 = /[/\\]{2}/;
12970
12970
  function emitInvalidSegmentDeprecation2(target, request, match, packageJsonUrl, internal, base, isTarget) {
12971
12971
  const pjsonPath = (0, _url().fileURLToPath)(packageJsonUrl), double = null !== doubleSlashRegEx2.exec(isTarget ? target : request);
12972
12972
  _process().emitWarning(`Use of deprecated ${double ? "double slash" : "leading or trailing slash matching"} resolving "${target}" for module request "${request}" ${request === match ? "" : `matched to "${match}" `}in the "${internal ? "imports" : "exports"}" field module resolution of the package at ${pjsonPath}${base ? ` imported from ${(0, _url().fileURLToPath)(base)}` : ""}.`, "DeprecationWarning", "DEP0166");
@@ -13251,7 +13251,7 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
13251
13251
  else
13252
13252
  resolved = packageImportsResolve2(specifier, base, conditions);
13253
13253
  return _assert()(void 0 !== resolved, "expected to be defined"), "file:" !== resolved.protocol ? resolved : function(resolved2, base2, preserveSymlinks2) {
13254
- if (null !== encodedSepRegEx2.exec(resolved2.pathname))
13254
+ if (null !== encodedSepRegEx.exec(resolved2.pathname))
13255
13255
  throw new ERR_INVALID_MODULE_SPECIFIER2(resolved2.pathname, 'must not include encoded "/" or "\\" characters', (0, _url().fileURLToPath)(base2));
13256
13256
  const filePath = (0, _url().fileURLToPath)(resolved2), stats = tryStatSync2(filePath.endsWith("/") ? filePath.slice(-1) : filePath);
13257
13257
  if (stats.isDirectory()) {
@@ -42562,27 +42562,27 @@ var init_dist5 = __esm({
42562
42562
  }
42563
42563
  });
42564
42564
 
42565
- // node_modules/.pnpm/mlly@1.6.1/node_modules/mlly/dist/index.mjs
42565
+ // node_modules/.pnpm/mlly@1.7.0/node_modules/mlly/dist/index.mjs
42566
42566
  function normalizeSlash(path5) {
42567
42567
  return path5.replace(/\\/g, "/");
42568
42568
  }
42569
42569
  function formatList(array, type = "and") {
42570
42570
  return array.length < 3 ? array.join(` ${type} `) : `${array.slice(0, -1).join(", ")}, ${type} ${array[array.length - 1]}`;
42571
42571
  }
42572
- function createError(sym, value2, def) {
42572
+ function createError(sym, value2, constructor) {
42573
42573
  messages.set(sym, value2);
42574
- return makeNodeErrorWithCode(def, sym);
42574
+ return makeNodeErrorWithCode(constructor, sym);
42575
42575
  }
42576
42576
  function makeNodeErrorWithCode(Base, key) {
42577
42577
  return NodeError;
42578
- function NodeError(...args) {
42578
+ function NodeError(...parameters) {
42579
42579
  const limit = Error.stackTraceLimit;
42580
42580
  if (isErrorStackTraceLimitWritable())
42581
42581
  Error.stackTraceLimit = 0;
42582
42582
  const error = new Base();
42583
42583
  if (isErrorStackTraceLimitWritable())
42584
42584
  Error.stackTraceLimit = limit;
42585
- const message = getMessage(key, args, error);
42585
+ const message = getMessage(key, parameters, error);
42586
42586
  Object.defineProperties(error, {
42587
42587
  // Note: no need to implement `kIsNodeError` symbol, would be hard,
42588
42588
  // probably.
@@ -42620,34 +42620,34 @@ function isErrorStackTraceLimitWritable() {
42620
42620
  }
42621
42621
  return own$1.call(desc, "writable") && desc.writable !== void 0 ? desc.writable : desc.set !== void 0;
42622
42622
  }
42623
- function hideStackFrames(fn2) {
42624
- const hidden = nodeInternalPrefix + fn2.name;
42625
- Object.defineProperty(fn2, "name", { value: hidden });
42626
- return fn2;
42623
+ function hideStackFrames(wrappedFunction) {
42624
+ const hidden = nodeInternalPrefix + wrappedFunction.name;
42625
+ Object.defineProperty(wrappedFunction, "name", { value: hidden });
42626
+ return wrappedFunction;
42627
42627
  }
42628
- function getMessage(key, args, self2) {
42628
+ function getMessage(key, parameters, self2) {
42629
42629
  const message = messages.get(key);
42630
42630
  (0, import_node_assert.default)(message !== void 0, "expected `message` to be found");
42631
42631
  if (typeof message === "function") {
42632
42632
  (0, import_node_assert.default)(
42633
- message.length <= args.length,
42633
+ message.length <= parameters.length,
42634
42634
  // Default options do not count.
42635
- `Code: ${key}; The provided arguments length (${args.length}) does not match the required ones (${message.length}).`
42635
+ `Code: ${key}; The provided arguments length (${parameters.length}) does not match the required ones (${message.length}).`
42636
42636
  );
42637
- return Reflect.apply(message, self2, args);
42637
+ return Reflect.apply(message, self2, parameters);
42638
42638
  }
42639
42639
  const regex = /%[dfijoOs]/g;
42640
42640
  let expectedLength = 0;
42641
42641
  while (regex.exec(message) !== null)
42642
42642
  expectedLength++;
42643
42643
  (0, import_node_assert.default)(
42644
- expectedLength === args.length,
42645
- `Code: ${key}; The provided arguments length (${args.length}) does not match the required ones (${expectedLength}).`
42644
+ expectedLength === parameters.length,
42645
+ `Code: ${key}; The provided arguments length (${parameters.length}) does not match the required ones (${expectedLength}).`
42646
42646
  );
42647
- if (args.length === 0)
42647
+ if (parameters.length === 0)
42648
42648
  return message;
42649
- args.unshift(message);
42650
- return Reflect.apply(import_node_util.format, null, args);
42649
+ parameters.unshift(message);
42650
+ return Reflect.apply(import_node_util.format, null, parameters);
42651
42651
  }
42652
42652
  function determineSpecificType(value2) {
42653
42653
  if (value2 === null || value2 === void 0) {
@@ -42733,21 +42733,20 @@ function read2(jsonPath, { base, specifier }) {
42733
42733
  return result;
42734
42734
  }
42735
42735
  function getPackageScopeConfig(resolved) {
42736
- let packageJSONUrl = new import_node_url.URL("package.json", resolved);
42736
+ let packageJSONUrl = new URL("package.json", resolved);
42737
42737
  while (true) {
42738
42738
  const packageJSONPath2 = packageJSONUrl.pathname;
42739
42739
  if (packageJSONPath2.endsWith("node_modules/package.json")) {
42740
42740
  break;
42741
42741
  }
42742
- const packageConfig = packageJsonReader.read(
42743
- (0, import_node_url.fileURLToPath)(packageJSONUrl),
42744
- { specifier: resolved }
42745
- );
42742
+ const packageConfig = read2((0, import_node_url.fileURLToPath)(packageJSONUrl), {
42743
+ specifier: resolved
42744
+ });
42746
42745
  if (packageConfig.exists) {
42747
42746
  return packageConfig;
42748
42747
  }
42749
42748
  const lastPackageJSONUrl = packageJSONUrl;
42750
- packageJSONUrl = new import_node_url.URL("../package.json", packageJSONUrl);
42749
+ packageJSONUrl = new URL("../package.json", packageJSONUrl);
42751
42750
  if (packageJSONUrl.pathname === lastPackageJSONUrl.pathname) {
42752
42751
  break;
42753
42752
  }
@@ -42756,16 +42755,11 @@ function getPackageScopeConfig(resolved) {
42756
42755
  return {
42757
42756
  pjsonPath: packageJSONPath,
42758
42757
  exists: false,
42759
- main: void 0,
42760
- name: void 0,
42761
- type: "none",
42762
- exports: void 0,
42763
- imports: void 0
42758
+ type: "none"
42764
42759
  };
42765
42760
  }
42766
42761
  function getPackageType(url) {
42767
- const packageConfig = getPackageScopeConfig(url);
42768
- return packageConfig.type;
42762
+ return getPackageScopeConfig(url).type;
42769
42763
  }
42770
42764
  function mimeToFormat(mime) {
42771
42765
  if (mime && /\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(mime))
@@ -42795,29 +42789,29 @@ function extname2(url) {
42795
42789
  return "";
42796
42790
  }
42797
42791
  function getFileProtocolModuleFormat(url, _context, ignoreErrors) {
42798
- const ext = extname2(url);
42799
- if (ext === ".js") {
42792
+ const value2 = extname2(url);
42793
+ if (value2 === ".js") {
42800
42794
  const packageType = getPackageType(url);
42801
42795
  if (packageType !== "none") {
42802
42796
  return packageType;
42803
42797
  }
42804
42798
  return "commonjs";
42805
42799
  }
42806
- if (ext === "") {
42800
+ if (value2 === "") {
42807
42801
  const packageType = getPackageType(url);
42808
42802
  if (packageType === "none" || packageType === "commonjs") {
42809
42803
  return "commonjs";
42810
42804
  }
42811
42805
  return "module";
42812
42806
  }
42813
- const format3 = extensionFormatMap[ext];
42807
+ const format3 = extensionFormatMap[value2];
42814
42808
  if (format3)
42815
42809
  return format3;
42816
42810
  if (ignoreErrors) {
42817
42811
  return void 0;
42818
42812
  }
42819
42813
  const filepath = (0, import_node_url.fileURLToPath)(url);
42820
- throw new ERR_UNKNOWN_FILE_EXTENSION(ext, filepath);
42814
+ throw new ERR_UNKNOWN_FILE_EXTENSION(value2, filepath);
42821
42815
  }
42822
42816
  function getHttpProtocolModuleFormat() {
42823
42817
  }
@@ -42848,21 +42842,21 @@ function emitLegacyIndexDeprecation(url, packageJsonUrl, base, main) {
42848
42842
  if (format3 !== "module")
42849
42843
  return;
42850
42844
  const urlPath = (0, import_node_url.fileURLToPath)(url.href);
42851
- const pkgPath = (0, import_node_url.fileURLToPath)(new import_node_url.URL(".", packageJsonUrl));
42845
+ const packagePath = (0, import_node_url.fileURLToPath)(new import_node_url.URL(".", packageJsonUrl));
42852
42846
  const basePath = (0, import_node_url.fileURLToPath)(base);
42853
42847
  if (!main) {
42854
42848
  import_node_process.default.emitWarning(
42855
- `No "main" or "exports" field defined in the package.json for ${pkgPath} resolving the main entry point "${urlPath.slice(
42856
- pkgPath.length
42849
+ `No "main" or "exports" field defined in the package.json for ${packagePath} resolving the main entry point "${urlPath.slice(
42850
+ packagePath.length
42857
42851
  )}", imported from ${basePath}.
42858
42852
  Default "index" lookups for the main are deprecated for ES modules.`,
42859
42853
  "DeprecationWarning",
42860
42854
  "DEP0151"
42861
42855
  );
42862
- } else if (import_node_path3.default.resolve(pkgPath, main) !== urlPath) {
42856
+ } else if (import_node_path3.default.resolve(packagePath, main) !== urlPath) {
42863
42857
  import_node_process.default.emitWarning(
42864
- `Package ${pkgPath} has a "main" field set to "${main}", excluding the full filename and extension to the resolved file at "${urlPath.slice(
42865
- pkgPath.length
42858
+ `Package ${packagePath} has a "main" field set to "${main}", excluding the full filename and extension to the resolved file at "${urlPath.slice(
42859
+ packagePath.length
42866
42860
  )}", imported from ${basePath}.
42867
42861
  Automatic extension resolution of the "main" field is deprecated for ES modules.`,
42868
42862
  "DeprecationWarning",
@@ -42874,7 +42868,6 @@ function tryStatSync(path5) {
42874
42868
  try {
42875
42869
  return (0, import_node_fs3.statSync)(path5);
42876
42870
  } catch {
42877
- return new import_node_fs3.Stats();
42878
42871
  }
42879
42872
  }
42880
42873
  function fileExists(url) {
@@ -42931,7 +42924,7 @@ function legacyMainResolve(packageJsonUrl, packageConfig, base) {
42931
42924
  );
42932
42925
  }
42933
42926
  function finalizeResolution(resolved, base, preserveSymlinks) {
42934
- if (encodedSepRegEx.exec(resolved.pathname) !== null) {
42927
+ if (encodedSeparatorRegEx.exec(resolved.pathname) !== null) {
42935
42928
  throw new ERR_INVALID_MODULE_SPECIFIER(
42936
42929
  resolved.pathname,
42937
42930
  'must not include encoded "/" or "\\" characters',
@@ -42953,12 +42946,12 @@ function finalizeResolution(resolved, base, preserveSymlinks) {
42953
42946
  const stats = tryStatSync(
42954
42947
  filePath.endsWith("/") ? filePath.slice(-1) : filePath
42955
42948
  );
42956
- if (stats.isDirectory()) {
42949
+ if (stats && stats.isDirectory()) {
42957
42950
  const error = new ERR_UNSUPPORTED_DIR_IMPORT(filePath, (0, import_node_url.fileURLToPath)(base));
42958
42951
  error.url = String(resolved);
42959
42952
  throw error;
42960
42953
  }
42961
- if (!stats.isFile()) {
42954
+ if (!stats || !stats.isFile()) {
42962
42955
  const error = new ERR_MODULE_NOT_FOUND(
42963
42956
  filePath || resolved.pathname,
42964
42957
  base && (0, import_node_url.fileURLToPath)(base),
@@ -43216,13 +43209,13 @@ function isConditionalExportsMainSugar(exports2, packageJsonUrl, base) {
43216
43209
  const keys2 = Object.getOwnPropertyNames(exports2);
43217
43210
  let isConditionalSugar = false;
43218
43211
  let i2 = 0;
43219
- let j3 = -1;
43220
- while (++j3 < keys2.length) {
43221
- const key = keys2[j3];
43222
- const curIsConditionalSugar = key === "" || key[0] !== ".";
43212
+ let keyIndex = -1;
43213
+ while (++keyIndex < keys2.length) {
43214
+ const key = keys2[keyIndex];
43215
+ const currentIsConditionalSugar = key === "" || key[0] !== ".";
43223
43216
  if (i2++ === 0) {
43224
- isConditionalSugar = curIsConditionalSugar;
43225
- } else if (isConditionalSugar !== curIsConditionalSugar) {
43217
+ isConditionalSugar = currentIsConditionalSugar;
43218
+ } else if (isConditionalSugar !== currentIsConditionalSugar) {
43226
43219
  throw new ERR_INVALID_PACKAGE_CONFIG(
43227
43220
  (0, import_node_url.fileURLToPath)(packageJsonUrl),
43228
43221
  base,
@@ -43458,7 +43451,7 @@ function packageResolve(specifier, base, conditions) {
43458
43451
  let lastPath;
43459
43452
  do {
43460
43453
  const stat = tryStatSync(packageJsonPath.slice(0, -13));
43461
- if (!stat.isDirectory()) {
43454
+ if (!stat || !stat.isDirectory()) {
43462
43455
  lastPath = packageJsonPath;
43463
43456
  packageJsonUrl = new import_node_url.URL(
43464
43457
  (isScoped ? "../../../../node_modules/" : "../../../node_modules/") + packageName + "/package.json",
@@ -43467,10 +43460,7 @@ function packageResolve(specifier, base, conditions) {
43467
43460
  packageJsonPath = (0, import_node_url.fileURLToPath)(packageJsonUrl);
43468
43461
  continue;
43469
43462
  }
43470
- const packageConfig2 = packageJsonReader.read(packageJsonPath, {
43471
- base,
43472
- specifier
43473
- });
43463
+ const packageConfig2 = read2(packageJsonPath, { base, specifier });
43474
43464
  if (packageConfig2.exports !== void 0 && packageConfig2.exports !== null) {
43475
43465
  return packageExportsResolve(
43476
43466
  packageJsonUrl,
@@ -43506,19 +43496,29 @@ function shouldBeTreatedAsRelativeOrAbsolutePath(specifier) {
43506
43496
  }
43507
43497
  function moduleResolve(specifier, base, conditions, preserveSymlinks) {
43508
43498
  const protocol = base.protocol;
43509
- const isRemote = protocol === "http:" || protocol === "https:";
43499
+ const isData = protocol === "data:";
43500
+ const isRemote = isData || protocol === "http:" || protocol === "https:";
43510
43501
  let resolved;
43511
43502
  if (shouldBeTreatedAsRelativeOrAbsolutePath(specifier)) {
43512
- resolved = new import_node_url.URL(specifier, base);
43513
- } else if (!isRemote && specifier[0] === "#") {
43503
+ try {
43504
+ resolved = new import_node_url.URL(specifier, base);
43505
+ } catch (error_) {
43506
+ const error = new ERR_UNSUPPORTED_RESOLVE_REQUEST(specifier, base);
43507
+ error.cause = error_;
43508
+ throw error;
43509
+ }
43510
+ } else if (protocol === "file:" && specifier[0] === "#") {
43514
43511
  resolved = packageImportsResolve(specifier, base, conditions);
43515
43512
  } else {
43516
43513
  try {
43517
43514
  resolved = new import_node_url.URL(specifier);
43518
- } catch {
43519
- if (!isRemote) {
43520
- resolved = packageResolve(specifier, base, conditions);
43515
+ } catch (error_) {
43516
+ if (isRemote && !import_node_module.builtinModules.includes(specifier)) {
43517
+ const error = new ERR_UNSUPPORTED_RESOLVE_REQUEST(specifier, base);
43518
+ error.cause = error_;
43519
+ throw error;
43521
43520
  }
43521
+ resolved = packageResolve(specifier, base, conditions);
43522
43522
  }
43523
43523
  }
43524
43524
  (0, import_node_assert.default)(resolved !== void 0, "expected to be defined");
@@ -43650,9 +43650,9 @@ function resolvePath(id, options) {
43650
43650
  return Promise.reject(error);
43651
43651
  }
43652
43652
  }
43653
- var import_node_module, import_node_fs3, import_node_url, import_node_assert, import_node_process, import_node_path3, import_node_v8, import_node_util, BUILTIN_MODULES, own$1, classRegExp, kTypes, codes, messages, nodeInternalPrefix, userStackTraceLimit, captureLargerStackTrace, hasOwnProperty$1, ERR_INVALID_PACKAGE_CONFIG$1, cache, reader, packageJsonReader, ERR_UNKNOWN_FILE_EXTENSION, hasOwnProperty2, extensionFormatMap, protocolHandlers, RegExpPrototypeSymbolReplace, ERR_NETWORK_IMPORT_DISALLOWED, ERR_INVALID_MODULE_SPECIFIER, ERR_INVALID_PACKAGE_CONFIG, ERR_INVALID_PACKAGE_TARGET, ERR_MODULE_NOT_FOUND, ERR_PACKAGE_IMPORT_NOT_DEFINED, ERR_PACKAGE_PATH_NOT_EXPORTED, ERR_UNSUPPORTED_DIR_IMPORT, own, invalidSegmentRegEx, deprecatedInvalidSegmentRegEx, invalidPackageNameRegEx, patternRegEx, encodedSepRegEx, emittedPackageWarnings, doubleSlashRegEx, DEFAULT_CONDITIONS_SET, DEFAULT_EXTENSIONS, NOT_FOUND_ERRORS;
43653
+ var import_node_module, import_node_fs3, import_node_url, import_node_assert, import_node_process, import_node_path3, import_node_v8, import_node_util, BUILTIN_MODULES, own$1, classRegExp, kTypes, codes, messages, nodeInternalPrefix, userStackTraceLimit, captureLargerStackTrace, hasOwnProperty$1, ERR_INVALID_PACKAGE_CONFIG$1, cache, ERR_UNKNOWN_FILE_EXTENSION, hasOwnProperty2, extensionFormatMap, protocolHandlers, RegExpPrototypeSymbolReplace, ERR_NETWORK_IMPORT_DISALLOWED, ERR_INVALID_MODULE_SPECIFIER, ERR_INVALID_PACKAGE_CONFIG, ERR_INVALID_PACKAGE_TARGET, ERR_MODULE_NOT_FOUND, ERR_PACKAGE_IMPORT_NOT_DEFINED, ERR_PACKAGE_PATH_NOT_EXPORTED, ERR_UNSUPPORTED_DIR_IMPORT, ERR_UNSUPPORTED_RESOLVE_REQUEST, own, invalidSegmentRegEx, deprecatedInvalidSegmentRegEx, invalidPackageNameRegEx, patternRegEx, encodedSeparatorRegEx, emittedPackageWarnings, doubleSlashRegEx, DEFAULT_CONDITIONS_SET, DEFAULT_EXTENSIONS, NOT_FOUND_ERRORS;
43654
43654
  var init_dist6 = __esm({
43655
- "node_modules/.pnpm/mlly@1.6.1/node_modules/mlly/dist/index.mjs"() {
43655
+ "node_modules/.pnpm/mlly@1.7.0/node_modules/mlly/dist/index.mjs"() {
43656
43656
  init_acorn();
43657
43657
  import_node_module = require("node:module");
43658
43658
  import_node_fs3 = __toESM(require("node:fs"), 1);
@@ -43783,21 +43783,21 @@ var init_dist6 = __esm({
43783
43783
  codes.ERR_INVALID_PACKAGE_TARGET = createError(
43784
43784
  "ERR_INVALID_PACKAGE_TARGET",
43785
43785
  /**
43786
- * @param {string} pkgPath
43786
+ * @param {string} packagePath
43787
43787
  * @param {string} key
43788
43788
  * @param {unknown} target
43789
43789
  * @param {boolean} [isImport=false]
43790
43790
  * @param {string} [base]
43791
43791
  */
43792
- (pkgPath, key, target, isImport = false, base = void 0) => {
43793
- const relError = typeof target === "string" && !isImport && target.length > 0 && !target.startsWith("./");
43792
+ (packagePath, key, target, isImport = false, base = void 0) => {
43793
+ const relatedError = typeof target === "string" && !isImport && target.length > 0 && !target.startsWith("./");
43794
43794
  if (key === ".") {
43795
43795
  (0, import_node_assert.default)(isImport === false);
43796
- return `Invalid "exports" main target ${JSON.stringify(target)} defined in the package config ${pkgPath}package.json${base ? ` imported from ${base}` : ""}${relError ? '; targets must start with "./"' : ""}`;
43796
+ return `Invalid "exports" main target ${JSON.stringify(target)} defined in the package config ${packagePath}package.json${base ? ` imported from ${base}` : ""}${relatedError ? '; targets must start with "./"' : ""}`;
43797
43797
  }
43798
43798
  return `Invalid "${isImport ? "imports" : "exports"}" target ${JSON.stringify(
43799
43799
  target
43800
- )} defined for '${key}' in the package config ${pkgPath}package.json${base ? ` imported from ${base}` : ""}${relError ? '; targets must start with "./"' : ""}`;
43800
+ )} defined for '${key}' in the package config ${packagePath}package.json${base ? ` imported from ${base}` : ""}${relatedError ? '; targets must start with "./"' : ""}`;
43801
43801
  },
43802
43802
  Error
43803
43803
  );
@@ -43833,14 +43833,14 @@ var init_dist6 = __esm({
43833
43833
  codes.ERR_PACKAGE_PATH_NOT_EXPORTED = createError(
43834
43834
  "ERR_PACKAGE_PATH_NOT_EXPORTED",
43835
43835
  /**
43836
- * @param {string} pkgPath
43836
+ * @param {string} packagePath
43837
43837
  * @param {string} subpath
43838
43838
  * @param {string} [base]
43839
43839
  */
43840
- (pkgPath, subpath, base = void 0) => {
43840
+ (packagePath, subpath, base = void 0) => {
43841
43841
  if (subpath === ".")
43842
- return `No "exports" main defined in ${pkgPath}package.json${base ? ` imported from ${base}` : ""}`;
43843
- return `Package subpath '${subpath}' is not defined by "exports" in ${pkgPath}package.json${base ? ` imported from ${base}` : ""}`;
43842
+ return `No "exports" main defined in ${packagePath}package.json${base ? ` imported from ${base}` : ""}`;
43843
+ return `Package subpath '${subpath}' is not defined by "exports" in ${packagePath}package.json${base ? ` imported from ${base}` : ""}`;
43844
43844
  },
43845
43845
  Error
43846
43846
  );
@@ -43849,14 +43849,19 @@ var init_dist6 = __esm({
43849
43849
  "Directory import '%s' is not supported resolving ES modules imported from %s",
43850
43850
  Error
43851
43851
  );
43852
+ codes.ERR_UNSUPPORTED_RESOLVE_REQUEST = createError(
43853
+ "ERR_UNSUPPORTED_RESOLVE_REQUEST",
43854
+ 'Failed to resolve module specifier "%s" from "%s": Invalid relative URL or base scheme is not hierarchical.',
43855
+ TypeError
43856
+ );
43852
43857
  codes.ERR_UNKNOWN_FILE_EXTENSION = createError(
43853
43858
  "ERR_UNKNOWN_FILE_EXTENSION",
43854
43859
  /**
43855
- * @param {string} ext
43860
+ * @param {string} extension
43856
43861
  * @param {string} path
43857
43862
  */
43858
- (ext, path5) => {
43859
- return `Unknown file extension "${ext}" for ${path5}`;
43863
+ (extension, path5) => {
43864
+ return `Unknown file extension "${extension}" for ${path5}`;
43860
43865
  },
43861
43866
  TypeError
43862
43867
  );
@@ -43900,8 +43905,6 @@ var init_dist6 = __esm({
43900
43905
  hasOwnProperty$1 = {}.hasOwnProperty;
43901
43906
  ({ ERR_INVALID_PACKAGE_CONFIG: ERR_INVALID_PACKAGE_CONFIG$1 } = codes);
43902
43907
  cache = /* @__PURE__ */ new Map();
43903
- reader = { read: read2 };
43904
- packageJsonReader = reader;
43905
43908
  ({ ERR_UNKNOWN_FILE_EXTENSION } = codes);
43906
43909
  hasOwnProperty2 = {}.hasOwnProperty;
43907
43910
  extensionFormatMap = {
@@ -43932,14 +43935,15 @@ var init_dist6 = __esm({
43932
43935
  ERR_MODULE_NOT_FOUND,
43933
43936
  ERR_PACKAGE_IMPORT_NOT_DEFINED,
43934
43937
  ERR_PACKAGE_PATH_NOT_EXPORTED,
43935
- ERR_UNSUPPORTED_DIR_IMPORT
43938
+ ERR_UNSUPPORTED_DIR_IMPORT,
43939
+ ERR_UNSUPPORTED_RESOLVE_REQUEST
43936
43940
  } = codes);
43937
43941
  own = {}.hasOwnProperty;
43938
43942
  invalidSegmentRegEx = /(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i;
43939
43943
  deprecatedInvalidSegmentRegEx = /(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i;
43940
43944
  invalidPackageNameRegEx = /^\.|%|\\/;
43941
43945
  patternRegEx = /\*/g;
43942
- encodedSepRegEx = /%2f|%5c/i;
43946
+ encodedSeparatorRegEx = /%2f|%5c/i;
43943
43947
  emittedPackageWarnings = /* @__PURE__ */ new Set();
43944
43948
  doubleSlashRegEx = /[/\\]{2}/;
43945
43949
  DEFAULT_CONDITIONS_SET = /* @__PURE__ */ new Set(["node", "import"]);
@@ -72901,27 +72905,23 @@ var init_lib = __esm({
72901
72905
  });
72902
72906
 
72903
72907
  // packages/config/src/schema.ts
72904
- var DarkColorSchema, LightColorSchema, PrimaryColorSchema, SecondaryColorSchema, TertiaryColorSchema, AccentColorSchema, SuccessColorSchema, InfoColorSchema, WarningColorSchema, ErrorColorSchema, FatalColorSchema, DarkThemeColorConfigSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, SingleThemeColorConfigSchema, ColorConfigSchema, ColorConfigMapSchema, StormConfigSchema;
72908
+ var DarkColorSchema, LightColorSchema, BrandColorSchema, AccentColorSchema, SuccessColorSchema, InfoColorSchema, WarningColorSchema, ErrorColorSchema, FatalColorSchema, DarkThemeColorConfigSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, SingleThemeColorConfigSchema, ColorConfigSchema, ColorConfigMapSchema, StormConfigSchema;
72905
72909
  var init_schema = __esm({
72906
72910
  "packages/config/src/schema.ts"() {
72907
72911
  init_lib();
72908
- DarkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1d232a").describe("The dark background color of the workspace");
72912
+ DarkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#22272E").describe("The dark background color of the workspace");
72909
72913
  LightColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
72910
- PrimaryColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The primary color of the workspace");
72911
- SecondaryColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0ea5e9").describe("The secondary color of the workspace");
72912
- TertiaryColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#ec5990").describe("The tertiary color of the workspace");
72913
- AccentColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#6366f1").describe("The accent color of the workspace");
72914
+ BrandColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The first brand specific color of the workspace");
72915
+ AccentColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#8256D0").describe("The second brand specific color of the workspace");
72914
72916
  SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#087f5b").describe("The success color of the workspace");
72915
- InfoColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0ea5e9").describe("The informational color of the workspace");
72917
+ InfoColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#316DCA").describe("The informational color of the workspace");
72916
72918
  WarningColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#fcc419").describe("The warning color of the workspace");
72917
- ErrorColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#990000").describe("The error color of the workspace");
72918
- FatalColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#7d1a1a").describe("The fatal color of the workspace");
72919
+ ErrorColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#a40e26").describe("The error color of the workspace");
72920
+ FatalColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
72919
72921
  DarkThemeColorConfigSchema = z2.object({
72920
72922
  foreground: LightColorSchema,
72921
72923
  background: DarkColorSchema,
72922
- primary: PrimaryColorSchema,
72923
- secondary: SecondaryColorSchema,
72924
- tertiary: TertiaryColorSchema,
72924
+ brand: BrandColorSchema,
72925
72925
  accent: AccentColorSchema,
72926
72926
  success: SuccessColorSchema,
72927
72927
  info: InfoColorSchema,
@@ -72932,9 +72932,7 @@ var init_schema = __esm({
72932
72932
  LightThemeColorConfigSchema = z2.object({
72933
72933
  foreground: DarkColorSchema,
72934
72934
  background: LightColorSchema,
72935
- primary: PrimaryColorSchema,
72936
- secondary: SecondaryColorSchema,
72937
- tertiary: TertiaryColorSchema,
72935
+ brand: BrandColorSchema,
72938
72936
  accent: AccentColorSchema,
72939
72937
  success: SuccessColorSchema,
72940
72938
  info: InfoColorSchema,
@@ -72949,9 +72947,7 @@ var init_schema = __esm({
72949
72947
  SingleThemeColorConfigSchema = z2.object({
72950
72948
  dark: DarkColorSchema,
72951
72949
  light: LightColorSchema,
72952
- primary: PrimaryColorSchema,
72953
- secondary: SecondaryColorSchema,
72954
- tertiary: TertiaryColorSchema,
72950
+ brand: BrandColorSchema,
72955
72951
  accent: AccentColorSchema,
72956
72952
  success: SuccessColorSchema,
72957
72953
  info: InfoColorSchema,
@@ -72998,7 +72994,7 @@ var init_schema = __esm({
72998
72994
  runtimeVersion: z2.string().trim().regex(
72999
72995
  /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/
73000
72996
  ).default("1.0.0").describe("The global version of the Storm runtime"),
73001
- packageManager: z2.enum(["npm", "yarn", "pnpm", "bun"]).default("npm").describe("The package manager used by the repository"),
72997
+ packageManager: z2.enum(["npm", "yarn", "pnpm", "bun"]).default("pnpm").describe("The package manager used by the repository"),
73002
72998
  timezone: z2.string().trim().default("America/New_York").describe("The default timezone of the workspace"),
73003
72999
  locale: z2.string().trim().default("en-US").describe("The default locale of the workspace"),
73004
73000
  logLevel: z2.enum([
@@ -73033,9 +73029,7 @@ var init_types = __esm({
73033
73029
  COLOR_KEYS = [
73034
73030
  "dark",
73035
73031
  "light",
73036
- "primary",
73037
- "secondary",
73038
- "tertiary",
73032
+ "brand",
73039
73033
  "accent",
73040
73034
  "success",
73041
73035
  "info",
@@ -73070,17 +73064,26 @@ var init_get_default_config = __esm({
73070
73064
  init_src();
73071
73065
  init_find_workspace_root();
73072
73066
  DEFAULT_COLOR_CONFIG = {
73073
- dark: "#1d232a",
73074
- light: "#f4f4f5",
73075
- primary: "#1fb2a6",
73076
- secondary: "#0ea5e9",
73077
- tertiary: "#ec5990",
73078
- accent: "#6366f1",
73079
- success: "#087f5b",
73080
- info: "#0ea5e9",
73081
- warning: "#fcc419",
73082
- error: "#990000",
73083
- fatal: "#7d1a1a"
73067
+ light: {
73068
+ background: "#f4f4f5",
73069
+ foreground: "#1d232a",
73070
+ brand: "#1fb2a6",
73071
+ accent: "#8250df",
73072
+ success: "#087f5b",
73073
+ info: "#0550ae",
73074
+ warning: "#e3b341",
73075
+ error: "#a40e26"
73076
+ },
73077
+ dark: {
73078
+ background: "#22272E",
73079
+ foreground: "#fcfcf5",
73080
+ brand: "#1fb2a6",
73081
+ accent: "#8256D0",
73082
+ success: "#087f5b",
73083
+ info: "#316DCA",
73084
+ warning: "#F3D371",
73085
+ error: "#d1242f"
73086
+ }
73084
73087
  };
73085
73088
  DEFAULT_STORM_CONFIG = {
73086
73089
  name: "storm",
@@ -74840,7 +74843,7 @@ var init_logger = __esm({
74840
74843
  return (message) => {
74841
74844
  console.error(
74842
74845
  `
74843
- ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#b62324").whiteBright(
74846
+ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
74844
74847
  " \u{1F480} Fatal "
74845
74848
  )} ${_chalk.hex(colors.error ?? "#f85149")(formatLogMessage(message))}
74846
74849
  `
@@ -74895,9 +74898,9 @@ ${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.inf
74895
74898
  return (message) => {
74896
74899
  console.debug(
74897
74900
  `
74898
- ${_chalk.bold.hex(colors.primary ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.primary ?? "#1fb2a6").whiteBright(
74901
+ ${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
74899
74902
  " \u{1F6E0} Debug "
74900
- )} ${_chalk.hex(colors.primary ?? "#1fb2a6")(formatLogMessage(message))}
74903
+ )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
74901
74904
  `
74902
74905
  );
74903
74906
  };
@@ -74905,9 +74908,9 @@ ${_chalk.bold.hex(colors.primary ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.
74905
74908
  return (message) => {
74906
74909
  console.log(
74907
74910
  `
74908
- ${_chalk.bold.hex(colors.primary ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.primary ?? "#1fb2a6").whiteBright(
74911
+ ${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
74909
74912
  " \u2709 System "
74910
- )} ${_chalk.hex(colors.primary ?? "#1fb2a6")(formatLogMessage(message))}
74913
+ )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
74911
74914
  `
74912
74915
  );
74913
74916
  };
@@ -74935,7 +74938,7 @@ ${_chalk.bold.hex(colors.primary ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.
74935
74938
  };
74936
74939
  };
74937
74940
  formatLogMessage = (message, prefix = "-") => {
74938
- return typeof message === "string" ? message : typeof message === "object" ? `
74941
+ return typeof message === "undefined" || message === null || !message && typeof message !== "boolean" ? "<none>" : typeof message === "string" ? message : typeof message === "object" ? `
74939
74942
  ${Object.keys(message).map(
74940
74943
  (key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? formatLogMessage(message[key], `${prefix}-`) : message[key]}`
74941
74944
  ).join("\n")}` : message;
@@ -75292,15 +75295,13 @@ var init_get_env = __esm({
75292
75295
  };
75293
75296
  getThemeColorConfigEnv = (prefix, theme) => {
75294
75297
  const themeName = `COLOR_${theme && theme !== "base" ? `${theme}_` : ""}`.toUpperCase();
75295
- return process.env[`${prefix}${themeName}LIGHT_PRIMARY`] || process.env[`${prefix}${themeName}DARK_PRIMARY`] ? getMultiThemeColorConfigEnv(prefix + themeName) : getSingleThemeColorConfigEnv(prefix + themeName);
75298
+ return process.env[`${prefix}${themeName}LIGHT_BRAND`] || process.env[`${prefix}${themeName}DARK_BRAND`] ? getMultiThemeColorConfigEnv(prefix + themeName) : getSingleThemeColorConfigEnv(prefix + themeName);
75296
75299
  };
75297
75300
  getSingleThemeColorConfigEnv = (prefix) => {
75298
75301
  return {
75299
75302
  dark: process.env[`${prefix}DARK`],
75300
75303
  light: process.env[`${prefix}LIGHT`],
75301
- primary: process.env[`${prefix}PRIMARY`],
75302
- secondary: process.env[`${prefix}SECONDARY`],
75303
- tertiary: process.env[`${prefix}TERTIARY`],
75304
+ brand: process.env[`${prefix}BRAND`],
75304
75305
  accent: process.env[`${prefix}ACCENT`],
75305
75306
  success: process.env[`${prefix}SUCCESS`],
75306
75307
  info: process.env[`${prefix}INFO`],
@@ -75321,9 +75322,7 @@ var init_get_env = __esm({
75321
75322
  return {
75322
75323
  foreground: process.env[`${prefix}FOREGROUND`],
75323
75324
  background: process.env[`${prefix}BACKGROUND`],
75324
- primary: process.env[`${prefix}PRIMARY`],
75325
- secondary: process.env[`${prefix}SECONDARY`],
75326
- tertiary: process.env[`${prefix}TERTIARY`],
75325
+ brand: process.env[`${prefix}BRAND`],
75327
75326
  accent: process.env[`${prefix}ACCENT`],
75328
75327
  success: process.env[`${prefix}SUCCESS`],
75329
75328
  info: process.env[`${prefix}INFO`],
@@ -75490,7 +75489,7 @@ var init_set_env = __esm({
75490
75489
  }
75491
75490
  };
75492
75491
  setThemeColorConfigEnv = (prefix, config) => {
75493
- return config?.light?.primary || config?.dark?.primary ? setMultiThemeColorConfigEnv(prefix, config) : setSingleThemeColorConfigEnv(prefix, config);
75492
+ return config?.light?.brand || config?.dark?.brand ? setMultiThemeColorConfigEnv(prefix, config) : setSingleThemeColorConfigEnv(prefix, config);
75494
75493
  };
75495
75494
  setSingleThemeColorConfigEnv = (prefix, config) => {
75496
75495
  if (config.dark) {
@@ -75499,14 +75498,8 @@ var init_set_env = __esm({
75499
75498
  if (config.light) {
75500
75499
  process.env[`${prefix}LIGHT`] = config.light;
75501
75500
  }
75502
- if (config.primary) {
75503
- process.env[`${prefix}PRIMARY`] = config.primary;
75504
- }
75505
- if (config.secondary) {
75506
- process.env[`${prefix}SECONDARY`] = config.secondary;
75507
- }
75508
- if (config.tertiary) {
75509
- process.env[`${prefix}TERTIARY`] = config.tertiary;
75501
+ if (config.brand) {
75502
+ process.env[`${prefix}BRAND`] = config.brand;
75510
75503
  }
75511
75504
  if (config.accent) {
75512
75505
  process.env[`${prefix}ACCENT`] = config.accent;
@@ -75540,14 +75533,8 @@ var init_set_env = __esm({
75540
75533
  if (config.background) {
75541
75534
  process.env[`${prefix}BACKGROUND`] = config.background;
75542
75535
  }
75543
- if (config.primary) {
75544
- process.env[`${prefix}PRIMARY`] = config.primary;
75545
- }
75546
- if (config.secondary) {
75547
- process.env[`${prefix}SECONDARY`] = config.secondary;
75548
- }
75549
- if (config.tertiary) {
75550
- process.env[`${prefix}TERTIARY`] = config.tertiary;
75536
+ if (config.brand) {
75537
+ process.env[`${prefix}BRAND`] = config.brand;
75551
75538
  }
75552
75539
  if (config.accent) {
75553
75540
  process.env[`${prefix}ACCENT`] = config.accent;
@@ -75717,9 +75704,9 @@ var init_src2 = __esm({
75717
75704
  }
75718
75705
  });
75719
75706
 
75720
- // node_modules/.pnpm/@nx+js@18.3.3_@swc-node+register@1.9.0_@swc+core@1.4.17_@swc+wasm@1.5.2_@types+node@20.12.7_n_g5fh77iyrkqki73acz3gyycqnq/node_modules/@nx/js/src/generators/release-version/utils/package.js
75707
+ // node_modules/.pnpm/@nx+js@18.3.3_@swc-node+register@1.9.0_@swc+core@1.4.17_@swc+wasm@1.5.2_@types+node@20.12.7_n_sfa772jjfdu4aaqkg7453mbvyi/node_modules/@nx/js/src/generators/release-version/utils/package.js
75721
75708
  var require_package2 = __commonJS({
75722
- "node_modules/.pnpm/@nx+js@18.3.3_@swc-node+register@1.9.0_@swc+core@1.4.17_@swc+wasm@1.5.2_@types+node@20.12.7_n_g5fh77iyrkqki73acz3gyycqnq/node_modules/@nx/js/src/generators/release-version/utils/package.js"(exports2) {
75709
+ "node_modules/.pnpm/@nx+js@18.3.3_@swc-node+register@1.9.0_@swc+core@1.4.17_@swc+wasm@1.5.2_@types+node@20.12.7_n_sfa772jjfdu4aaqkg7453mbvyi/node_modules/@nx/js/src/generators/release-version/utils/package.js"(exports2) {
75723
75710
  "use strict";
75724
75711
  Object.defineProperty(exports2, "__esModule", { value: true });
75725
75712
  exports2.Package = void 0;
@@ -77041,9 +77028,9 @@ var require_commonjs = __commonJS({
77041
77028
  }
77042
77029
  });
77043
77030
 
77044
- // node_modules/.pnpm/hosted-git-info@7.0.1/node_modules/hosted-git-info/lib/hosts.js
77031
+ // node_modules/.pnpm/hosted-git-info@7.0.2/node_modules/hosted-git-info/lib/hosts.js
77045
77032
  var require_hosts = __commonJS({
77046
- "node_modules/.pnpm/hosted-git-info@7.0.1/node_modules/hosted-git-info/lib/hosts.js"(exports2, module2) {
77033
+ "node_modules/.pnpm/hosted-git-info@7.0.2/node_modules/hosted-git-info/lib/hosts.js"(exports2, module2) {
77047
77034
  "use strict";
77048
77035
  var maybeJoin = (...args) => args.every((arg) => arg) ? args.join("") : "";
77049
77036
  var maybeEncode = (arg) => arg ? encodeURIComponent(arg) : "";
@@ -77186,7 +77173,7 @@ var require_hosts = __commonJS({
77186
77173
  filetemplate: ({ domain, user, project, committish, path: path5 }) => `https://${domain}/${user}/${project}/blob/${maybeEncode(committish) || "HEAD"}/${path5}`,
77187
77174
  httpstemplate: ({ domain, user, project, committish }) => `https://${domain}/${user}/${project}.git${maybeJoin("#", committish)}`,
77188
77175
  tarballtemplate: ({ domain, user, project, committish }) => `https://${domain}/${user}/${project}/archive/${maybeEncode(committish) || "HEAD"}.tar.gz`,
77189
- bugstemplate: ({ user, project }) => null,
77176
+ bugstemplate: () => null,
77190
77177
  extract: (url) => {
77191
77178
  let [, user, project, aux] = url.pathname.split("/", 4);
77192
77179
  if (["archive"].includes(aux)) {
@@ -77208,9 +77195,9 @@ var require_hosts = __commonJS({
77208
77195
  }
77209
77196
  });
77210
77197
 
77211
- // node_modules/.pnpm/hosted-git-info@7.0.1/node_modules/hosted-git-info/lib/parse-url.js
77198
+ // node_modules/.pnpm/hosted-git-info@7.0.2/node_modules/hosted-git-info/lib/parse-url.js
77212
77199
  var require_parse_url = __commonJS({
77213
- "node_modules/.pnpm/hosted-git-info@7.0.1/node_modules/hosted-git-info/lib/parse-url.js"(exports2, module2) {
77200
+ "node_modules/.pnpm/hosted-git-info@7.0.2/node_modules/hosted-git-info/lib/parse-url.js"(exports2, module2) {
77214
77201
  var url = require("url");
77215
77202
  var lastIndexOfBefore = (str, char, beforeChar) => {
77216
77203
  const startPosition = str.indexOf(beforeChar);
@@ -77260,9 +77247,9 @@ var require_parse_url = __commonJS({
77260
77247
  }
77261
77248
  });
77262
77249
 
77263
- // node_modules/.pnpm/hosted-git-info@7.0.1/node_modules/hosted-git-info/lib/from-url.js
77250
+ // node_modules/.pnpm/hosted-git-info@7.0.2/node_modules/hosted-git-info/lib/from-url.js
77264
77251
  var require_from_url = __commonJS({
77265
- "node_modules/.pnpm/hosted-git-info@7.0.1/node_modules/hosted-git-info/lib/from-url.js"(exports2, module2) {
77252
+ "node_modules/.pnpm/hosted-git-info@7.0.2/node_modules/hosted-git-info/lib/from-url.js"(exports2, module2) {
77266
77253
  "use strict";
77267
77254
  var parseUrl = require_parse_url();
77268
77255
  var isGitHubShorthand = (arg) => {
@@ -77354,9 +77341,9 @@ var require_from_url = __commonJS({
77354
77341
  }
77355
77342
  });
77356
77343
 
77357
- // node_modules/.pnpm/hosted-git-info@7.0.1/node_modules/hosted-git-info/lib/index.js
77344
+ // node_modules/.pnpm/hosted-git-info@7.0.2/node_modules/hosted-git-info/lib/index.js
77358
77345
  var require_lib3 = __commonJS({
77359
- "node_modules/.pnpm/hosted-git-info@7.0.1/node_modules/hosted-git-info/lib/index.js"(exports2, module2) {
77346
+ "node_modules/.pnpm/hosted-git-info@7.0.2/node_modules/hosted-git-info/lib/index.js"(exports2, module2) {
77360
77347
  "use strict";
77361
77348
  var { LRUCache } = require_commonjs();
77362
77349
  var hosts = require_hosts();
@@ -78029,9 +78016,9 @@ var require_npa = __commonJS({
78029
78016
  }
78030
78017
  });
78031
78018
 
78032
- // node_modules/.pnpm/@nx+js@18.3.3_@swc-node+register@1.9.0_@swc+core@1.4.17_@swc+wasm@1.5.2_@types+node@20.12.7_n_g5fh77iyrkqki73acz3gyycqnq/node_modules/@nx/js/src/generators/release-version/utils/resolve-version-spec.js
78019
+ // node_modules/.pnpm/@nx+js@18.3.3_@swc-node+register@1.9.0_@swc+core@1.4.17_@swc+wasm@1.5.2_@types+node@20.12.7_n_sfa772jjfdu4aaqkg7453mbvyi/node_modules/@nx/js/src/generators/release-version/utils/resolve-version-spec.js
78033
78020
  var require_resolve_version_spec = __commonJS({
78034
- "node_modules/.pnpm/@nx+js@18.3.3_@swc-node+register@1.9.0_@swc+core@1.4.17_@swc+wasm@1.5.2_@types+node@20.12.7_n_g5fh77iyrkqki73acz3gyycqnq/node_modules/@nx/js/src/generators/release-version/utils/resolve-version-spec.js"(exports2) {
78021
+ "node_modules/.pnpm/@nx+js@18.3.3_@swc-node+register@1.9.0_@swc+core@1.4.17_@swc+wasm@1.5.2_@types+node@20.12.7_n_sfa772jjfdu4aaqkg7453mbvyi/node_modules/@nx/js/src/generators/release-version/utils/resolve-version-spec.js"(exports2) {
78035
78022
  "use strict";
78036
78023
  Object.defineProperty(exports2, "__esModule", { value: true });
78037
78024
  exports2.resolveVersionSpec = void 0;
@@ -78058,9 +78045,9 @@ var require_resolve_version_spec = __commonJS({
78058
78045
  }
78059
78046
  });
78060
78047
 
78061
- // node_modules/.pnpm/@nx+js@18.3.3_@swc-node+register@1.9.0_@swc+core@1.4.17_@swc+wasm@1.5.2_@types+node@20.12.7_n_g5fh77iyrkqki73acz3gyycqnq/node_modules/@nx/js/src/generators/release-version/utils/resolve-local-package-dependencies.js
78048
+ // node_modules/.pnpm/@nx+js@18.3.3_@swc-node+register@1.9.0_@swc+core@1.4.17_@swc+wasm@1.5.2_@types+node@20.12.7_n_sfa772jjfdu4aaqkg7453mbvyi/node_modules/@nx/js/src/generators/release-version/utils/resolve-local-package-dependencies.js
78062
78049
  var require_resolve_local_package_dependencies = __commonJS({
78063
- "node_modules/.pnpm/@nx+js@18.3.3_@swc-node+register@1.9.0_@swc+core@1.4.17_@swc+wasm@1.5.2_@types+node@20.12.7_n_g5fh77iyrkqki73acz3gyycqnq/node_modules/@nx/js/src/generators/release-version/utils/resolve-local-package-dependencies.js"(exports2) {
78050
+ "node_modules/.pnpm/@nx+js@18.3.3_@swc-node+register@1.9.0_@swc+core@1.4.17_@swc+wasm@1.5.2_@types+node@20.12.7_n_sfa772jjfdu4aaqkg7453mbvyi/node_modules/@nx/js/src/generators/release-version/utils/resolve-local-package-dependencies.js"(exports2) {
78064
78051
  "use strict";
78065
78052
  Object.defineProperty(exports2, "__esModule", { value: true });
78066
78053
  exports2.resolveLocalPackageDependencies = void 0;