@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 +1 -1
- package/bin/{chunk-Z5TAV35O.js → chunk-2YVCKFIL.js} +105 -99
- package/bin/{chunk-3M7JSWZ2.cjs → chunk-QBLF3SVD.cjs} +105 -99
- 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
|
@@ -3636,16 +3636,16 @@ var require_jiti = _chunkIG6EXAQUcjs.__commonJS.call(void 0, {
|
|
|
3636
3636
|
const [s0, ...s] = path.split("?");
|
|
3637
3637
|
return s0 + "/" + (s.length > 0 ? `?${s.join("?")}` : "") + fragment;
|
|
3638
3638
|
}
|
|
3639
|
-
function isNonEmptyURL(
|
|
3640
|
-
return
|
|
3639
|
+
function isNonEmptyURL(url2) {
|
|
3640
|
+
return url2 && "/" !== url2;
|
|
3641
3641
|
}
|
|
3642
3642
|
function dist_joinURL(base, ...input) {
|
|
3643
|
-
let
|
|
3644
|
-
for (const segment of input.filter((
|
|
3643
|
+
let url2 = base || "";
|
|
3644
|
+
for (const segment of input.filter((url22) => isNonEmptyURL(url22))) if (url2) {
|
|
3645
3645
|
const _segment = segment.replace(JOIN_LEADING_SLASH_RE, "");
|
|
3646
|
-
|
|
3647
|
-
} else
|
|
3648
|
-
return
|
|
3646
|
+
url2 = withTrailingSlash(url2) + _segment;
|
|
3647
|
+
} else url2 = segment;
|
|
3648
|
+
return url2;
|
|
3649
3649
|
}
|
|
3650
3650
|
Symbol.for("ufo:protocolRelative");
|
|
3651
3651
|
Object.defineProperty;
|
|
@@ -3824,8 +3824,8 @@ var require_jiti = _chunkIG6EXAQUcjs.__commonJS.call(void 0, {
|
|
|
3824
3824
|
}
|
|
3825
3825
|
return { pjsonPath: (0, external_node_url_namespaceObject.fileURLToPath)(packageJSONUrl), exists: false, type: "none" };
|
|
3826
3826
|
}
|
|
3827
|
-
function getPackageType(
|
|
3828
|
-
return getPackageScopeConfig(
|
|
3827
|
+
function getPackageType(url2) {
|
|
3828
|
+
return getPackageScopeConfig(url2).type;
|
|
3829
3829
|
}
|
|
3830
3830
|
const { ERR_UNKNOWN_FILE_EXTENSION } = codes, dist_hasOwnProperty = {}.hasOwnProperty, extensionFormatMap = { __proto__: null, ".cjs": "commonjs", ".js": "module", ".json": "json", ".mjs": "module" };
|
|
3831
3831
|
const protocolHandlers = { __proto__: null, "data:": function(parsed) {
|
|
@@ -3833,9 +3833,9 @@ var require_jiti = _chunkIG6EXAQUcjs.__commonJS.call(void 0, {
|
|
|
3833
3833
|
return function(mime2) {
|
|
3834
3834
|
return mime2 && /\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(mime2) ? "module" : "application/json" === mime2 ? "json" : null;
|
|
3835
3835
|
}(mime);
|
|
3836
|
-
}, "file:": function(
|
|
3837
|
-
const value2 = function(
|
|
3838
|
-
const pathname =
|
|
3836
|
+
}, "file:": function(url2, _context, ignoreErrors) {
|
|
3837
|
+
const value2 = function(url3) {
|
|
3838
|
+
const pathname = url3.pathname;
|
|
3839
3839
|
let index = pathname.length;
|
|
3840
3840
|
for (; index--; ) {
|
|
3841
3841
|
const code = pathname.codePointAt(index);
|
|
@@ -3843,19 +3843,19 @@ var require_jiti = _chunkIG6EXAQUcjs.__commonJS.call(void 0, {
|
|
|
3843
3843
|
if (46 === code) return 47 === pathname.codePointAt(index - 1) ? "" : pathname.slice(index);
|
|
3844
3844
|
}
|
|
3845
3845
|
return "";
|
|
3846
|
-
}(
|
|
3846
|
+
}(url2);
|
|
3847
3847
|
if (".js" === value2) {
|
|
3848
|
-
const packageType = getPackageType(
|
|
3848
|
+
const packageType = getPackageType(url2);
|
|
3849
3849
|
return "none" !== packageType ? packageType : "commonjs";
|
|
3850
3850
|
}
|
|
3851
3851
|
if ("" === value2) {
|
|
3852
|
-
const packageType = getPackageType(
|
|
3852
|
+
const packageType = getPackageType(url2);
|
|
3853
3853
|
return "none" === packageType || "commonjs" === packageType ? "commonjs" : "module";
|
|
3854
3854
|
}
|
|
3855
3855
|
const format = extensionFormatMap[value2];
|
|
3856
3856
|
if (format) return format;
|
|
3857
3857
|
if (ignoreErrors) return;
|
|
3858
|
-
const filepath = (0, external_node_url_namespaceObject.fileURLToPath)(
|
|
3858
|
+
const filepath = (0, external_node_url_namespaceObject.fileURLToPath)(url2);
|
|
3859
3859
|
throw new ERR_UNKNOWN_FILE_EXTENSION(value2, filepath);
|
|
3860
3860
|
}, "http:": getHttpProtocolModuleFormat, "https:": getHttpProtocolModuleFormat, "node:": () => "builtin" };
|
|
3861
3861
|
function getHttpProtocolModuleFormat() {
|
|
@@ -3866,14 +3866,14 @@ var require_jiti = _chunkIG6EXAQUcjs.__commonJS.call(void 0, {
|
|
|
3866
3866
|
const pjsonPath = (0, external_node_url_namespaceObject.fileURLToPath)(packageJsonUrl), double = null !== doubleSlashRegEx.exec(isTarget ? target : request);
|
|
3867
3867
|
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");
|
|
3868
3868
|
}
|
|
3869
|
-
function emitLegacyIndexDeprecation(
|
|
3869
|
+
function emitLegacyIndexDeprecation(url2, packageJsonUrl, base, main) {
|
|
3870
3870
|
if (external_node_process_namespaceObject.noDeprecation) return;
|
|
3871
|
-
const format = function(
|
|
3872
|
-
const protocol =
|
|
3873
|
-
return dist_hasOwnProperty.call(protocolHandlers, protocol) && protocolHandlers[protocol](
|
|
3874
|
-
}(
|
|
3871
|
+
const format = function(url3, context) {
|
|
3872
|
+
const protocol = url3.protocol;
|
|
3873
|
+
return dist_hasOwnProperty.call(protocolHandlers, protocol) && protocolHandlers[protocol](url3, context, true) || null;
|
|
3874
|
+
}(url2, { parentURL: base.href });
|
|
3875
3875
|
if ("module" !== format) return;
|
|
3876
|
-
const urlPath = (0, external_node_url_namespaceObject.fileURLToPath)(
|
|
3876
|
+
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);
|
|
3877
3877
|
main ? external_node_path_namespaceObject.resolve(packagePath, main) !== urlPath && external_node_process_namespaceObject.emitWarning(`Package ${packagePath} has a "main" field set to "${main}", excluding the full filename and extension to the resolved file at "${urlPath.slice(packagePath.length)}", imported from ${basePath}.
|
|
3878
3878
|
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}.
|
|
3879
3879
|
Default "index" lookups for the main are deprecated for ES modules.`, "DeprecationWarning", "DEP0151");
|
|
@@ -3884,8 +3884,8 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
3884
3884
|
} catch (e4) {
|
|
3885
3885
|
}
|
|
3886
3886
|
}
|
|
3887
|
-
function fileExists(
|
|
3888
|
-
const stats = (0, external_node_fs_namespaceObject.statSync)(
|
|
3887
|
+
function fileExists(url2) {
|
|
3888
|
+
const stats = (0, external_node_fs_namespaceObject.statSync)(url2, { throwIfNoEntry: false }), isFile = stats ? stats.isFile() : void 0;
|
|
3889
3889
|
return null != isFile && isFile;
|
|
3890
3890
|
}
|
|
3891
3891
|
function legacyMainResolve(packageJsonUrl, packageConfig, base) {
|
|
@@ -4155,9 +4155,9 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
4155
4155
|
return (0, external_node_url_namespaceObject.pathToFileURL)(fileURLToPath2(id)).toString();
|
|
4156
4156
|
}
|
|
4157
4157
|
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"]);
|
|
4158
|
-
function _tryModuleResolve(id,
|
|
4158
|
+
function _tryModuleResolve(id, url2, conditions) {
|
|
4159
4159
|
try {
|
|
4160
|
-
return moduleResolve(id,
|
|
4160
|
+
return moduleResolve(id, url2, conditions);
|
|
4161
4161
|
} catch (error) {
|
|
4162
4162
|
if (!NOT_FOUND_ERRORS.has(_optionalChain([error, 'optionalAccess', _3 => _3.code]))) throw error;
|
|
4163
4163
|
}
|
|
@@ -4174,17 +4174,17 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
4174
4174
|
} catch (error) {
|
|
4175
4175
|
if ("ENOENT" !== _optionalChain([error, 'optionalAccess', _4 => _4.code])) throw error;
|
|
4176
4176
|
}
|
|
4177
|
-
const conditionsSet = options.conditions ? new Set(options.conditions) : DEFAULT_CONDITIONS_SET, _urls = (Array.isArray(options.url) ? options.url : [options.url]).filter(Boolean).map((
|
|
4177
|
+
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) {
|
|
4178
4178
|
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));
|
|
4179
|
-
}(
|
|
4179
|
+
}(url2.toString())));
|
|
4180
4180
|
0 === _urls.length && _urls.push(new URL(pathToFileURL(process.cwd())));
|
|
4181
4181
|
const urls = [..._urls];
|
|
4182
|
-
for (const
|
|
4182
|
+
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));
|
|
4183
4183
|
let resolved;
|
|
4184
|
-
for (const
|
|
4185
|
-
if (resolved = _tryModuleResolve(id,
|
|
4184
|
+
for (const url2 of urls) {
|
|
4185
|
+
if (resolved = _tryModuleResolve(id, url2, conditionsSet), resolved) break;
|
|
4186
4186
|
for (const prefix of ["", "/index"]) {
|
|
4187
|
-
for (const extension of options.extensions || DEFAULT_EXTENSIONS) if (resolved = _tryModuleResolve(dist_joinURL(id, prefix) + extension,
|
|
4187
|
+
for (const extension of options.extensions || DEFAULT_EXTENSIONS) if (resolved = _tryModuleResolve(dist_joinURL(id, prefix) + extension, url2, conditionsSet), resolved) break;
|
|
4188
4188
|
if (resolved) break;
|
|
4189
4189
|
}
|
|
4190
4190
|
if (resolved) break;
|
|
@@ -4510,7 +4510,7 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
4510
4510
|
return void 0 !== userOptions2.cache && (deprecatOverrides.fsCache = userOptions2.cache), void 0 !== userOptions2.requireCache && (deprecatOverrides.moduleCache = userOptions2.requireCache), { ...jitiDefaults, ...deprecatOverrides, ...userOptions2 };
|
|
4511
4511
|
}(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("|")})/`);
|
|
4512
4512
|
filename || (filename = process.cwd()), !isNested && isDir(filename) && (filename = join4(filename, "_index.js"));
|
|
4513
|
-
const
|
|
4513
|
+
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 };
|
|
4514
4514
|
isNested || debug(ctx, "[init]", ...[["version:", package_namespaceObject.rE], ["module-cache:", opts.moduleCache], ["fs-cache:", opts.fsCache], ["interop-defaults:", opts.interopDefault]].flat()), isNested || prepareCacheDir(ctx);
|
|
4515
4515
|
const jiti = Object.assign(function(id) {
|
|
4516
4516
|
return jitiRequire(ctx, id, { async: false });
|
|
@@ -4521,7 +4521,7 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
4521
4521
|
return _optionalChain([opts2, 'optionalAccess', _67 => _67.default]) ? _nullishCoalesce(_optionalChain([mod, 'optionalAccess', _68 => _68.default]), () => ( mod)) : mod;
|
|
4522
4522
|
}, esmResolve(id, opts2) {
|
|
4523
4523
|
"string" == typeof opts2 && (opts2 = { parentURL: opts2 });
|
|
4524
|
-
const resolved = jitiResolve(ctx, id, { parentURL:
|
|
4524
|
+
const resolved = jitiResolve(ctx, id, { parentURL: url2, ...opts2, async: true });
|
|
4525
4525
|
return !resolved || "string" != typeof resolved || resolved.startsWith("file://") ? resolved : pathToFileURL(resolved);
|
|
4526
4526
|
} });
|
|
4527
4527
|
return jiti;
|
|
@@ -4753,28 +4753,28 @@ Did you specify these with the most recent transformation maps first?`);
|
|
|
4753
4753
|
}
|
|
4754
4754
|
function parseUrl(input) {
|
|
4755
4755
|
if (isSchemeRelativeUrl(input)) {
|
|
4756
|
-
const
|
|
4757
|
-
return
|
|
4756
|
+
const url3 = parseAbsoluteUrl("http:" + input);
|
|
4757
|
+
return url3.scheme = "", url3.type = 6, url3;
|
|
4758
4758
|
}
|
|
4759
4759
|
if (isAbsolutePath(input)) {
|
|
4760
|
-
const
|
|
4761
|
-
return
|
|
4760
|
+
const url3 = parseAbsoluteUrl("http://foo.com" + input);
|
|
4761
|
+
return url3.scheme = "", url3.host = "", url3.type = 5, url3;
|
|
4762
4762
|
}
|
|
4763
4763
|
if (isFileUrl(input)) return parseFileUrl(input);
|
|
4764
4764
|
if (isAbsoluteUrl(input)) return parseAbsoluteUrl(input);
|
|
4765
|
-
const
|
|
4766
|
-
return
|
|
4765
|
+
const url2 = parseAbsoluteUrl("http://foo.com/" + input);
|
|
4766
|
+
return url2.scheme = "", url2.host = "", url2.type = input ? input.startsWith("?") ? 3 : input.startsWith("#") ? 2 : 4 : 1, url2;
|
|
4767
4767
|
}
|
|
4768
4768
|
function stripPathFilename(path) {
|
|
4769
4769
|
if (path.endsWith("/..")) return path;
|
|
4770
4770
|
const index = path.lastIndexOf("/");
|
|
4771
4771
|
return path.slice(0, index + 1);
|
|
4772
4772
|
}
|
|
4773
|
-
function mergePaths(
|
|
4774
|
-
normalizePath(base, base.type), "/" ===
|
|
4773
|
+
function mergePaths(url2, base) {
|
|
4774
|
+
normalizePath(base, base.type), "/" === url2.path ? url2.path = base.path : url2.path = stripPathFilename(base.path) + url2.path;
|
|
4775
4775
|
}
|
|
4776
|
-
function normalizePath(
|
|
4777
|
-
const rel = type <= 4, pieces =
|
|
4776
|
+
function normalizePath(url2, type) {
|
|
4777
|
+
const rel = type <= 4, pieces = url2.path.split("/");
|
|
4778
4778
|
let pointer = 1, positive = 0, addTrailingSlash = false;
|
|
4779
4779
|
for (let i = 1; i < pieces.length; i++) {
|
|
4780
4780
|
const piece = pieces[i];
|
|
@@ -4782,43 +4782,43 @@ Did you specify these with the most recent transformation maps first?`);
|
|
|
4782
4782
|
}
|
|
4783
4783
|
let path = "";
|
|
4784
4784
|
for (let i = 1; i < pointer; i++) path += "/" + pieces[i];
|
|
4785
|
-
(!path || addTrailingSlash && !path.endsWith("/..")) && (path += "/"),
|
|
4785
|
+
(!path || addTrailingSlash && !path.endsWith("/..")) && (path += "/"), url2.path = path;
|
|
4786
4786
|
}
|
|
4787
4787
|
function resolve3(input, base) {
|
|
4788
4788
|
if (!input && !base) return "";
|
|
4789
|
-
const
|
|
4790
|
-
let inputType =
|
|
4789
|
+
const url2 = parseUrl(input);
|
|
4790
|
+
let inputType = url2.type;
|
|
4791
4791
|
if (base && 7 !== inputType) {
|
|
4792
4792
|
const baseUrl = parseUrl(base), baseType = baseUrl.type;
|
|
4793
4793
|
switch (inputType) {
|
|
4794
4794
|
case 1:
|
|
4795
|
-
|
|
4795
|
+
url2.hash = baseUrl.hash;
|
|
4796
4796
|
case 2:
|
|
4797
|
-
|
|
4797
|
+
url2.query = baseUrl.query;
|
|
4798
4798
|
case 3:
|
|
4799
4799
|
case 4:
|
|
4800
|
-
mergePaths(
|
|
4800
|
+
mergePaths(url2, baseUrl);
|
|
4801
4801
|
case 5:
|
|
4802
|
-
|
|
4802
|
+
url2.user = baseUrl.user, url2.host = baseUrl.host, url2.port = baseUrl.port;
|
|
4803
4803
|
case 6:
|
|
4804
|
-
|
|
4804
|
+
url2.scheme = baseUrl.scheme;
|
|
4805
4805
|
}
|
|
4806
4806
|
baseType > inputType && (inputType = baseType);
|
|
4807
4807
|
}
|
|
4808
|
-
normalizePath(
|
|
4809
|
-
const queryHash =
|
|
4808
|
+
normalizePath(url2, inputType);
|
|
4809
|
+
const queryHash = url2.query + url2.hash;
|
|
4810
4810
|
switch (inputType) {
|
|
4811
4811
|
case 2:
|
|
4812
4812
|
case 3:
|
|
4813
4813
|
return queryHash;
|
|
4814
4814
|
case 4: {
|
|
4815
|
-
const path =
|
|
4815
|
+
const path = url2.path.slice(1);
|
|
4816
4816
|
return path ? isRelative(base || input) && !isRelative(path) ? "./" + path + queryHash : path + queryHash : queryHash || ".";
|
|
4817
4817
|
}
|
|
4818
4818
|
case 5:
|
|
4819
|
-
return
|
|
4819
|
+
return url2.path + queryHash;
|
|
4820
4820
|
default:
|
|
4821
|
-
return
|
|
4821
|
+
return url2.scheme + "//" + url2.user + url2.host + url2.port + url2.path + queryHash;
|
|
4822
4822
|
}
|
|
4823
4823
|
}
|
|
4824
4824
|
return resolve3;
|
|
@@ -7275,9 +7275,9 @@ from ${dirname2}`);
|
|
|
7275
7275
|
return null == module2 || !module2.__esModule && "Module" !== module2[Symbol.toStringTag] ? module2 : module2.default || (arguments[1] ? module2 : void 0);
|
|
7276
7276
|
}
|
|
7277
7277
|
const loadMjsFromPath = (0, _rewriteStackTrace.endHiddenCallStack)((n = function* (filepath) {
|
|
7278
|
-
const
|
|
7278
|
+
const url2 = (0, _url2().pathToFileURL)(filepath).toString() + "?import";
|
|
7279
7279
|
if (!import_) throw new _configError.default("Internal error: Native ECMAScript modules aren't supported by this platform.\n", filepath);
|
|
7280
|
-
return yield import_(
|
|
7280
|
+
return yield import_(url2);
|
|
7281
7281
|
}, _loadMjsFromPath = function() {
|
|
7282
7282
|
var t = this, e = arguments;
|
|
7283
7283
|
return new Promise(function(r, o) {
|
|
@@ -8580,7 +8580,7 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
|
|
|
8580
8580
|
};
|
|
8581
8581
|
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" } } };
|
|
8582
8582
|
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" } } });
|
|
8583
|
-
const getNameURLCombination = ({ name, url }) => `${name} (${
|
|
8583
|
+
const getNameURLCombination = ({ name, url: url2 }) => `${name} (${url2})`;
|
|
8584
8584
|
}, "./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/tools/build-external-helpers.js": (__unused_webpack_module, exports2, __webpack_require__2) => {
|
|
8585
8585
|
"use strict";
|
|
8586
8586
|
function helpers() {
|
|
@@ -9253,8 +9253,8 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
|
|
|
9253
9253
|
return new Set(conditions2);
|
|
9254
9254
|
}
|
|
9255
9255
|
return DEFAULT_CONDITIONS_SET;
|
|
9256
|
-
}(context.conditions),
|
|
9257
|
-
return { url:
|
|
9256
|
+
}(context.conditions), url2 = moduleResolve(specifier2, new (_url2()).URL(parentURL), conditions, false);
|
|
9257
|
+
return { url: url2.href, format: defaultGetFormatWithoutErrors(url2, { parentURL }) };
|
|
9258
9258
|
}(specifier, { parentURL: parent }).url;
|
|
9259
9259
|
} catch (error) {
|
|
9260
9260
|
const exception = error;
|
|
@@ -9371,8 +9371,8 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
|
|
|
9371
9371
|
}
|
|
9372
9372
|
return { pjsonPath: (0, _url2().fileURLToPath)(packageJSONUrl), exists: false, type: "none" };
|
|
9373
9373
|
}
|
|
9374
|
-
function getPackageType(
|
|
9375
|
-
return getPackageScopeConfig(
|
|
9374
|
+
function getPackageType(url2) {
|
|
9375
|
+
return getPackageScopeConfig(url2).type;
|
|
9376
9376
|
}
|
|
9377
9377
|
const { ERR_UNKNOWN_FILE_EXTENSION } = codes, hasOwnProperty2 = {}.hasOwnProperty, extensionFormatMap = { __proto__: null, ".cjs": "commonjs", ".js": "module", ".json": "json", ".mjs": "module" };
|
|
9378
9378
|
const protocolHandlers = { __proto__: null, "data:": function(parsed) {
|
|
@@ -9380,9 +9380,9 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
|
|
|
9380
9380
|
return function(mime2) {
|
|
9381
9381
|
return mime2 && /\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(mime2) ? "module" : "application/json" === mime2 ? "json" : null;
|
|
9382
9382
|
}(mime);
|
|
9383
|
-
}, "file:": function(
|
|
9384
|
-
const value2 = function(
|
|
9385
|
-
const pathname =
|
|
9383
|
+
}, "file:": function(url2, _context, ignoreErrors) {
|
|
9384
|
+
const value2 = function(url3) {
|
|
9385
|
+
const pathname = url3.pathname;
|
|
9386
9386
|
let index = pathname.length;
|
|
9387
9387
|
for (; index--; ) {
|
|
9388
9388
|
const code = pathname.codePointAt(index);
|
|
@@ -9390,26 +9390,26 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
|
|
|
9390
9390
|
if (46 === code) return 47 === pathname.codePointAt(index - 1) ? "" : pathname.slice(index);
|
|
9391
9391
|
}
|
|
9392
9392
|
return "";
|
|
9393
|
-
}(
|
|
9393
|
+
}(url2);
|
|
9394
9394
|
if (".js" === value2) {
|
|
9395
|
-
const packageType = getPackageType(
|
|
9395
|
+
const packageType = getPackageType(url2);
|
|
9396
9396
|
return "none" !== packageType ? packageType : "commonjs";
|
|
9397
9397
|
}
|
|
9398
9398
|
if ("" === value2) {
|
|
9399
|
-
const packageType = getPackageType(
|
|
9399
|
+
const packageType = getPackageType(url2);
|
|
9400
9400
|
return "none" === packageType || "commonjs" === packageType ? "commonjs" : "module";
|
|
9401
9401
|
}
|
|
9402
9402
|
const format = extensionFormatMap[value2];
|
|
9403
9403
|
if (format) return format;
|
|
9404
9404
|
if (ignoreErrors) return;
|
|
9405
|
-
const filepath = (0, _url2().fileURLToPath)(
|
|
9405
|
+
const filepath = (0, _url2().fileURLToPath)(url2);
|
|
9406
9406
|
throw new ERR_UNKNOWN_FILE_EXTENSION(value2, filepath);
|
|
9407
9407
|
}, "http:": getHttpProtocolModuleFormat, "https:": getHttpProtocolModuleFormat, "node:": () => "builtin" };
|
|
9408
9408
|
function getHttpProtocolModuleFormat() {
|
|
9409
9409
|
}
|
|
9410
|
-
function defaultGetFormatWithoutErrors(
|
|
9411
|
-
const protocol =
|
|
9412
|
-
return hasOwnProperty2.call(protocolHandlers, protocol) && protocolHandlers[protocol](
|
|
9410
|
+
function defaultGetFormatWithoutErrors(url2, context) {
|
|
9411
|
+
const protocol = url2.protocol;
|
|
9412
|
+
return hasOwnProperty2.call(protocolHandlers, protocol) && protocolHandlers[protocol](url2, context, true) || null;
|
|
9413
9413
|
}
|
|
9414
9414
|
const { ERR_INVALID_ARG_VALUE } = codes, DEFAULT_CONDITIONS = Object.freeze(["node", "import"]), DEFAULT_CONDITIONS_SET = new Set(DEFAULT_CONDITIONS);
|
|
9415
9415
|
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}/;
|
|
@@ -9418,10 +9418,10 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
|
|
|
9418
9418
|
const pjsonPath = (0, _url2().fileURLToPath)(packageJsonUrl), double = null !== doubleSlashRegEx.exec(isTarget ? target : request);
|
|
9419
9419
|
_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");
|
|
9420
9420
|
}
|
|
9421
|
-
function emitLegacyIndexDeprecation(
|
|
9421
|
+
function emitLegacyIndexDeprecation(url2, packageJsonUrl, base, main) {
|
|
9422
9422
|
if (_process().noDeprecation) return;
|
|
9423
|
-
if ("module" !== defaultGetFormatWithoutErrors(
|
|
9424
|
-
const urlPath = (0, _url2().fileURLToPath)(
|
|
9423
|
+
if ("module" !== defaultGetFormatWithoutErrors(url2, { parentURL: base.href })) return;
|
|
9424
|
+
const urlPath = (0, _url2().fileURLToPath)(url2.href), packagePath = (0, _url2().fileURLToPath)(new (_url2()).URL(".", packageJsonUrl)), basePath = (0, _url2().fileURLToPath)(base);
|
|
9425
9425
|
main ? _path().resolve(packagePath, main) !== urlPath && _process().emitWarning(`Package ${packagePath} has a "main" field set to "${main}", excluding the full filename and extension to the resolved file at "${urlPath.slice(packagePath.length)}", imported from ${basePath}.
|
|
9426
9426
|
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}.
|
|
9427
9427
|
Default "index" lookups for the main are deprecated for ES modules.`, "DeprecationWarning", "DEP0151");
|
|
@@ -9432,8 +9432,8 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
9432
9432
|
} catch (_unused2) {
|
|
9433
9433
|
}
|
|
9434
9434
|
}
|
|
9435
|
-
function fileExists(
|
|
9436
|
-
const stats = (0, _fs().statSync)(
|
|
9435
|
+
function fileExists(url2) {
|
|
9436
|
+
const stats = (0, _fs().statSync)(url2, { throwIfNoEntry: false }), isFile = stats ? stats.isFile() : void 0;
|
|
9437
9437
|
return null != isFile && isFile;
|
|
9438
9438
|
}
|
|
9439
9439
|
function legacyMainResolve(packageJsonUrl, packageConfig, base) {
|
|
@@ -33320,7 +33320,6 @@ var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
|
|
|
33320
33320
|
var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
|
|
33321
33321
|
var STORM_DEFAULT_LICENSING = "https://stormsoftware.com/license";
|
|
33322
33322
|
var STORM_DEFAULT_LICENSE = "Apache-2.0";
|
|
33323
|
-
var STORM_DEFAULT_RELEASE_BANNER = "https://public.storm-cdn.com/brand-banner.png";
|
|
33324
33323
|
var STORM_DEFAULT_SOCIAL_TWITTER = "StormSoftwareHQ";
|
|
33325
33324
|
var STORM_DEFAULT_SOCIAL_DISCORD = "https://discord.gg/MQ6YVzakM5";
|
|
33326
33325
|
var STORM_DEFAULT_SOCIAL_TELEGRAM = "https://t.me/storm_software";
|
|
@@ -34536,11 +34535,11 @@ var $ZodURL = /* @__PURE__ */ $constructor("$ZodURL", (inst, def) => {
|
|
|
34536
34535
|
inst._zod.check = (payload) => {
|
|
34537
34536
|
try {
|
|
34538
34537
|
const orig = payload.value;
|
|
34539
|
-
const
|
|
34540
|
-
const href =
|
|
34538
|
+
const url2 = new URL(orig);
|
|
34539
|
+
const href = url2.href;
|
|
34541
34540
|
if (def.hostname) {
|
|
34542
34541
|
def.hostname.lastIndex = 0;
|
|
34543
|
-
if (!def.hostname.test(
|
|
34542
|
+
if (!def.hostname.test(url2.hostname)) {
|
|
34544
34543
|
payload.issues.push({
|
|
34545
34544
|
code: "invalid_format",
|
|
34546
34545
|
format: "url",
|
|
@@ -34554,7 +34553,7 @@ var $ZodURL = /* @__PURE__ */ $constructor("$ZodURL", (inst, def) => {
|
|
|
34554
34553
|
}
|
|
34555
34554
|
if (def.protocol) {
|
|
34556
34555
|
def.protocol.lastIndex = 0;
|
|
34557
|
-
if (!def.protocol.test(
|
|
34556
|
+
if (!def.protocol.test(url2.protocol.endsWith(":") ? url2.protocol.slice(0, -1) : url2.protocol)) {
|
|
34558
34557
|
payload.issues.push({
|
|
34559
34558
|
code: "invalid_format",
|
|
34560
34559
|
format: "url",
|
|
@@ -36163,6 +36162,9 @@ var ZodEmail = /* @__PURE__ */ $constructor("ZodEmail", (inst, def) => {
|
|
|
36163
36162
|
$ZodEmail.init(inst, def);
|
|
36164
36163
|
ZodStringFormat.init(inst, def);
|
|
36165
36164
|
});
|
|
36165
|
+
function email2(params) {
|
|
36166
|
+
return _email(ZodEmail, params);
|
|
36167
|
+
}
|
|
36166
36168
|
var ZodGUID = /* @__PURE__ */ $constructor("ZodGUID", (inst, def) => {
|
|
36167
36169
|
$ZodGUID.init(inst, def);
|
|
36168
36170
|
ZodStringFormat.init(inst, def);
|
|
@@ -36175,6 +36177,9 @@ var ZodURL = /* @__PURE__ */ $constructor("ZodURL", (inst, def) => {
|
|
|
36175
36177
|
$ZodURL.init(inst, def);
|
|
36176
36178
|
ZodStringFormat.init(inst, def);
|
|
36177
36179
|
});
|
|
36180
|
+
function url(params) {
|
|
36181
|
+
return _url(ZodURL, params);
|
|
36182
|
+
}
|
|
36178
36183
|
var ZodEmoji = /* @__PURE__ */ $constructor("ZodEmoji", (inst, def) => {
|
|
36179
36184
|
$ZodEmoji.init(inst, def);
|
|
36180
36185
|
ZodStringFormat.init(inst, def);
|
|
@@ -36646,7 +36651,7 @@ var SingleThemeColorConfigSchema = object({
|
|
|
36646
36651
|
positive: PositiveColorSchema,
|
|
36647
36652
|
negative: NegativeColorSchema
|
|
36648
36653
|
});
|
|
36649
|
-
var RegistryUrlConfigSchema =
|
|
36654
|
+
var RegistryUrlConfigSchema = url().optional().describe("A remote registry URL used to publish distributable packages");
|
|
36650
36655
|
var RegistryConfigSchema = object({
|
|
36651
36656
|
github: RegistryUrlConfigSchema,
|
|
36652
36657
|
npm: RegistryUrlConfigSchema,
|
|
@@ -36673,18 +36678,18 @@ var WorkspaceBotConfigSchema = object({
|
|
|
36673
36678
|
name: string2().trim().default("stormie-bot").describe(
|
|
36674
36679
|
"The workspace bot user's name (this is the bot that will be used to perform various tasks)"
|
|
36675
36680
|
),
|
|
36676
|
-
email:
|
|
36681
|
+
email: email2().default("bot@stormsoftware.com").describe("The email of the workspace bot")
|
|
36677
36682
|
}).describe(
|
|
36678
36683
|
"The workspace's bot user's config used to automated various operations tasks"
|
|
36679
36684
|
);
|
|
36680
36685
|
var WorkspaceReleaseConfigSchema = object({
|
|
36681
|
-
banner: string2().trim().
|
|
36686
|
+
banner: string2().trim().optional().describe(
|
|
36682
36687
|
"A URL to a banner image used to display the workspace's release"
|
|
36683
36688
|
),
|
|
36684
36689
|
header: string2().trim().optional().describe(
|
|
36685
36690
|
"A header message appended to the start of the workspace's release notes"
|
|
36686
36691
|
),
|
|
36687
|
-
footer: string2().trim().
|
|
36692
|
+
footer: string2().trim().optional().describe(
|
|
36688
36693
|
"A footer message appended to the end of the workspace's release notes"
|
|
36689
36694
|
)
|
|
36690
36695
|
}).describe("The workspace's release config used during the release process");
|
|
@@ -36716,19 +36721,20 @@ var WorkspaceDirectoryConfigSchema = object({
|
|
|
36716
36721
|
);
|
|
36717
36722
|
var errorConfigSchema = object({
|
|
36718
36723
|
codesFile: string2().trim().default(STORM_DEFAULT_ERROR_CODES_FILE).describe("The path to the workspace's error codes JSON file"),
|
|
36719
|
-
url:
|
|
36724
|
+
url: url().optional().describe(
|
|
36720
36725
|
"A URL to a page that looks up the workspace's error messages given a specific error code"
|
|
36721
36726
|
)
|
|
36722
36727
|
}).describe("The workspace's error config used during the error process");
|
|
36723
36728
|
var organizationConfigSchema = object({
|
|
36724
36729
|
name: string2().trim().describe("The name of the organization"),
|
|
36725
36730
|
description: string2().trim().optional().describe("A description of the organization"),
|
|
36726
|
-
logo:
|
|
36727
|
-
icon:
|
|
36728
|
-
url:
|
|
36731
|
+
logo: url().optional().describe("A URL to the organization's logo image"),
|
|
36732
|
+
icon: url().optional().describe("A URL to the organization's icon image"),
|
|
36733
|
+
url: url().optional().describe(
|
|
36729
36734
|
"A URL to a page that provides more information about the organization"
|
|
36730
36735
|
)
|
|
36731
36736
|
}).describe("The workspace's organization details");
|
|
36737
|
+
var MODE_OPTIONS = ["development", "staging", "production"];
|
|
36732
36738
|
var stormWorkspaceConfigSchema = object({
|
|
36733
36739
|
$schema: string2().trim().default(
|
|
36734
36740
|
"https://public.storm-cdn.com/schemas/storm-workspace.schema.json"
|
|
@@ -36745,12 +36751,12 @@ var stormWorkspaceConfigSchema = object({
|
|
|
36745
36751
|
),
|
|
36746
36752
|
repository: string2().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
|
|
36747
36753
|
license: string2().trim().default("Apache-2.0").describe("The license type of the package"),
|
|
36748
|
-
homepage:
|
|
36749
|
-
docs:
|
|
36750
|
-
portal:
|
|
36751
|
-
licensing:
|
|
36752
|
-
contact:
|
|
36753
|
-
support:
|
|
36754
|
+
homepage: url().optional().describe("The homepage of the workspace"),
|
|
36755
|
+
docs: url().optional().describe("The documentation site for the workspace"),
|
|
36756
|
+
portal: url().optional().describe("The development portal site for the workspace"),
|
|
36757
|
+
licensing: url().optional().describe("The licensing site for the workspace"),
|
|
36758
|
+
contact: url().optional().describe("The contact site for the workspace"),
|
|
36759
|
+
support: url().optional().describe(
|
|
36754
36760
|
"The support site for the workspace. If not provided, this is defaulted to the `contact` config value"
|
|
36755
36761
|
),
|
|
36756
36762
|
branch: string2().trim().default("main").describe("The branch of the workspace"),
|
|
@@ -36760,7 +36766,7 @@ var stormWorkspaceConfigSchema = object({
|
|
|
36760
36766
|
release: WorkspaceReleaseConfigSchema,
|
|
36761
36767
|
socials: WorkspaceSocialsConfigSchema,
|
|
36762
36768
|
error: errorConfigSchema,
|
|
36763
|
-
mode: _enum(
|
|
36769
|
+
mode: _enum(MODE_OPTIONS).prefault("production").describe("The current runtime environment mode for the package"),
|
|
36764
36770
|
workspaceRoot: string2().trim().describe("The root directory of the workspace"),
|
|
36765
36771
|
skipCache: boolean2().default(false).describe("Should all known types of workspace caching be skipped?"),
|
|
36766
36772
|
directories: WorkspaceDirectoryConfigSchema,
|