@shopify/create-app 3.73.2 → 3.74.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.
Files changed (39) hide show
  1. package/dist/{chokidar-5LLC6S6D.js → chokidar-LYCK7UIU.js} +20 -574
  2. package/dist/chunk-3I3GQNEW.js +95 -0
  3. package/dist/{chunk-CRHXI6PS.js → chunk-5DBS6QOU.js} +102 -638
  4. package/dist/{chunk-Z2K6T5HO.js → chunk-A2CUF3IE.js} +2 -2
  5. package/dist/{chunk-BUFIEXZ5.js → chunk-B3YWYURY.js} +701 -141
  6. package/dist/{chunk-K7HGDAI4.js → chunk-CDBXAE2F.js} +20 -104
  7. package/dist/chunk-CP3BRHWK.js +33 -0
  8. package/dist/{chunk-OAZFIMJ3.js → chunk-LQ2ZKVR6.js} +45 -115
  9. package/dist/{chunk-5MQK53ZB.js → chunk-MFOTVT4R.js} +489 -410
  10. package/dist/{chunk-3HBRMIPY.js → chunk-MW7RWHY5.js} +341 -211
  11. package/dist/{chunk-BOBYVF6Z.js → chunk-NBA3G6YQ.js} +55430 -36539
  12. package/dist/{chunk-7BLDARWR.js → chunk-PNW5KDM2.js} +40 -22
  13. package/dist/{chunk-55N7E5WW.js → chunk-QPEQYFIE.js} +1849 -4319
  14. package/dist/chunk-RVS7NPOH.js +15929 -0
  15. package/dist/{chunk-U52U2BAX.js → chunk-VK6YB4CW.js} +640 -1166
  16. package/dist/{chunk-EZFQXNK5.js → chunk-ZKGBK6WQ.js} +2 -2
  17. package/dist/chunk-ZUCWDIGE.js +111 -0
  18. package/dist/{custom-oclif-loader-COXUWDRX.js → custom-oclif-loader-3WFQ2GRD.js} +9 -8
  19. package/dist/{del-WGII2Y5S.js → del-CKAQ44SX.js} +5 -5
  20. package/dist/{devtools-K7FXBBFZ.js → devtools-6LOQORRT.js} +2 -2
  21. package/dist/{error-handler-NLEDBRP4.js → error-handler-N6P2X42R.js} +13 -12
  22. package/dist/hooks/postrun.js +14 -12
  23. package/dist/hooks/prerun.js +27 -12
  24. package/dist/{http-proxy-FXWKYHZ3.js → http-proxy-L3MCJRQS.js} +3 -2
  25. package/dist/index.js +19912 -17261
  26. package/dist/index.test.js +80 -133
  27. package/dist/lib-ZAUU5FOJ.js +11 -0
  28. package/dist/{local-WM5Y2GKE.js → local-EBAW6AUD.js} +11 -10
  29. package/dist/{node-package-manager-U4IKWNRD.js → node-package-manager-VTG2B4KW.js} +10 -9
  30. package/dist/out-AZBX4ITJ.js +7 -0
  31. package/dist/{path-2HZUSAGR.js → path-GWAZZN2N.js} +3 -2
  32. package/dist/tsconfig.tsbuildinfo +1 -1
  33. package/dist/{ui-NMBUMLWD.js → ui-QBKDPUJX.js} +9 -8
  34. package/oclif.manifest.json +1 -1
  35. package/package.json +3 -4
  36. package/dist/chunk-JHSNPAK4.js +0 -15742
  37. package/dist/chunk-TKDPJ4ZU.js +0 -27
  38. package/dist/lib-CKTRCGTR.js +0 -11
  39. package/dist/out-JR4DWQ2G.js +0 -7
@@ -1,4 +1,7 @@
1
1
  import "./chunk-CFIKVUNW.js";
2
+ import {
3
+ resolve
4
+ } from "./chunk-CDBXAE2F.js";
2
5
  import {
3
6
  __commonJS,
4
7
  __export,
@@ -901,7 +904,7 @@ var require_build = __commonJS({
901
904
  value: !0
902
905
  });
903
906
  exports.default = exports.DEFAULT_OPTIONS = void 0;
904
- exports.format = format5;
907
+ exports.format = format4;
905
908
  exports.plugins = void 0;
906
909
  var _ansiStyles = _interopRequireDefault(require_ansi_styles()), _collections = require_collections(), _AsymmetricMatcher = _interopRequireDefault(
907
910
  require_AsymmetricMatcher()
@@ -1132,7 +1135,7 @@ ${indentationNext}`);
1132
1135
  function createIndent(indent) {
1133
1136
  return new Array(indent + 1).join(" ");
1134
1137
  }
1135
- function format5(val, options) {
1138
+ function format4(val, options) {
1136
1139
  if (options && (validateOptions(options), options.plugins)) {
1137
1140
  let plugin2 = findPlugin(options.plugins, val);
1138
1141
  if (plugin2 !== null)
@@ -1155,7 +1158,7 @@ ${indentationNext}`);
1155
1158
  ReactTestComponent: _ReactTestComponent.default
1156
1159
  };
1157
1160
  exports.plugins = plugins4;
1158
- var _default = format5;
1161
+ var _default = format4;
1159
1162
  exports.default = _default;
1160
1163
  }
1161
1164
  });
@@ -1448,8 +1451,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1448
1451
  return [key, object2[key]];
1449
1452
  }), options, inspectProperty);
1450
1453
  options.seen.pop();
1451
- var sep2 = "";
1452
- return propertyContents && symbolContents && (sep2 = ", "), "{ ".concat(propertyContents).concat(sep2).concat(symbolContents, " }");
1454
+ var sep = "";
1455
+ return propertyContents && symbolContents && (sep = ", "), "{ ".concat(propertyContents).concat(sep).concat(symbolContents, " }");
1453
1456
  }
1454
1457
  var toStringTag = typeof Symbol < "u" && Symbol.toStringTag ? Symbol.toStringTag : !1;
1455
1458
  function inspectClass(value, options) {
@@ -1957,8 +1960,8 @@ var require_pathval = __commonJS({
1957
1960
  function hasProperty(obj, name) {
1958
1961
  return typeof obj > "u" || obj === null ? !1 : name in Object(obj);
1959
1962
  }
1960
- function parsePath(path2) {
1961
- var str = path2.replace(/([^\\])\[/g, "$1.["), parts = str.match(/(\\\.|[^.]+?)+/g);
1963
+ function parsePath(path) {
1964
+ var str = path.replace(/([^\\])\[/g, "$1.["), parts = str.match(/(\\\.|[^.]+?)+/g);
1962
1965
  return parts.map(function(value) {
1963
1966
  if (value === "constructor" || value === "__proto__" || value === "prototype")
1964
1967
  return {};
@@ -1990,20 +1993,20 @@ var require_pathval = __commonJS({
1990
1993
  }
1991
1994
  }
1992
1995
  }
1993
- function getPathInfo(obj, path2) {
1994
- var parsed = parsePath(path2), last = parsed[parsed.length - 1], info = {
1996
+ function getPathInfo(obj, path) {
1997
+ var parsed = parsePath(path), last = parsed[parsed.length - 1], info = {
1995
1998
  parent: parsed.length > 1 ? internalGetPathValue(obj, parsed, parsed.length - 1) : obj,
1996
1999
  name: last.p || last.i,
1997
2000
  value: internalGetPathValue(obj, parsed)
1998
2001
  };
1999
2002
  return info.exists = hasProperty(info.parent, info.name), info;
2000
2003
  }
2001
- function getPathValue(obj, path2) {
2002
- var info = getPathInfo(obj, path2);
2004
+ function getPathValue(obj, path) {
2005
+ var info = getPathInfo(obj, path);
2003
2006
  return info.value;
2004
2007
  }
2005
- function setPathValue(obj, path2, val) {
2006
- var parsed = parsePath(path2);
2008
+ function setPathValue(obj, path, val) {
2009
+ var parsed = parsePath(path);
2007
2010
  return internalSetPathValue(obj, val, parsed), obj;
2008
2011
  }
2009
2012
  module.exports = {
@@ -4338,7 +4341,7 @@ var require_chai2 = __commonJS({
4338
4341
  // src/index.test.ts
4339
4342
  init_cjs_shims();
4340
4343
 
4341
- // ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.3/node_modules/vitest/dist/index.js
4344
+ // ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.70/node_modules/vitest/dist/index.js
4342
4345
  init_cjs_shims();
4343
4346
 
4344
4347
  // ../../node_modules/.pnpm/@vitest+runner@1.6.0/node_modules/@vitest/runner/dist/index.js
@@ -4416,8 +4419,8 @@ function clone(val, seen, options = defaultCloneOptions) {
4416
4419
  }
4417
4420
  function noop() {
4418
4421
  }
4419
- function objectAttr(source, path2, defaultValue = void 0) {
4420
- let paths = path2.replace(/\[(\d+)\]/g, ".$1").split("."), result = source;
4422
+ function objectAttr(source, path, defaultValue = void 0) {
4423
+ let paths = path.replace(/\[(\d+)\]/g, ".$1").split("."), result = source;
4421
4424
  for (let p of paths)
4422
4425
  if (result = Object(result)[p], result === void 0)
4423
4426
  return defaultValue;
@@ -5261,33 +5264,29 @@ function getNames(task) {
5261
5264
  return names;
5262
5265
  }
5263
5266
 
5264
- // ../../node_modules/.pnpm/pathe@1.1.2/node_modules/pathe/dist/index.mjs
5265
- init_cjs_shims();
5266
-
5267
- // ../../node_modules/.pnpm/pathe@1.1.2/node_modules/pathe/dist/shared/pathe.ff20891b.mjs
5267
+ // ../../node_modules/.pnpm/@vitest+utils@1.6.0/node_modules/@vitest/utils/dist/source-map.js
5268
5268
  init_cjs_shims();
5269
- var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
5270
5269
  function normalizeWindowsPath(input = "") {
5271
- return input && input.replace(/\\/g, "/").replace(_DRIVE_LETTER_START_RE, (r) => r.toUpperCase());
5270
+ return !input || !input.includes("\\") ? input : input.replace(/\\/g, "/");
5272
5271
  }
5273
5272
  var _IS_ABSOLUTE_RE = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;
5274
5273
  function cwd() {
5275
- return typeof process < "u" && typeof process.cwd == "function" ? process.cwd().replace(/\\/g, "/") : "/";
5274
+ return typeof process < "u" ? process.cwd().replace(/\\/g, "/") : "/";
5276
5275
  }
5277
- var resolve = function(...arguments_) {
5276
+ var resolve$2 = function(...arguments_) {
5278
5277
  arguments_ = arguments_.map((argument) => normalizeWindowsPath(argument));
5279
5278
  let resolvedPath = "", resolvedAbsolute = !1;
5280
5279
  for (let index = arguments_.length - 1; index >= -1 && !resolvedAbsolute; index--) {
5281
- let path2 = index >= 0 ? arguments_[index] : cwd();
5282
- !path2 || path2.length === 0 || (resolvedPath = `${path2}/${resolvedPath}`, resolvedAbsolute = isAbsolute(path2));
5280
+ let path = index >= 0 ? arguments_[index] : cwd();
5281
+ !path || path.length === 0 || (resolvedPath = `${path}/${resolvedPath}`, resolvedAbsolute = isAbsolute(path));
5283
5282
  }
5284
5283
  return resolvedPath = normalizeString(resolvedPath, !resolvedAbsolute), resolvedAbsolute && !isAbsolute(resolvedPath) ? `/${resolvedPath}` : resolvedPath.length > 0 ? resolvedPath : ".";
5285
5284
  };
5286
- function normalizeString(path2, allowAboveRoot) {
5285
+ function normalizeString(path, allowAboveRoot) {
5287
5286
  let res = "", lastSegmentLength = 0, lastSlash = -1, dots = 0, char = null;
5288
- for (let index = 0; index <= path2.length; ++index) {
5289
- if (index < path2.length)
5290
- char = path2[index];
5287
+ for (let index = 0; index <= path.length; ++index) {
5288
+ if (index < path.length)
5289
+ char = path[index];
5291
5290
  else {
5292
5291
  if (char === "/")
5293
5292
  break;
@@ -5307,7 +5306,7 @@ function normalizeString(path2, allowAboveRoot) {
5307
5306
  }
5308
5307
  allowAboveRoot && (res += res.length > 0 ? "/.." : "..", lastSegmentLength = 2);
5309
5308
  } else
5310
- res.length > 0 ? res += `/${path2.slice(lastSlash + 1, index)}` : res = path2.slice(lastSlash + 1, index), lastSegmentLength = index - lastSlash - 1;
5309
+ res.length > 0 ? res += `/${path.slice(lastSlash + 1, index)}` : res = path.slice(lastSlash + 1, index), lastSegmentLength = index - lastSlash - 1;
5311
5310
  lastSlash = index, dots = 0;
5312
5311
  } else char === "." && dots !== -1 ? ++dots : dots = -1;
5313
5312
  }
@@ -5315,58 +5314,6 @@ function normalizeString(path2, allowAboveRoot) {
5315
5314
  }
5316
5315
  var isAbsolute = function(p) {
5317
5316
  return _IS_ABSOLUTE_RE.test(p);
5318
- };
5319
-
5320
- // ../../node_modules/.pnpm/@vitest+utils@1.6.0/node_modules/@vitest/utils/dist/source-map.js
5321
- init_cjs_shims();
5322
- function normalizeWindowsPath2(input = "") {
5323
- return !input || !input.includes("\\") ? input : input.replace(/\\/g, "/");
5324
- }
5325
- var _IS_ABSOLUTE_RE2 = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;
5326
- function cwd2() {
5327
- return typeof process < "u" ? process.cwd().replace(/\\/g, "/") : "/";
5328
- }
5329
- var resolve$2 = function(...arguments_) {
5330
- arguments_ = arguments_.map((argument) => normalizeWindowsPath2(argument));
5331
- let resolvedPath = "", resolvedAbsolute = !1;
5332
- for (let index = arguments_.length - 1; index >= -1 && !resolvedAbsolute; index--) {
5333
- let path2 = index >= 0 ? arguments_[index] : cwd2();
5334
- !path2 || path2.length === 0 || (resolvedPath = `${path2}/${resolvedPath}`, resolvedAbsolute = isAbsolute2(path2));
5335
- }
5336
- return resolvedPath = normalizeString2(resolvedPath, !resolvedAbsolute), resolvedAbsolute && !isAbsolute2(resolvedPath) ? `/${resolvedPath}` : resolvedPath.length > 0 ? resolvedPath : ".";
5337
- };
5338
- function normalizeString2(path2, allowAboveRoot) {
5339
- let res = "", lastSegmentLength = 0, lastSlash = -1, dots = 0, char = null;
5340
- for (let index = 0; index <= path2.length; ++index) {
5341
- if (index < path2.length)
5342
- char = path2[index];
5343
- else {
5344
- if (char === "/")
5345
- break;
5346
- char = "/";
5347
- }
5348
- if (char === "/") {
5349
- if (!(lastSlash === index - 1 || dots === 1)) if (dots === 2) {
5350
- if (res.length < 2 || lastSegmentLength !== 2 || res[res.length - 1] !== "." || res[res.length - 2] !== ".") {
5351
- if (res.length > 2) {
5352
- let lastSlashIndex = res.lastIndexOf("/");
5353
- lastSlashIndex === -1 ? (res = "", lastSegmentLength = 0) : (res = res.slice(0, lastSlashIndex), lastSegmentLength = res.length - 1 - res.lastIndexOf("/")), lastSlash = index, dots = 0;
5354
- continue;
5355
- } else if (res.length > 0) {
5356
- res = "", lastSegmentLength = 0, lastSlash = index, dots = 0;
5357
- continue;
5358
- }
5359
- }
5360
- allowAboveRoot && (res += res.length > 0 ? "/.." : "..", lastSegmentLength = 2);
5361
- } else
5362
- res.length > 0 ? res += `/${path2.slice(lastSlash + 1, index)}` : res = path2.slice(lastSlash + 1, index), lastSegmentLength = index - lastSlash - 1;
5363
- lastSlash = index, dots = 0;
5364
- } else char === "." && dots !== -1 ? ++dots : dots = -1;
5365
- }
5366
- return res;
5367
- }
5368
- var isAbsolute2 = function(p) {
5369
- return _IS_ABSOLUTE_RE2.test(p);
5370
5317
  }, comma = 44, chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", intToChar = new Uint8Array(64), charToInt = new Uint8Array(128);
5371
5318
  for (let i2 = 0; i2 < chars.length; i2++) {
5372
5319
  let c2 = chars.charCodeAt(i2);
@@ -6017,16 +5964,16 @@ function createTestHook(name, handler) {
6017
5964
  };
6018
5965
  }
6019
5966
 
6020
- // ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.3/node_modules/vitest/dist/vendor/benchmark.yGkUTKnC.js
5967
+ // ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.70/node_modules/vitest/dist/vendor/benchmark.yGkUTKnC.js
6021
5968
  init_cjs_shims();
6022
5969
 
6023
5970
  // ../../node_modules/.pnpm/@vitest+runner@1.6.0/node_modules/@vitest/runner/dist/utils.js
6024
5971
  init_cjs_shims();
6025
5972
 
6026
- // ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.3/node_modules/vitest/dist/vendor/index.SMVOaj7F.js
5973
+ // ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.70/node_modules/vitest/dist/vendor/index.SMVOaj7F.js
6027
5974
  init_cjs_shims();
6028
5975
 
6029
- // ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.3/node_modules/vitest/dist/vendor/global.CkGT_TMy.js
5976
+ // ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.70/node_modules/vitest/dist/vendor/global.CkGT_TMy.js
6030
5977
  init_cjs_shims();
6031
5978
  function getWorkerState() {
6032
5979
  let workerState = globalThis.__vitest_worker__;
@@ -6047,7 +5994,7 @@ function getCurrentEnvironment() {
6047
5994
  return state?.environment.name;
6048
5995
  }
6049
5996
 
6050
- // ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.3/node_modules/vitest/dist/vendor/index.SMVOaj7F.js
5997
+ // ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.70/node_modules/vitest/dist/vendor/index.SMVOaj7F.js
6051
5998
  function getRunMode() {
6052
5999
  return getWorkerState().config.mode;
6053
6000
  }
@@ -6055,7 +6002,7 @@ function isRunningInBenchmark() {
6055
6002
  return getRunMode() === "benchmark";
6056
6003
  }
6057
6004
 
6058
- // ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.3/node_modules/vitest/dist/vendor/benchmark.yGkUTKnC.js
6005
+ // ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.70/node_modules/vitest/dist/vendor/benchmark.yGkUTKnC.js
6059
6006
  var benchFns = /* @__PURE__ */ new WeakMap(), benchOptsMap = /* @__PURE__ */ new WeakMap();
6060
6007
  var bench = createBenchmark(
6061
6008
  function(name, fn2 = noop, options = {}) {
@@ -6081,7 +6028,7 @@ function formatName2(name) {
6081
6028
  return typeof name == "string" ? name : name instanceof Function ? name.name || "<anonymous>" : String(name);
6082
6029
  }
6083
6030
 
6084
- // ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.3/node_modules/vitest/dist/vendor/run-once.Olz_Zkd8.js
6031
+ // ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.70/node_modules/vitest/dist/vendor/run-once.Olz_Zkd8.js
6085
6032
  init_cjs_shims();
6086
6033
  var filesCount = /* @__PURE__ */ new Map(), cache = /* @__PURE__ */ new Map();
6087
6034
  function runOnce(fn2, key) {
@@ -6097,7 +6044,7 @@ function isFirstRun() {
6097
6044
  }, "__vitest_first_run__"), firstRun;
6098
6045
  }
6099
6046
 
6100
- // ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.3/node_modules/vitest/dist/vendor/vi.YFlodzP_.js
6047
+ // ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.70/node_modules/vitest/dist/vendor/vi.YFlodzP_.js
6101
6048
  init_cjs_shims();
6102
6049
 
6103
6050
  // ../../node_modules/.pnpm/chai@4.4.1/node_modules/chai/index.mjs
@@ -6118,7 +6065,7 @@ __export(chai_exports, {
6118
6065
  init_cjs_shims();
6119
6066
  var import_index = __toESM(require_chai2(), 1), expect = import_index.default.expect, version = import_index.default.version, Assertion = import_index.default.Assertion, AssertionError = import_index.default.AssertionError, util = import_index.default.util, config = import_index.default.config, use = import_index.default.use, should = import_index.default.should, assert = import_index.default.assert, core = import_index.default.core, chai_default = import_index.default;
6120
6067
 
6121
- // ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.3/node_modules/vitest/dist/vendor/_commonjsHelpers.jjO7Zipk.js
6068
+ // ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.70/node_modules/vitest/dist/vendor/_commonjsHelpers.jjO7Zipk.js
6122
6069
  init_cjs_shims();
6123
6070
  var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
6124
6071
  function getDefaultExportFromCjs(x) {
@@ -7790,16 +7737,16 @@ function parseAbsoluteUrl(input) {
7790
7737
  return makeUrl(match[1], match[2] || "", match[3], match[4] || "", match[5] || "/", match[6] || "", match[7] || "");
7791
7738
  }
7792
7739
  function parseFileUrl(input) {
7793
- let match = fileRegex.exec(input), path2 = match[2];
7794
- return makeUrl("file:", "", match[1] || "", "", isAbsolutePath(path2) ? path2 : "/" + path2, match[3] || "", match[4] || "");
7740
+ let match = fileRegex.exec(input), path = match[2];
7741
+ return makeUrl("file:", "", match[1] || "", "", isAbsolutePath(path) ? path : "/" + path, match[3] || "", match[4] || "");
7795
7742
  }
7796
- function makeUrl(scheme, user, host, port, path2, query, hash) {
7743
+ function makeUrl(scheme, user, host, port, path, query, hash) {
7797
7744
  return {
7798
7745
  scheme,
7799
7746
  user,
7800
7747
  host,
7801
7748
  port,
7802
- path: path2,
7749
+ path,
7803
7750
  query,
7804
7751
  hash,
7805
7752
  type: UrlType2.Absolute
@@ -7821,11 +7768,11 @@ function parseUrl(input) {
7821
7768
  let url = parseAbsoluteUrl("http://foo.com/" + input);
7822
7769
  return url.scheme = "", url.host = "", url.type = input ? input.startsWith("?") ? UrlType2.Query : input.startsWith("#") ? UrlType2.Hash : UrlType2.RelativePath : UrlType2.Empty, url;
7823
7770
  }
7824
- function stripPathFilename(path2) {
7825
- if (path2.endsWith("/.."))
7826
- return path2;
7827
- let index = path2.lastIndexOf("/");
7828
- return path2.slice(0, index + 1);
7771
+ function stripPathFilename(path) {
7772
+ if (path.endsWith("/.."))
7773
+ return path;
7774
+ let index = path.lastIndexOf("/");
7775
+ return path.slice(0, index + 1);
7829
7776
  }
7830
7777
  function mergePaths(url, base) {
7831
7778
  normalizePath(base, base.type), url.path === "/" ? url.path = base.path : url.path = stripPathFilename(base.path) + url.path;
@@ -7846,10 +7793,10 @@ function normalizePath(url, type2) {
7846
7793
  pieces[pointer++] = piece, positive++;
7847
7794
  }
7848
7795
  }
7849
- let path2 = "";
7796
+ let path = "";
7850
7797
  for (let i2 = 1; i2 < pointer; i2++)
7851
- path2 += "/" + pieces[i2];
7852
- (!path2 || addTrailingSlash && !path2.endsWith("/..")) && (path2 += "/"), url.path = path2;
7798
+ path += "/" + pieces[i2];
7799
+ (!path || addTrailingSlash && !path.endsWith("/..")) && (path += "/"), url.path = path;
7853
7800
  }
7854
7801
  function resolve$1(input, base) {
7855
7802
  if (!input && !base)
@@ -7885,8 +7832,8 @@ function resolve$1(input, base) {
7885
7832
  case UrlType2.Query:
7886
7833
  return queryHash;
7887
7834
  case UrlType2.RelativePath: {
7888
- let path2 = url.path.slice(1);
7889
- return path2 ? isRelative(base || input) && !isRelative(path2) ? "./" + path2 + queryHash : path2 + queryHash : queryHash || ".";
7835
+ let path = url.path.slice(1);
7836
+ return path ? isRelative(base || input) && !isRelative(path) ? "./" + path + queryHash : path + queryHash : queryHash || ".";
7890
7837
  }
7891
7838
  case UrlType2.AbsolutePath:
7892
7839
  return url.path + queryHash;
@@ -7897,11 +7844,11 @@ function resolve$1(input, base) {
7897
7844
  function resolve2(input, base) {
7898
7845
  return base && !base.endsWith("/") && (base += "/"), resolve$1(input, base);
7899
7846
  }
7900
- function stripFilename(path2) {
7901
- if (!path2)
7847
+ function stripFilename(path) {
7848
+ if (!path)
7902
7849
  return "";
7903
- let index = path2.lastIndexOf("/");
7904
- return path2.slice(0, index + 1);
7850
+ let index = path.lastIndexOf("/");
7851
+ return path.slice(0, index + 1);
7905
7852
  }
7906
7853
  var COLUMN2 = 0, SOURCES_INDEX2 = 1, SOURCE_LINE2 = 2, SOURCE_COLUMN2 = 3, NAMES_INDEX2 = 4;
7907
7854
  function maybeSort(mappings, owned) {
@@ -8402,19 +8349,19 @@ var SnapshotClient = class {
8402
8349
  }
8403
8350
  };
8404
8351
 
8405
- // ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.3/node_modules/vitest/dist/vendor/tasks.IknbGB2n.js
8352
+ // ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.70/node_modules/vitest/dist/vendor/tasks.IknbGB2n.js
8406
8353
  init_cjs_shims();
8407
8354
  function getFullName(task, separator = " > ") {
8408
8355
  return getNames(task).join(separator);
8409
8356
  }
8410
8357
 
8411
- // ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.3/node_modules/vitest/dist/vendor/base.5NT-gWu5.js
8358
+ // ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.70/node_modules/vitest/dist/vendor/base.5NT-gWu5.js
8412
8359
  init_cjs_shims();
8413
8360
  function isChildProcess() {
8414
8361
  return typeof process < "u" && !!process.send;
8415
8362
  }
8416
8363
 
8417
- // ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.3/node_modules/vitest/dist/vendor/date.Ns1pGd_X.js
8364
+ // ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.70/node_modules/vitest/dist/vendor/date.Ns1pGd_X.js
8418
8365
  init_cjs_shims();
8419
8366
  var RealDate = Date, now2 = null, MockDate = class _MockDate extends RealDate {
8420
8367
  constructor(y, m, d, h, M2, s, ms) {
@@ -8454,7 +8401,7 @@ function resetDate() {
8454
8401
  globalThis.Date = RealDate;
8455
8402
  }
8456
8403
 
8457
- // ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.3/node_modules/vitest/dist/vendor/vi.YFlodzP_.js
8404
+ // ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.70/node_modules/vitest/dist/vendor/vi.YFlodzP_.js
8458
8405
  function resetModules(modules, resetMocks = !1) {
8459
8406
  let skipPaths = [
8460
8407
  // Vitest
@@ -8467,8 +8414,8 @@ function resetModules(modules, resetMocks = !1) {
8467
8414
  // don't clear mocks
8468
8415
  ...resetMocks ? [] : [/^mock:/]
8469
8416
  ];
8470
- modules.forEach((mod, path2) => {
8471
- skipPaths.some((re) => re.test(path2)) || modules.invalidateModule(mod);
8417
+ modules.forEach((mod, path) => {
8418
+ skipPaths.some((re) => re.test(path)) || modules.invalidateModule(mod);
8472
8419
  });
8473
8420
  }
8474
8421
  function waitNextTick() {
@@ -8482,8 +8429,8 @@ async function waitForImportsToResolve() {
8482
8429
  mod.promise && !mod.evaluated && promises.push(mod.promise), mod.resolving && resolvingCount++;
8483
8430
  !promises.length && !resolvingCount || (await Promise.allSettled(promises), await waitForImportsToResolve());
8484
8431
  }
8485
- function commonjsRequire(path2) {
8486
- 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.');
8432
+ function commonjsRequire(path) {
8433
+ throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
8487
8434
  }
8488
8435
  var chaiSubset = { exports: {} };
8489
8436
  (function(module, exports) {
@@ -9871,39 +9818,39 @@ function createVitest() {
9871
9818
  hoisted(factory) {
9872
9819
  return assertTypes(factory, '"vi.hoisted" factory', ["function"]), factory();
9873
9820
  },
9874
- mock(path2, factory) {
9821
+ mock(path, factory) {
9875
9822
  let importer = getImporter();
9876
9823
  _mocker.queueMock(
9877
- path2,
9824
+ path,
9878
9825
  importer,
9879
- factory ? () => factory(() => _mocker.importActual(path2, importer, _mocker.getMockContext().callstack)) : void 0,
9826
+ factory ? () => factory(() => _mocker.importActual(path, importer, _mocker.getMockContext().callstack)) : void 0,
9880
9827
  !0
9881
9828
  );
9882
9829
  },
9883
- unmock(path2) {
9884
- _mocker.queueUnmock(path2, getImporter());
9830
+ unmock(path) {
9831
+ _mocker.queueUnmock(path, getImporter());
9885
9832
  },
9886
- doMock(path2, factory) {
9833
+ doMock(path, factory) {
9887
9834
  let importer = getImporter();
9888
9835
  _mocker.queueMock(
9889
- path2,
9836
+ path,
9890
9837
  importer,
9891
- factory ? () => factory(() => _mocker.importActual(path2, importer, _mocker.getMockContext().callstack)) : void 0,
9838
+ factory ? () => factory(() => _mocker.importActual(path, importer, _mocker.getMockContext().callstack)) : void 0,
9892
9839
  !1
9893
9840
  );
9894
9841
  },
9895
- doUnmock(path2) {
9896
- _mocker.queueUnmock(path2, getImporter());
9842
+ doUnmock(path) {
9843
+ _mocker.queueUnmock(path, getImporter());
9897
9844
  },
9898
- async importActual(path2) {
9845
+ async importActual(path) {
9899
9846
  return _mocker.importActual(
9900
- path2,
9847
+ path,
9901
9848
  getImporter(),
9902
9849
  _mocker.getMockContext().callstack
9903
9850
  );
9904
9851
  },
9905
- async importMock(path2) {
9906
- return _mocker.importMock(path2, getImporter());
9852
+ async importMock(path) {
9853
+ return _mocker.importMock(path, getImporter());
9907
9854
  },
9908
9855
  // this is typed in the interface so it's not necessary to type it here
9909
9856
  mocked(item, _options = {}) {
@@ -9959,7 +9906,7 @@ function createVitest() {
9959
9906
  }
9960
9907
  var vitest = createVitest(), vi = vitest;
9961
9908
 
9962
- // ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.3/node_modules/vitest/dist/vendor/index.dI9lHwVn.js
9909
+ // ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.70/node_modules/vitest/dist/vendor/index.dI9lHwVn.js
9963
9910
  init_cjs_shims();
9964
9911
  function getRunningMode() {
9965
9912
  return process.env.VITEST_MODE === "WATCH" ? "watch" : "run";
@@ -10047,7 +9994,7 @@ var assertType = noop2, VitestIndex = /* @__PURE__ */ Object.freeze({
10047
9994
  vitest
10048
9995
  });
10049
9996
 
10050
- // ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.3/node_modules/vitest/dist/index.js
9997
+ // ../../node_modules/.pnpm/vitest@1.6.0_@types+node@18.19.70/node_modules/vitest/dist/index.js
10051
9998
  var expectTypeOf = dist.expectTypeOf;
10052
9999
 
10053
10000
  // src/index.test.ts
@@ -0,0 +1,11 @@
1
+ import {
2
+ require_lib
3
+ } from "./chunk-NBA3G6YQ.js";
4
+ import "./chunk-3I3GQNEW.js";
5
+ import "./chunk-ZKGBK6WQ.js";
6
+ import "./chunk-5DBS6QOU.js";
7
+ import "./chunk-B3YWYURY.js";
8
+ import "./chunk-G2ZZKGSV.js";
9
+ import "./chunk-PKR7KJ6P.js";
10
+ export default require_lib();
11
+ //# sourceMappingURL=lib-ZAUU5FOJ.js.map
@@ -10,7 +10,7 @@ import {
10
10
  gitpodURL,
11
11
  hasGit,
12
12
  homeDirectory,
13
- isAppManagementEnabled,
13
+ isAppManagementDisabled,
14
14
  isCloudEnvironment,
15
15
  isDevelopment,
16
16
  isShopify,
@@ -22,15 +22,16 @@ import {
22
22
  themeToken,
23
23
  useEmbeddedThemeCLI,
24
24
  useThemebundling
25
- } from "./chunk-5MQK53ZB.js";
26
- import "./chunk-BOBYVF6Z.js";
27
- import "./chunk-OAZFIMJ3.js";
25
+ } from "./chunk-MFOTVT4R.js";
26
+ import "./chunk-NBA3G6YQ.js";
27
+ import "./chunk-3I3GQNEW.js";
28
28
  import "./chunk-CFIKVUNW.js";
29
- import "./chunk-K7HGDAI4.js";
29
+ import "./chunk-ZUCWDIGE.js";
30
+ import "./chunk-CDBXAE2F.js";
30
31
  import "./chunk-75LV6AQS.js";
31
- import "./chunk-EZFQXNK5.js";
32
- import "./chunk-CRHXI6PS.js";
33
- import "./chunk-BUFIEXZ5.js";
32
+ import "./chunk-ZKGBK6WQ.js";
33
+ import "./chunk-5DBS6QOU.js";
34
+ import "./chunk-B3YWYURY.js";
34
35
  import "./chunk-G2ZZKGSV.js";
35
36
  import "./chunk-PKR7KJ6P.js";
36
37
  export {
@@ -45,7 +46,7 @@ export {
45
46
  gitpodURL,
46
47
  hasGit,
47
48
  homeDirectory,
48
- isAppManagementEnabled,
49
+ isAppManagementDisabled,
49
50
  isCloudEnvironment,
50
51
  isDevelopment,
51
52
  isShopify,
@@ -58,4 +59,4 @@ export {
58
59
  useEmbeddedThemeCLI,
59
60
  useThemebundling
60
61
  };
61
- //# sourceMappingURL=local-WM5Y2GKE.js.map
62
+ //# sourceMappingURL=local-EBAW6AUD.js.map
@@ -29,16 +29,17 @@ import {
29
29
  versionSatisfies,
30
30
  writePackageJSON,
31
31
  yarnLockfile
32
- } from "./chunk-U52U2BAX.js";
33
- import "./chunk-5MQK53ZB.js";
34
- import "./chunk-BOBYVF6Z.js";
35
- import "./chunk-OAZFIMJ3.js";
32
+ } from "./chunk-VK6YB4CW.js";
33
+ import "./chunk-MFOTVT4R.js";
34
+ import "./chunk-NBA3G6YQ.js";
35
+ import "./chunk-3I3GQNEW.js";
36
36
  import "./chunk-CFIKVUNW.js";
37
- import "./chunk-K7HGDAI4.js";
37
+ import "./chunk-ZUCWDIGE.js";
38
+ import "./chunk-CDBXAE2F.js";
38
39
  import "./chunk-75LV6AQS.js";
39
- import "./chunk-EZFQXNK5.js";
40
- import "./chunk-CRHXI6PS.js";
41
- import "./chunk-BUFIEXZ5.js";
40
+ import "./chunk-ZKGBK6WQ.js";
41
+ import "./chunk-5DBS6QOU.js";
42
+ import "./chunk-B3YWYURY.js";
42
43
  import "./chunk-G2ZZKGSV.js";
43
44
  import "./chunk-PKR7KJ6P.js";
44
45
  export {
@@ -73,4 +74,4 @@ export {
73
74
  writePackageJSON,
74
75
  yarnLockfile
75
76
  };
76
- //# sourceMappingURL=node-package-manager-U4IKWNRD.js.map
77
+ //# sourceMappingURL=node-package-manager-VTG2B4KW.js.map
@@ -0,0 +1,7 @@
1
+ import {
2
+ require_out
3
+ } from "./chunk-5DBS6QOU.js";
4
+ import "./chunk-B3YWYURY.js";
5
+ import "./chunk-PKR7KJ6P.js";
6
+ export default require_out();
7
+ //# sourceMappingURL=out-AZBX4ITJ.js.map
@@ -13,7 +13,8 @@ import {
13
13
  resolvePath,
14
14
  sniffForJson,
15
15
  sniffForPath
16
- } from "./chunk-K7HGDAI4.js";
16
+ } from "./chunk-ZUCWDIGE.js";
17
+ import "./chunk-CDBXAE2F.js";
17
18
  import "./chunk-PKR7KJ6P.js";
18
19
  export {
19
20
  basename,
@@ -31,4 +32,4 @@ export {
31
32
  sniffForJson,
32
33
  sniffForPath
33
34
  };
34
- //# sourceMappingURL=path-2HZUSAGR.js.map
35
+ //# sourceMappingURL=path-GWAZZN2N.js.map