@shopify/cli 3.85.5 → 3.86.1
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/assets/dev-console/extensions/dev-console/assets/index-Cj8WCHlM.js +64 -0
- package/dist/assets/dev-console/index.html +1 -1
- package/dist/assets/hydrogen/starter/package.json +1 -1
- package/dist/{brotli-EDFLSXX4.js → brotli-2OKV26Y6.js} +3 -3
- package/dist/{chunk-FRHZJBJZ.js → chunk-2LK4JXAI.js} +27 -19
- package/dist/{chunk-O2O5GRI6.js → chunk-2WTSZOXI.js} +3 -3
- package/dist/{chunk-BQ3PZIHZ.js → chunk-4MSYMXAX.js} +16 -16
- package/dist/{chunk-MUZ7NPCX.js → chunk-4WBTBFNC.js} +4 -4
- package/dist/{chunk-IAX3IWUQ.js → chunk-52OB52S5.js} +5 -5
- package/dist/{chunk-UATXMR5F.js → chunk-6FH6AJI5.js} +3 -3
- package/dist/{chunk-75LV6AQS.js → chunk-6ONJEX7Y.js} +8 -8
- package/dist/{chunk-TE4CUUT4.js → chunk-6VIQUXXO.js} +2 -2
- package/dist/{chunk-SMBX232U.js → chunk-A5RXDG36.js} +205 -183
- package/dist/{chunk-ODJ7LSLO.js → chunk-AAHIUMCI.js} +3 -3
- package/dist/{chunk-RZPYG7LO.js → chunk-AU6C5SPW.js} +25 -25
- package/dist/{chunk-UF2X5VHR.js → chunk-AXMPBUZL.js} +3 -3
- package/dist/{chunk-NTCXWD2Q.js → chunk-B7H344JI.js} +583 -585
- package/dist/{chunk-VVDGGMKJ.js → chunk-CZE7TCFI.js} +3 -3
- package/dist/{chunk-PZUWEJO3.js → chunk-E7SRX5ME.js} +4 -4
- package/dist/{chunk-IG5SOACB.js → chunk-F2V6FX7R.js} +3 -3
- package/dist/{chunk-J6T7KVRL.js → chunk-GNW7DUJ5.js} +2 -2
- package/dist/{chunk-3ULYQTX3.js → chunk-HUR6MF6D.js} +8 -8
- package/dist/{chunk-DHW4GI57.js → chunk-IPWP4QG4.js} +5 -5
- package/dist/{chunk-MR763CPY.js → chunk-J4HWHB57.js} +6 -6
- package/dist/{chunk-GQ63RYWN.js → chunk-J6JPAWCE.js} +2 -2
- package/dist/{chunk-NMGJYSTC.js → chunk-K45JWD7H.js} +6 -6
- package/dist/{chunk-P46WMXBU.js → chunk-KCMYZRDH.js} +5 -5
- package/dist/{chunk-G2I4CD5D.js → chunk-MZWHWEIR.js} +2 -2
- package/dist/{chunk-AVSSZ6MY.js → chunk-NAPXIWWP.js} +7 -7
- package/dist/{chunk-FGSQR4VQ.js → chunk-NOHJOQVR.js} +3 -3
- package/dist/{chunk-JF6DQIJR.js → chunk-PANEHHGV.js} +16 -16
- package/dist/{chunk-GG2ELY5O.js → chunk-PBZI5MOK.js} +146 -125
- package/dist/{chunk-R6BNSDGA.js → chunk-PPM7JU6X.js} +3 -3
- package/dist/{chunk-B5EXYCV3.js → chunk-Q2H6D2MH.js} +5 -5
- package/dist/{chunk-CQSO2B3C.js → chunk-QZSPMSF2.js} +81 -30
- package/dist/{chunk-PFBQBDNU.js → chunk-RQD77XVF.js} +3 -3
- package/dist/{chunk-TYHJPUOR.js → chunk-SQNWVF3V.js} +2 -2
- package/dist/{chunk-MDDWB46W.js → chunk-TDSRWKL2.js} +6 -6
- package/dist/{chunk-RAZVOMJW.js → chunk-UB7QY2VF.js} +3 -3
- package/dist/{chunk-UQT7B7DM.js → chunk-VGDJLENI.js} +3 -3
- package/dist/{chunk-F7F4BQYW.js → chunk-X2YIODUW.js} +56 -58
- package/dist/{chunk-25IMI7TH.js → chunk-XD3LXUGW.js} +5 -5
- package/dist/{chunk-TXX6R3WL.js → chunk-YRJLM3MZ.js} +2 -2
- package/dist/{chunk-FMD2ETAR.js → chunk-YXTZTRRV.js} +4 -4
- package/dist/{chunk-CHLX44DR.js → chunk-ZKG22PUU.js} +4 -4
- package/dist/cli/commands/auth/login.js +15 -15
- package/dist/cli/commands/auth/login.test.js +17 -17
- package/dist/cli/commands/auth/logout.js +15 -15
- package/dist/cli/commands/auth/logout.test.js +17 -17
- package/dist/cli/commands/cache/clear.js +15 -15
- package/dist/cli/commands/debug/command-flags.js +15 -15
- package/dist/cli/commands/docs/generate.js +15 -15
- package/dist/cli/commands/docs/generate.test.js +16 -16
- package/dist/cli/commands/help.js +15 -15
- package/dist/cli/commands/kitchen-sink/async.js +16 -16
- package/dist/cli/commands/kitchen-sink/async.test.js +17 -17
- package/dist/cli/commands/kitchen-sink/index.js +18 -18
- package/dist/cli/commands/kitchen-sink/index.test.js +19 -19
- package/dist/cli/commands/kitchen-sink/prompts.js +16 -16
- package/dist/cli/commands/kitchen-sink/prompts.test.js +17 -17
- package/dist/cli/commands/kitchen-sink/static.js +16 -16
- package/dist/cli/commands/kitchen-sink/static.test.js +17 -17
- package/dist/cli/commands/notifications/generate.js +16 -16
- package/dist/cli/commands/notifications/list.js +16 -16
- package/dist/cli/commands/search.js +16 -16
- package/dist/cli/commands/upgrade.js +16 -16
- package/dist/cli/commands/upgrade.test.js +1 -1
- package/dist/cli/commands/version.js +16 -16
- package/dist/cli/commands/version.test.js +17 -17
- package/dist/cli/services/commands/notifications.js +11 -11
- package/dist/cli/services/commands/search.js +6 -6
- package/dist/cli/services/commands/search.test.js +7 -7
- package/dist/cli/services/commands/version.js +7 -7
- package/dist/cli/services/commands/version.test.js +9 -9
- package/dist/cli/services/kitchen-sink/async.js +6 -6
- package/dist/cli/services/kitchen-sink/prompts.js +6 -6
- package/dist/cli/services/kitchen-sink/static.js +6 -6
- package/dist/cli/services/upgrade.js +7 -7
- package/dist/cli/services/upgrade.test.js +9 -9
- package/dist/{custom-oclif-loader-X7GLA66E.js → custom-oclif-loader-IB5J422L.js} +6 -6
- package/dist/{del-DNZ7X2HW.js → del-DIPVIUR3.js} +3 -3
- package/dist/{error-handler-QOTWDLMF.js → error-handler-CU4DBAA4.js} +13 -13
- package/dist/hooks/postrun.js +11 -11
- package/dist/hooks/prerun.js +12 -12
- package/dist/{http-proxy-node16-T623PGD4.js → http-proxy-node16-K5X7BUK5.js} +3 -3
- package/dist/index.js +1659 -2649
- package/dist/{lib-DEEC6IKU.js → lib-EMZRCLCJ.js} +3 -3
- package/dist/{lib-JVEIEXYB.js → lib-WHI5XOGD.js} +2 -2
- package/dist/{local-FS3UI7PE.js → local-PYV7PNUD.js} +6 -6
- package/dist/{morph-D4BXY376.js → morph-EGK76SED.js} +17 -18
- package/dist/{multipart-parser-WSNBP656.js → multipart-parser-IYYNISJK.js} +2 -2
- package/dist/{node-package-manager-TX3WZQGI.js → node-package-manager-BCGA26RH.js} +7 -7
- package/dist/{source-map-QCVC46UY.js → source-map-UFUVQCYE.js} +5 -5
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-PUN5STUM.js → ui-7POT36Q5.js} +6 -6
- package/dist/{workerd-GJFM5MYN.js → workerd-UA5IB4IF.js} +17 -17
- package/oclif.manifest.json +17 -104
- package/package.json +8 -12
- package/dist/assets/dev-console/extensions/dev-console/assets/index-ohOjvIJh.js +0 -64
|
@@ -104,17 +104,17 @@ var require_cjs = __commonJS({
|
|
|
104
104
|
"../../node_modules/.pnpm/isexe@3.1.1/node_modules/isexe/dist/cjs/index.js"(exports) {
|
|
105
105
|
"use strict";
|
|
106
106
|
init_cjs_shims();
|
|
107
|
-
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
107
|
+
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
108
108
|
k2 === void 0 && (k2 = k);
|
|
109
109
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
110
110
|
(!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) && (desc = { enumerable: !0, get: function() {
|
|
111
111
|
return m[k];
|
|
112
112
|
} }), Object.defineProperty(o, k2, desc);
|
|
113
|
-
} : function(o, m, k, k2) {
|
|
113
|
+
}) : (function(o, m, k, k2) {
|
|
114
114
|
k2 === void 0 && (k2 = k), o[k2] = m[k];
|
|
115
|
-
}), __setModuleDefault = exports && exports.__setModuleDefault || (Object.create ? function(o, v) {
|
|
115
|
+
})), __setModuleDefault = exports && exports.__setModuleDefault || (Object.create ? (function(o, v) {
|
|
116
116
|
Object.defineProperty(o, "default", { enumerable: !0, value: v });
|
|
117
|
-
} : function(o, v) {
|
|
117
|
+
}) : function(o, v) {
|
|
118
118
|
o.default = v;
|
|
119
119
|
}), __importStar = exports && exports.__importStar || function(mod) {
|
|
120
120
|
if (mod && mod.__esModule) return mod;
|
|
@@ -205,4 +205,4 @@ var require_lib = __commonJS({
|
|
|
205
205
|
export {
|
|
206
206
|
require_lib
|
|
207
207
|
};
|
|
208
|
-
//# sourceMappingURL=chunk-
|
|
208
|
+
//# sourceMappingURL=chunk-Q2H6D2MH.js.map
|
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
envPaths,
|
|
7
7
|
exec,
|
|
8
8
|
fileExists,
|
|
9
|
+
fileHasWritePermissions,
|
|
9
10
|
findPathUp,
|
|
10
11
|
glob,
|
|
11
12
|
inferPackageManagerForGlobalCLI,
|
|
@@ -17,11 +18,12 @@ import {
|
|
|
17
18
|
readFile,
|
|
18
19
|
require_get_stream,
|
|
19
20
|
runWithTimer,
|
|
21
|
+
unixFileIsOwnedByCurrentUser,
|
|
20
22
|
writeFile
|
|
21
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-PBZI5MOK.js";
|
|
22
24
|
import {
|
|
23
25
|
require_semver
|
|
24
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-X2YIODUW.js";
|
|
25
27
|
import {
|
|
26
28
|
dirname,
|
|
27
29
|
joinPath
|
|
@@ -7589,7 +7591,7 @@ var require_polyfills = __commonJS({
|
|
|
7589
7591
|
}), fs3.chown && !fs3.lchown && (fs3.lchown = function(path4, uid, gid, cb) {
|
|
7590
7592
|
cb && process.nextTick(cb);
|
|
7591
7593
|
}, fs3.lchownSync = function() {
|
|
7592
|
-
}), platform === "win32" && (fs3.rename = typeof fs3.rename != "function" ? fs3.rename : function(fs$rename) {
|
|
7594
|
+
}), platform === "win32" && (fs3.rename = typeof fs3.rename != "function" ? fs3.rename : (function(fs$rename) {
|
|
7593
7595
|
function rename(from, to, cb) {
|
|
7594
7596
|
var start = Date.now(), backoff = 0;
|
|
7595
7597
|
fs$rename(from, to, function CB(er) {
|
|
@@ -7605,7 +7607,7 @@ var require_polyfills = __commonJS({
|
|
|
7605
7607
|
});
|
|
7606
7608
|
}
|
|
7607
7609
|
return Object.setPrototypeOf && Object.setPrototypeOf(rename, fs$rename), rename;
|
|
7608
|
-
}(fs3.rename)), fs3.read = typeof fs3.read != "function" ? fs3.read : function(fs$read) {
|
|
7610
|
+
})(fs3.rename)), fs3.read = typeof fs3.read != "function" ? fs3.read : (function(fs$read) {
|
|
7609
7611
|
function read(fd, buffer, offset, length, position, callback_) {
|
|
7610
7612
|
var callback;
|
|
7611
7613
|
if (callback_ && typeof callback_ == "function") {
|
|
@@ -7619,7 +7621,7 @@ var require_polyfills = __commonJS({
|
|
|
7619
7621
|
return fs$read.call(fs3, fd, buffer, offset, length, position, callback);
|
|
7620
7622
|
}
|
|
7621
7623
|
return Object.setPrototypeOf && Object.setPrototypeOf(read, fs$read), read;
|
|
7622
|
-
}(fs3.read), fs3.readSync = typeof fs3.readSync != "function" ? fs3.readSync : /* @__PURE__ */ function(fs$readSync) {
|
|
7624
|
+
})(fs3.read), fs3.readSync = typeof fs3.readSync != "function" ? fs3.readSync : /* @__PURE__ */ (function(fs$readSync) {
|
|
7623
7625
|
return function(fd, buffer, offset, length, position) {
|
|
7624
7626
|
for (var eagCounter = 0; ; )
|
|
7625
7627
|
try {
|
|
@@ -7632,7 +7634,7 @@ var require_polyfills = __commonJS({
|
|
|
7632
7634
|
throw er;
|
|
7633
7635
|
}
|
|
7634
7636
|
};
|
|
7635
|
-
}(fs3.readSync);
|
|
7637
|
+
})(fs3.readSync);
|
|
7636
7638
|
function patchLchmod(fs4) {
|
|
7637
7639
|
fs4.lchmod = function(path4, mode, callback) {
|
|
7638
7640
|
fs4.open(
|
|
@@ -7865,7 +7867,7 @@ var require_graceful_fs = __commonJS({
|
|
|
7865
7867
|
m = "GFS4: " + m.split(/\n/).join(`
|
|
7866
7868
|
GFS4: `), console.error(m);
|
|
7867
7869
|
});
|
|
7868
|
-
fs3[gracefulQueue] || (queue = global[gracefulQueue] || [], publishQueue(fs3, queue), fs3.close = function(fs$close) {
|
|
7870
|
+
fs3[gracefulQueue] || (queue = global[gracefulQueue] || [], publishQueue(fs3, queue), fs3.close = (function(fs$close) {
|
|
7869
7871
|
function close(fd, cb) {
|
|
7870
7872
|
return fs$close.call(fs3, fd, function(err) {
|
|
7871
7873
|
err || resetQueue(), typeof cb == "function" && cb.apply(this, arguments);
|
|
@@ -7874,14 +7876,14 @@ GFS4: `), console.error(m);
|
|
|
7874
7876
|
return Object.defineProperty(close, previousSymbol, {
|
|
7875
7877
|
value: fs$close
|
|
7876
7878
|
}), close;
|
|
7877
|
-
}(fs3.close), fs3.closeSync = function(fs$closeSync) {
|
|
7879
|
+
})(fs3.close), fs3.closeSync = (function(fs$closeSync) {
|
|
7878
7880
|
function closeSync(fd) {
|
|
7879
7881
|
fs$closeSync.apply(fs3, arguments), resetQueue();
|
|
7880
7882
|
}
|
|
7881
7883
|
return Object.defineProperty(closeSync, previousSymbol, {
|
|
7882
7884
|
value: fs$closeSync
|
|
7883
7885
|
}), closeSync;
|
|
7884
|
-
}(fs3.closeSync), /\bgfs4\b/i.test(process.env.NODE_DEBUG || "") && process.on("exit", function() {
|
|
7886
|
+
})(fs3.closeSync), /\bgfs4\b/i.test(process.env.NODE_DEBUG || "") && process.on("exit", function() {
|
|
7885
7887
|
debug(fs3[gracefulQueue]), __require("assert").equal(fs3[gracefulQueue].length, 0);
|
|
7886
7888
|
}));
|
|
7887
7889
|
var queue;
|
|
@@ -8105,15 +8107,15 @@ var require_dist2 = __commonJS({
|
|
|
8105
8107
|
"../../node_modules/.pnpm/@pnpm+network.ca-file@1.0.2/node_modules/@pnpm/network.ca-file/dist/index.js"(exports) {
|
|
8106
8108
|
"use strict";
|
|
8107
8109
|
init_cjs_shims();
|
|
8108
|
-
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
8110
|
+
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
8109
8111
|
k2 === void 0 && (k2 = k);
|
|
8110
8112
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8111
8113
|
(!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) && (desc = { enumerable: !0, get: function() {
|
|
8112
8114
|
return m[k];
|
|
8113
8115
|
} }), Object.defineProperty(o, k2, desc);
|
|
8114
|
-
} : function(o, m, k, k2) {
|
|
8116
|
+
}) : (function(o, m, k, k2) {
|
|
8115
8117
|
k2 === void 0 && (k2 = k), o[k2] = m[k];
|
|
8116
|
-
}), __exportStar = exports && exports.__exportStar || function(m, exports2) {
|
|
8118
|
+
})), __exportStar = exports && exports.__exportStar || function(m, exports2) {
|
|
8117
8119
|
for (var p in m) p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p) && __createBinding(exports2, m, p);
|
|
8118
8120
|
};
|
|
8119
8121
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -8728,10 +8730,11 @@ var require_conf = __commonJS({
|
|
|
8728
8730
|
};
|
|
8729
8731
|
function deserializeEnvVal(envKey, envValue) {
|
|
8730
8732
|
function deserializeList(envValue2) {
|
|
8731
|
-
|
|
8733
|
+
return envValue2.indexOf(`
|
|
8732
8734
|
|
|
8733
|
-
|
|
8734
|
-
|
|
8735
|
+
`) ? envValue2.split(`
|
|
8736
|
+
|
|
8737
|
+
`) : envValue2.split(",");
|
|
8735
8738
|
}
|
|
8736
8739
|
switch (envKey) {
|
|
8737
8740
|
case "hoist-pattern":
|
|
@@ -8857,7 +8860,7 @@ var require_defaults2 = __commonJS({
|
|
|
8857
8860
|
searchopts: "",
|
|
8858
8861
|
searchexclude: null,
|
|
8859
8862
|
searchlimit: 20,
|
|
8860
|
-
searchstaleness:
|
|
8863
|
+
searchstaleness: 900,
|
|
8861
8864
|
"send-metrics": !1,
|
|
8862
8865
|
shell: osenv.shell(),
|
|
8863
8866
|
shrinkwrap: !0,
|
|
@@ -9825,32 +9828,80 @@ var LocalStorage = class {
|
|
|
9825
9828
|
*
|
|
9826
9829
|
* @param key - The key to get.
|
|
9827
9830
|
* @returns The value.
|
|
9831
|
+
* @throws AbortError if a permission error occurs.
|
|
9832
|
+
* @throws BugError if an unexpected error occurs.
|
|
9828
9833
|
*/
|
|
9829
9834
|
get(key) {
|
|
9830
|
-
|
|
9835
|
+
try {
|
|
9836
|
+
return this.config.get(key);
|
|
9837
|
+
} catch (error) {
|
|
9838
|
+
this.handleError(error, "get");
|
|
9839
|
+
}
|
|
9831
9840
|
}
|
|
9832
9841
|
/**
|
|
9833
9842
|
* Set a value in the local storage.
|
|
9834
9843
|
*
|
|
9835
9844
|
* @param key - The key to set.
|
|
9836
9845
|
* @param value - The value to set.
|
|
9846
|
+
* @throws AbortError if a permission error occurs.
|
|
9847
|
+
* @throws BugError if an unexpected error occurs.
|
|
9837
9848
|
*/
|
|
9838
9849
|
set(key, value) {
|
|
9839
|
-
|
|
9850
|
+
try {
|
|
9851
|
+
this.config.set(key, value);
|
|
9852
|
+
} catch (error) {
|
|
9853
|
+
this.handleError(error, "set");
|
|
9854
|
+
}
|
|
9840
9855
|
}
|
|
9841
9856
|
/**
|
|
9842
9857
|
* Delete a value from the local storage.
|
|
9843
9858
|
*
|
|
9844
9859
|
* @param key - The key to delete.
|
|
9860
|
+
* @throws AbortError if a permission error occurs.
|
|
9861
|
+
* @throws BugError if an unexpected error occurs.
|
|
9845
9862
|
*/
|
|
9846
9863
|
delete(key) {
|
|
9847
|
-
|
|
9864
|
+
try {
|
|
9865
|
+
this.config.delete(key);
|
|
9866
|
+
} catch (error) {
|
|
9867
|
+
this.handleError(error, "delete");
|
|
9868
|
+
}
|
|
9848
9869
|
}
|
|
9849
9870
|
/**
|
|
9850
9871
|
* Clear the local storage (delete all values).
|
|
9872
|
+
*
|
|
9873
|
+
* @throws AbortError if a permission error occurs.
|
|
9874
|
+
* @throws BugError if an unexpected error occurs.
|
|
9851
9875
|
*/
|
|
9852
9876
|
clear() {
|
|
9853
|
-
|
|
9877
|
+
try {
|
|
9878
|
+
this.config.clear();
|
|
9879
|
+
} catch (error) {
|
|
9880
|
+
this.handleError(error, "clear");
|
|
9881
|
+
}
|
|
9882
|
+
}
|
|
9883
|
+
/**
|
|
9884
|
+
* Handle errors from config operations.
|
|
9885
|
+
* If the error is permission-related, throw an AbortError with helpful hints.
|
|
9886
|
+
* Otherwise, throw a BugError.
|
|
9887
|
+
*
|
|
9888
|
+
* @param error - The error that occurred.
|
|
9889
|
+
* @param operation - The operation that failed.
|
|
9890
|
+
* @throws AbortError if the error is permission-related.
|
|
9891
|
+
* @throws BugError if the error is not permission-related.
|
|
9892
|
+
*/
|
|
9893
|
+
handleError(error, operation) {
|
|
9894
|
+
throw this.isPermissionError() ? new AbortError(`Failed to access local storage (${operation}): ${error}`, this.tryMessage()) : new BugError(`Unexpected error while accessing local storage at ${this.config.path} (${operation}): ${error}`);
|
|
9895
|
+
}
|
|
9896
|
+
isPermissionError() {
|
|
9897
|
+
let canAccessFile = fileHasWritePermissions(this.config.path), canAccessFolder = fileHasWritePermissions(dirname(this.config.path)), ownsFile = unixFileIsOwnedByCurrentUser(this.config.path);
|
|
9898
|
+
return !canAccessFile || !canAccessFolder || ownsFile === !1;
|
|
9899
|
+
}
|
|
9900
|
+
tryMessage() {
|
|
9901
|
+
let ownsFile = unixFileIsOwnedByCurrentUser(this.config.path), ownsFolder = unixFileIsOwnedByCurrentUser(dirname(this.config.path)), message = ["Check that you have write permissions for", { filePath: this.config.path }];
|
|
9902
|
+
return (ownsFile === !1 || ownsFolder === !1) && message.push("- The file is owned by a different user. This typically happens when Shopify CLI was previously run with elevated permissions (e.g., sudo)."), message.push(`
|
|
9903
|
+
|
|
9904
|
+
To resolve this, remove the Shopify CLI preferences folder:`), message.push({ command: `rm -rf ${dirname(this.config.path)}` }), message;
|
|
9854
9905
|
}
|
|
9855
9906
|
};
|
|
9856
9907
|
|
|
@@ -13214,7 +13265,7 @@ var { buffer: getBuffer } = import_get_stream2.default, supportsBrotli = dist_de
|
|
|
13214
13265
|
}
|
|
13215
13266
|
_prepareCache(cache) {
|
|
13216
13267
|
if (!cacheableStore.has(cache)) {
|
|
13217
|
-
let cacheableRequest = new dist_default3((requestOptions, handler) => {
|
|
13268
|
+
let cacheableRequest = new dist_default3(((requestOptions, handler) => {
|
|
13218
13269
|
let result = requestOptions._request(requestOptions, handler);
|
|
13219
13270
|
return dist_default2.promise(result) && (result.once = (event, handler2) => {
|
|
13220
13271
|
if (event === "error")
|
|
@@ -13236,7 +13287,7 @@ var { buffer: getBuffer } = import_get_stream2.default, supportsBrotli = dist_de
|
|
|
13236
13287
|
throw new Error(`Unknown HTTP2 promise event: ${event}`);
|
|
13237
13288
|
return result;
|
|
13238
13289
|
}), result;
|
|
13239
|
-
}, cache);
|
|
13290
|
+
}), cache);
|
|
13240
13291
|
cacheableStore.set(cache, cacheableRequest.request());
|
|
13241
13292
|
}
|
|
13242
13293
|
}
|
|
@@ -13518,7 +13569,7 @@ var delay = async (ms) => new Promise((resolve) => {
|
|
|
13518
13569
|
configurable: !1,
|
|
13519
13570
|
writable: !1
|
|
13520
13571
|
});
|
|
13521
|
-
let got2 = (url, options, defaultOptions2 = defaults2.options) => {
|
|
13572
|
+
let got2 = ((url, options, defaultOptions2 = defaults2.options) => {
|
|
13522
13573
|
let request = new Request(url, options, defaultOptions2), promise, lastHandler = (normalized) => (request.options = normalized, request._noPipe = !normalized.isStream, request.flush(), normalized.isStream ? request : (promise || (promise = asPromise(request)), promise)), iteration = 0, iterateHandlers = (newOptions) => {
|
|
13523
13574
|
let result = (defaults2.handlers[iteration++] ?? lastHandler)(newOptions, iterateHandlers);
|
|
13524
13575
|
if (dist_default2.promise(result) && !request.options.isStream && (promise || (promise = asPromise(request)), result !== promise)) {
|
|
@@ -13530,7 +13581,7 @@ var delay = async (ms) => new Promise((resolve) => {
|
|
|
13530
13581
|
return result;
|
|
13531
13582
|
};
|
|
13532
13583
|
return iterateHandlers(request.options);
|
|
13533
|
-
};
|
|
13584
|
+
});
|
|
13534
13585
|
got2.extend = (...instancesOrOptions) => {
|
|
13535
13586
|
let options = new Options(void 0, void 0, defaults2.options), handlers = [...defaults2.handlers], mutableDefaults;
|
|
13536
13587
|
for (let value of instancesOrOptions)
|
|
@@ -13541,7 +13592,7 @@ var delay = async (ms) => new Promise((resolve) => {
|
|
|
13541
13592
|
mutableDefaults: !!mutableDefaults
|
|
13542
13593
|
});
|
|
13543
13594
|
};
|
|
13544
|
-
let paginateEach = async function* (url, options) {
|
|
13595
|
+
let paginateEach = (async function* (url, options) {
|
|
13545
13596
|
let normalizedOptions = new Options(url, options, defaults2.options);
|
|
13546
13597
|
normalizedOptions.resolveBodyOnly = !1;
|
|
13547
13598
|
let { pagination } = normalizedOptions;
|
|
@@ -13563,15 +13614,15 @@ var delay = async (ms) => new Promise((resolve) => {
|
|
|
13563
13614
|
return;
|
|
13564
13615
|
optionsToMerge === response.request.options ? normalizedOptions = response.request.options : (normalizedOptions.merge(optionsToMerge), assert2.any([dist_default2.urlInstance, dist_default2.undefined], optionsToMerge.url), optionsToMerge.url !== void 0 && (normalizedOptions.prefixUrl = "", normalizedOptions.url = optionsToMerge.url)), numberOfRequests++;
|
|
13565
13616
|
}
|
|
13566
|
-
};
|
|
13567
|
-
got2.paginate = paginateEach, got2.paginate.all = async (url, options) => {
|
|
13617
|
+
});
|
|
13618
|
+
got2.paginate = paginateEach, got2.paginate.all = (async (url, options) => {
|
|
13568
13619
|
let results = [];
|
|
13569
13620
|
for await (let item of paginateEach(url, options))
|
|
13570
13621
|
results.push(item);
|
|
13571
13622
|
return results;
|
|
13572
|
-
}, got2.paginate.each = paginateEach, got2.stream = (url, options) => got2(url, { ...options, isStream: !0 });
|
|
13623
|
+
}), got2.paginate.each = paginateEach, got2.stream = ((url, options) => got2(url, { ...options, isStream: !0 }));
|
|
13573
13624
|
for (let method of aliases)
|
|
13574
|
-
got2[method] = (url, options) => got2(url, { ...options, method }), got2.stream[method] = (url, options) => got2(url, { ...options, method, isStream: !0 });
|
|
13625
|
+
got2[method] = ((url, options) => got2(url, { ...options, method })), got2.stream[method] = ((url, options) => got2(url, { ...options, method, isStream: !0 }));
|
|
13575
13626
|
return defaults2.mutableDefaults || (Object.freeze(defaults2.handlers), defaults2.options.freeze()), Object.defineProperty(got2, "defaults", {
|
|
13576
13627
|
value: defaults2,
|
|
13577
13628
|
writable: !1,
|
|
@@ -13972,4 +14023,4 @@ deep-extend/lib/deep-extend.js:
|
|
|
13972
14023
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
13973
14024
|
*)
|
|
13974
14025
|
*/
|
|
13975
|
-
//# sourceMappingURL=chunk-
|
|
14026
|
+
//# sourceMappingURL=chunk-QZSPMSF2.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
base_command_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-K45JWD7H.js";
|
|
4
4
|
import {
|
|
5
5
|
require_lib
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-X2YIODUW.js";
|
|
7
7
|
import {
|
|
8
8
|
__toESM,
|
|
9
9
|
init_cjs_shims
|
|
@@ -46,4 +46,4 @@ var HelpCommand = class _HelpCommand extends base_command_default {
|
|
|
46
46
|
export {
|
|
47
47
|
HelpCommand
|
|
48
48
|
};
|
|
49
|
-
//# sourceMappingURL=chunk-
|
|
49
|
+
//# sourceMappingURL=chunk-RQD77XVF.js.map
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
|
|
5
5
|
// ../cli-kit/dist/public/common/version.js
|
|
6
6
|
init_cjs_shims();
|
|
7
|
-
var CLI_KIT_VERSION = "3.
|
|
7
|
+
var CLI_KIT_VERSION = "3.86.1";
|
|
8
8
|
|
|
9
9
|
export {
|
|
10
10
|
CLI_KIT_VERSION
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk-
|
|
12
|
+
//# sourceMappingURL=chunk-SQNWVF3V.js.map
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
base_command_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-K45JWD7H.js";
|
|
4
4
|
import {
|
|
5
5
|
ensureAuthenticatedUser,
|
|
6
6
|
fetch,
|
|
7
7
|
findSessionByAlias,
|
|
8
8
|
getSessionAlias,
|
|
9
9
|
identityFqdn
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2LK4JXAI.js";
|
|
11
11
|
import {
|
|
12
12
|
setCurrentSessionId
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-QZSPMSF2.js";
|
|
14
14
|
import {
|
|
15
15
|
outputCompleted,
|
|
16
16
|
renderSelectPrompt
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-PBZI5MOK.js";
|
|
18
18
|
import {
|
|
19
19
|
require_lib
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-X2YIODUW.js";
|
|
21
21
|
import {
|
|
22
22
|
__toESM,
|
|
23
23
|
init_cjs_shims
|
|
@@ -84,4 +84,4 @@ export {
|
|
|
84
84
|
promptSessionSelect,
|
|
85
85
|
Login
|
|
86
86
|
};
|
|
87
|
-
//# sourceMappingURL=chunk-
|
|
87
|
+
//# sourceMappingURL=chunk-TDSRWKL2.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CLI_KIT_VERSION
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SQNWVF3V.js";
|
|
4
4
|
import {
|
|
5
5
|
outputResult
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PBZI5MOK.js";
|
|
7
7
|
import {
|
|
8
8
|
init_cjs_shims
|
|
9
9
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -17,4 +17,4 @@ async function versionService() {
|
|
|
17
17
|
export {
|
|
18
18
|
versionService
|
|
19
19
|
};
|
|
20
|
-
//# sourceMappingURL=chunk-
|
|
20
|
+
//# sourceMappingURL=chunk-UB7QY2VF.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
base_command_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-K45JWD7H.js";
|
|
4
4
|
import {
|
|
5
5
|
mkdir,
|
|
6
6
|
outputInfo,
|
|
7
7
|
rmdir,
|
|
8
8
|
writeFile
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PBZI5MOK.js";
|
|
10
10
|
import {
|
|
11
11
|
cwd,
|
|
12
12
|
joinPath
|
|
@@ -118,4 +118,4 @@ export {
|
|
|
118
118
|
writeCommandFlagInterface,
|
|
119
119
|
writeCommandUsageExampleFile
|
|
120
120
|
};
|
|
121
|
-
//# sourceMappingURL=chunk-
|
|
121
|
+
//# sourceMappingURL=chunk-VGDJLENI.js.map
|