@storm-software/git-tools 2.113.8 → 2.113.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
21
21
 
22
22
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
23
23
 
24
- [![Version](https://img.shields.io/badge/version-2.113.6-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-2.113.8-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
@@ -3647,16 +3647,16 @@ var require_jiti = __commonJS({
3647
3647
  const [s0, ...s] = path.split("?");
3648
3648
  return s0 + "/" + (s.length > 0 ? `?${s.join("?")}` : "") + fragment;
3649
3649
  }
3650
- function isNonEmptyURL(url) {
3651
- return url && "/" !== url;
3650
+ function isNonEmptyURL(url2) {
3651
+ return url2 && "/" !== url2;
3652
3652
  }
3653
3653
  function dist_joinURL(base, ...input) {
3654
- let url = base || "";
3655
- for (const segment of input.filter((url2) => isNonEmptyURL(url2))) if (url) {
3654
+ let url2 = base || "";
3655
+ for (const segment of input.filter((url22) => isNonEmptyURL(url22))) if (url2) {
3656
3656
  const _segment = segment.replace(JOIN_LEADING_SLASH_RE, "");
3657
- url = withTrailingSlash(url) + _segment;
3658
- } else url = segment;
3659
- return url;
3657
+ url2 = withTrailingSlash(url2) + _segment;
3658
+ } else url2 = segment;
3659
+ return url2;
3660
3660
  }
3661
3661
  Symbol.for("ufo:protocolRelative");
3662
3662
  Object.defineProperty;
@@ -3835,8 +3835,8 @@ var require_jiti = __commonJS({
3835
3835
  }
3836
3836
  return { pjsonPath: (0, external_node_url_namespaceObject.fileURLToPath)(packageJSONUrl), exists: false, type: "none" };
3837
3837
  }
3838
- function getPackageType(url) {
3839
- return getPackageScopeConfig(url).type;
3838
+ function getPackageType(url2) {
3839
+ return getPackageScopeConfig(url2).type;
3840
3840
  }
3841
3841
  const { ERR_UNKNOWN_FILE_EXTENSION } = codes, dist_hasOwnProperty = {}.hasOwnProperty, extensionFormatMap = { __proto__: null, ".cjs": "commonjs", ".js": "module", ".json": "json", ".mjs": "module" };
3842
3842
  const protocolHandlers = { __proto__: null, "data:": function(parsed) {
@@ -3844,9 +3844,9 @@ var require_jiti = __commonJS({
3844
3844
  return function(mime2) {
3845
3845
  return mime2 && /\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(mime2) ? "module" : "application/json" === mime2 ? "json" : null;
3846
3846
  }(mime);
3847
- }, "file:": function(url, _context, ignoreErrors) {
3848
- const value2 = function(url2) {
3849
- const pathname = url2.pathname;
3847
+ }, "file:": function(url2, _context, ignoreErrors) {
3848
+ const value2 = function(url3) {
3849
+ const pathname = url3.pathname;
3850
3850
  let index = pathname.length;
3851
3851
  for (; index--; ) {
3852
3852
  const code = pathname.codePointAt(index);
@@ -3854,19 +3854,19 @@ var require_jiti = __commonJS({
3854
3854
  if (46 === code) return 47 === pathname.codePointAt(index - 1) ? "" : pathname.slice(index);
3855
3855
  }
3856
3856
  return "";
3857
- }(url);
3857
+ }(url2);
3858
3858
  if (".js" === value2) {
3859
- const packageType = getPackageType(url);
3859
+ const packageType = getPackageType(url2);
3860
3860
  return "none" !== packageType ? packageType : "commonjs";
3861
3861
  }
3862
3862
  if ("" === value2) {
3863
- const packageType = getPackageType(url);
3863
+ const packageType = getPackageType(url2);
3864
3864
  return "none" === packageType || "commonjs" === packageType ? "commonjs" : "module";
3865
3865
  }
3866
3866
  const format = extensionFormatMap[value2];
3867
3867
  if (format) return format;
3868
3868
  if (ignoreErrors) return;
3869
- const filepath = (0, external_node_url_namespaceObject.fileURLToPath)(url);
3869
+ const filepath = (0, external_node_url_namespaceObject.fileURLToPath)(url2);
3870
3870
  throw new ERR_UNKNOWN_FILE_EXTENSION(value2, filepath);
3871
3871
  }, "http:": getHttpProtocolModuleFormat, "https:": getHttpProtocolModuleFormat, "node:": () => "builtin" };
3872
3872
  function getHttpProtocolModuleFormat() {
@@ -3877,14 +3877,14 @@ var require_jiti = __commonJS({
3877
3877
  const pjsonPath = (0, external_node_url_namespaceObject.fileURLToPath)(packageJsonUrl), double = null !== doubleSlashRegEx.exec(isTarget ? target : request);
3878
3878
  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");
3879
3879
  }
3880
- function emitLegacyIndexDeprecation(url, packageJsonUrl, base, main2) {
3880
+ function emitLegacyIndexDeprecation(url2, packageJsonUrl, base, main2) {
3881
3881
  if (external_node_process_namespaceObject.noDeprecation) return;
3882
- const format = function(url2, context) {
3883
- const protocol = url2.protocol;
3884
- return dist_hasOwnProperty.call(protocolHandlers, protocol) && protocolHandlers[protocol](url2, context, true) || null;
3885
- }(url, { parentURL: base.href });
3882
+ const format = function(url3, context) {
3883
+ const protocol = url3.protocol;
3884
+ return dist_hasOwnProperty.call(protocolHandlers, protocol) && protocolHandlers[protocol](url3, context, true) || null;
3885
+ }(url2, { parentURL: base.href });
3886
3886
  if ("module" !== format) return;
3887
- const urlPath = (0, external_node_url_namespaceObject.fileURLToPath)(url.href), packagePath = (0, external_node_url_namespaceObject.fileURLToPath)(new external_node_url_namespaceObject.URL(".", packageJsonUrl)), basePath = (0, external_node_url_namespaceObject.fileURLToPath)(base);
3887
+ const urlPath = (0, external_node_url_namespaceObject.fileURLToPath)(url2.href), packagePath = (0, external_node_url_namespaceObject.fileURLToPath)(new external_node_url_namespaceObject.URL(".", packageJsonUrl)), basePath = (0, external_node_url_namespaceObject.fileURLToPath)(base);
3888
3888
  main2 ? external_node_path_namespaceObject.resolve(packagePath, main2) !== urlPath && external_node_process_namespaceObject.emitWarning(`Package ${packagePath} has a "main" field set to "${main2}", excluding the full filename and extension to the resolved file at "${urlPath.slice(packagePath.length)}", imported from ${basePath}.
3889
3889
  Automatic extension resolution of the "main" field is deprecated for ES modules.`, "DeprecationWarning", "DEP0151") : external_node_process_namespaceObject.emitWarning(`No "main" or "exports" field defined in the package.json for ${packagePath} resolving the main entry point "${urlPath.slice(packagePath.length)}", imported from ${basePath}.
3890
3890
  Default "index" lookups for the main are deprecated for ES modules.`, "DeprecationWarning", "DEP0151");
@@ -3895,8 +3895,8 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
3895
3895
  } catch {
3896
3896
  }
3897
3897
  }
3898
- function fileExists(url) {
3899
- const stats = (0, external_node_fs_namespaceObject.statSync)(url, { throwIfNoEntry: false }), isFile = stats ? stats.isFile() : void 0;
3898
+ function fileExists(url2) {
3899
+ const stats = (0, external_node_fs_namespaceObject.statSync)(url2, { throwIfNoEntry: false }), isFile = stats ? stats.isFile() : void 0;
3900
3900
  return null != isFile && isFile;
3901
3901
  }
3902
3902
  function legacyMainResolve(packageJsonUrl, packageConfig, base) {
@@ -4166,9 +4166,9 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
4166
4166
  return (0, external_node_url_namespaceObject.pathToFileURL)(fileURLToPath2(id)).toString();
4167
4167
  }
4168
4168
  const DEFAULT_CONDITIONS_SET = /* @__PURE__ */ new Set(["node", "import"]), DEFAULT_EXTENSIONS = [".mjs", ".cjs", ".js", ".json"], NOT_FOUND_ERRORS = /* @__PURE__ */ new Set(["ERR_MODULE_NOT_FOUND", "ERR_UNSUPPORTED_DIR_IMPORT", "MODULE_NOT_FOUND", "ERR_PACKAGE_PATH_NOT_EXPORTED"]);
4169
- function _tryModuleResolve(id, url, conditions) {
4169
+ function _tryModuleResolve(id, url2, conditions) {
4170
4170
  try {
4171
- return moduleResolve(id, url, conditions);
4171
+ return moduleResolve(id, url2, conditions);
4172
4172
  } catch (error) {
4173
4173
  if (!NOT_FOUND_ERRORS.has(error?.code)) throw error;
4174
4174
  }
@@ -4185,17 +4185,17 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
4185
4185
  } catch (error) {
4186
4186
  if ("ENOENT" !== error?.code) throw error;
4187
4187
  }
4188
- const conditionsSet = options.conditions ? new Set(options.conditions) : DEFAULT_CONDITIONS_SET, _urls = (Array.isArray(options.url) ? options.url : [options.url]).filter(Boolean).map((url) => new URL(function(id2) {
4188
+ const conditionsSet = options.conditions ? new Set(options.conditions) : DEFAULT_CONDITIONS_SET, _urls = (Array.isArray(options.url) ? options.url : [options.url]).filter(Boolean).map((url2) => new URL(function(id2) {
4189
4189
  return "string" != typeof id2 && (id2 = id2.toString()), /(node|data|http|https|file):/.test(id2) ? id2 : BUILTIN_MODULES.has(id2) ? "node:" + id2 : "file://" + encodeURI(normalizeSlash(id2));
4190
- }(url.toString())));
4190
+ }(url2.toString())));
4191
4191
  0 === _urls.length && _urls.push(new URL(pathToFileURL(process.cwd())));
4192
4192
  const urls = [..._urls];
4193
- for (const url of _urls) "file:" === url.protocol && urls.push(new URL("./", url), new URL(dist_joinURL(url.pathname, "_index.js"), url), new URL("node_modules", url));
4193
+ for (const url2 of _urls) "file:" === url2.protocol && urls.push(new URL("./", url2), new URL(dist_joinURL(url2.pathname, "_index.js"), url2), new URL("node_modules", url2));
4194
4194
  let resolved;
4195
- for (const url of urls) {
4196
- if (resolved = _tryModuleResolve(id, url, conditionsSet), resolved) break;
4195
+ for (const url2 of urls) {
4196
+ if (resolved = _tryModuleResolve(id, url2, conditionsSet), resolved) break;
4197
4197
  for (const prefix of ["", "/index"]) {
4198
- for (const extension of options.extensions || DEFAULT_EXTENSIONS) if (resolved = _tryModuleResolve(dist_joinURL(id, prefix) + extension, url, conditionsSet), resolved) break;
4198
+ for (const extension of options.extensions || DEFAULT_EXTENSIONS) if (resolved = _tryModuleResolve(dist_joinURL(id, prefix) + extension, url2, conditionsSet), resolved) break;
4199
4199
  if (resolved) break;
4200
4200
  }
4201
4201
  if (resolved) break;
@@ -4521,7 +4521,7 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
4521
4521
  return void 0 !== userOptions2.cache && (deprecatOverrides.fsCache = userOptions2.cache), void 0 !== userOptions2.requireCache && (deprecatOverrides.moduleCache = userOptions2.requireCache), { ...jitiDefaults, ...deprecatOverrides, ...userOptions2 };
4522
4522
  }(userOptions), alias = opts.alias && Object.keys(opts.alias).length > 0 ? normalizeAliases(opts.alias || {}) : void 0, nativeModules = ["typescript", "jiti", ...opts.nativeModules || []], isNativeRe = new RegExp(`node_modules/(${nativeModules.map((m) => escapeStringRegexp(m)).join("|")})/`), transformModules = [...opts.transformModules || []], isTransformRe = new RegExp(`node_modules/(${transformModules.map((m) => escapeStringRegexp(m)).join("|")})/`);
4523
4523
  filename || (filename = process.cwd()), !isNested && isDir(filename) && (filename = join4(filename, "_index.js"));
4524
- const url = pathToFileURL(filename), additionalExts = [...opts.extensions].filter((ext) => ".js" !== ext), nativeRequire = parentContext.createRequire(isWindows ? filename.replace(/\//g, "\\") : filename), ctx = { filename, url, opts, alias, nativeModules, transformModules, isNativeRe, isTransformRe, additionalExts, nativeRequire, onError: parentContext.onError, parentModule: parentContext.parentModule, parentCache: parentContext.parentCache, nativeImport: parentContext.nativeImport, createRequire: parentContext.createRequire };
4524
+ const url2 = pathToFileURL(filename), additionalExts = [...opts.extensions].filter((ext) => ".js" !== ext), nativeRequire = parentContext.createRequire(isWindows ? filename.replace(/\//g, "\\") : filename), ctx = { filename, url: url2, opts, alias, nativeModules, transformModules, isNativeRe, isTransformRe, additionalExts, nativeRequire, onError: parentContext.onError, parentModule: parentContext.parentModule, parentCache: parentContext.parentCache, nativeImport: parentContext.nativeImport, createRequire: parentContext.createRequire };
4525
4525
  isNested || debug(ctx, "[init]", ...[["version:", package_namespaceObject.rE], ["module-cache:", opts.moduleCache], ["fs-cache:", opts.fsCache], ["interop-defaults:", opts.interopDefault]].flat()), isNested || prepareCacheDir(ctx);
4526
4526
  const jiti = Object.assign(function(id) {
4527
4527
  return jitiRequire(ctx, id, { async: false });
@@ -4532,7 +4532,7 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
4532
4532
  return opts2?.default ? mod?.default ?? mod : mod;
4533
4533
  }, esmResolve(id, opts2) {
4534
4534
  "string" == typeof opts2 && (opts2 = { parentURL: opts2 });
4535
- const resolved = jitiResolve(ctx, id, { parentURL: url, ...opts2, async: true });
4535
+ const resolved = jitiResolve(ctx, id, { parentURL: url2, ...opts2, async: true });
4536
4536
  return !resolved || "string" != typeof resolved || resolved.startsWith("file://") ? resolved : pathToFileURL(resolved);
4537
4537
  } });
4538
4538
  return jiti;
@@ -4774,28 +4774,28 @@ Did you specify these with the most recent transformation maps first?`);
4774
4774
  }
4775
4775
  function parseUrl(input) {
4776
4776
  if (isSchemeRelativeUrl(input)) {
4777
- const url2 = parseAbsoluteUrl("http:" + input);
4778
- return url2.scheme = "", url2.type = 6, url2;
4777
+ const url3 = parseAbsoluteUrl("http:" + input);
4778
+ return url3.scheme = "", url3.type = 6, url3;
4779
4779
  }
4780
4780
  if (isAbsolutePath(input)) {
4781
- const url2 = parseAbsoluteUrl("http://foo.com" + input);
4782
- return url2.scheme = "", url2.host = "", url2.type = 5, url2;
4781
+ const url3 = parseAbsoluteUrl("http://foo.com" + input);
4782
+ return url3.scheme = "", url3.host = "", url3.type = 5, url3;
4783
4783
  }
4784
4784
  if (isFileUrl(input)) return parseFileUrl(input);
4785
4785
  if (isAbsoluteUrl(input)) return parseAbsoluteUrl(input);
4786
- const url = parseAbsoluteUrl("http://foo.com/" + input);
4787
- return url.scheme = "", url.host = "", url.type = input ? input.startsWith("?") ? 3 : input.startsWith("#") ? 2 : 4 : 1, url;
4786
+ const url2 = parseAbsoluteUrl("http://foo.com/" + input);
4787
+ return url2.scheme = "", url2.host = "", url2.type = input ? input.startsWith("?") ? 3 : input.startsWith("#") ? 2 : 4 : 1, url2;
4788
4788
  }
4789
4789
  function stripPathFilename(path) {
4790
4790
  if (path.endsWith("/..")) return path;
4791
4791
  const index = path.lastIndexOf("/");
4792
4792
  return path.slice(0, index + 1);
4793
4793
  }
4794
- function mergePaths(url, base) {
4795
- normalizePath(base, base.type), "/" === url.path ? url.path = base.path : url.path = stripPathFilename(base.path) + url.path;
4794
+ function mergePaths(url2, base) {
4795
+ normalizePath(base, base.type), "/" === url2.path ? url2.path = base.path : url2.path = stripPathFilename(base.path) + url2.path;
4796
4796
  }
4797
- function normalizePath(url, type) {
4798
- const rel = type <= 4, pieces = url.path.split("/");
4797
+ function normalizePath(url2, type) {
4798
+ const rel = type <= 4, pieces = url2.path.split("/");
4799
4799
  let pointer = 1, positive = 0, addTrailingSlash = false;
4800
4800
  for (let i = 1; i < pieces.length; i++) {
4801
4801
  const piece = pieces[i];
@@ -4803,43 +4803,43 @@ Did you specify these with the most recent transformation maps first?`);
4803
4803
  }
4804
4804
  let path = "";
4805
4805
  for (let i = 1; i < pointer; i++) path += "/" + pieces[i];
4806
- (!path || addTrailingSlash && !path.endsWith("/..")) && (path += "/"), url.path = path;
4806
+ (!path || addTrailingSlash && !path.endsWith("/..")) && (path += "/"), url2.path = path;
4807
4807
  }
4808
4808
  function resolve3(input, base) {
4809
4809
  if (!input && !base) return "";
4810
- const url = parseUrl(input);
4811
- let inputType = url.type;
4810
+ const url2 = parseUrl(input);
4811
+ let inputType = url2.type;
4812
4812
  if (base && 7 !== inputType) {
4813
4813
  const baseUrl = parseUrl(base), baseType = baseUrl.type;
4814
4814
  switch (inputType) {
4815
4815
  case 1:
4816
- url.hash = baseUrl.hash;
4816
+ url2.hash = baseUrl.hash;
4817
4817
  case 2:
4818
- url.query = baseUrl.query;
4818
+ url2.query = baseUrl.query;
4819
4819
  case 3:
4820
4820
  case 4:
4821
- mergePaths(url, baseUrl);
4821
+ mergePaths(url2, baseUrl);
4822
4822
  case 5:
4823
- url.user = baseUrl.user, url.host = baseUrl.host, url.port = baseUrl.port;
4823
+ url2.user = baseUrl.user, url2.host = baseUrl.host, url2.port = baseUrl.port;
4824
4824
  case 6:
4825
- url.scheme = baseUrl.scheme;
4825
+ url2.scheme = baseUrl.scheme;
4826
4826
  }
4827
4827
  baseType > inputType && (inputType = baseType);
4828
4828
  }
4829
- normalizePath(url, inputType);
4830
- const queryHash = url.query + url.hash;
4829
+ normalizePath(url2, inputType);
4830
+ const queryHash = url2.query + url2.hash;
4831
4831
  switch (inputType) {
4832
4832
  case 2:
4833
4833
  case 3:
4834
4834
  return queryHash;
4835
4835
  case 4: {
4836
- const path = url.path.slice(1);
4836
+ const path = url2.path.slice(1);
4837
4837
  return path ? isRelative(base || input) && !isRelative(path) ? "./" + path + queryHash : path + queryHash : queryHash || ".";
4838
4838
  }
4839
4839
  case 5:
4840
- return url.path + queryHash;
4840
+ return url2.path + queryHash;
4841
4841
  default:
4842
- return url.scheme + "//" + url.user + url.host + url.port + url.path + queryHash;
4842
+ return url2.scheme + "//" + url2.user + url2.host + url2.port + url2.path + queryHash;
4843
4843
  }
4844
4844
  }
4845
4845
  return resolve3;
@@ -7296,9 +7296,9 @@ from ${dirname2}`);
7296
7296
  return null == module2 || !module2.__esModule && "Module" !== module2[Symbol.toStringTag] ? module2 : module2.default || (arguments[1] ? module2 : void 0);
7297
7297
  }
7298
7298
  const loadMjsFromPath = (0, _rewriteStackTrace.endHiddenCallStack)((n = function* (filepath) {
7299
- const url = (0, _url2().pathToFileURL)(filepath).toString() + "?import";
7299
+ const url2 = (0, _url2().pathToFileURL)(filepath).toString() + "?import";
7300
7300
  if (!import_) throw new _configError.default("Internal error: Native ECMAScript modules aren't supported by this platform.\n", filepath);
7301
- return yield import_(url);
7301
+ return yield import_(url2);
7302
7302
  }, _loadMjsFromPath = function() {
7303
7303
  var t = this, e = arguments;
7304
7304
  return new Promise(function(r, o) {
@@ -8601,7 +8601,7 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
8601
8601
  };
8602
8602
  const pluginNameMap = { asyncDoExpressions: { syntax: { name: "@babel/plugin-syntax-async-do-expressions", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-async-do-expressions" } }, decimal: { syntax: { name: "@babel/plugin-syntax-decimal", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-decimal" } }, decorators: { syntax: { name: "@babel/plugin-syntax-decorators", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-decorators" }, transform: { name: "@babel/plugin-proposal-decorators", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-decorators" } }, doExpressions: { syntax: { name: "@babel/plugin-syntax-do-expressions", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-do-expressions" }, transform: { name: "@babel/plugin-proposal-do-expressions", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-do-expressions" } }, exportDefaultFrom: { syntax: { name: "@babel/plugin-syntax-export-default-from", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-export-default-from" }, transform: { name: "@babel/plugin-proposal-export-default-from", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-export-default-from" } }, flow: { syntax: { name: "@babel/plugin-syntax-flow", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-flow" }, transform: { name: "@babel/preset-flow", url: "https://github.com/babel/babel/tree/main/packages/babel-preset-flow" } }, functionBind: { syntax: { name: "@babel/plugin-syntax-function-bind", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-function-bind" }, transform: { name: "@babel/plugin-proposal-function-bind", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-function-bind" } }, functionSent: { syntax: { name: "@babel/plugin-syntax-function-sent", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-function-sent" }, transform: { name: "@babel/plugin-proposal-function-sent", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-function-sent" } }, jsx: { syntax: { name: "@babel/plugin-syntax-jsx", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-jsx" }, transform: { name: "@babel/preset-react", url: "https://github.com/babel/babel/tree/main/packages/babel-preset-react" } }, pipelineOperator: { syntax: { name: "@babel/plugin-syntax-pipeline-operator", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-pipeline-operator" }, transform: { name: "@babel/plugin-proposal-pipeline-operator", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-pipeline-operator" } }, recordAndTuple: { syntax: { name: "@babel/plugin-syntax-record-and-tuple", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-record-and-tuple" } }, throwExpressions: { syntax: { name: "@babel/plugin-syntax-throw-expressions", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-throw-expressions" }, transform: { name: "@babel/plugin-proposal-throw-expressions", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-throw-expressions" } }, typescript: { syntax: { name: "@babel/plugin-syntax-typescript", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-typescript" }, transform: { name: "@babel/preset-typescript", url: "https://github.com/babel/babel/tree/main/packages/babel-preset-typescript" } } };
8603
8603
  Object.assign(pluginNameMap, { asyncGenerators: { syntax: { name: "@babel/plugin-syntax-async-generators", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-async-generators" }, transform: { name: "@babel/plugin-transform-async-generator-functions", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-async-generator-functions" } }, classProperties: { syntax: { name: "@babel/plugin-syntax-class-properties", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties" }, transform: { name: "@babel/plugin-transform-class-properties", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-class-properties" } }, classPrivateProperties: { syntax: { name: "@babel/plugin-syntax-class-properties", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties" }, transform: { name: "@babel/plugin-transform-class-properties", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-class-properties" } }, classPrivateMethods: { syntax: { name: "@babel/plugin-syntax-class-properties", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties" }, transform: { name: "@babel/plugin-transform-private-methods", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-private-methods" } }, classStaticBlock: { syntax: { name: "@babel/plugin-syntax-class-static-block", url: "https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-syntax-class-static-block" }, transform: { name: "@babel/plugin-transform-class-static-block", url: "https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-class-static-block" } }, dynamicImport: { syntax: { name: "@babel/plugin-syntax-dynamic-import", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-dynamic-import" } }, exportNamespaceFrom: { syntax: { name: "@babel/plugin-syntax-export-namespace-from", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-export-namespace-from" }, transform: { name: "@babel/plugin-transform-export-namespace-from", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-export-namespace-from" } }, importAssertions: { syntax: { name: "@babel/plugin-syntax-import-assertions", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-assertions" } }, importAttributes: { syntax: { name: "@babel/plugin-syntax-import-attributes", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-attributes" } }, importMeta: { syntax: { name: "@babel/plugin-syntax-import-meta", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-meta" } }, logicalAssignment: { syntax: { name: "@babel/plugin-syntax-logical-assignment-operators", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-logical-assignment-operators" }, transform: { name: "@babel/plugin-transform-logical-assignment-operators", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-logical-assignment-operators" } }, moduleStringNames: { syntax: { name: "@babel/plugin-syntax-module-string-names", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-module-string-names" } }, numericSeparator: { syntax: { name: "@babel/plugin-syntax-numeric-separator", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-numeric-separator" }, transform: { name: "@babel/plugin-transform-numeric-separator", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-numeric-separator" } }, nullishCoalescingOperator: { syntax: { name: "@babel/plugin-syntax-nullish-coalescing-operator", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-nullish-coalescing-operator" }, transform: { name: "@babel/plugin-transform-nullish-coalescing-operator", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-nullish-coalescing-opearator" } }, objectRestSpread: { syntax: { name: "@babel/plugin-syntax-object-rest-spread", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-object-rest-spread" }, transform: { name: "@babel/plugin-transform-object-rest-spread", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-object-rest-spread" } }, optionalCatchBinding: { syntax: { name: "@babel/plugin-syntax-optional-catch-binding", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-optional-catch-binding" }, transform: { name: "@babel/plugin-transform-optional-catch-binding", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-optional-catch-binding" } }, optionalChaining: { syntax: { name: "@babel/plugin-syntax-optional-chaining", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-optional-chaining" }, transform: { name: "@babel/plugin-transform-optional-chaining", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-optional-chaining" } }, privateIn: { syntax: { name: "@babel/plugin-syntax-private-property-in-object", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-private-property-in-object" }, transform: { name: "@babel/plugin-transform-private-property-in-object", url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-private-property-in-object" } }, regexpUnicodeSets: { syntax: { name: "@babel/plugin-syntax-unicode-sets-regex", url: "https://github.com/babel/babel/blob/main/packages/babel-plugin-syntax-unicode-sets-regex/README.md" }, transform: { name: "@babel/plugin-transform-unicode-sets-regex", url: "https://github.com/babel/babel/blob/main/packages/babel-plugin-proposalunicode-sets-regex/README.md" } } });
8604
- const getNameURLCombination = ({ name: name2, url }) => `${name2} (${url})`;
8604
+ const getNameURLCombination = ({ name: name2, url: url2 }) => `${name2} (${url2})`;
8605
8605
  }, "./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/tools/build-external-helpers.js": (__unused_webpack_module, exports3, __webpack_require__2) => {
8606
8606
  "use strict";
8607
8607
  function helpers() {
@@ -9274,8 +9274,8 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
9274
9274
  return new Set(conditions2);
9275
9275
  }
9276
9276
  return DEFAULT_CONDITIONS_SET;
9277
- }(context.conditions), url = moduleResolve(specifier2, new (_url2()).URL(parentURL), conditions, false);
9278
- return { url: url.href, format: defaultGetFormatWithoutErrors(url, { parentURL }) };
9277
+ }(context.conditions), url2 = moduleResolve(specifier2, new (_url2()).URL(parentURL), conditions, false);
9278
+ return { url: url2.href, format: defaultGetFormatWithoutErrors(url2, { parentURL }) };
9279
9279
  }(specifier, { parentURL: parent }).url;
9280
9280
  } catch (error) {
9281
9281
  const exception = error;
@@ -9392,8 +9392,8 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
9392
9392
  }
9393
9393
  return { pjsonPath: (0, _url2().fileURLToPath)(packageJSONUrl), exists: false, type: "none" };
9394
9394
  }
9395
- function getPackageType(url) {
9396
- return getPackageScopeConfig(url).type;
9395
+ function getPackageType(url2) {
9396
+ return getPackageScopeConfig(url2).type;
9397
9397
  }
9398
9398
  const { ERR_UNKNOWN_FILE_EXTENSION } = codes, hasOwnProperty2 = {}.hasOwnProperty, extensionFormatMap = { __proto__: null, ".cjs": "commonjs", ".js": "module", ".json": "json", ".mjs": "module" };
9399
9399
  const protocolHandlers = { __proto__: null, "data:": function(parsed) {
@@ -9401,9 +9401,9 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
9401
9401
  return function(mime2) {
9402
9402
  return mime2 && /\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(mime2) ? "module" : "application/json" === mime2 ? "json" : null;
9403
9403
  }(mime);
9404
- }, "file:": function(url, _context, ignoreErrors) {
9405
- const value2 = function(url2) {
9406
- const pathname = url2.pathname;
9404
+ }, "file:": function(url2, _context, ignoreErrors) {
9405
+ const value2 = function(url3) {
9406
+ const pathname = url3.pathname;
9407
9407
  let index = pathname.length;
9408
9408
  for (; index--; ) {
9409
9409
  const code = pathname.codePointAt(index);
@@ -9411,26 +9411,26 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
9411
9411
  if (46 === code) return 47 === pathname.codePointAt(index - 1) ? "" : pathname.slice(index);
9412
9412
  }
9413
9413
  return "";
9414
- }(url);
9414
+ }(url2);
9415
9415
  if (".js" === value2) {
9416
- const packageType = getPackageType(url);
9416
+ const packageType = getPackageType(url2);
9417
9417
  return "none" !== packageType ? packageType : "commonjs";
9418
9418
  }
9419
9419
  if ("" === value2) {
9420
- const packageType = getPackageType(url);
9420
+ const packageType = getPackageType(url2);
9421
9421
  return "none" === packageType || "commonjs" === packageType ? "commonjs" : "module";
9422
9422
  }
9423
9423
  const format = extensionFormatMap[value2];
9424
9424
  if (format) return format;
9425
9425
  if (ignoreErrors) return;
9426
- const filepath = (0, _url2().fileURLToPath)(url);
9426
+ const filepath = (0, _url2().fileURLToPath)(url2);
9427
9427
  throw new ERR_UNKNOWN_FILE_EXTENSION(value2, filepath);
9428
9428
  }, "http:": getHttpProtocolModuleFormat, "https:": getHttpProtocolModuleFormat, "node:": () => "builtin" };
9429
9429
  function getHttpProtocolModuleFormat() {
9430
9430
  }
9431
- function defaultGetFormatWithoutErrors(url, context) {
9432
- const protocol = url.protocol;
9433
- return hasOwnProperty2.call(protocolHandlers, protocol) && protocolHandlers[protocol](url, context, true) || null;
9431
+ function defaultGetFormatWithoutErrors(url2, context) {
9432
+ const protocol = url2.protocol;
9433
+ return hasOwnProperty2.call(protocolHandlers, protocol) && protocolHandlers[protocol](url2, context, true) || null;
9434
9434
  }
9435
9435
  const { ERR_INVALID_ARG_VALUE } = codes, DEFAULT_CONDITIONS = Object.freeze(["node", "import"]), DEFAULT_CONDITIONS_SET = new Set(DEFAULT_CONDITIONS);
9436
9436
  const RegExpPrototypeSymbolReplace = RegExp.prototype[Symbol.replace], { 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 } = codes, own = {}.hasOwnProperty, 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, 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, invalidPackageNameRegEx = /^\.|%|\\/, patternRegEx = /\*/g, encodedSeparatorRegEx = /%2f|%5c/i, emittedPackageWarnings = /* @__PURE__ */ new Set(), doubleSlashRegEx = /[/\\]{2}/;
@@ -9439,10 +9439,10 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
9439
9439
  const pjsonPath = (0, _url2().fileURLToPath)(packageJsonUrl), double = null !== doubleSlashRegEx.exec(isTarget ? target : request);
9440
9440
  _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, _url2().fileURLToPath)(base)}` : ""}.`, "DeprecationWarning", "DEP0166");
9441
9441
  }
9442
- function emitLegacyIndexDeprecation(url, packageJsonUrl, base, main2) {
9442
+ function emitLegacyIndexDeprecation(url2, packageJsonUrl, base, main2) {
9443
9443
  if (_process().noDeprecation) return;
9444
- if ("module" !== defaultGetFormatWithoutErrors(url, { parentURL: base.href })) return;
9445
- const urlPath = (0, _url2().fileURLToPath)(url.href), packagePath = (0, _url2().fileURLToPath)(new (_url2()).URL(".", packageJsonUrl)), basePath = (0, _url2().fileURLToPath)(base);
9444
+ if ("module" !== defaultGetFormatWithoutErrors(url2, { parentURL: base.href })) return;
9445
+ const urlPath = (0, _url2().fileURLToPath)(url2.href), packagePath = (0, _url2().fileURLToPath)(new (_url2()).URL(".", packageJsonUrl)), basePath = (0, _url2().fileURLToPath)(base);
9446
9446
  main2 ? _path().resolve(packagePath, main2) !== urlPath && _process().emitWarning(`Package ${packagePath} has a "main" field set to "${main2}", excluding the full filename and extension to the resolved file at "${urlPath.slice(packagePath.length)}", imported from ${basePath}.
9447
9447
  Automatic extension resolution of the "main" field is deprecated for ES modules.`, "DeprecationWarning", "DEP0151") : _process().emitWarning(`No "main" or "exports" field defined in the package.json for ${packagePath} resolving the main entry point "${urlPath.slice(packagePath.length)}", imported from ${basePath}.
9448
9448
  Default "index" lookups for the main are deprecated for ES modules.`, "DeprecationWarning", "DEP0151");
@@ -9453,8 +9453,8 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
9453
9453
  } catch (_unused2) {
9454
9454
  }
9455
9455
  }
9456
- function fileExists(url) {
9457
- const stats = (0, _fs().statSync)(url, { throwIfNoEntry: false }), isFile = stats ? stats.isFile() : void 0;
9456
+ function fileExists(url2) {
9457
+ const stats = (0, _fs().statSync)(url2, { throwIfNoEntry: false }), isFile = stats ? stats.isFile() : void 0;
9458
9458
  return null != isFile && isFile;
9459
9459
  }
9460
9460
  function legacyMainResolve(packageJsonUrl, packageConfig, base) {
@@ -33383,7 +33383,6 @@ var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
33383
33383
  var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
33384
33384
  var STORM_DEFAULT_LICENSING = "https://stormsoftware.com/license";
33385
33385
  var STORM_DEFAULT_LICENSE = "Apache-2.0";
33386
- var STORM_DEFAULT_RELEASE_BANNER = "https://public.storm-cdn.com/brand-banner.png";
33387
33386
  var STORM_DEFAULT_SOCIAL_TWITTER = "StormSoftwareHQ";
33388
33387
  var STORM_DEFAULT_SOCIAL_DISCORD = "https://discord.gg/MQ6YVzakM5";
33389
33388
  var STORM_DEFAULT_SOCIAL_TELEGRAM = "https://t.me/storm_software";
@@ -34599,11 +34598,11 @@ var $ZodURL = /* @__PURE__ */ $constructor("$ZodURL", (inst, def) => {
34599
34598
  inst._zod.check = (payload) => {
34600
34599
  try {
34601
34600
  const orig = payload.value;
34602
- const url = new URL(orig);
34603
- const href = url.href;
34601
+ const url2 = new URL(orig);
34602
+ const href = url2.href;
34604
34603
  if (def.hostname) {
34605
34604
  def.hostname.lastIndex = 0;
34606
- if (!def.hostname.test(url.hostname)) {
34605
+ if (!def.hostname.test(url2.hostname)) {
34607
34606
  payload.issues.push({
34608
34607
  code: "invalid_format",
34609
34608
  format: "url",
@@ -34617,7 +34616,7 @@ var $ZodURL = /* @__PURE__ */ $constructor("$ZodURL", (inst, def) => {
34617
34616
  }
34618
34617
  if (def.protocol) {
34619
34618
  def.protocol.lastIndex = 0;
34620
- if (!def.protocol.test(url.protocol.endsWith(":") ? url.protocol.slice(0, -1) : url.protocol)) {
34619
+ if (!def.protocol.test(url2.protocol.endsWith(":") ? url2.protocol.slice(0, -1) : url2.protocol)) {
34621
34620
  payload.issues.push({
34622
34621
  code: "invalid_format",
34623
34622
  format: "url",
@@ -36226,6 +36225,9 @@ var ZodEmail = /* @__PURE__ */ $constructor("ZodEmail", (inst, def) => {
36226
36225
  $ZodEmail.init(inst, def);
36227
36226
  ZodStringFormat.init(inst, def);
36228
36227
  });
36228
+ function email2(params) {
36229
+ return _email(ZodEmail, params);
36230
+ }
36229
36231
  var ZodGUID = /* @__PURE__ */ $constructor("ZodGUID", (inst, def) => {
36230
36232
  $ZodGUID.init(inst, def);
36231
36233
  ZodStringFormat.init(inst, def);
@@ -36238,6 +36240,9 @@ var ZodURL = /* @__PURE__ */ $constructor("ZodURL", (inst, def) => {
36238
36240
  $ZodURL.init(inst, def);
36239
36241
  ZodStringFormat.init(inst, def);
36240
36242
  });
36243
+ function url(params) {
36244
+ return _url(ZodURL, params);
36245
+ }
36241
36246
  var ZodEmoji = /* @__PURE__ */ $constructor("ZodEmoji", (inst, def) => {
36242
36247
  $ZodEmoji.init(inst, def);
36243
36248
  ZodStringFormat.init(inst, def);
@@ -36709,7 +36714,7 @@ var SingleThemeColorConfigSchema = object({
36709
36714
  positive: PositiveColorSchema,
36710
36715
  negative: NegativeColorSchema
36711
36716
  });
36712
- var RegistryUrlConfigSchema = string2().trim().toLowerCase().url().optional().describe("A remote registry URL used to publish distributable packages");
36717
+ var RegistryUrlConfigSchema = url().optional().describe("A remote registry URL used to publish distributable packages");
36713
36718
  var RegistryConfigSchema = object({
36714
36719
  github: RegistryUrlConfigSchema,
36715
36720
  npm: RegistryUrlConfigSchema,
@@ -36736,18 +36741,18 @@ var WorkspaceBotConfigSchema = object({
36736
36741
  name: string2().trim().default("stormie-bot").describe(
36737
36742
  "The workspace bot user's name (this is the bot that will be used to perform various tasks)"
36738
36743
  ),
36739
- email: string2().trim().email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
36744
+ email: email2().default("bot@stormsoftware.com").describe("The email of the workspace bot")
36740
36745
  }).describe(
36741
36746
  "The workspace's bot user's config used to automated various operations tasks"
36742
36747
  );
36743
36748
  var WorkspaceReleaseConfigSchema = object({
36744
- banner: string2().trim().default(STORM_DEFAULT_RELEASE_BANNER).describe(
36749
+ banner: string2().trim().optional().describe(
36745
36750
  "A URL to a banner image used to display the workspace's release"
36746
36751
  ),
36747
36752
  header: string2().trim().optional().describe(
36748
36753
  "A header message appended to the start of the workspace's release notes"
36749
36754
  ),
36750
- footer: string2().trim().default(STORM_DEFAULT_RELEASE_FOOTER).describe(
36755
+ footer: string2().trim().optional().describe(
36751
36756
  "A footer message appended to the end of the workspace's release notes"
36752
36757
  )
36753
36758
  }).describe("The workspace's release config used during the release process");
@@ -36779,19 +36784,20 @@ var WorkspaceDirectoryConfigSchema = object({
36779
36784
  );
36780
36785
  var errorConfigSchema = object({
36781
36786
  codesFile: string2().trim().default(STORM_DEFAULT_ERROR_CODES_FILE).describe("The path to the workspace's error codes JSON file"),
36782
- url: string2().trim().url().optional().describe(
36787
+ url: url().optional().describe(
36783
36788
  "A URL to a page that looks up the workspace's error messages given a specific error code"
36784
36789
  )
36785
36790
  }).describe("The workspace's error config used during the error process");
36786
36791
  var organizationConfigSchema = object({
36787
36792
  name: string2().trim().describe("The name of the organization"),
36788
36793
  description: string2().trim().optional().describe("A description of the organization"),
36789
- logo: string2().trim().url().optional().describe("A URL to the organization's logo image"),
36790
- icon: string2().trim().url().optional().describe("A URL to the organization's icon image"),
36791
- url: string2().trim().url().optional().describe(
36794
+ logo: url().optional().describe("A URL to the organization's logo image"),
36795
+ icon: url().optional().describe("A URL to the organization's icon image"),
36796
+ url: url().optional().describe(
36792
36797
  "A URL to a page that provides more information about the organization"
36793
36798
  )
36794
36799
  }).describe("The workspace's organization details");
36800
+ var MODE_OPTIONS = ["development", "staging", "production"];
36795
36801
  var stormWorkspaceConfigSchema = object({
36796
36802
  $schema: string2().trim().default(
36797
36803
  "https://public.storm-cdn.com/schemas/storm-workspace.schema.json"
@@ -36808,12 +36814,12 @@ var stormWorkspaceConfigSchema = object({
36808
36814
  ),
36809
36815
  repository: string2().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
36810
36816
  license: string2().trim().default("Apache-2.0").describe("The license type of the package"),
36811
- homepage: string2().trim().url().optional().describe("The homepage of the workspace"),
36812
- docs: string2().trim().url().optional().describe("The documentation site for the workspace"),
36813
- portal: string2().trim().url().optional().describe("The development portal site for the workspace"),
36814
- licensing: string2().trim().url().optional().describe("The licensing site for the workspace"),
36815
- contact: string2().trim().url().optional().describe("The contact site for the workspace"),
36816
- support: string2().trim().url().optional().describe(
36817
+ homepage: url().optional().describe("The homepage of the workspace"),
36818
+ docs: url().optional().describe("The documentation site for the workspace"),
36819
+ portal: url().optional().describe("The development portal site for the workspace"),
36820
+ licensing: url().optional().describe("The licensing site for the workspace"),
36821
+ contact: url().optional().describe("The contact site for the workspace"),
36822
+ support: url().optional().describe(
36817
36823
  "The support site for the workspace. If not provided, this is defaulted to the `contact` config value"
36818
36824
  ),
36819
36825
  branch: string2().trim().default("main").describe("The branch of the workspace"),
@@ -36823,7 +36829,7 @@ var stormWorkspaceConfigSchema = object({
36823
36829
  release: WorkspaceReleaseConfigSchema,
36824
36830
  socials: WorkspaceSocialsConfigSchema,
36825
36831
  error: errorConfigSchema,
36826
- mode: _enum(["development", "staging", "production"]).default("production").describe("The current runtime environment mode for the package"),
36832
+ mode: _enum(MODE_OPTIONS).prefault("production").describe("The current runtime environment mode for the package"),
36827
36833
  workspaceRoot: string2().trim().describe("The root directory of the workspace"),
36828
36834
  skipCache: boolean2().default(false).describe("Should all known types of workspace caching be skipped?"),
36829
36835
  directories: WorkspaceDirectoryConfigSchema,