@storm-software/git-tools 2.113.9 → 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 +1 -1
- package/bin/{chunk-Y3KOZZSQ.js → chunk-2YVCKFIL.js} +103 -96
- package/bin/{chunk-S7Q52TVB.cjs → chunk-QBLF3SVD.cjs} +103 -96
- package/bin/git.cjs +63 -63
- package/bin/git.js +1 -1
- package/bin/post-checkout.cjs +9 -9
- package/bin/post-checkout.js +1 -1
- package/bin/post-commit.cjs +9 -9
- package/bin/post-commit.js +1 -1
- package/bin/post-merge.cjs +9 -9
- package/bin/post-merge.js +1 -1
- package/bin/pre-commit.cjs +9 -9
- package/bin/pre-commit.js +1 -1
- package/bin/pre-install.cjs +9 -9
- package/bin/pre-install.js +1 -1
- package/bin/pre-push.cjs +13 -13
- package/bin/pre-push.js +1 -1
- package/bin/prepare.cjs +7 -7
- package/bin/prepare.js +1 -1
- package/bin/version-warning.cjs +5 -5
- package/bin/version-warning.js +1 -1
- package/package.json +2 -2
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
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
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(
|
|
3651
|
-
return
|
|
3650
|
+
function isNonEmptyURL(url2) {
|
|
3651
|
+
return url2 && "/" !== url2;
|
|
3652
3652
|
}
|
|
3653
3653
|
function dist_joinURL(base, ...input) {
|
|
3654
|
-
let
|
|
3655
|
-
for (const segment of input.filter((
|
|
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
|
-
|
|
3658
|
-
} else
|
|
3659
|
-
return
|
|
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(
|
|
3839
|
-
return getPackageScopeConfig(
|
|
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(
|
|
3848
|
-
const value2 = function(
|
|
3849
|
-
const 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
|
-
}(
|
|
3857
|
+
}(url2);
|
|
3858
3858
|
if (".js" === value2) {
|
|
3859
|
-
const packageType = getPackageType(
|
|
3859
|
+
const packageType = getPackageType(url2);
|
|
3860
3860
|
return "none" !== packageType ? packageType : "commonjs";
|
|
3861
3861
|
}
|
|
3862
3862
|
if ("" === value2) {
|
|
3863
|
-
const packageType = getPackageType(
|
|
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)(
|
|
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(
|
|
3880
|
+
function emitLegacyIndexDeprecation(url2, packageJsonUrl, base, main2) {
|
|
3881
3881
|
if (external_node_process_namespaceObject.noDeprecation) return;
|
|
3882
|
-
const format = function(
|
|
3883
|
-
const protocol =
|
|
3884
|
-
return dist_hasOwnProperty.call(protocolHandlers, protocol) && protocolHandlers[protocol](
|
|
3885
|
-
}(
|
|
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)(
|
|
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(
|
|
3899
|
-
const stats = (0, external_node_fs_namespaceObject.statSync)(
|
|
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,
|
|
4169
|
+
function _tryModuleResolve(id, url2, conditions) {
|
|
4170
4170
|
try {
|
|
4171
|
-
return moduleResolve(id,
|
|
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((
|
|
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
|
-
}(
|
|
4190
|
+
}(url2.toString())));
|
|
4191
4191
|
0 === _urls.length && _urls.push(new URL(pathToFileURL(process.cwd())));
|
|
4192
4192
|
const urls = [..._urls];
|
|
4193
|
-
for (const
|
|
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
|
|
4196
|
-
if (resolved = _tryModuleResolve(id,
|
|
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,
|
|
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
|
|
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:
|
|
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
|
|
4778
|
-
return
|
|
4777
|
+
const url3 = parseAbsoluteUrl("http:" + input);
|
|
4778
|
+
return url3.scheme = "", url3.type = 6, url3;
|
|
4779
4779
|
}
|
|
4780
4780
|
if (isAbsolutePath(input)) {
|
|
4781
|
-
const
|
|
4782
|
-
return
|
|
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
|
|
4787
|
-
return
|
|
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(
|
|
4795
|
-
normalizePath(base, base.type), "/" ===
|
|
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(
|
|
4798
|
-
const rel = type <= 4, pieces =
|
|
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 += "/"),
|
|
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
|
|
4811
|
-
let inputType =
|
|
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
|
-
|
|
4816
|
+
url2.hash = baseUrl.hash;
|
|
4817
4817
|
case 2:
|
|
4818
|
-
|
|
4818
|
+
url2.query = baseUrl.query;
|
|
4819
4819
|
case 3:
|
|
4820
4820
|
case 4:
|
|
4821
|
-
mergePaths(
|
|
4821
|
+
mergePaths(url2, baseUrl);
|
|
4822
4822
|
case 5:
|
|
4823
|
-
|
|
4823
|
+
url2.user = baseUrl.user, url2.host = baseUrl.host, url2.port = baseUrl.port;
|
|
4824
4824
|
case 6:
|
|
4825
|
-
|
|
4825
|
+
url2.scheme = baseUrl.scheme;
|
|
4826
4826
|
}
|
|
4827
4827
|
baseType > inputType && (inputType = baseType);
|
|
4828
4828
|
}
|
|
4829
|
-
normalizePath(
|
|
4830
|
-
const queryHash =
|
|
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 =
|
|
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
|
|
4840
|
+
return url2.path + queryHash;
|
|
4841
4841
|
default:
|
|
4842
|
-
return
|
|
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
|
|
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_(
|
|
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} (${
|
|
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),
|
|
9278
|
-
return { url:
|
|
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(
|
|
9396
|
-
return getPackageScopeConfig(
|
|
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(
|
|
9405
|
-
const value2 = function(
|
|
9406
|
-
const 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
|
-
}(
|
|
9414
|
+
}(url2);
|
|
9415
9415
|
if (".js" === value2) {
|
|
9416
|
-
const packageType = getPackageType(
|
|
9416
|
+
const packageType = getPackageType(url2);
|
|
9417
9417
|
return "none" !== packageType ? packageType : "commonjs";
|
|
9418
9418
|
}
|
|
9419
9419
|
if ("" === value2) {
|
|
9420
|
-
const packageType = getPackageType(
|
|
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)(
|
|
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(
|
|
9432
|
-
const protocol =
|
|
9433
|
-
return hasOwnProperty2.call(protocolHandlers, protocol) && protocolHandlers[protocol](
|
|
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(
|
|
9442
|
+
function emitLegacyIndexDeprecation(url2, packageJsonUrl, base, main2) {
|
|
9443
9443
|
if (_process().noDeprecation) return;
|
|
9444
|
-
if ("module" !== defaultGetFormatWithoutErrors(
|
|
9445
|
-
const urlPath = (0, _url2().fileURLToPath)(
|
|
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(
|
|
9457
|
-
const stats = (0, _fs().statSync)(
|
|
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) {
|
|
@@ -34598,11 +34598,11 @@ var $ZodURL = /* @__PURE__ */ $constructor("$ZodURL", (inst, def) => {
|
|
|
34598
34598
|
inst._zod.check = (payload) => {
|
|
34599
34599
|
try {
|
|
34600
34600
|
const orig = payload.value;
|
|
34601
|
-
const
|
|
34602
|
-
const href =
|
|
34601
|
+
const url2 = new URL(orig);
|
|
34602
|
+
const href = url2.href;
|
|
34603
34603
|
if (def.hostname) {
|
|
34604
34604
|
def.hostname.lastIndex = 0;
|
|
34605
|
-
if (!def.hostname.test(
|
|
34605
|
+
if (!def.hostname.test(url2.hostname)) {
|
|
34606
34606
|
payload.issues.push({
|
|
34607
34607
|
code: "invalid_format",
|
|
34608
34608
|
format: "url",
|
|
@@ -34616,7 +34616,7 @@ var $ZodURL = /* @__PURE__ */ $constructor("$ZodURL", (inst, def) => {
|
|
|
34616
34616
|
}
|
|
34617
34617
|
if (def.protocol) {
|
|
34618
34618
|
def.protocol.lastIndex = 0;
|
|
34619
|
-
if (!def.protocol.test(
|
|
34619
|
+
if (!def.protocol.test(url2.protocol.endsWith(":") ? url2.protocol.slice(0, -1) : url2.protocol)) {
|
|
34620
34620
|
payload.issues.push({
|
|
34621
34621
|
code: "invalid_format",
|
|
34622
34622
|
format: "url",
|
|
@@ -36225,6 +36225,9 @@ var ZodEmail = /* @__PURE__ */ $constructor("ZodEmail", (inst, def) => {
|
|
|
36225
36225
|
$ZodEmail.init(inst, def);
|
|
36226
36226
|
ZodStringFormat.init(inst, def);
|
|
36227
36227
|
});
|
|
36228
|
+
function email2(params) {
|
|
36229
|
+
return _email(ZodEmail, params);
|
|
36230
|
+
}
|
|
36228
36231
|
var ZodGUID = /* @__PURE__ */ $constructor("ZodGUID", (inst, def) => {
|
|
36229
36232
|
$ZodGUID.init(inst, def);
|
|
36230
36233
|
ZodStringFormat.init(inst, def);
|
|
@@ -36237,6 +36240,9 @@ var ZodURL = /* @__PURE__ */ $constructor("ZodURL", (inst, def) => {
|
|
|
36237
36240
|
$ZodURL.init(inst, def);
|
|
36238
36241
|
ZodStringFormat.init(inst, def);
|
|
36239
36242
|
});
|
|
36243
|
+
function url(params) {
|
|
36244
|
+
return _url(ZodURL, params);
|
|
36245
|
+
}
|
|
36240
36246
|
var ZodEmoji = /* @__PURE__ */ $constructor("ZodEmoji", (inst, def) => {
|
|
36241
36247
|
$ZodEmoji.init(inst, def);
|
|
36242
36248
|
ZodStringFormat.init(inst, def);
|
|
@@ -36708,7 +36714,7 @@ var SingleThemeColorConfigSchema = object({
|
|
|
36708
36714
|
positive: PositiveColorSchema,
|
|
36709
36715
|
negative: NegativeColorSchema
|
|
36710
36716
|
});
|
|
36711
|
-
var RegistryUrlConfigSchema =
|
|
36717
|
+
var RegistryUrlConfigSchema = url().optional().describe("A remote registry URL used to publish distributable packages");
|
|
36712
36718
|
var RegistryConfigSchema = object({
|
|
36713
36719
|
github: RegistryUrlConfigSchema,
|
|
36714
36720
|
npm: RegistryUrlConfigSchema,
|
|
@@ -36735,7 +36741,7 @@ var WorkspaceBotConfigSchema = object({
|
|
|
36735
36741
|
name: string2().trim().default("stormie-bot").describe(
|
|
36736
36742
|
"The workspace bot user's name (this is the bot that will be used to perform various tasks)"
|
|
36737
36743
|
),
|
|
36738
|
-
email:
|
|
36744
|
+
email: email2().default("bot@stormsoftware.com").describe("The email of the workspace bot")
|
|
36739
36745
|
}).describe(
|
|
36740
36746
|
"The workspace's bot user's config used to automated various operations tasks"
|
|
36741
36747
|
);
|
|
@@ -36778,19 +36784,20 @@ var WorkspaceDirectoryConfigSchema = object({
|
|
|
36778
36784
|
);
|
|
36779
36785
|
var errorConfigSchema = object({
|
|
36780
36786
|
codesFile: string2().trim().default(STORM_DEFAULT_ERROR_CODES_FILE).describe("The path to the workspace's error codes JSON file"),
|
|
36781
|
-
url:
|
|
36787
|
+
url: url().optional().describe(
|
|
36782
36788
|
"A URL to a page that looks up the workspace's error messages given a specific error code"
|
|
36783
36789
|
)
|
|
36784
36790
|
}).describe("The workspace's error config used during the error process");
|
|
36785
36791
|
var organizationConfigSchema = object({
|
|
36786
36792
|
name: string2().trim().describe("The name of the organization"),
|
|
36787
36793
|
description: string2().trim().optional().describe("A description of the organization"),
|
|
36788
|
-
logo:
|
|
36789
|
-
icon:
|
|
36790
|
-
url:
|
|
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(
|
|
36791
36797
|
"A URL to a page that provides more information about the organization"
|
|
36792
36798
|
)
|
|
36793
36799
|
}).describe("The workspace's organization details");
|
|
36800
|
+
var MODE_OPTIONS = ["development", "staging", "production"];
|
|
36794
36801
|
var stormWorkspaceConfigSchema = object({
|
|
36795
36802
|
$schema: string2().trim().default(
|
|
36796
36803
|
"https://public.storm-cdn.com/schemas/storm-workspace.schema.json"
|
|
@@ -36807,12 +36814,12 @@ var stormWorkspaceConfigSchema = object({
|
|
|
36807
36814
|
),
|
|
36808
36815
|
repository: string2().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
|
|
36809
36816
|
license: string2().trim().default("Apache-2.0").describe("The license type of the package"),
|
|
36810
|
-
homepage:
|
|
36811
|
-
docs:
|
|
36812
|
-
portal:
|
|
36813
|
-
licensing:
|
|
36814
|
-
contact:
|
|
36815
|
-
support:
|
|
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(
|
|
36816
36823
|
"The support site for the workspace. If not provided, this is defaulted to the `contact` config value"
|
|
36817
36824
|
),
|
|
36818
36825
|
branch: string2().trim().default("main").describe("The branch of the workspace"),
|
|
@@ -36822,7 +36829,7 @@ var stormWorkspaceConfigSchema = object({
|
|
|
36822
36829
|
release: WorkspaceReleaseConfigSchema,
|
|
36823
36830
|
socials: WorkspaceSocialsConfigSchema,
|
|
36824
36831
|
error: errorConfigSchema,
|
|
36825
|
-
mode: _enum(
|
|
36832
|
+
mode: _enum(MODE_OPTIONS).prefault("production").describe("The current runtime environment mode for the package"),
|
|
36826
36833
|
workspaceRoot: string2().trim().describe("The root directory of the workspace"),
|
|
36827
36834
|
skipCache: boolean2().default(false).describe("Should all known types of workspace caching be skipped?"),
|
|
36828
36835
|
directories: WorkspaceDirectoryConfigSchema,
|