@shopify/create-app 3.69.4 → 3.71.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-Q3BCFN7X.js → chunk-33RXIX54.js} +15 -20
- package/dist/{chunk-4XZVKK5N.js → chunk-4ZKJC2JB.js} +3 -3
- package/dist/{chunk-L7M22NDW.js → chunk-6WYZ3SZB.js} +2 -2
- package/dist/{chunk-2A7GNM7F.js → chunk-7F4XFNYI.js} +2 -2
- package/dist/{chunk-AZIUHI45.js → chunk-CQGOPQQH.js} +5 -5
- package/dist/{chunk-CZRFEKLZ.js → chunk-JPPYUT6M.js} +23535 -23336
- package/dist/{chunk-MX4RJDBM.js → chunk-KYB6A4PE.js} +1 -2
- package/dist/{chunk-A7RFWXE2.js → chunk-PATNPZAL.js} +14 -11
- package/dist/{chunk-BB4M6AYQ.js → chunk-PGUENKZG.js} +28 -212
- package/dist/{chunk-ZYFGLOXH.js → chunk-PUMOQDXS.js} +258 -57
- package/dist/{chunk-PNN7RS7Y.js → chunk-X36SPRUS.js} +100 -11
- package/dist/{custom-oclif-loader-53O4TZIJ.js → custom-oclif-loader-OP5VH4KR.js} +9 -11
- package/dist/{del-42HQA7PR.js → del-2FOJ63S7.js} +4 -4
- package/dist/{error-handler-WHWFBH7O.js → error-handler-WKRKCPUQ.js} +11 -13
- package/dist/hooks/postrun.js +9 -11
- package/dist/hooks/prerun.js +9 -13
- package/dist/index.js +149240 -145769
- package/dist/index.test.js +120 -65
- package/dist/{lib-H5ZGVBFQ.js → lib-EGJUAXU5.js} +5 -5
- package/dist/{local-RKKDDHC7.js → local-IPRKH7YW.js} +9 -9
- package/dist/{node-package-manager-MZVZACMV.js → node-package-manager-CPX2FDHZ.js} +8 -10
- package/dist/{out-ZDSLKX4N.js → out-MHEKZJWS.js} +2 -2
- package/dist/{path-G6AAF6UV.js → path-EGU2FCFY.js} +2 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-5ZHMFGW7.js → ui-AAFX7Q72.js} +7 -9
- package/oclif.manifest.json +1 -1
- package/package.json +3 -3
- package/dist/chunk-BB6N2XSA.js +0 -112
- package/dist/chunk-G6AY2JW5.js +0 -115
- package/dist/constants-GVJLI6RE.js +0 -24
- package/dist/system-HEFPAS7V.js +0 -27
package/dist/index.test.js
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import "./chunk-522OB3EU.js";
|
|
2
|
-
import {
|
|
3
|
-
resolve
|
|
4
|
-
} from "./chunk-PNN7RS7Y.js";
|
|
5
2
|
import {
|
|
6
3
|
__commonJS,
|
|
7
4
|
__export,
|
|
@@ -905,7 +902,7 @@ var require_build = __commonJS({
|
|
|
905
902
|
value: !0
|
|
906
903
|
});
|
|
907
904
|
exports.default = exports.DEFAULT_OPTIONS = void 0;
|
|
908
|
-
exports.format =
|
|
905
|
+
exports.format = format5;
|
|
909
906
|
exports.plugins = void 0;
|
|
910
907
|
var _ansiStyles = _interopRequireDefault(require_ansi_styles()), _collections = require_collections(), _AsymmetricMatcher = _interopRequireDefault(
|
|
911
908
|
require_AsymmetricMatcher()
|
|
@@ -1136,7 +1133,7 @@ ${indentationNext}`);
|
|
|
1136
1133
|
function createIndent(indent) {
|
|
1137
1134
|
return new Array(indent + 1).join(" ");
|
|
1138
1135
|
}
|
|
1139
|
-
function
|
|
1136
|
+
function format5(val, options) {
|
|
1140
1137
|
if (options && (validateOptions(options), options.plugins)) {
|
|
1141
1138
|
let plugin2 = findPlugin(options.plugins, val);
|
|
1142
1139
|
if (plugin2 !== null)
|
|
@@ -1159,7 +1156,7 @@ ${indentationNext}`);
|
|
|
1159
1156
|
ReactTestComponent: _ReactTestComponent.default
|
|
1160
1157
|
};
|
|
1161
1158
|
exports.plugins = plugins4;
|
|
1162
|
-
var _default =
|
|
1159
|
+
var _default = format5;
|
|
1163
1160
|
exports.default = _default;
|
|
1164
1161
|
}
|
|
1165
1162
|
});
|
|
@@ -1461,8 +1458,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1461
1458
|
return [key, object2[key]];
|
|
1462
1459
|
}), options, inspectProperty);
|
|
1463
1460
|
options.seen.pop();
|
|
1464
|
-
var
|
|
1465
|
-
return propertyContents && symbolContents && (
|
|
1461
|
+
var sep2 = "";
|
|
1462
|
+
return propertyContents && symbolContents && (sep2 = ", "), "{ ".concat(propertyContents).concat(sep2).concat(symbolContents, " }");
|
|
1466
1463
|
}
|
|
1467
1464
|
var toStringTag = typeof Symbol < "u" && Symbol.toStringTag ? Symbol.toStringTag : !1;
|
|
1468
1465
|
function inspectClass(value, options) {
|
|
@@ -1970,8 +1967,8 @@ var require_pathval = __commonJS({
|
|
|
1970
1967
|
function hasProperty(obj, name) {
|
|
1971
1968
|
return typeof obj > "u" || obj === null ? !1 : name in Object(obj);
|
|
1972
1969
|
}
|
|
1973
|
-
function parsePath(
|
|
1974
|
-
var str =
|
|
1970
|
+
function parsePath(path2) {
|
|
1971
|
+
var str = path2.replace(/([^\\])\[/g, "$1.["), parts = str.match(/(\\\.|[^.]+?)+/g);
|
|
1975
1972
|
return parts.map(function(value) {
|
|
1976
1973
|
if (value === "constructor" || value === "__proto__" || value === "prototype")
|
|
1977
1974
|
return {};
|
|
@@ -2003,20 +2000,20 @@ var require_pathval = __commonJS({
|
|
|
2003
2000
|
}
|
|
2004
2001
|
}
|
|
2005
2002
|
}
|
|
2006
|
-
function getPathInfo(obj,
|
|
2007
|
-
var parsed = parsePath(
|
|
2003
|
+
function getPathInfo(obj, path2) {
|
|
2004
|
+
var parsed = parsePath(path2), last = parsed[parsed.length - 1], info = {
|
|
2008
2005
|
parent: parsed.length > 1 ? internalGetPathValue(obj, parsed, parsed.length - 1) : obj,
|
|
2009
2006
|
name: last.p || last.i,
|
|
2010
2007
|
value: internalGetPathValue(obj, parsed)
|
|
2011
2008
|
};
|
|
2012
2009
|
return info.exists = hasProperty(info.parent, info.name), info;
|
|
2013
2010
|
}
|
|
2014
|
-
function getPathValue(obj,
|
|
2015
|
-
var info = getPathInfo(obj,
|
|
2011
|
+
function getPathValue(obj, path2) {
|
|
2012
|
+
var info = getPathInfo(obj, path2);
|
|
2016
2013
|
return info.value;
|
|
2017
2014
|
}
|
|
2018
|
-
function setPathValue(obj,
|
|
2019
|
-
var parsed = parsePath(
|
|
2015
|
+
function setPathValue(obj, path2, val) {
|
|
2016
|
+
var parsed = parsePath(path2);
|
|
2020
2017
|
return internalSetPathValue(obj, val, parsed), obj;
|
|
2021
2018
|
}
|
|
2022
2019
|
module.exports = {
|
|
@@ -4438,8 +4435,8 @@ function clone(val, seen, options = defaultCloneOptions) {
|
|
|
4438
4435
|
}
|
|
4439
4436
|
function noop() {
|
|
4440
4437
|
}
|
|
4441
|
-
function objectAttr(source,
|
|
4442
|
-
let paths =
|
|
4438
|
+
function objectAttr(source, path2, defaultValue = void 0) {
|
|
4439
|
+
let paths = path2.replace(/\[(\d+)\]/g, ".$1").split("."), result = source;
|
|
4443
4440
|
for (let p of paths)
|
|
4444
4441
|
if (result = Object(result)[p], result === void 0)
|
|
4445
4442
|
return defaultValue;
|
|
@@ -5283,29 +5280,33 @@ function getNames(task) {
|
|
|
5283
5280
|
return names;
|
|
5284
5281
|
}
|
|
5285
5282
|
|
|
5286
|
-
// ../../node_modules/.pnpm
|
|
5283
|
+
// ../../node_modules/.pnpm/pathe@1.1.2/node_modules/pathe/dist/index.mjs
|
|
5284
|
+
init_cjs_shims();
|
|
5285
|
+
|
|
5286
|
+
// ../../node_modules/.pnpm/pathe@1.1.2/node_modules/pathe/dist/shared/pathe.ff20891b.mjs
|
|
5287
5287
|
init_cjs_shims();
|
|
5288
|
+
var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
|
|
5288
5289
|
function normalizeWindowsPath(input = "") {
|
|
5289
|
-
return
|
|
5290
|
+
return input && input.replace(/\\/g, "/").replace(_DRIVE_LETTER_START_RE, (r) => r.toUpperCase());
|
|
5290
5291
|
}
|
|
5291
5292
|
var _IS_ABSOLUTE_RE = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;
|
|
5292
5293
|
function cwd() {
|
|
5293
|
-
return typeof process < "u" ? process.cwd().replace(/\\/g, "/") : "/";
|
|
5294
|
+
return typeof process < "u" && typeof process.cwd == "function" ? process.cwd().replace(/\\/g, "/") : "/";
|
|
5294
5295
|
}
|
|
5295
|
-
var resolve
|
|
5296
|
+
var resolve = function(...arguments_) {
|
|
5296
5297
|
arguments_ = arguments_.map((argument) => normalizeWindowsPath(argument));
|
|
5297
5298
|
let resolvedPath = "", resolvedAbsolute = !1;
|
|
5298
5299
|
for (let index = arguments_.length - 1; index >= -1 && !resolvedAbsolute; index--) {
|
|
5299
|
-
let
|
|
5300
|
-
!
|
|
5300
|
+
let path2 = index >= 0 ? arguments_[index] : cwd();
|
|
5301
|
+
!path2 || path2.length === 0 || (resolvedPath = `${path2}/${resolvedPath}`, resolvedAbsolute = isAbsolute(path2));
|
|
5301
5302
|
}
|
|
5302
5303
|
return resolvedPath = normalizeString(resolvedPath, !resolvedAbsolute), resolvedAbsolute && !isAbsolute(resolvedPath) ? `/${resolvedPath}` : resolvedPath.length > 0 ? resolvedPath : ".";
|
|
5303
5304
|
};
|
|
5304
|
-
function normalizeString(
|
|
5305
|
+
function normalizeString(path2, allowAboveRoot) {
|
|
5305
5306
|
let res = "", lastSegmentLength = 0, lastSlash = -1, dots = 0, char = null;
|
|
5306
|
-
for (let index = 0; index <=
|
|
5307
|
-
if (index <
|
|
5308
|
-
char =
|
|
5307
|
+
for (let index = 0; index <= path2.length; ++index) {
|
|
5308
|
+
if (index < path2.length)
|
|
5309
|
+
char = path2[index];
|
|
5309
5310
|
else {
|
|
5310
5311
|
if (char === "/")
|
|
5311
5312
|
break;
|
|
@@ -5326,7 +5327,7 @@ function normalizeString(path, allowAboveRoot) {
|
|
|
5326
5327
|
}
|
|
5327
5328
|
allowAboveRoot && (res += res.length > 0 ? "/.." : "..", lastSegmentLength = 2);
|
|
5328
5329
|
} else
|
|
5329
|
-
res.length > 0 ? res += `/${
|
|
5330
|
+
res.length > 0 ? res += `/${path2.slice(lastSlash + 1, index)}` : res = path2.slice(lastSlash + 1, index), lastSegmentLength = index - lastSlash - 1;
|
|
5330
5331
|
lastSlash = index, dots = 0;
|
|
5331
5332
|
} else
|
|
5332
5333
|
char === "." && dots !== -1 ? ++dots : dots = -1;
|
|
@@ -5335,6 +5336,60 @@ function normalizeString(path, allowAboveRoot) {
|
|
|
5335
5336
|
}
|
|
5336
5337
|
var isAbsolute = function(p) {
|
|
5337
5338
|
return _IS_ABSOLUTE_RE.test(p);
|
|
5339
|
+
};
|
|
5340
|
+
|
|
5341
|
+
// ../../node_modules/.pnpm/@vitest+utils@1.6.0/node_modules/@vitest/utils/dist/source-map.js
|
|
5342
|
+
init_cjs_shims();
|
|
5343
|
+
function normalizeWindowsPath2(input = "") {
|
|
5344
|
+
return !input || !input.includes("\\") ? input : input.replace(/\\/g, "/");
|
|
5345
|
+
}
|
|
5346
|
+
var _IS_ABSOLUTE_RE2 = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;
|
|
5347
|
+
function cwd2() {
|
|
5348
|
+
return typeof process < "u" ? process.cwd().replace(/\\/g, "/") : "/";
|
|
5349
|
+
}
|
|
5350
|
+
var resolve$2 = function(...arguments_) {
|
|
5351
|
+
arguments_ = arguments_.map((argument) => normalizeWindowsPath2(argument));
|
|
5352
|
+
let resolvedPath = "", resolvedAbsolute = !1;
|
|
5353
|
+
for (let index = arguments_.length - 1; index >= -1 && !resolvedAbsolute; index--) {
|
|
5354
|
+
let path2 = index >= 0 ? arguments_[index] : cwd2();
|
|
5355
|
+
!path2 || path2.length === 0 || (resolvedPath = `${path2}/${resolvedPath}`, resolvedAbsolute = isAbsolute2(path2));
|
|
5356
|
+
}
|
|
5357
|
+
return resolvedPath = normalizeString2(resolvedPath, !resolvedAbsolute), resolvedAbsolute && !isAbsolute2(resolvedPath) ? `/${resolvedPath}` : resolvedPath.length > 0 ? resolvedPath : ".";
|
|
5358
|
+
};
|
|
5359
|
+
function normalizeString2(path2, allowAboveRoot) {
|
|
5360
|
+
let res = "", lastSegmentLength = 0, lastSlash = -1, dots = 0, char = null;
|
|
5361
|
+
for (let index = 0; index <= path2.length; ++index) {
|
|
5362
|
+
if (index < path2.length)
|
|
5363
|
+
char = path2[index];
|
|
5364
|
+
else {
|
|
5365
|
+
if (char === "/")
|
|
5366
|
+
break;
|
|
5367
|
+
char = "/";
|
|
5368
|
+
}
|
|
5369
|
+
if (char === "/") {
|
|
5370
|
+
if (!(lastSlash === index - 1 || dots === 1))
|
|
5371
|
+
if (dots === 2) {
|
|
5372
|
+
if (res.length < 2 || lastSegmentLength !== 2 || res[res.length - 1] !== "." || res[res.length - 2] !== ".") {
|
|
5373
|
+
if (res.length > 2) {
|
|
5374
|
+
let lastSlashIndex = res.lastIndexOf("/");
|
|
5375
|
+
lastSlashIndex === -1 ? (res = "", lastSegmentLength = 0) : (res = res.slice(0, lastSlashIndex), lastSegmentLength = res.length - 1 - res.lastIndexOf("/")), lastSlash = index, dots = 0;
|
|
5376
|
+
continue;
|
|
5377
|
+
} else if (res.length > 0) {
|
|
5378
|
+
res = "", lastSegmentLength = 0, lastSlash = index, dots = 0;
|
|
5379
|
+
continue;
|
|
5380
|
+
}
|
|
5381
|
+
}
|
|
5382
|
+
allowAboveRoot && (res += res.length > 0 ? "/.." : "..", lastSegmentLength = 2);
|
|
5383
|
+
} else
|
|
5384
|
+
res.length > 0 ? res += `/${path2.slice(lastSlash + 1, index)}` : res = path2.slice(lastSlash + 1, index), lastSegmentLength = index - lastSlash - 1;
|
|
5385
|
+
lastSlash = index, dots = 0;
|
|
5386
|
+
} else
|
|
5387
|
+
char === "." && dots !== -1 ? ++dots : dots = -1;
|
|
5388
|
+
}
|
|
5389
|
+
return res;
|
|
5390
|
+
}
|
|
5391
|
+
var isAbsolute2 = function(p) {
|
|
5392
|
+
return _IS_ABSOLUTE_RE2.test(p);
|
|
5338
5393
|
}, comma = 44, chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", intToChar = new Uint8Array(64), charToInt = new Uint8Array(128);
|
|
5339
5394
|
for (let i2 = 0; i2 < chars.length; i2++) {
|
|
5340
5395
|
let c2 = chars.charCodeAt(i2);
|
|
@@ -7762,16 +7817,16 @@ function parseAbsoluteUrl(input) {
|
|
|
7762
7817
|
return makeUrl(match[1], match[2] || "", match[3], match[4] || "", match[5] || "/", match[6] || "", match[7] || "");
|
|
7763
7818
|
}
|
|
7764
7819
|
function parseFileUrl(input) {
|
|
7765
|
-
let match = fileRegex.exec(input),
|
|
7766
|
-
return makeUrl("file:", "", match[1] || "", "", isAbsolutePath(
|
|
7820
|
+
let match = fileRegex.exec(input), path2 = match[2];
|
|
7821
|
+
return makeUrl("file:", "", match[1] || "", "", isAbsolutePath(path2) ? path2 : "/" + path2, match[3] || "", match[4] || "");
|
|
7767
7822
|
}
|
|
7768
|
-
function makeUrl(scheme, user, host, port,
|
|
7823
|
+
function makeUrl(scheme, user, host, port, path2, query, hash) {
|
|
7769
7824
|
return {
|
|
7770
7825
|
scheme,
|
|
7771
7826
|
user,
|
|
7772
7827
|
host,
|
|
7773
7828
|
port,
|
|
7774
|
-
path,
|
|
7829
|
+
path: path2,
|
|
7775
7830
|
query,
|
|
7776
7831
|
hash,
|
|
7777
7832
|
type: UrlType2.Absolute
|
|
@@ -7793,11 +7848,11 @@ function parseUrl(input) {
|
|
|
7793
7848
|
let url = parseAbsoluteUrl("http://foo.com/" + input);
|
|
7794
7849
|
return url.scheme = "", url.host = "", url.type = input ? input.startsWith("?") ? UrlType2.Query : input.startsWith("#") ? UrlType2.Hash : UrlType2.RelativePath : UrlType2.Empty, url;
|
|
7795
7850
|
}
|
|
7796
|
-
function stripPathFilename(
|
|
7797
|
-
if (
|
|
7798
|
-
return
|
|
7799
|
-
let index =
|
|
7800
|
-
return
|
|
7851
|
+
function stripPathFilename(path2) {
|
|
7852
|
+
if (path2.endsWith("/.."))
|
|
7853
|
+
return path2;
|
|
7854
|
+
let index = path2.lastIndexOf("/");
|
|
7855
|
+
return path2.slice(0, index + 1);
|
|
7801
7856
|
}
|
|
7802
7857
|
function mergePaths(url, base) {
|
|
7803
7858
|
normalizePath(base, base.type), url.path === "/" ? url.path = base.path : url.path = stripPathFilename(base.path) + url.path;
|
|
@@ -7818,10 +7873,10 @@ function normalizePath(url, type2) {
|
|
|
7818
7873
|
pieces[pointer++] = piece, positive++;
|
|
7819
7874
|
}
|
|
7820
7875
|
}
|
|
7821
|
-
let
|
|
7876
|
+
let path2 = "";
|
|
7822
7877
|
for (let i2 = 1; i2 < pointer; i2++)
|
|
7823
|
-
|
|
7824
|
-
(!
|
|
7878
|
+
path2 += "/" + pieces[i2];
|
|
7879
|
+
(!path2 || addTrailingSlash && !path2.endsWith("/..")) && (path2 += "/"), url.path = path2;
|
|
7825
7880
|
}
|
|
7826
7881
|
function resolve$1(input, base) {
|
|
7827
7882
|
if (!input && !base)
|
|
@@ -7851,8 +7906,8 @@ function resolve$1(input, base) {
|
|
|
7851
7906
|
case UrlType2.Query:
|
|
7852
7907
|
return queryHash;
|
|
7853
7908
|
case UrlType2.RelativePath: {
|
|
7854
|
-
let
|
|
7855
|
-
return
|
|
7909
|
+
let path2 = url.path.slice(1);
|
|
7910
|
+
return path2 ? isRelative(base || input) && !isRelative(path2) ? "./" + path2 + queryHash : path2 + queryHash : queryHash || ".";
|
|
7856
7911
|
}
|
|
7857
7912
|
case UrlType2.AbsolutePath:
|
|
7858
7913
|
return url.path + queryHash;
|
|
@@ -7863,11 +7918,11 @@ function resolve$1(input, base) {
|
|
|
7863
7918
|
function resolve2(input, base) {
|
|
7864
7919
|
return base && !base.endsWith("/") && (base += "/"), resolve$1(input, base);
|
|
7865
7920
|
}
|
|
7866
|
-
function stripFilename(
|
|
7867
|
-
if (!
|
|
7921
|
+
function stripFilename(path2) {
|
|
7922
|
+
if (!path2)
|
|
7868
7923
|
return "";
|
|
7869
|
-
let index =
|
|
7870
|
-
return
|
|
7924
|
+
let index = path2.lastIndexOf("/");
|
|
7925
|
+
return path2.slice(0, index + 1);
|
|
7871
7926
|
}
|
|
7872
7927
|
var COLUMN2 = 0, SOURCES_INDEX2 = 1, SOURCE_LINE2 = 2, SOURCE_COLUMN2 = 3, NAMES_INDEX2 = 4;
|
|
7873
7928
|
function maybeSort(mappings, owned) {
|
|
@@ -8434,8 +8489,8 @@ function resetModules(modules, resetMocks = !1) {
|
|
|
8434
8489
|
// don't clear mocks
|
|
8435
8490
|
...resetMocks ? [] : [/^mock:/]
|
|
8436
8491
|
];
|
|
8437
|
-
modules.forEach((mod,
|
|
8438
|
-
skipPaths.some((re) => re.test(
|
|
8492
|
+
modules.forEach((mod, path2) => {
|
|
8493
|
+
skipPaths.some((re) => re.test(path2)) || modules.invalidateModule(mod);
|
|
8439
8494
|
});
|
|
8440
8495
|
}
|
|
8441
8496
|
function waitNextTick() {
|
|
@@ -8449,8 +8504,8 @@ async function waitForImportsToResolve() {
|
|
|
8449
8504
|
mod.promise && !mod.evaluated && promises.push(mod.promise), mod.resolving && resolvingCount++;
|
|
8450
8505
|
!promises.length && !resolvingCount || (await Promise.allSettled(promises), await waitForImportsToResolve());
|
|
8451
8506
|
}
|
|
8452
|
-
function commonjsRequire(
|
|
8453
|
-
throw new Error('Could not dynamically require "' +
|
|
8507
|
+
function commonjsRequire(path2) {
|
|
8508
|
+
throw new Error('Could not dynamically require "' + path2 + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
8454
8509
|
}
|
|
8455
8510
|
var chaiSubset = { exports: {} };
|
|
8456
8511
|
(function(module, exports) {
|
|
@@ -9838,39 +9893,39 @@ function createVitest() {
|
|
|
9838
9893
|
hoisted(factory) {
|
|
9839
9894
|
return assertTypes(factory, '"vi.hoisted" factory', ["function"]), factory();
|
|
9840
9895
|
},
|
|
9841
|
-
mock(
|
|
9896
|
+
mock(path2, factory) {
|
|
9842
9897
|
let importer = getImporter();
|
|
9843
9898
|
_mocker.queueMock(
|
|
9844
|
-
|
|
9899
|
+
path2,
|
|
9845
9900
|
importer,
|
|
9846
|
-
factory ? () => factory(() => _mocker.importActual(
|
|
9901
|
+
factory ? () => factory(() => _mocker.importActual(path2, importer, _mocker.getMockContext().callstack)) : void 0,
|
|
9847
9902
|
!0
|
|
9848
9903
|
);
|
|
9849
9904
|
},
|
|
9850
|
-
unmock(
|
|
9851
|
-
_mocker.queueUnmock(
|
|
9905
|
+
unmock(path2) {
|
|
9906
|
+
_mocker.queueUnmock(path2, getImporter());
|
|
9852
9907
|
},
|
|
9853
|
-
doMock(
|
|
9908
|
+
doMock(path2, factory) {
|
|
9854
9909
|
let importer = getImporter();
|
|
9855
9910
|
_mocker.queueMock(
|
|
9856
|
-
|
|
9911
|
+
path2,
|
|
9857
9912
|
importer,
|
|
9858
|
-
factory ? () => factory(() => _mocker.importActual(
|
|
9913
|
+
factory ? () => factory(() => _mocker.importActual(path2, importer, _mocker.getMockContext().callstack)) : void 0,
|
|
9859
9914
|
!1
|
|
9860
9915
|
);
|
|
9861
9916
|
},
|
|
9862
|
-
doUnmock(
|
|
9863
|
-
_mocker.queueUnmock(
|
|
9917
|
+
doUnmock(path2) {
|
|
9918
|
+
_mocker.queueUnmock(path2, getImporter());
|
|
9864
9919
|
},
|
|
9865
|
-
async importActual(
|
|
9920
|
+
async importActual(path2) {
|
|
9866
9921
|
return _mocker.importActual(
|
|
9867
|
-
|
|
9922
|
+
path2,
|
|
9868
9923
|
getImporter(),
|
|
9869
9924
|
_mocker.getMockContext().callstack
|
|
9870
9925
|
);
|
|
9871
9926
|
},
|
|
9872
|
-
async importMock(
|
|
9873
|
-
return _mocker.importMock(
|
|
9927
|
+
async importMock(path2) {
|
|
9928
|
+
return _mocker.importMock(path2, getImporter());
|
|
9874
9929
|
},
|
|
9875
9930
|
// this is typed in the interface so it's not necessary to type it here
|
|
9876
9931
|
mocked(item, _options = {}) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
require_lib
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CQGOPQQH.js";
|
|
4
4
|
import "./chunk-SNOECVP4.js";
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-MX4RJDBM.js";
|
|
5
|
+
import "./chunk-6WYZ3SZB.js";
|
|
6
|
+
import "./chunk-KYB6A4PE.js";
|
|
8
7
|
import "./chunk-NB4NLOEJ.js";
|
|
8
|
+
import "./chunk-UBB7JKND.js";
|
|
9
9
|
import "./chunk-POZ5MGPT.js";
|
|
10
10
|
export default require_lib();
|
|
11
|
-
//# sourceMappingURL=lib-
|
|
11
|
+
//# sourceMappingURL=lib-EGJUAXU5.js.map
|
|
@@ -10,6 +10,7 @@ import {
|
|
|
10
10
|
gitpodURL,
|
|
11
11
|
hasGit,
|
|
12
12
|
homeDirectory,
|
|
13
|
+
isAppManagementEnabled,
|
|
13
14
|
isCloudEnvironment,
|
|
14
15
|
isDevelopment,
|
|
15
16
|
isShopify,
|
|
@@ -21,18 +22,16 @@ import {
|
|
|
21
22
|
themeToken,
|
|
22
23
|
useEmbeddedThemeCLI,
|
|
23
24
|
useThemebundling
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-JPPYUT6M.js";
|
|
26
|
+
import "./chunk-CQGOPQQH.js";
|
|
26
27
|
import "./chunk-SNOECVP4.js";
|
|
27
|
-
import "./chunk-UBB7JKND.js";
|
|
28
28
|
import "./chunk-522OB3EU.js";
|
|
29
|
+
import "./chunk-X36SPRUS.js";
|
|
29
30
|
import "./chunk-XVNW332R.js";
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-6WYZ3SZB.js";
|
|
32
|
+
import "./chunk-KYB6A4PE.js";
|
|
32
33
|
import "./chunk-NB4NLOEJ.js";
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-BB6N2XSA.js";
|
|
35
|
-
import "./chunk-PNN7RS7Y.js";
|
|
34
|
+
import "./chunk-UBB7JKND.js";
|
|
36
35
|
import "./chunk-POZ5MGPT.js";
|
|
37
36
|
export {
|
|
38
37
|
alwaysLogAnalytics,
|
|
@@ -46,6 +45,7 @@ export {
|
|
|
46
45
|
gitpodURL,
|
|
47
46
|
hasGit,
|
|
48
47
|
homeDirectory,
|
|
48
|
+
isAppManagementEnabled,
|
|
49
49
|
isCloudEnvironment,
|
|
50
50
|
isDevelopment,
|
|
51
51
|
isShopify,
|
|
@@ -58,4 +58,4 @@ export {
|
|
|
58
58
|
useEmbeddedThemeCLI,
|
|
59
59
|
useThemebundling
|
|
60
60
|
};
|
|
61
|
-
//# sourceMappingURL=local-
|
|
61
|
+
//# sourceMappingURL=local-IPRKH7YW.js.map
|
|
@@ -28,19 +28,17 @@ import {
|
|
|
28
28
|
versionSatisfies,
|
|
29
29
|
writePackageJSON,
|
|
30
30
|
yarnLockfile
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
31
|
+
} from "./chunk-PATNPZAL.js";
|
|
32
|
+
import "./chunk-JPPYUT6M.js";
|
|
33
|
+
import "./chunk-CQGOPQQH.js";
|
|
34
34
|
import "./chunk-SNOECVP4.js";
|
|
35
|
-
import "./chunk-UBB7JKND.js";
|
|
36
35
|
import "./chunk-522OB3EU.js";
|
|
36
|
+
import "./chunk-X36SPRUS.js";
|
|
37
37
|
import "./chunk-XVNW332R.js";
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-6WYZ3SZB.js";
|
|
39
|
+
import "./chunk-KYB6A4PE.js";
|
|
40
40
|
import "./chunk-NB4NLOEJ.js";
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-BB6N2XSA.js";
|
|
43
|
-
import "./chunk-PNN7RS7Y.js";
|
|
41
|
+
import "./chunk-UBB7JKND.js";
|
|
44
42
|
import "./chunk-POZ5MGPT.js";
|
|
45
43
|
export {
|
|
46
44
|
FindUpAndReadPackageJsonNotFoundError,
|
|
@@ -73,4 +71,4 @@ export {
|
|
|
73
71
|
writePackageJSON,
|
|
74
72
|
yarnLockfile
|
|
75
73
|
};
|
|
76
|
-
//# sourceMappingURL=node-package-manager-
|
|
74
|
+
//# sourceMappingURL=node-package-manager-CPX2FDHZ.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
require_out
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KYB6A4PE.js";
|
|
4
4
|
import "./chunk-NB4NLOEJ.js";
|
|
5
5
|
import "./chunk-POZ5MGPT.js";
|
|
6
6
|
export default require_out();
|
|
7
|
-
//# sourceMappingURL=out-
|
|
7
|
+
//# sourceMappingURL=out-MHEKZJWS.js.map
|
|
@@ -13,8 +13,7 @@ import {
|
|
|
13
13
|
resolvePath,
|
|
14
14
|
sniffForJson,
|
|
15
15
|
sniffForPath
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-PNN7RS7Y.js";
|
|
16
|
+
} from "./chunk-X36SPRUS.js";
|
|
18
17
|
import "./chunk-POZ5MGPT.js";
|
|
19
18
|
export {
|
|
20
19
|
basename,
|
|
@@ -32,4 +31,4 @@ export {
|
|
|
32
31
|
sniffForJson,
|
|
33
32
|
sniffForPath
|
|
34
33
|
};
|
|
35
|
-
//# sourceMappingURL=path-
|
|
34
|
+
//# sourceMappingURL=path-EGU2FCFY.js.map
|